Compiler of test scene generation source code and test scene generation system

A test scenario and compiler technology, applied in the field of compiler and test scenario generation system, can solve the problems that the files are difficult to be directly read and edited by users, and the format files are poorly readable, so as to improve the generation efficiency and accuracy, and facilitate Editable, readable effects

Active Publication Date: 2021-05-14
BEIJING CATARC DATA TECH CENT +2
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The data structure of the multi-fork tree itself is more focused on data storage. If it is used to describe dynamic test scenarios, the readability ...

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
  • Compiler of test scene generation source code and test scene generation system
  • Compiler of test scene generation source code and test scene generation system
  • Compiler of test scene generation source code and test scene generation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0031] An embodiment of the present invention provides a compiler for generating source code of a test scenario. The compiler compiles the source code for generating a test scenario to obtain a semantic data structure executable by an emulator. This semantic data structure is used to generate test scenarios when executed by a simulator. In order to describe the structure and function of the compiler, firstly describe the test scenario generation method based on the source code, that is, the functional logic realiz...

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 compiler for generating a source code in a test scene and a test scene generation system, and relates to an automatic driving technology. The compiler comprises an integrated development environment used for obtaining a source code; a lexical analyzer used for analyzing the source code to obtain a regular set; a grammar analyzer used for analyzing the regular set according to grammar rules to obtain grammar units; a semantic analyzer used for adding an attribute grammar on the basis of a grammar unit to obtain a semantic data structure; during execution, the semantic data structure is used for reading a measured road section according to measured road section information of a road network file; assigning participants in the test scene, and loading models corresponding to the participants; sequentially determining information of behaviors executed by the vehicle and the target vehicle along with time migration; and on the tested road section, controlling the participants to sequentially execute corresponding behaviors according to the information of each behavior, and generating the test scene. According to the method, the test scene is generated by adopting the source code which is convenient to edit and high in readability, and the corresponding compiler and system are developed.

Description

technical field [0001] The embodiment of the present invention relates to automatic driving technology, and in particular to a compiler for generating source codes of test scenarios and a test scenario generation system. Background technique [0002] With the development of autonomous driving, the demand for autonomous driving tests is increasing exponentially, so autonomous driving tests based on simulation will replace tens of thousands of actual road tests. [0003] In the process of autonomous driving simulation testing, in order to improve testing efficiency, some source codes for automatically generating test scenarios have emerged, such as OpenScenario 1.0 based on Extensible Markup Language (XML). XML itself is a format file in the form of a root node multi-tree. The data structure of the multi-fork tree itself is more focused on data storage. If it is used to describe dynamic test scenarios, the readability of the format file itself is poor. If there is no dedicate...

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
IPC IPC(8): G06F8/30G06F8/41G06F11/36G06F30/20
CPCG06F8/315G06F8/425G06F8/427G06F8/436G06F11/3664G06F11/3684G06F30/20
Inventor 周博林赵帅朱向雷张凌翔张骁翟洋王赟芝刘应心
Owner BEIJING CATARC DATA TECH CENT
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