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

Automatic generation method and device for scene test case of automobile controller

A technology of automotive controllers and test cases, which is applied in program control, general control systems, electrical testing/monitoring, etc., can solve problems such as the difficulty of converting scene test cases, and achieve the effect of improving software testing quality and optimizing functions

Inactive Publication Date: 2020-12-29
BEIJING ELECTRIC VEHICLE
View PDF27 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for automatically generating scenario test cases for automobile controllers to solve the problem of difficulty in converting fault scenarios to scenario test cases

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
  • Automatic generation method and device for scene test case of automobile controller
  • Automatic generation method and device for scene test case of automobile controller
  • Automatic generation method and device for scene test case of automobile controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0041] Such as figure 1 As shown, the embodiment of the present invention provides a method for automatically generating a scene test case of an automobile controller, including:

[0042] Step 11, acquiring the description information of the failure scene.

[0043] It should be noted that the fault scenario description information refers to information describing faults in natural language. Preferably, the fault scenario may be obtained during testing, or may be feedback from after-sales personnel or users. The acquisition method is set as above, so that the final test cases can contain more failure scenarios, avoiding the problem of low coverage of test cases due to a single failure acquisition method and means or only based on experience and imag...

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 provides an automatic generation method and device for a scene test case of an automobile controller, and relates to the technical field of automobiles. The automatic generation method for the scene test case comprises the steps of obtaining description information of a fault scene; obtaining controller area network CAN data information corresponding to the fault scene; processing the CAN data information to obtain a multi-dimensional data matrix; and processing the multi-dimensional data matrix to obtain a test case file corresponding to the fault scene. According to the scheme,the CAN data information corresponding to the fault scene is collected and processed, so that conversion from the fault scene to the test case is realized, a mutual tracing relationship among the fault scene, the CAN data information and the test case file is established, the software test quality of the automobile controller can be greatly improved, and the function of the automobile controlleris optimized to a great extent.

Description

technical field [0001] The invention relates to the field of testing, in particular to a method and device for automatically generating scene test cases of an automobile controller. Background technique [0002] In recent years, with the increasingly serious problems of energy crisis and environmental pollution worldwide, people's requirements for energy saving and emission reduction of automobiles have gradually increased. New energy vehicles have attracted more and more attention due to their characteristics of low noise, no pollution, diversified energy sources and high energy efficiency, thus promoting the accelerated development of new energy vehicles. [0003] In the process of software testing of automotive three-electric (VCU, MCU, BMS) controllers, test cases, as the actual product of applying test theory to the object under test, have a decisive impact on the test quality. Therefore, the quality of test cases and software test coverage are the focus of attention i...

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): G05B23/02
CPCG05B23/0213G05B2219/24065
Inventor 赵怿
Owner BEIJING ELECTRIC VEHICLE