Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for generating test cases

A test case generation and test case technology, applied in electrical testing/monitoring, software testing/debugging, testing/monitoring control systems, etc., can solve the problems of vehicle control system loopholes, poor test case coverage, etc., to improve coverage degree, complete vehicle control system, and the effect of reducing loopholes

Active Publication Date: 2021-10-22
BEIJING ELECTRIC VEHICLE
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and device for generating test cases, which are used to solve the problem of poor coverage of test cases designed based on user needs in the prior art, resulting in various loopholes in the vehicle control system

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 and device for generating test cases
  • Method and device for generating test cases
  • Method and device for generating test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0073] Such as figure 1 As shown, the embodiment of the present invention provides a method for generating test cases, including:

[0074] S11: collecting the first operation data set representing the driver's operation under different working conditions of the vehicle;

[0075] It should be noted that different working conditions of the vehicle may represent different application scenarios of the vehicle. The number of first operation data s...

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 present invention provides a test case generation method and device, the test case generation method includes: collecting the first operation data set representing the driver's operation under different working conditions of the vehicle; inputting the first operation data set into the pre-acquired Calibrate the neural network model to obtain an output parameter set of the calibrated neural network model; use the first operation data set as a test input, the calibrated neural network model as an execution condition, and the output parameter set as an expected result to obtain a test Example. The present invention uses the first operating data set under different working conditions of the vehicle as the input of the test case, thereby improving the coverage of the test case.

Description

technical field [0001] The invention relates to the field of vehicle control system testing, in particular to a test case generation method and device. Background technique [0002] A test case is a set of test inputs, execution conditions, and expected results prepared for a specific purpose, in order to test a program path or verify whether a specific requirement is met. In the field of vehicle testing, test cases are usually designed based on user requirements, and then the vehicle control system is tested using the test cases. [0003] And currently, when testing the vehicle control system, the test cases used are all generated based on user requirements. However, due to the poor coverage of test cases generated based on user needs, the vehicle control system cannot take into account the actual usage scenarios of customers when using test cases for testing. Risk at the customer stage. Contents of the invention [0004] The invention provides a method and device for ...

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 Patents(China)
IPC IPC(8): G05B23/02G06F11/36
CPCG05B23/0213G06F11/3684
Inventor 刘三兵
Owner BEIJING ELECTRIC VEHICLE