Automatic testing method for data link system
Through automated testing methods, the visual environment is built, and the data link system test is automatically called and evaluated, which solves the problem of low manual testing efficiency and realizes efficient, reliable and secure data link system certification.
Patent Information
- Application Number
- CN202510410283.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-07-04
AI Technical Summary
The existing data link system testing mainly relies on manual operations, resulting in cumbersome and inefficient testing, and it is impossible to adapt to large-scale efficient testing.
Using automated testing methods, by building a visual testing environment, automatically calling test data and parameters, using test instruments to automatically collect and evaluate, and generating test reports to achieve automation and standardization of the test process.
It improves testing efficiency, ensures the scientificity and effectiveness of test results, and realizes the automation, reliability and security of data link system certification.
Smart Images

Figure CN120256309A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information transmission and processing, and in particular to an automatic test method for a data link system in the application of resilience communication network in data link system authentication, which is applicable to the application of data link system consistency authentication and data link network access permission. Background Art
[0002] At present, a data link system consists of multiple terminal devices forming a link or multiple groups of links forming a data link network. To ensure the interconnection and interoperability of each terminal device, each link, each network or subnet in the data link, it is necessary to ensure that the technical systems of each data connection point are consistent. The technical system includes requirements for data link transmission, networking, message format, and interfaces, etc. Each device needs to be designed according to certain standard requirements to achieve interconnection and interoperability.
[0003] Data link system testing is to conduct system consistency testing on pre-network access devices and software according to various standards or unified requirements such as frequencies, bandwidths, rates, network protocols, message formats, etc. specified by the data link technical system. After verification, it can be ensured that the network access devices, software, etc. meet the relevant standards for network access and have the technical conditions for network access.
[0004] Currently, most data link system tests are manual tests, with a cumbersome operation process and a large workload, and cannot adapt to large-scale and efficient testing. Summary of the Invention
[0005] In view of this, the present invention proposes an automatic test method for a data link system. The present invention adopts an automated test method, which can improve the test efficiency and ensure the scientificity and effectiveness of the test results.
[0006] The technical solution adopted by the present invention is as follows:
[0007] An automatic test method for a data link system, comprising the following steps:
[0008] (1) Construct a test environment and visually display the test environment; the test environment includes a transmission networking test scenario environment and a message processing test scenario environment; wherein, the transmission networking test scenario environment includes multiple transmission nodes for simulating a transmission networking system test environment; the message processing test scenario environment includes a message format test scenario environment and a message processing test scenario environment. The message format test scenario environment is used to implement point-to-point information transmission for encoding and decoding information transfer, and the message processing test scenario environment is used to implement cooperative reconnaissance information simulation of two nodes, three nodes, and multiple nodes, as well as a multi-node cooperative test environment;
[0009] (2) Read test cases, parse the test plan from the test cases, and break down specific test items;
[0010] (3) Automatically call the corresponding test data according to the requirements of the test items. The test data includes standard message format data, sensor data, and boundary exception data;
[0011] (4) Set test parameters, test contents, and test scopes according to the test plan and the requirements of the test items. Automatically set the specific parameters of the standard message format data, set sensor parameters to generate test data, set test parameters of the message format, and boundary exception data;
[0012] (5) Control the test instruments according to the test parameters, set working parameters, working states, and connection relationships, and carry out transmission networking system tests and message processing system tests according to the test process. Rely on the test instruments to automatically collect test results.
[0013] Furthermore, in step (3), the standard message format data is divided into standard message format, message format encoding, and message format decoding. Among them, message format decoding means receiving the standard message format and obtaining the internal message format for message processing through decoding; after message processing, the standard message format is obtained through encoding processing;
[0014] The sensor data is divided into sensor simulation data, sensor measured data, collaborative reconnaissance simulation and measured data, and is used for sensor simulation data or measured data that simulate radar detection, SAR radar detection, radar signal reconnaissance, communication signal reconnaissance, optoelectronic reconnaissance, and underwater acoustic reconnaissance; collaborative reconnaissance data simulation includes multi-sensor collaborative data generation;
[0015] The boundary exception data includes boundary value data simulation and outlier data simulation; for the message format test data, there are only normal values and abnormal values. For other transmission networking system test driving data and message processing system test data, data simulation is carried out according to normal values, abnormal values, and boundary values.
[0016] Furthermore, it also includes the following steps:
[0017] (6) Evaluate and analyze the test results of each test item according to the test criteria in the test evaluation library, and automatically generate a test evaluation report based on the test plan, test items, and test conclusions as the basis for system certification; if all are qualified, the system demonstration passes, and if one is unqualified, the system demonstration fails.
[0018] The advantages of the present invention compared with the background technology are as follows:
[0019] 1. The present invention adopts an automated test method and can realize the automatic test of the data link technology system;
[0020] 2. Supported by test data, the present invention can realize the automatic call of the automatic test process.
[0021] 3. The present invention can standardize the testing process and ensure the scientificity and effectiveness of test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flowchart of the present invention.
[0023] Figure 2 is a schematic diagram of the test data categories of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] The present invention will be further explained below in conjunction with the drawings and specific embodiments.
[0025] An automatic testing method for a data link system, as Figure 1 shown, includes the following steps:
[0026] (1) Construct a test environment and visually display the test environment; the test environment includes a transmission networking test scenario environment and a message processing test scenario environment; among them, the transmission networking test scenario environment includes multiple transmission nodes for simulating a transmission networking system test environment; the message processing test scenario environment includes a message format test scenario environment and a message processing test scenario environment. The message format test scenario environment is used to implement point-to-point information transmission for encoding and decoding information transfer, and the message processing test scenario environment is used to implement cooperative reconnaissance information simulation for two nodes, three nodes, and multiple nodes, as well as a multiple-node cooperative test environment;
[0027] (2) Read test cases, and sort out corresponding test items, test parameters, test driver data, etc. according to the test content of the test plan, mainly including transmission networking system test items, message format compliance test items, message processing function test items, and interface compliance test items, etc.;
[0028] (3) Automatically call corresponding test data according to the requirements of the test items. The test data includes standard message format data, sensor data, scenario descriptions, and boundary exception descriptions; the content of the automatic call of the test data is as Figure 2 shown, where:
[0029] The standard message format data is mainly divided into standard message format, message format encoding, and message format decoding. Among them, message format decoding refers to receiving the standard message format and obtaining the internal message format for message processing through decoding; after message processing, the standard message format is obtained through encoding processing.
[0030] Sensor data is divided into sensor simulation and measured data, as well as cooperative reconnaissance simulation and measured data, mainly simulating sensor simulation data such as radar detection, SAR radar detection, radar signal reconnaissance, communication signal reconnaissance, optoelectronic reconnaissance, and underwater acoustic reconnaissance, or measured data. Cooperative reconnaissance data simulation includes multi-sensor cooperative data generation, such as multi-radar detection point track fusion data simulation, time difference positioning data simulation of multi-point radar communication signal reconnaissance; heterogeneous reconnaissance data simulation, such as optoelectronic and radar fusion processing data simulation, multi-sensor heterogeneous fusion processing simulation data, etc.
[0031] Scenario description mainly includes transmission network test scenario description and message processing test scenario description, mainly simulating and constructing test scenarios based on test plans and test items. Among them, the transmission network test scenario description mainly constructs multiple transmission nodes for simulating the transmission system test and network formation system test environment; the message processing test scenario description mainly constructs the test environment scenario for message format testing and the environment scenario for multi-node cooperative message processing testing.
[0032] Boundary anomaly description mainly includes boundary value data simulation and outlier data simulation. Among them, for the test data of message format, there are only normal values and abnormal values. For other test drive data of transmission network systems and test data of message processing systems, data simulation is carried out according to normal values, abnormal values, and boundary values.
[0033] (4) Set test parameters, test contents, and test scopes according to the requirements of the test plan and test items, automatically set the specific parameters of the test standard message format data, set sensor parameters to generate test data, set the test parameters of the message format, and boundary anomaly data;
[0034] (5) According to the test parameters and test item requirements, combined with the test process, set the working states, working parameters, and connection relationships of the test instruments and test fixtures, and control the test instruments and fixtures in real time according to the process to conduct relevant system tests for transmission networking.
[0035] (6) Automatically collect the system test results through test instruments and data acquisition devices as the basis for comparing test conclusions.
[0036] (7) According to the test criteria in the test evaluation library, evaluate and analyze the test results of each test item to obtain whether the test results meet the requirements of the evaluation criteria, and give test conclusions and evaluation conclusions.
[0037] (8) Generate system certification conclusions, and automatically generate test evaluation reports according to the test plan, test items, and test conclusions as the basis for system certification. If all are qualified, the system demonstration passes; if one is unqualified, the system demonstration fails.
[0038] This method can achieve functions such as test plan selection and generation, test item compliance matching, test case automatic generation, test script automatic generation, automatic management of test processes with manual intervention, automatic control of test instruments and tooling, automatic invocation of test data, visual display of test environments, automatic collection of test results, automatic evaluation of test conclusions, and generation of system certification conclusions. It uses a test database to generate standard message format data, sensor data, scenario descriptions, and correct values, boundary values, and outlier values of various types of data for a test, and realizes the driving and verification of data link transmission networking and information processing; uses test cases to organize and construct a test environment; uses test scripts to control the invocation of test data, drive test processes, and collect test result data; uses a test evaluation database to implement the discriminant basis for data link system compliance. Thus, to the greatest extent, it realizes the automated testing of data link systems, ensuring reliability, security, and high efficiency.
[0039] Through this method, except for some interface compliance test items and field test items related to antennas in transmission networking, the vast majority of test items can achieve an automated test process; automatically invoke test data, set test parameters, and conduct tests on test items according to test cases; at the same time, manual intervention (pause, resume, stop, restart, etc.) can be carried out as needed.
[0040] During the test process, a visual display is performed according to the test scenario, test case, test process, test drive, and the status of each test instrument and tooling.
[0041] The following is a more specific example:
[0042] An automatic test method for a data link system includes the following steps:
[0043] (1) According to the development task book or relevant overall development requirements of the test object (data link terminal, information processing software, message processing board), sort out which requirements of the test object meet the technical system regulations, including implicit requirements, and form a test plan according to the test content.
[0044] (2) Decompose the test items in the test plan item by item, corresponding to the technical system, and find the influencing and corresponding test parameters in the test system requirements to automatically match the test drive data.
[0045] (3) Automatically form test cases according to the test items, test parameters, and test drive data, organize test instruments, test data, test environments, etc. to construct a test scenario, and at the same time, according to the predetermined test process, automatically invoke and run the organization test to form test cases under specific systems, specific test items, specific parameters, and specific test data conditions.
[0046] (4) Except for some interface compliance test items and outdoor test items related to antennas in transmission networking, the vast majority of test items can achieve an automatic test process; during the automatic operation of the test process, manual intervention (such as pausing, resuming, stopping, restarting, etc.) can be carried out as needed.
[0047] (5) According to the test parameters, automatically call, set, and control the test instruments and test fixtures to implement the automatic test process.
[0048] (6) During the test process, automatically call the test data to ensure real-time process automation. Among them:
[0049] (601) The data in the standard message format is mainly divided into the standard message format, message format encoding, and message format decoding. Among them, message format decoding refers to receiving the standard message format and obtaining the internal message format for message processing through decoding; after message processing, the standard message format is obtained through encoding processing.
[0050] (602) The sensor data is divided into sensor simulation and measured data, and collaborative reconnaissance simulation and measured data. It mainly simulates and emulates sensor simulation data such as radar detection, SAR radar detection, radar signal reconnaissance, communication signal reconnaissance, optoelectronic reconnaissance, and underwater acoustic reconnaissance, or measured data. The collaborative reconnaissance data simulation includes the generation of multi-sensor collaborative data, such as the simulation of multi-radar detection point track fusion data and the simulation of time difference positioning data for multi-point radar communication signal reconnaissance data; heterogeneous reconnaissance data simulation, such as the simulation of optoelectronic and radar fusion processing data and the simulation of multi-sensor heterogeneous fusion processing simulation data, etc.
[0051] (603) The scenario description mainly includes the transmission networking test scenario description and the message processing test scenario description, and mainly constructs the test scenario according to the test plan and test items. Among them, the transmission networking test scenario description mainly constructs multiple transmission nodes for simulating the transmission system test and the networking system test environment; the message processing test scenario description mainly constructs the message format test environment scenario construction and the environment scenario construction for multi-node collaborative message processing test.
[0052] (604) The boundary anomaly description mainly includes boundary value data simulation and outlier data simulation. Among them, for the test data of the message format, there are only normal values and abnormal values. For other test drive data of the transmission networking system and test data of the message processing system, data simulation is carried out according to normal values, abnormal values, and boundary values.
[0053] (7) During the test process, visually display the test environment, test scenario, test cases, test process, test drive, and the status of each test instrument and fixture, etc.
[0054] (8) Automatically collect the system test results through test instruments and data acquisition devices, which serve as the basis for comparing test conclusions.
[0055] (9) According to the test criteria in the test evaluation library, evaluate and analyze the test results of each test item to obtain whether the test results meet the requirements of the evaluation criteria, and give test conclusions and evaluation conclusions.
[0056] (10) Automatically generate a test evaluation report based on the test plan, test items, and test conclusions as the basis for system certification. If all are qualified, the system demonstration passes; if one is unqualified, the system demonstration fails.
[0057] The present invention uses a test database to generate standard message format data, sensor data, scenario descriptions, and correct values, boundary values, and abnormal values of various types of data for testing, so as to drive and verify the data link transmission networking and information processing; uses test cases to organize and construct a test environment; uses test scripts to control the invocation of test data, drive the test process, and collect test result data; uses a test evaluation database to serve as the basis for judging the compliance of the data link system. The present invention can maximize the realization of automated testing for data link system certification, ensuring the reliability, safety, and efficiency of the test process.
Claims
1. An automatic test method for a data link system, characterized in that It includes the following steps: (1) Construct a test environment and visually display the test environment; the test environment includes a transmission networking test scenario environment and a message processing test scenario environment; among them, the transmission networking test scenario environment includes multiple transmission nodes for simulating the transmission networking system test environment; the message processing test scenario environment includes a message format test scenario environment and a message processing test scenario environment. The message format test scenario environment is used to implement point-to-point information transmission for encoding and decoding information transfer, and the message processing test scenario environment is used to implement collaborative reconnaissance information simulation for two nodes, three nodes, and multiple nodes, as well as a multi-node collaborative test environment; (2) Read the test cases, parse the test plan from the test cases, and break down the specific test items; (3) Automatically call the corresponding test data according to the requirements of the test items. The test data includes standard message format data, sensor data, and boundary exception data; (4) Set the test parameters, test content, and test scope according to the requirements of the test plan and test items, automatically set the specific parameters of the standard message format data, set the sensor parameters to generate test data, set the test parameters of the message format, and boundary exception data; (5) Control the test instruments according to the test parameters, set the working parameters, working status, and connection relationships, and carry out transmission networking system tests and message processing system tests according to the test procedures, and rely on the test instruments to automatically collect the test results.
2. The automatic test method for a data link system according to claim 1, characterized in that, In step (3), the standard message format data is divided into standard message format, message format encoding, and message format decoding. Among them, message format decoding refers to receiving the standard message format and obtaining the internal message format of message processing through decoding; after message processing, the standard message format is obtained through encoding processing; The sensor data is divided into sensor simulation data, sensor measured data, collaborative reconnaissance simulation and measured data, and is used to simulate sensor simulation data or measured data for radar detection, SAR radar detection, radar signal reconnaissance, communication signal reconnaissance, optoelectronic reconnaissance, and underwater acoustic reconnaissance; collaborative reconnaissance data simulation includes multi-sensor collaborative data generation; The boundary exception data includes boundary value data simulation and outlier data simulation; for the message format test data, there are only normal values and abnormal values. For other transmission networking system test drive data and message processing system test data, data simulation is carried out according to normal values, abnormal values, and boundary values.
3. The automatic test method for a data link system according to claim 1, wherein It also includes the following steps: (6) Evaluate and analyze the test results of each test item according to the test criteria in the test evaluation library, and automatically generate a test evaluation report based on the test plan, test items, and test conclusions as the basis for system certification; if all are qualified, the system demonstration passes; if one is unqualified, the system demonstration fails.
Citation Information
Cited By
Message generation exciter
CN121530808A