Intelligent black light workshop process test method supporting remote simulation man-machine interaction
The intelligent darkroom process testing method, which remotely simulates human-computer interaction and automates anomaly handling, solves the problem of low efficiency of traditional manual testing methods in complex electrical systems, and realizes automated process testing and automatic cyclic testing of processes that are powered on for a long time without human intervention.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING AEROSPACE AUTOMATIC CONTROL RES INST
- Filing Date
- 2025-12-29
- Publication Date
- 2026-05-05
AI Technical Summary
Traditional manual testing methods cannot meet the needs of multiple process tests for complex electrical systems. They are prone to errors, involve a large workload, and cannot achieve long-term power-on cycle testing.
The system allows for remote simulation of human-computer interaction by configuring process parameters through a visual interface, automates anomaly handling, supports remote process status monitoring and control, and is encapsulated as an automatic loop test module for intelligent testing.
It achieves automated testing of processes, can automatically handle abnormal situations, supports automatic cyclic testing of processes that are powered on for a long time without human intervention, reduces manual operation, and improves testing efficiency and accuracy.
Smart Images

Figure CN121979786A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an intelligent dark factory process testing method that supports remote simulated human-computer interaction, belonging to the field of software testing technology. Background Technology
[0002] Traditional industrial field testing methods rely primarily on human intervention. In various tests and experiments, system designers must select appropriate test procedures according to a predetermined plan and conduct "fixed, multiple, and repetitive" tests on the items to be tested to verify individual machines and the entire system. However, with the increasing complexity of electrical system design, the interfaces between individual machines and systems are becoming increasingly complex. Traditional manual methods of performing multiple process tests on the entire system can no longer meet the growing requirements for testing functions and performance. On the one hand, the increased system complexity leads to an exponential increase in the complexity of the items to be tested and verified. The interface compatibility between individual machines and the compatibility between systems can no longer be achieved through the traditional "fixed, multiple, and repetitive" testing process. This testing requires various arrangements and combinations of test procedures, making traditional manual operation complex, error-prone, and prone to omissions. On the other hand, to address special problems under complex conditions, some test combinations require repeated strength tests, or even long-term power-on cycle tests over several months, which traditional manual methods cannot meet.
[0003] To address the above needs, an unmanned, intelligent "lights-out factory" process testing technology is required. By pre-configuring process testing parameters and predetermined operations, the technology can automate process testing and automatically handle any abnormalities that occur, enabling the process to execute intelligently as expected. Summary of the Invention
[0004] The technical problem solved by this invention is to overcome the shortcomings of the prior art and provide an intelligent dark factory process testing method that supports remote simulated human-computer interaction, realizing repeated testing of the process and automatic cyclic testing when the process is powered on for a long time without human intervention. The technical solution of this invention is: An intelligent light-out factory process testing method that supports remote simulated human-computer interaction includes: (1) Configure the process that needs to be automatically tested in a loop through the visual interface, including configuring the parameters of the large loop test and the small loop test. The small loop test refers to each independent test item. Configuring the parameters of the small loop test means configuring each independent loop test item. The large loop test includes several independent small loop test items. Configuring the parameters of the large loop test means configuring the parameters of all several independent small loop test items as a whole. (2) Based on the configured large loop test parameters and small loop test parameters, start the loop test process, including: (2.1) In each large loop test, each small loop test item is executed in sequence according to the configured number of tests and test intervals for the entire large loop test; (2.2) Repeat the test process in each major cycle according to the major cycle test parameters; (3) During the testing process, the remote process status is monitored based on the feedback process status information, including: (3.1) Before each small loop test project begins, load all process step information for the current test; (3.2) During each small loop test project, the running status of all process steps is displayed, including execution, success, and failure.
[0005] Furthermore, configure the parameters for the large loop test as follows: i. Dynamically add test items, and independently configure and save the number of tests and test interval information for each small loop test item; ii. Load the test projects that need to be looped from the configured test projects in sequence; iii. For the loaded test items, configure the number of tests and test interval information for the entire large loop test.
[0006] Furthermore, by configuring handling measures for various abnormal conditions in each process step in advance, the process of handling abnormalities in process steps during cyclic testing can be automated.
[0007] Furthermore, during the execution of each process step, prompt boxes, error boxes, and input boxes may pop up. At this time, it is necessary to automatically interact with the front-end test process according to the configured process step exception handling measures to ensure the automatic operation of the process.
[0008] Furthermore, handling of prompts: If a prompt needs to appear during the process, the prompt will temporarily suspend the process, requiring the following handling: i. Configure the dwell time of the pop-up message; ii. Configure the subsequent actions for the prompt box, which can be "Continue", "Stop", or other actions can be configured by the user; iii. Each project maintains a set of prompt box operations. The specific operation details are clearly defined in the XML file in advance. When configuring the pop-up operation for each process step, select a specific operation to provide feedback.
[0009] Furthermore, error message handling: If an error message needs to pop up during the process, the error message will temporarily suspend the process, requiring the following handling: i. Configure the dwell time of the error pop-up; ii. Configure subsequent actions for error messages, including options such as retry and skip, retry and stop, skip, and stop testing; If the selected operation is to skip, the current process step will be skipped; If the selected operation is to stop the test, the process will stop running; iii. If the selected operation is to skip after retry or stop after retry, the maximum number of retries needs to be set; iv. If the retry passes, the process step is successful, and the process continues; v. If a retry fails, determine whether to continue retrying until the maximum number of retries is reached; vi. If the current process step fails after reaching the maximum number of retries, determine whether to skip the current process step or stop the test based on the selected operation; if the selected operation is to skip after retrying, then skip the current process step; if the selected operation is to stop after retrying, then the process stops running.
[0010] Furthermore, input box handling: If an input box needs to pop up during the process, the input box will temporarily pause the process and wait for input data; the following processing is required: i. For process steps that require input data, configure the input content in advance in an XML file, including ID value, number of data items, data type, data length, and data value information; ii. When the input box pops up in the process step, read the information in the XML and send the data to be entered to the backend control system for further processing.
[0011] Furthermore, the intelligent dark factory process testing method is encapsulated into an independently operable automatic cyclic testing module, which is loaded as needed; and a communication interface is designed between the test, development, and control backend control system. Through the communication interface, communication is carried out on connection status, test mode, process operation instructions, process cycle status, process running status, and process control commands, thereby supporting remote automatic simulation of human-machine interaction operation and realizing fully automatic intelligent cyclic testing.
[0012] Furthermore, connection status: The automatic loop test module maintains the connection status by exchanging heartbeat information with the backend control system, and subsequent operations can only be performed when a connection is established; Test Mode: The automatic loop test module maintains the test mode, which is divided into automatic mode and manual mode; i. Switch modes via process operation commands; ii. In automatic mode, perform automatic loop testing of the process; iii. In automatic loop testing, if the process encounters an abnormality and stops, the automatic loop testing module switches to manual mode to perform troubleshooting operations; Process operation instructions: The automatic loop test module sends process operation instructions to the backend control system to realize the automatic execution and stopping of the process; process operation instructions include switching test modes, starting test, and stopping test; Process cycle status: When the process is in an automatic loop, the backend control system periodically sends process cycle status information to the automatic testing module, and the automatic testing module updates the running status of the current process step according to the process cycle status. Process running status: When the process is in automatic loop, the backend control system sends process running status information to the automatic testing module. The automatic testing module makes intelligent decisions based on the process running status and process configuration information, and responds with process control commands. Process running status information includes prompt boxes, error boxes, input boxes, normal process termination, and abnormal process termination. Flow control commands: The automatic testing module sends flow control commands to the backend control system to control the operation of the process. Flow control commands include: test type selection, test item selection, error box retry, error box skip, stop test, prompt box continue, prompt box stop, input box continue, input box stop, continue to execute the next test item.
[0013] The advantages of this invention compared to the prior art are: (1) This invention relates to an intelligent “lights-out factory” process testing method that supports remote simulated human-computer interaction, used for repeated testing of processes and automatic cyclic testing when the process is powered on for a long time without human intervention. This technology realizes the automated testing function of the process by pre-configuring the test process data, and automatically handles the abnormal situation by remotely simulating human-computer interaction when the process is abnormal, so that the process can be executed intelligently and completely as expected.
[0014] (2) The present invention can configure the exception handling and test requirements during the test before the test. The process is automated and no human operation is required during the test, realizing the automated test of the "lights out factory".
[0015] (3) This invention supports remote control and monitoring. During the automatic process testing, control commands are sent remotely, and the process running status is monitored simultaneously. The automatic process testing and control commands are implemented by simulating manual operation, such as simulating user key presses. Attached Figure Description
[0016] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation
[0017] The specific embodiments of the present invention will now be described in further detail with reference to the accompanying drawings.
[0018] This invention provides an intelligent light-out factory process testing method that supports remote simulated human-computer interaction. It is used for repeated testing of processes and for automatic cyclic testing during long-term unattended operation with power on. This technology achieves automated process testing by pre-configuring test process data. When process anomalies occur, it automatically handles the abnormalities through remote simulated human-computer interaction, enabling the process to execute intelligently and completely as expected.
[0019] like Figure 1 As shown, this invention proposes an intelligent light-out factory process testing method that supports remote simulated human-computer interaction, comprising: (1) Configure the process that needs to be automatically tested in a loop through the visual interface, including configuring the parameters of the large loop test and the small loop test. The small loop test refers to each independent test item. Configuring the parameters of the small loop test means configuring each independent loop test item. The large loop test includes several independent small loop test items. Configuring the parameters of the large loop test means configuring the parameters of all several independent small loop test items as a whole. (2) Based on the configured large loop test parameters and small loop test parameters, start the loop test process, including: (2.1) In each large loop test, each small loop test item is executed in sequence according to the configured number of tests and test intervals for the entire large loop test; (2.2) Repeat the test process in each major cycle according to the major cycle test parameters; (3) During the testing process, the remote process status is monitored based on the feedback process status information, including: (3.1) Before each small loop test project begins, load all process step information for the current test; (3.2) During each small loop test project, the running status of all process steps is displayed, including execution, success, and failure.
[0020] The technical solution adopted in this invention is as follows: Firstly, this invention provides a cyclic testing process configuration function. It supports the configuration of global test items; based on the above configuration, it intelligently performs cyclic testing of multiple test items, while simultaneously enabling remote monitoring of process status and automatic cyclic testing of the process during long-term power-on periods without human intervention.
[0021] The process requiring automated loop testing can be globally configured through a visual interface, including parameters for both large-loop and small-loop tests. Small-loop tests refer to each independent test item, and the parameters for small-loop tests are configured for each independent loop test item. Large-loop tests include several independent small-loop test items, and the parameters for large-loop tests refer to the parameter configuration for all these independent small-loop test items as a whole.
[0022] The specific parameters for configuring the large loop test include: i. Dynamically add test items, and independently configure and save information such as the number of tests and test intervals for each small loop test item; ii. Load the test projects that need to be looped from the configured test projects in sequence; iii. For the above test items, configure the number of tests, test intervals, and other information for the entire large-loop test item; Secondly, this invention proposes a process step configuration and exception handling mechanism.
[0023] By configuring handling measures for various abnormal conditions in each process step in advance, the process of handling abnormalities in process steps during cyclic testing can be automated.
[0024] During each process step, prompts, error messages, and input fields may pop up. At these times, it's necessary to automatically interact with the front-end test process based on the configured exception handling measures for each process step to ensure the automatic execution of the process. The specific handling process includes: 1) Handling Prompts: If a prompt needs to appear during the process, the prompt will temporarily halt the process. Therefore, the following handling is required: i. Configure the dwell time of the pop-up message; ii. Configure subsequent actions for the prompt box. The actions can be "Continue" or "Stop", or users can extend the configuration to include other actions; iii. Each project maintains a set of prompt box operations. The specific operation details are clearly defined in the XML file in advance. When configuring the pop-up operation for each process step, select a specific operation to provide feedback.
[0025] 2) Error Message Handling: If an error message needs to pop up during the process, it will temporarily halt the process. Therefore, the following handling is required: i. Configure the dwell time of the error pop-up; ii. Configure subsequent actions for error messages, including options such as retry and skip, retry and stop, skip, and stop testing; If the selected operation is to skip, the current process step will be skipped; If the selected operation is to stop the test, the process will stop running; iii. If the selected operation is to skip after retry or stop after retry, the maximum number of retries needs to be set; iv. If the retry passes, the process step is successful, and the process continues; v. If a retry fails, determine whether to continue retrying until the maximum number of retries is reached; vi. If the current process step fails after reaching the maximum number of retries, determine whether to skip the current process step or stop the test based on the selected operation; if the selected operation is to skip after retrying, then skip the current process step; if the selected operation is to stop after retrying, then the process stops running.
[0026] 3) Input Box Handling: If an input box needs to pop up during the process, the input box will temporarily pause the process and wait for input data. Therefore, the following processing is required: i. For process steps that require input data, configure the input content in advance in an XML file, including ID value, number of data items, data type, data length, and data value information; ii. When the input box pops up in the process step, read the information in the XML and send the data to be entered to the backend control system for further processing.
[0027] Thirdly, the present invention also provides a modular loading scheme to realize remote simulated human-computer interaction.
[0028] The intelligent dark factory process testing method is encapsulated into an independently operable automatic cyclic testing module, which is loaded as needed. A communication interface is designed between the module and the test, development, and control backend control system. Through this communication interface, communication is conducted on connection status, test mode, process operation instructions, process cycle status, process running status, and process control commands, thereby supporting remote automatic simulation of human-machine interaction and realizing fully automatic intelligent cyclic testing.
[0029] 1) Connection status: The automatic loop test module maintains the connection status by exchanging heartbeat information with the backend control system. Subsequent operations can only be performed when a connection is established. 2) Test Mode: The automatic loop test module maintains the test mode. The test mode is divided into automatic mode and manual mode.
[0030] i. Switch modes via process operation commands; ii. In automatic mode, automatic loop testing of the process can be performed; iii. In automatic loop testing, if the process encounters an abnormality and stops, the automatic loop testing module can switch to manual mode for troubleshooting. 3) Process operation instructions: The automatic test module sends process operation instructions (switch test mode, start test, stop test) to the backend control system to realize the automatic execution and stopping of the process; 4) Process cycle status: When the process is in an automatic loop, the backend control system periodically sends process cycle status information to the automatic testing module, and the automatic testing module updates the running status of the current process step according to the process cycle status. 5) Process running status: When the process is in automatic loop state, the back-end control system sends process running status information (prompt box, error prompt box, input prompt box, normal process end, abnormal process end) to the automatic test module. The automatic test module makes intelligent decisions based on the process running status and process configuration information, and responds with process control commands. 6) Flow control commands: The automatic test module sends flow control commands to the backend control system to control the operation of the process. Flow control commands include: test type selection, test item selection, error box retry, error box skip, stop test, prompt box continue, prompt box stop, input box continue, input box stop, continue to execute the next test item.
[0031] The features and advantages of this invention are as follows: 1. This invention enables remote monitoring of process status by pre-configuring process information, designing a communication interface with the backend, and periodically communicating with the backend software. 2. Supports configuring the number of tests and test intervals for each process, the number of tests and test intervals for the entire loop of all processes, as well as automatic exception handling measures during process operation; based on the above configuration, intelligent loop testing is performed to achieve the capability of automatic loop testing of processes without human intervention during long-term power-on periods; 3. During the automatic cycle test of the process, there is no need for traditional on-site manual operation by test personnel to perform process testing. It supports remote automatic simulation of human-computer interaction operation and realizes fully automatic intelligent cycle test.
[0032] The parts of this invention not described in detail are common knowledge to those skilled in the art.
Claims
1. A method for testing intelligent, lights-out factory processes that supports remote simulated human-computer interaction, characterized in that... include: (1) Configure the process that needs to be automatically tested in a loop through the visual interface, including configuring the parameters for the large loop test and the small loop test; Small loop tests refer to each independent test item, and configuring small loop test parameters means configuring parameters for each independent loop test item; large loop tests include several independent small loop test items, and configuring large loop test parameters means configuring parameters for all several independent small loop test items as a whole. (2) Based on the configured large loop test parameters and small loop test parameters, start the loop test process, including: (2.1) In each large loop test, each small loop test item is executed in sequence according to the configured number of tests and test intervals for the entire large loop test; (2.2) Repeat the test process in each major cycle according to the major cycle test parameters; (3) During the testing process, the remote process status is monitored based on the feedback process status information, including: (3.1) Before each small loop test project begins, load all process step information for the current test; (3.2) During each small loop test project, the running status of all process steps is displayed, including execution, success, and failure.
2. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 1, characterized in that: Configure the large loop test parameters as follows: i. Dynamically add test items, and independently configure and save the number of tests and test interval information for each small loop test item; ii. Load the test projects that need to be looped from the configured test projects in sequence; iii. For the loaded test items, configure the number of tests and test interval information for the entire large loop test.
3. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 1, characterized in that: By configuring handling measures for various abnormal conditions in each process step in advance, the process of handling abnormalities in process steps during cyclic testing can be automated.
4. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 3, characterized in that: During each process step, prompts, error messages, and input fields may pop up. At this time, it is necessary to automatically interact with the front-end test process according to the configured exception handling measures for each process step to ensure the automatic operation of the process.
5. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 4, characterized in that: Handling Prompts: If a prompt needs to appear during the process, the prompt will temporarily suspend the process. The following steps are required: i. Configure the dwell time of the pop-up message; ii. Configure subsequent actions for the prompt box, such as "Continue", "Stop", or allow the user to configure other actions; iii. Each project maintains a set of prompt box operations. The specific operation details are clearly defined in the XML file in advance. When configuring the pop-up operation for each process step, select a specific operation to provide feedback.
6. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 4, characterized in that: Error message handling: If an error message needs to pop up during the process, the error message will temporarily suspend the process. The following actions are required: i. Configure the dwell time of the error pop-up; ii. Configure subsequent actions for error messages, including options such as retry and skip, retry and stop, skip, and stop testing; If the selected operation is to skip, the current process step will be skipped; If the selected operation is to stop the test, the process will stop running; iii. If the selected operation is to skip after retry or stop after retry, the maximum number of retries needs to be set; iv. If the retry passes, the process step is successful, and the process continues; v. If a retry fails, determine whether to continue retrying until the maximum number of retries is reached; vi. If the current process step fails after reaching the maximum number of retries, determine whether to skip the current process step or stop the test based on the selected operation; if the selected operation is to skip after retrying, then skip the current process step; if the selected operation is to stop after retrying, then the process stops running.
7. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 4, characterized in that: Input box handling: If an input box needs to pop up during the process, the input box will temporarily pause the process and wait for input data; the following processing is required: i. For process steps that require input data, configure the input content in advance in an XML file, including ID value, number of data items, data type, data length, and data value information; ii. When the input box pops up in the process step, read the information in the XML and send the data to be entered to the backend control system for further processing.
8. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 1, characterized in that: The intelligent dark factory process testing method is encapsulated into an independently operable automatic cyclic testing module, which is loaded as needed. A communication interface is designed between the module and the test, development, and control backend control system. Through this communication interface, communication is conducted on connection status, test mode, process operation instructions, process cycle status, process running status, and process control commands, thereby supporting remote automatic simulation of human-machine interaction and realizing fully automatic intelligent cyclic testing.
9. The intelligent light-out factory process testing method supporting remote simulated human-computer interaction as described in claim 1, characterized in that: Connection status: The automatic loop test module maintains the connection status by exchanging heartbeat information with the backend control system. Subsequent operations can only be performed when a connection is established. Test Mode: The automatic loop test module maintains the test mode, which is divided into automatic mode and manual mode; i. Switch modes via process operation commands; ii. In automatic mode, perform automatic loop testing of the process; iii. In automatic loop testing, if the process encounters an abnormality and stops, the automatic loop testing module switches to manual mode to perform troubleshooting operations; Process operation instructions: The automatic loop test module sends process operation instructions to the backend control system to realize the automatic execution and stopping of the process; process operation instructions include switching test modes, starting test, and stopping test; Process cycle status: When the process is in an automatic loop, the backend control system periodically sends process cycle status information to the automatic testing module, and the automatic testing module updates the running status of the current process step according to the process cycle status. Process running status: When the process is in automatic loop, the backend control system sends process running status information to the automatic testing module. The automatic testing module makes intelligent decisions based on the process running status and process configuration information, and responds with process control commands. Process running status information includes prompt boxes, error boxes, input boxes, normal process termination, and abnormal process termination. Flow control commands: The automatic testing module sends flow control commands to the backend control system to control the operation of the process. Flow control commands include: test type selection, test item selection, error box retry, error box skip, stop test, prompt box continue, prompt box stop, input box continue, input box stop, continue to execute the next test item.