Method for generating simplified test case set of flight control airborne model

A test case set and test case technology, applied in biological models, computational models, software testing/debugging, etc., can solve problems such as reducing test cycles, redundancy, and inability to fully meet requirements, so as to improve generation speed and reduce analysis. time, the effect of increasing variety and streamlining

Active Publication Date: 2022-01-07
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The random method is to randomly select the values ​​of the model parameters, and randomly generate test cases that meet the value requirements, but it cannot fully meet the requirements for the flight control airborne model with strict test requirements; the representative numerical method is the orthogonal The Latin method generates test cases by constructing a Latin matrix, but it has certain requirements on the number of flight control parameters and the number of values, which has relatively large limitations; the greedy algorithm is the most widely used method in the generation of combined test cases, which can be divided into The main principle of one-dimensional expansion and two-dimensional expansion is to take the local optimum and approximate the global optimum. This approximation can significantly improve the efficiency of the algorithm, but it is easy to generate redundancy, generate a large number of test cases, and increase the follow-up testers. The analysis time of the test; the heuristic search algorithm uses the search ability of the heuristic intelligent algorithm to find the optimal combination of test cases in the uncovered combination set, which can generate test cases more accurately, greatly improving the simplification of test cases and reducing test cycle
[0005] The representative algorithms in the heuristic search algorithm include genetic algorithm, ant colony algorithm, particle swarm algorithm, etc. These algorithms can generate relatively streamlined test cases, but there are still shortcomings such as easy to fall into local optimum and difficulty in parameter selection.
As a new heuristic search algorithm, the beetle whisker algorithm has been widely used in path optimization and power scheduling because of its advantages of easy implementation, fast convergence speed and high convergence quality. The algorithm has not been widely used in test case generation, which has research and improvement significance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for generating simplified test case set of flight control airborne model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] This embodiment proposes a method for generating a condensed test case set for the flight control airborne model. The flow chart is as follows figure 1 shown, including the following steps:

[0037] Step 1: Obtain each input parameter ( figure 1 The initial data set of Parameters), the specific process is as follows:

[0038] Step 1.1: Load the flight control airborne model, according to the port setting sequence of the input parameters in the flight control airborne model, automatically obtain the information of each input parameter of the flight control airborne model, including parameter name, parameter type and parameter value range, etc. ;

[0039] Step 1.2: Customize the specific value or value range of each input parameter;

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for generating a simplified test case set of a flight control airborne model, and belongs to the technical field of aviation airborne model testing. The method comprises the following steps of: firstly loading the flight control airborne model, acquiring information of each input parameter, and acquiring an initial data set of each input parameter after valuing the parameters; and then generating uncovered combination pairs combined pairwise, acquiring the initialization position of each longhorn beetle, sequentially acquiring candidate test cases corresponding to each input parameter by adopting a longhorn beetle algorithm according to the acquiring sequence of the input parameters, generating N candidate test cases, selecting the candidate test case with the maximum effective coverage combination number in the test case set, adding the candidate test case into the test case set, deleting the combinations covered by the test cases in the uncovered combination pairs until the combinations are zero, and finally acquiring the simplified test case set. According to the method, a fitness function suitable for generation of the test cases in pairwise combination is constructed, the candidate test cases are generated in a mode of the longhorn beetle swarm, and then the optimal test case is selected, so that the diversity and the simplification of the test cases are improved.

Description

technical field [0001] The invention belongs to the technical field of aviation airborne model testing, and in particular relates to a method for generating a condensed test case set of an airborne model of flight control. Background technique [0002] With the continuous development of technology, the application of Unmanned Aerial Vehicle (UAV) is becoming more and more extensive. The flight control airborne model is the core of the UAV software system, and safe and stable operation is the basic guarantee for UAVs to complete complex tasks. The flight control airborne model has stricter requirements on safety, stability and reliability than other common models. The test of the flight control airborne model is an extremely important link in the development and one of the main means to ensure the development quality. The workload of flight control testing is huge, generally occupying 40% to 50% of the entire development process, including compatibility testing, logic testin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06N3/00
CPCG06F11/3684G06F11/3688G06N3/006Y02T90/00
Inventor 荆华蔡利强王开强陈润锋张伸喻天闻何格冯欣悦
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products