Search

CN-121979786-A - Intelligent black lamp work field flow test method supporting remote simulation man-machine interaction

CN121979786ACN 121979786 ACN121979786 ACN 121979786ACN-121979786-A

Abstract

An intelligent black-light tool field flow test method supporting remote simulation man-machine interaction comprises the steps of (1) globally configuring a flow needing automatic circulation test through a visual interface, wherein the small circulation test comprises a large circulation test parameter and a small circulation test parameter, the small circulation test comprises each independent test item, the small circulation test parameter is configured, the small circulation test item is configured, the large circulation test comprises a plurality of independent small circulation test items, the large circulation test parameter is configured, the whole of the plurality of independent small circulation test items is configured, and (2) the circulation test flow is started according to the configured large circulation test parameter and small circulation test parameter. (3) In the testing process, the remote flow state is monitored according to the fed-back flow state information. The invention realizes repeated test on the procedure and automatic cycle test of long-term power-on unmanned value conservation.

Inventors

  • CAO XUEJUN
  • SHI JIA
  • LI YUXUAN
  • LIU HAIBIN
  • LI ZUNGUANG
  • Wang tianxiu
  • YANG ZHE
  • SUN CHENGUANG
  • WANG CHONG
  • MA SAI
  • WANG SHENHANG
  • LI DONGPENG

Assignees

  • 北京航天自动控制研究所

Dates

Publication Date
20260505
Application Date
20251229

Claims (9)

  1. 1. An intelligent black light work site flow test method supporting remote simulation man-machine interaction is characterized by comprising the following steps: (1) The method comprises the steps of carrying out global configuration on a flow needing automatic cycle test through a visual interface, wherein the global configuration comprises configuration of large cycle test parameters and small cycle test parameters, wherein the small cycle test refers to each independent test item, and the configuration of the small cycle test parameters is carried out on each independent cycle test item; (2) According to the configured large-cycle test parameters and small-cycle test parameters, starting a cycle test flow, including: (2.1) in each large-cycle test, executing each small-cycle test item in sequence according to the configured test times and test intervals of the whole large-cycle test; (2.2) repeating the test flow in each large cycle according to the large cycle test parameters; (3) In the testing process, the remote flow state is monitored according to the feedback flow state information, and the method comprises the following steps: (3.1) before each small-cycle test item starts, loading all flow step information of the current test; (3.2) displaying the running state of all flow steps in the process of each small-cycle test item, including execution, success and failure.
  2. 2. The intelligent black light field flow test method supporting remote simulation man-machine interaction of claim 1 is characterized by comprising the following steps of: i. Dynamically adding test items, and independently configuring and storing the test times and test interval information of each small-cycle test item; sequentially loading test items needing to be cycled from the configured test items; and thirdly, configuring the test times and test interval information of the whole large-cycle test for the loaded test items.
  3. 3. The intelligent black light tool field flow test method supporting remote simulation man-machine interaction of claim 1, wherein the automatic processing process when the flow steps are abnormal in the cyclic test is realized by configuring processing measures for various abnormal working conditions of each flow step in advance.
  4. 4. The intelligent black-light tool field flow test method supporting remote simulation man-machine interaction of claim 3, wherein each flow step may pop up a prompt box, an error box and an input box in the running process, and automatic interaction is needed to be performed with a front-end test flow according to configured flow step exception handling measures so as to ensure automatic running of the flow.
  5. 5. The intelligent black light field flow test method supporting remote simulation man-machine interaction according to claim 4, wherein the intelligent black light field flow test method is characterized in that: and (3) prompt box processing, namely if a prompt box needs to be popped up in the process of running the flow, the prompt box can temporarily suspend the flow, and the following processing is needed: i. configuring the residence time of the pop-up of the prompt box; configuring subsequent operations of the prompt box, wherein the operations are 'continue', 'stop', or other operations are configured by user expansion; And maintaining a set of prompt box operation for each item, wherein specific operation details are defined in an xml file in advance, and selecting a specific operation for feedback when configuring the operation of the popup box of each flow step.
  6. 6. The intelligent black light field flow test method supporting remote simulation man-machine interaction according to claim 4, wherein the intelligent black light field flow test method is characterized in that: Error frame processing, namely if an error frame needs to be popped up in the process of running the flow, the flow is temporarily suspended by the error frame, and the following processing is needed: i. configuring the stay time of the pop-up of the error box; step ii, configuring subsequent operation of the error frame, and performing testing on operation items of the error frame, such as skip after retry, stop after retry, skip and stop; if the selected operation is skip, skipping the current flow step; If the selected operation is to stop the test, stopping the flow; if the selected operation is skipped after retry or stopped after retry, setting the maximum retry times; iv, if the retry passes, the process passes, and the process continues; v, judging whether to continue retry if the retry fails until the maximum retry times are reached; and vi, judging whether to skip the current flow step or stop the test according to the selected operation when the current flow step still fails to reach the maximum retry number, skipping the current flow step if the selected operation is skipped after retries, and stopping the flow if the selected operation is stopped after retries.
  7. 7. The intelligent black light field flow test method supporting remote simulation man-machine interaction according to claim 4, wherein the intelligent black light field flow test method is characterized in that: input box processing, namely if the input box needs to be popped up in the process of running the flow, the input box can temporarily suspend the flow and wait for inputting data, and the following processing needs to be carried out: i. the method comprises the steps of configuring input contents in an xml file in advance, wherein the input contents comprise ID values, data numbers, data types, data lengths and data value information; And ii, when the process step pops up the input box, reading information in the xml, and sending the data to be input to a back-end control system for subsequent processing.
  8. 8. The intelligent black light field flow test method supporting remote simulation man-machine interaction according to claim 1, wherein the intelligent black light field flow test method is characterized in that: The intelligent black lamp work site flow test method is packaged into an automatic circulation test module capable of running independently, loading is carried out according to the requirement, a set of communication interfaces between the intelligent black lamp work site flow test method and a test initiation control back-end control system are designed, and communication of connection states, test modes, flow operation instructions, flow period states, flow operation states and flow control commands is carried out through the communication interfaces, so that remote automatic simulation man-machine interaction operation is supported, and full-automatic intelligent circulation test is realized.
  9. 9. The intelligent black light field flow test method supporting remote simulation man-machine interaction according to claim 1, wherein the intelligent black light field flow test method is characterized in that: The automatic cycle test module maintains the connection state through mutually sending heartbeat information with the back-end control system, and can perform subsequent operation only when connected; The test mode is that the automatic cycle test module maintains the test mode, and the test mode is divided into an automatic mode and a manual mode; i. performing mode switching through a flow operation instruction; ii, under the automatic mode state, performing automatic circulation test of the flow; in the automatic cycle test, if the flow is abnormal and stopped, the automatic cycle test module is switched to a manual mode to perform the fault elimination operation; The automatic cycle test module sends a flow operation instruction to the back-end control system to realize automatic execution and stop of the flow, wherein the flow operation instruction comprises switching test modes, starting test and stopping test; The flow periodic state is that the flow is in an automatic circulation state, the back-end control system periodically sends flow periodic state information to the automatic test module, and the automatic test module updates the running state of the current flow step according to the flow periodic state; the flow running state is that the flow is in an automatic circulation state, the back end control system sends flow running state information to the automatic test module, and the automatic test module makes an intelligent decision according to the flow running state and the flow configuration information and replies a flow control command; The automatic test module sends a flow control instruction to the back-end control system to control the operation of the flow, wherein the flow control instruction comprises test type selection, test item selection, error box retry, error box skip, test stopping, prompt box continuing, prompt box stopping, input box continuing, input box stopping and continuing to execute the next test item.

