Testing system and method suitable for testing launching process of carrier rocket
By designing a test system suitable for the launch vehicle test and launch process, the frequent changes in software interfaces caused by changes in the test equipment and process are solved, and the software is universal, scalable and reliable, and the needs of rapid growth and process improvement of launch vehicle launch missions are realized.
Patent Information
- Application Number
- CN202411486075.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-25
AI Technical Summary
Changes in launch vehicle testing equipment and testing processes have led to frequent and large-scale changes in the testing software interface, which lacks versatility and scalability, making it difficult to adapt to the needs of rapid increase in the number of launch vehicle launch missions and continuous improvement in the launch process.
A test system suitable for the test and launch process of a launch vehicle is designed, including a binding data reading module, a test and launch process organization module, a test and launch operation execution module, a custom operation interface module and a network execution interface module. Through generalized file reading, dynamically configured network execution interface and custom operation interface, the generalized design and scalability of the interface are realized.
It avoids frequent and large-scale changes in the testing software interface, improves the universality, scalability and reliability of the software, and adapts to the development trend of rapid increase in the number of launch vehicles launch missions and continuous improvement in the launch process.
Smart Images

Figure CN119512933A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of launch vehicle software, and in particular to a test system and method suitable for a launch vehicle test launch process. Background Art
[0002] In the test launch process of the launch vehicle, the software is mainly responsible for message communication between various devices, completing functions such as control and status query of ground and onboard test equipment. In recent years, the annual launch volume of launch vehicles has increased rapidly, and a large number of new models of launch vehicles have begun to appear. Due to the differences in the electrical system architecture of various models of launch vehicles, the various connection interfaces of the onboard single machine and ground test equipment are usually not universal, and the operating procedures in the test launch are also different. In addition, in the process of continuous improvement of the current models, the communication interface between electrical equipment is also constantly changing. In order to realize the universal control of the launch vehicle test launch process, the software is required to have the universality of the communication interface, the universality and scalability of the test operation, etc., so as to adapt to the changes in the test launch requirements of the launch vehicle. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a test system and method suitable for a launch vehicle test launch process, thereby avoiding frequent and large-scale changes in the test software interface caused by changes in the launch vehicle test equipment and test process.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] The present invention discloses a test system suitable for a launch vehicle test launch process, comprising: a binding data reading module, a test launch process organization module, a test launch operation execution module, a custom operation interface module and a network execution interface module; wherein,
[0006] The binding data reading module reads the binding data from the data file, formats the binding data into string list format binding data, and sends it to the test launch process organization module and the test launch operation execution module;
[0007] The test launch process organization module binds the test operations in the string list format data into a test project in sequence; according to the execution result sent by the test launch operation execution module, the next test operation in the test project is sent to the test launch operation execution module in sequence;
[0008] The test launch operation execution module sets the operation parameters according to each test operation sent by the test launch process organization module, cyclically calls the network execution interface and the custom operation interface, and completes the test operation execution; according to the execution result, the execution result is forwarded to the test launch process organization module or the execution is stopped and an error is prompted;
[0009] The custom operation interface module executes the custom operation function according to the operation parameters sent by the test launch operation execution module, and returns the execution result to the test launch operation execution module;
[0010] The network execution interface module executes the device interface data processing operation according to the operation parameters sent by the test transmission operation execution module, and returns the execution result to the test transmission operation execution module.
[0011] Furthermore, in the above system, the data file is a local configuration file supporting xml, txt and dat formats; the binding data is composed of a plurality of test operation data in sequence, and the test operation data is divided into general network message sending operations and custom operations.
[0012] A test system suitable for a launch vehicle test process according to claim 2, characterized in that the test operation data includes a test operation name, a network sending interface name, a test operation code and sending data.
[0013] Furthermore, in the above system, the test emission process organization module sets the start and end positions of the test process execution according to the string list format binding data and user input.
[0014] Furthermore, in the above system, the network execution interface module includes multiple external communication interfaces, and different external communication interfaces dynamically configure different communication protocols to communicate with external devices; realize communication data sending, data receiving and decoding, and communication connection control.
[0015] Furthermore, in the above system, the operation parameters are set according to the test items, and the network execution interface and the custom operation interface are called cyclically. The specific method is as follows:
[0016] Read the operation dictionary from the test project. The operation dictionary includes the operation name, operation parameters, execution external communication interface, and user-defined function of each test operation.
[0017] Find the operation name with the matching name from the operation dictionary, and call the custom operation function in the custom operation interface module and the virtual functions of each network execution operation interface in the network execution interface module in sequence;
[0018] When the custom operation interface module or the network execution interface module returns a test result or all interfaces have been executed, the test operation is exited.
[0019] Furthermore, in the above system, according to the execution result, the execution result is forwarded to the test launch process organization module or the execution is stopped and an error is prompted. Specifically, it is determined whether the execution result meets the expectations. If so, it is determined that the execution is successful and the execution result is forwarded to the test launch process organization module; if not, it is determined that the execution failed, the execution is stopped and an error is prompted.
[0020] Furthermore, in the above system, the custom operation function includes user-defined input parameters and execution result return values; when a new test operation needs to be added, it is implemented by modifying and binding different custom functions.
[0021] The present invention discloses a test method applicable to a launch vehicle test launch process, comprising:
[0022] The binding data reading module reads the binding data from the local configuration file; if the reading is successful, the binding data is formatted into string list format binding data, otherwise an error is prompted;
[0023] Bind the data in string list format and output it to the test launch process organization module and the test launch operation execution module;
[0024] The test launch process organization module binds the test operations in the string list format data into test items in sequence;
[0025] The user sets the start and end positions of the process execution and controls the start of the process execution;
[0026] Read each test operation in the test project in sequence and output it to the test launch operation execution module;
[0027] The test launch operation execution module reads the name, interface and attribute value of each test operation from the test project, sets the parameters of the operation, and cyclically calls the network execution interface and the custom operation interface to complete the test operation execution;
[0028] After completing the operation execution, the network execution interface or the custom operation interface feeds back the execution result to the test launch operation execution module;
[0029] The test launch operation execution module forwards the execution result to the test launch process organization module after determining that the operation has been successfully executed, otherwise the execution is stopped and an error is prompted;
[0030] The test launch process organization module sequentially sends the next test operation to the test launch operation execution module according to the successfully executed results.
[0031] The beneficial effects of the present invention and the prior art are:
[0032] (1) The present invention adopts a universal file reading method to format the configuration file into a string list, realizes support for local configuration files in XML, TXT and DAT formats, and solves the problem of file format differences.
[0033] (2) The present invention adopts a dynamically configured network execution interface module to realize a universal design of interface execution, solve the problem of interface diversification for communication with different test devices, and facilitate the addition or deletion of external communication interfaces.
[0034] (3) The present invention implements user-defined input for complex test operations by binding the test operations to the form of custom operation functions, thereby solving the problem of custom processing of some test operations in the test project.
[0035] (4) The present invention avoids the frequent and extensive changes in the test software interface caused by changes in the launch vehicle test equipment and test process, improves the versatility and scalability of the software, and also improves the reliability of the software, adapting to the development trend of the rapid increase in the number of launch vehicle launch missions and the continuous improvement of the launch process. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 The present invention is a test system composition structure diagram suitable for the launch process of a carrier rocket test;
[0037] Figure 2 The present invention is a schematic diagram of the software component execution test launch process. DETAILED DESCRIPTION
[0038] Specific embodiments of the present invention are given below in conjunction with the accompanying drawings.
[0039] like Figure 1 As shown, the present invention discloses a test system suitable for a launch vehicle test launch process, comprising: a binding data reading module, a test launch process organization module, a test launch operation execution module, a custom operation interface module and a network execution interface module; wherein,
[0040] The binding data reading module reads the binding data from the data file, formats the binding data into string list format binding data, and sends it to the test launch process organization module and the test launch operation execution module;
[0041] The test launch process organization module binds the test operations in the string list format data into a test project in sequence; according to the execution result sent by the test launch operation execution module, the next test operation in the test project is sent to the test launch operation execution module in sequence;
[0042] The test launch operation execution module sets the operation parameters according to each test operation sent by the test launch process organization module, cyclically calls the network execution interface and the custom operation interface, and completes the test operation execution; according to the execution result, the execution result is forwarded to the test launch process organization module or the execution is stopped and an error is prompted;
[0043] The custom operation interface module executes the custom operation function according to the operation parameters sent by the test launch operation execution module, and returns the execution result to the test launch operation execution module;
[0044] The network execution interface module executes the device interface data processing operation according to the operation parameters sent by the test transmission operation execution module, and returns the execution result to the test transmission operation execution module.
[0045] Preferably, the data file is a local configuration file supporting xml, txt and dat formats; the binding data is composed of a plurality of test operation data in sequence, and the test operation data is divided into general network message sending operations and custom operations.
[0046] According to claim 2, a test system suitable for a launch vehicle test process is characterized in that the test operation data includes a test operation name, a network sending interface name, a test operation code and sending data.
[0047] Preferably, the test emission process organizing module sets the start and end positions of the test process execution according to the string list format binding data and user input.
[0048] Preferably, the network execution interface module includes multiple external communication interfaces, and different external communication interfaces dynamically configure different communication protocols to communicate with external devices; realize communication data sending, data receiving and decoding, and communication connection control.
[0049] Preferably, according to the test items, the operation parameters are set, and the network execution interface and the custom operation interface are called cyclically. The specific method is as follows:
[0050] Read the operation dictionary from the test project. The operation dictionary includes the operation name, operation parameters, execution external communication interface, and user-defined function of each test operation.
[0051] Find the operation name with the matching name from the operation dictionary, and call the custom operation function in the custom operation interface module and the virtual functions of each network execution operation interface in the network execution interface module in sequence;
[0052] When the custom operation interface module or the network execution interface module returns a test result or all interfaces have been executed, the test operation is exited.
[0053] Preferably, based on the execution result, the execution result is forwarded to the test launch process organization module or the execution is stopped and an error is prompted. Specifically, whether the execution result meets expectations is determined. If so, the execution is determined to be successful and the execution result is forwarded to the test launch process organization module; if not, the execution is determined to be a failure, the execution is stopped and an error is prompted.
[0054] Preferably, the custom operation function includes user-defined input parameters and execution result return values; when a new test operation needs to be added, it is implemented by modifying and binding different custom functions.
[0055] like Figure 2 As shown, the present invention discloses a test method suitable for a launch vehicle test launch process, comprising:
[0056] The binding data reading module reads the binding data from the local configuration file; if the reading is successful, the binding data is formatted into string list format binding data, otherwise an error is prompted;
[0057] Bind the data in string list format and output it to the test launch process organization module and the test launch operation execution module;
[0058] The test launch process organization module binds the test operations in the string list format data into test items in sequence;
[0059] The user sets the start and end positions of the process execution and controls the start of the process execution;
[0060] Read each test operation in the test project in sequence and output it to the test launch operation execution module;
[0061] The test launch operation execution module reads the name, interface and attribute value of each test operation from the test project, sets the parameters of the operation, and cyclically calls the network execution interface and the custom operation interface to complete the test operation execution;
[0062] After completing the operation execution, the network execution interface or the custom operation interface feeds back the execution result to the test launch operation execution module;
[0063] The test launch operation execution module forwards the execution result to the test launch process organization module after determining that the operation has been successfully executed, otherwise the execution is stopped and an error is prompted;
[0064] The test launch process organization module sequentially sends the next test operation to the test launch operation execution module according to the successfully executed results.
[0065] Example
[0066] like Figure 1As shown, the present invention is a test system suitable for a launch vehicle test launch process, comprising a binding data reading module, a test launch process organization module, a test launch operation execution module, a custom operation interface module, and a network execution interface module. The binding data reading module is used to read process binding data and test operation data from a file, the test launch process organization module is used to group multiple test operations into various test items, the test launch operation execution module is used to load and process various test operations, the custom operation interface module is used to create a custom operation function, and the network execution interface module is used to execute device interface data processing operations.
[0067] The binding data reading module uses a universal method to read the test process binding data and test operation data from the data file. Each data includes the test operation name, network sending interface name, test operation code and sending data. The module first completes the sequential reading of local data files stored in formats such as xml, txt, and dat, and then further converts them into a universal string list data format. Each line of content in the local data file is stored in a hash table format, and all the content in a file is stored in a list consisting of hash tables of all rows. The hash table key value is the attribute name of the string type, and the data value uses the C++ general data type.
[0068] The test launch process organization module completes the test process organization according to the process binding data, and controls the start and end of the process, and the start and end positions of the control process execution. This module reads the data list stored in the module according to the binding data, and further processes it into sequentially arranged test operation information to complete the test process loading. Each processed test operation contains information such as the operation name, operation parameters, and the sent qualified mark. Then, according to the user's input in the software interface, select the start position of the test process and the stop position of the test process. After the interface input confirms the start of execution, all test operation information is traversed in turn and sent to the test operation processing module for execution. After all operations are executed or the user inputs the stop operation, the test process is stopped.
[0069] The test launch operation execution module first completes the loading of the operation dictionary according to the test operation data file input by the binding data reading module, wherein each operation contains information such as the operation name, operation parameters, execution external communication interface, and custom function, and the content in the dictionary is stored in a fixed test operation information data type. Further, according to the test operation information input by the test launch process organization module, the operation item with the matching name is found from the operation dictionary, and the custom operation interface execution function and the virtual function of each network execution operation interface are executed in sequence. When a certain interface has a test result returned or all interfaces have been executed, the test operation is exited, and the execution result and execution success mark are returned to the test launch process organization module.
[0070] The network execution interface module is used for external communication interface message processing operations, completing functions such as network message sending and receiving between the software and various test devices. The module has different forms such as TCP external communication interface, UDP external communication interface, serial communication interface, etc., all of which inherit from the same general virtual interface object. Usually the software will have multiple different types of external communication interface instances, all of which are added to an execution list and are called by the upper-level test launch operation execution module. When the interface type changes or is added, only one external communication interface needs to be modified or added through the configuration file, without involving changes to other modules, so as to achieve universal and easy-to-expand interfaces when the software communicates with different test devices.
[0071] After receiving the test operation input, the network execution interface module will first determine whether it is an operation of this interface based on the execution interface information contained in the current operation. If it is an operation of this interface, the communication message will be sent according to the operation data of the data, and the execution result will be returned. If it is not an operation of this interface, it will be skipped directly and the next interface will be executed.
[0072] The custom operation interface module completes the creation of custom operation functions. This module binds a unique custom operation function pointer to each custom operation. When the test launch operation execution module detects that an operation is a custom operation, it will call the corresponding function pointer to complete the operation without executing the external communication interface. All custom operation functions have unified input and output parameters, that is, the test operation information type in the operation dictionary. In order to realize the generalization of different types of test operations, when a new test operation needs to be added, it only needs to modify the bound function implementation.
[0073] A test system for a launch vehicle test process of the present invention comprises the following steps:
[0074] Step 1: After the software is started, the binding data reading module reads the binding data from the local configuration file and processes the data into a common string list format that is easy for the software to read. If the reading is successful, it will continue to the next step, otherwise it will prompt an error. Further, the data is output to the test launch process organization module and the test launch operation execution module.
[0075] Step 2: The test launch process organization module completes the test process organization according to the input binding data. The test operations in the data are organized into test items in a certain order. Furthermore, the user sets the start and end positions of the process execution and controls the start of the process execution. The test operations in the process are read in sequence and output to the test launch operation execution module.
[0076] Step three, after receiving a test operation input from the process organization module, the test launch operation execution module sets the parameters of the operation according to the name, interface, attribute value, etc. of each test operation read from the binding data, and further cyclically calls the network execution interface and the custom operation interface to complete the test operation execution.
[0077] Step 4: After the network execution interface or the custom operation interface completes the operation execution, it will feed back the execution result to the test launch operation execution module. Further, the execution result is fed back to the test launch process organization module. When the module determines that the operation has been successfully executed, it will continue to execute the next operation in sequence, otherwise it will stop executing and prompt an error.
[0078] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
[0079] The contents not described in detail in the specification of the present invention belong to the common knowledge of the professionals in this field.
Claims
1. A test system suitable for testing the launch process of a launch vehicle, characterized in that: include: Binding data reading module, test launch process organization module, test launch operation execution module, custom operation interface module and network execution interface module; wherein, The binding data reading module reads the binding data from the data file, formats the binding data into string list format binding data, and sends it to the test launch process organization module and the test launch operation execution module; The test launch process organization module binds the test operations in the string list format data into a test project in sequence; according to the execution result sent by the test launch operation execution module, the next test operation in the test project is sent to the test launch operation execution module in sequence; The test launch operation execution module sets the operation parameters according to each test operation sent by the test launch process organization module, cyclically calls the network execution interface and the custom operation interface, and completes the test operation execution; according to the execution result, the execution result is forwarded to the test launch process organization module or the execution is stopped and an error is prompted; The custom operation interface module executes the custom operation function according to the operation parameters sent by the test launch operation execution module, and returns the execution result to the test launch operation execution module; The network execution interface module executes the device interface data processing operation according to the operation parameters sent by the test transmission operation execution module, and returns the execution result to the test transmission operation execution module.
2. A test system suitable for testing a launch vehicle launch process according to claim 1, characterized in that: The data file is a local configuration file supporting xml, txt and dat formats; the binding data is composed of a plurality of test operation data in sequence, and the test operation data is divided into general network message sending operations and custom operations.
3. A test system suitable for testing a launch vehicle launch process according to claim 2, characterized in that: The test operation data includes a test operation name, a network sending interface name, a test operation code and sending data.
4. A test system suitable for testing a launch vehicle launch process according to claim 1, characterized in that: The test launch process organization module sets the start and end positions of the test process execution according to the string list format binding data and user input.
5. A test system suitable for testing a launch vehicle launch process according to claim 1, characterized in that: The network execution interface module includes multiple external communication interfaces, and different external communication interfaces dynamically configure different communication protocols to communicate with external devices; realize communication data sending, data receiving and decoding, and communication connection control.
6. A test system suitable for testing a launch vehicle launch process according to claim 1, characterized in that: According to the test items, the operation parameters are set, and the network execution interface and the custom operation interface are called cyclically. The specific method is as follows: Read the operation dictionary from the test project. The operation dictionary includes the operation name, operation parameters, execution external communication interface, and user-defined function of each test operation. Find the operation name with the matching name from the operation dictionary, and call the custom operation function in the custom operation interface module and the virtual functions of each network execution operation interface in the network execution interface module in sequence; When the custom operation interface module or the network execution interface module returns a test result or all interfaces have been executed, the test operation is exited.
7. A test system suitable for testing a launch vehicle launch process according to claim 1, characterized in that: According to the execution result, the execution result is forwarded to the test launch process organization module or the execution is stopped and an error is prompted. Specifically: determine whether the execution result meets expectations. If so, it is judged that the execution is successful and the execution result is forwarded to the test launch process organization module; if not, it is judged that the execution failed, the execution is stopped and an error is prompted.
8. A test system suitable for testing a launch vehicle launch process according to claim 1, characterized in that: The custom operation function includes user-defined input parameters and execution result return values; when a new test operation needs to be added, it is implemented by modifying and binding different custom functions.
9. A test method suitable for testing a launch vehicle launch process, characterized in that: include: The binding data reading module reads the binding data from the local configuration file; If the reading is successful, the binding data is formatted into string list format binding data, otherwise an error is prompted; Bind the data in string list format and output it to the test launch process organization module and the test launch operation execution module; The test launch process organization module binds the test operations in the string list format data into test items in sequence; The user sets the start and end positions of the process execution and controls the start of the process execution; Read each test operation in the test project in sequence and output it to the test launch operation execution module; The test launch operation execution module reads the name, interface and attribute value of each test operation from the test project, sets the parameters of the operation, and cyclically calls the network execution interface and the custom operation interface to complete the test operation execution; After completing the operation execution, the network execution interface or the custom operation interface feeds back the execution result to the test launch operation execution module; The test launch operation execution module forwards the execution result to the test launch process organization module after determining that the operation has been successfully executed, otherwise the execution is stopped and an error is prompted; The test launch process organization module sequentially sends the next test operation to the test launch operation execution module according to the successfully executed execution results.