汽车工程学报2024,Vol.14Issue(1):135-143,9.DOI:10.3969/j.issn.2095‒1469.2024.01.14
基于多叉树和正则表达式的标定系统A2L文件的解析管理方法
Analysis and Management Method of A2L File of Calibration System Based on Multi-Tree and Regular Expression
摘要
Abstract
According to the definition rule of A2L file in automobile calibration system,the regular expression is designed to match the internal key information of A2L file,and the information of A2L file is represented by class structure and multi-tree model.In addition,the corresponding general analysis flow is proposed for different data modules in the file.Aiming at the problems of measurement value visualization and calibration value download,the conversion formula of raw quantity to physical quantity is designed according to various predefined types and conversion methods,which can provide conversion tools for upper computer software.The A2L data analysis management software is developed by using C#and window applications to realize the visual management and modification of the analysis results.The software design pattern of"high cohesion and low coupling"and dynamic link library are used to further develop the measurement calibration software.Finally,the effectiveness of the proposed A2L file parsing method is verified by experiments.关键词
A2L/正则表达式/数据解析/数据管理Key words
A2L/regular expression/data analysis/data management分类
信息技术与安全科学引用本文复制引用
谢钊,杨亚联,刘昌东..基于多叉树和正则表达式的标定系统A2L文件的解析管理方法[J].汽车工程学报,2024,14(1):135-143,9.基金项目
国家重点研发计划"政府间国际科技创新合作"项目(中韩)(2021YFE0193800) (中韩)