Description

Intelligent black lamp work field flow test method supporting remote simulation man-machine interaction Technical Field The invention relates to an intelligent black light station flow test method supporting remote simulation man-machine interaction, and belongs to the technical field of software testing. Background In the traditional industrial field test method, mainly by 'people', in various test experiments, system designers are required to select corresponding test flows according to a preset scheme, and 'fixed, repeated and repeated' tests are carried out on items to be tested, so that the purpose of verifying a single machine and a system is achieved. However, with the increase of the design complexity of the electrical system, the interfaces between each single machine and each system are more and more complex, and the conventional manual method for performing several flow tests on the whole system cannot meet the ever-increasing test function and performance requirements. On one hand, the complexity of the system is improved to enable the complexity of the test certificate item to be tested to be exponentially increased, the interface matching performance between each single machine and the matching compatibility between each system can not be realized through the traditional fixed, repeated and repeated test process, the test needs to be arranged and combined in various different modes, the traditional manual operation causes complex workload and is easy to make mistakes and miss, and on the other hand, in order to cope with special problems under complex conditions, certain test combinations need to be subjected to repeated strength tests for many times, even long-term power-on circulation tests for months, and the traditional manual mode can not be satisfied. In view of the above-mentioned needs, an unmanned and intelligent "black light factory" process test technology is needed, and by configuring process test parameters and predetermined operations in advance, an automatic test function of the process is realized, and when an abnormality occurs in the process, the abnormality is automatically handled, so that the process can be intelligently executed as expected. Disclosure of Invention The intelligent black lamp field flow test method supporting remote simulation man-machine interaction is provided, and repeated tests on the flow and automatic cycle tests in long-term power-on unmanned value conservation are realized. The technical scheme of the invention is as follows: an intelligent black light work site flow test method supporting remote simulation man-machine interaction comprises the following steps: (1) The method comprises the steps of carrying out global configuration on a flow needing automatic cycle test through a visual interface, wherein the global configuration comprises configuration of large cycle test parameters and small cycle test parameters, wherein the small cycle test refers to each independent test item, and the configuration of the small cycle test parameters is carried out on each independent cycle test item; (2) According to the configured large-cycle test parameters and small-cycle test parameters, starting a cycle test flow, including: (2.1) in each large-cycle test, executing each small-cycle test item in sequence according to the configured test times and test intervals of the whole large-cycle test; (2.2) repeating the test flow in each large cycle according to the large cycle test parameters; (3) In the testing process, the remote flow state is monitored according to the feedback flow state information, and the method comprises the following steps: (3.1) before each small-cycle test item starts, loading all flow step information of the current test; (3.2) displaying the running state of all flow steps in the process of each small-cycle test item, including execution, success and failure. Further, configuration of large-cycle test parameters is specifically as follows: i. Dynamically adding test items, and independently configuring and storing the test times and test interval information of each small-cycle test item; sequentially loading test items needing to be cycled from the configured test items; and thirdly, configuring the test times and test interval information of the whole large-cycle test for the loaded test items. Furthermore, the automatic processing process when the process steps are abnormal in the cyclic test is realized by configuring processing measures for various abnormal working conditions of each process step in advance. Furthermore, each process step may pop up a prompt box, an error box and an input box during the operation process, and at this time, automatic interaction is required to be performed with the front-end test process according to the configured process step exception handling measure, so as to ensure automatic operation of the process. Further, the prompt box processing, if the prompt box needs to be popped up in the process