A2L grammar analysis device and method

A grammar parser and grammar parsing technology, applied in the fields of instruments, natural language data processing, special data processing applications, etc., can solve problems such as the inability to provide A2L parsing

Inactive Publication Date: 2016-11-16
CHONGQING HONGJIANG MACHINERY
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these commercial software can read A2L files, they cannot provide the function of A2L parsing, so it is necessary to develop an A2L grammar parser and method

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
  • A2L grammar analysis device and method
  • A2L grammar analysis device and method
  • A2L grammar analysis device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described below in conjunction with accompanying drawing.

[0031] Such as figure 1 The A2L grammar parser shown includes an AML grammar definition file module 1 , an AML grammar parsing module 2 and an A2L file parsing module 3 . Wherein: AML syntax definition file module 1 adopts AML syntax to describe ASAM standard syntax. The AML grammar parsing module 2 is used for reading and parsing the AML grammar definition file line by line, and generating a linked list of AML grammar information keywords. The A2L file parsing module 3 is used to read the A2L file line by line, and compare it with the AML syntax information keyword linked list to generate the A2L data structure linked list.

[0032] The A2L grammar analyzer described in the present invention has the following functions:

[0033] (1) Able to parse A2L grammar files defined by ASAM MCD-2MC protocol V1.6 or later. The ASAM protocol is divided into several layers, and the ...

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 an A2L grammar analysis device. The A2L grammar analysis device comprises an AML grammar definition file module used for describing the ASAM standard grammar with the AML grammar, an AML grammar analysis module used for reading and analyzing an AML grammar definition file line by line and generating an AML grammar information key word chain table, and an A2L file analysis module used for reading an A2L file line by line, comparing the A2L file with the AML grammar information key word chain table and generating an A2L data structure chain table. The invention further discloses an A2L grammar analysis method. The method includes the following steps that 1, the ASAM standard grammar is described with the AML grammar; 2, the AML grammar definition file is read and analyzed line by line, and the AML grammar information key word chain table is generated; 3, the A2L file is read line by line and compared with the AML grammar information key word chain table, and the A2L data structure chain table is generated. By means of the A2L grammar analysis device and method, a data storage format defined in the ASAM MCD-2MC standard can be analyzed, and the related chain tables can be generated for access of other programs.

Description

technical field [0001] The invention belongs to automobile grammar analysis technology, in particular to an A2L grammar analyzer and method. Background technique [0002] At present, there is no parser specially used for parsing A2L grammar, and it is impossible to interpret A2L files. Instead of using standard A2L files, A2L information is stored by defining a set of similar rules, because such files do not satisfy Standard specifications, so it cannot be connected with other commercial software. The main function of the A2L file is to be used for the connection between different software, for example, the A2L editor generates the A2L file, and the A2L file is read by the commercial calibration software. Although these commercial software can read A2L files, they cannot provide the function of A2L parsing, so it is necessary to develop an A2L grammar parser and method. Contents of the invention [0003] The purpose of the present invention is to provide an A2L grammar p...

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): G06F17/27
CPCG06F40/253G06F40/284
Inventor 张鹏周琴陈兴华章信华褚开星邱奇王纪方
Owner CHONGQING HONGJIANG MACHINERY
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