Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for automatically generating DBC file

A technology that automatically generates and files, applied in the communication field, can solve problems such as time-consuming, low efficiency, and manual input errors, and achieve the effect of reducing errors and increasing efficiency

Pending Publication Date: 2021-10-29
JIANGSU AIMA VEHICLE SCI & TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the DBC file of the CAN communication protocol is generated by manual input in the CAN DBC editor software, but the above process is manually input, which takes a lot of time for the user, is inefficient, and manual input will also cause errors

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
  • Method and device for automatically generating DBC file
  • Method and device for automatically generating DBC file
  • Method and device for automatically generating DBC file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 It is a flow chart of the method for automatically generating a DBC file provided by Embodiment 1 of the present invention.

[0046] refer to figure 1 , the method includes the following steps:

[0047] Step S101, obtaining the first communication protocol in excel format, typesetting the first communication protocol according to the standard format, and obtaining the second communication protocol;

[0048] Specifically, the standard format is a preset specification format, which is pre-defined in a script of MATLAB software. For example, in the excel format, it is necessary to make sheet1 include all CAN nodes of the CAN network, and make sheet2 include all message information of all nodes.

[0049] In sheet2, the table header needs to be compiled according to the preset rules. For example, the first column is the name of the CAN transmitter, the second column is the name of the CAN receiver, the third column is the message ID, and the fourth column is the...

Embodiment 2

[0068] image 3 It is a schematic diagram of an apparatus for automatically generating a DBC file provided in Embodiment 2 of the present invention.

[0069] refer to image 3 , the device consists of:

[0070] The acquiring unit 1 is configured to acquire the first communication protocol in excel format, typesetting the first communication protocol according to the standard format, and obtaining the second communication protocol;

[0071] Conversion unit 2, for converting the second communication protocol of excel format into the second communication protocol of MATLAB language format, and importing in the MATLAB workspace;

[0072] Extraction unit 3, for extracting and verifying data from the second communication protocol in MATLAB language format, and generating a standard structure;

[0073] The generation unit 4 is used to generate the DBC file of the CAN communication protocol from the standard structure.

[0074] Further, the extraction unit 3 is specifically used f...

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 a method and device for automatically generating a DBC file, and the method comprises the steps: obtaining a first communication protocol in an excel format, typesetting the first communication protocol according to a standard format, and obtaining a second communication protocol; converting the second communication protocol in the excel format into a second communication protocol in an MATLAB language format, and importing the second communication protocol into an MATLAB working area; performing data extraction and verification from a second communication protocol in an MATLAB language format to generate a standard structural body; generating a DBC file of a CAN communication protocol by using the standard structure body; automatically generating the DBC file. the efficiency is high, the data can be verified, and errors are reduced.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and a device for automatically generating DBC files. Background technique [0002] DBC (Data Base CAN) file is used to describe CAN (Controller Area Network, controller area network), and is a necessary technical file for CAN communication test in the communication field; it is also a necessary file for analyzing CAN protocol content and analyzing CAN communication content . [0003] At present, the DBC file of the CAN communication protocol is generated by manual input in the CAN DBC editor software, but the above process is manually input, which takes a lot of time for the user, is inefficient, and manual input will also cause errors. Contents of the invention [0004] In view of this, the object of the present invention is to provide a method and device for automatically generating DBC files, which can automatically generate DBC files with high efficiency, an...

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): G06F16/16H04L12/40H04L29/06
CPCG06F16/164H04L69/06H04L69/08H04L12/40H04L2012/40215
Inventor 黄贵芬姚长青李根深
Owner JIANGSU AIMA VEHICLE SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products