Method and system for converting CAN communication matrix and DBC file

The invention provides a conversion method and system of a CAN communication matrix and a DBC file. According to the scheme, the method comprises the steps of obtaining a to-be-converted CAN communication matrix file; data dictionary construction is carried out based on data items required by the DB...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG PENG, SHENG LEI, FENG ZHIMIN, YOU QINGSHEN, XIANG BINBIN, WANG CHUNLI, XIA XIANYANG, WANG PANPAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a conversion method and system of a CAN communication matrix and a DBC file. According to the scheme, the method comprises the steps of obtaining a to-be-converted CAN communication matrix file; data dictionary construction is carried out based on data items required by the DBC file, and the data items in the data dictionary comprise header content data items and identification items thereof; assigning an identification item corresponding to header content in the data dictionary based on an index value of a column corresponding to each header in the CAN communication matrix file; and obtaining data corresponding to the header content from the CAN communication matrix file based on the identifier corresponding to the header content in the data dictionary, and carrying out file conversion according to a DBC file format based on the obtained data corresponding to each header content to obtain a DBC file. 本发明提供了一种CAN通信矩阵与DBC文件的转换方法及系统,所述方案包括:获取待转换的CAN通信矩阵文件;基于DBC文件所需数据项进行数据字典构建,其中,所述数据字典中的数