CN113568876B - Method and device for automatically generating DBC file - Google Patents

Method and device for automatically generating DBC file Download PDF

Info

Publication number
CN113568876B
CN113568876B CN202110891131.3A CN202110891131A CN113568876B CN 113568876 B CN113568876 B CN 113568876B CN 202110891131 A CN202110891131 A CN 202110891131A CN 113568876 B CN113568876 B CN 113568876B
Authority
CN
China
Prior art keywords
communication protocol
structure body
format
dbc
matlab
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110891131.3A
Other languages
Chinese (zh)
Other versions
CN113568876A (en
Inventor
黄贵芬
姚长青
李根深
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Aima Vehicle Industry Technology Co Ltd
Original Assignee
Jiangsu Aima Vehicle Industry Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Aima Vehicle Industry Technology Co Ltd filed Critical Jiangsu Aima Vehicle Industry Technology Co Ltd
Priority to CN202110891131.3A priority Critical patent/CN113568876B/en
Publication of CN113568876A publication Critical patent/CN113568876A/en
Application granted granted Critical
Publication of CN113568876B publication Critical patent/CN113568876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a method and a device for automatically generating DBC files, comprising the following steps: acquiring 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 the second communication protocol in the MATLAB language format, and importing the second communication protocol into the MATLAB working area; data extraction and verification are carried out from a second communication protocol in MATLAB language format, and a standard structure body is generated; generating a DBC file of the CAN communication protocol by the standard structure body; the DBC file can be automatically generated, the efficiency is high, the data can be checked, and errors are reduced.

Description

Method and device for automatically generating DBC file
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for automatically generating DBC files.
Background
The DBC (Data Base CAN) file is used for describing CAN (Controller Area Network ), and is a necessary technical file for CAN communication test in the communication field; the method is also used for analyzing CAN protocol content and analyzing necessary files of CAN communication content.
At present, a DBC file of a CAN communication protocol is generated in CAN DBC editor software by a manual input mode, but the process is manually input, so that a great deal of time is required for a user, the efficiency is low, and errors are generated when the manual input is performed.
Disclosure of Invention
In view of the above, the present invention aims to provide a method and an apparatus for automatically generating a DBC file, which can automatically generate a DBC file with high efficiency, and can verify data to reduce the occurrence of errors.
In a first aspect, an embodiment of the present invention provides a method for automatically generating a DBC file, the method including:
acquiring 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 the MATLAB language format, and importing the second communication protocol into a MATLAB working area;
data extraction and verification are carried out from a second communication protocol in the MATLAB language format, and a standard structure body is generated;
and generating the DBC file of the CAN communication protocol by the standard structure body.
Further, the data extraction and verification are performed from the second communication protocol of the MATLAB language format, and a standard structure body is generated, which includes:
data extraction is carried out from the second communication protocol of the MATLAB language format according to the DBC file format, and a configuration information file is obtained;
defining a structure variable from a second communication protocol in the MATLAB language format;
adding the configuration information file and the structure variables to corresponding structures;
verifying the corresponding structure body;
and if the verification is passed, generating the standard structure.
Further, the structural body variables comprise CAN nodes, messages, signals and sending periods; the structure body corresponding to the configuration information file comprises a DBC header file and message parameter information; the structure body corresponding to the CAN node comprises a plurality of node names; the structure body corresponding to the message comprises a message name, a message data length and a sending node; the structure body corresponding to the signal comprises a signal name, a start bit, a bit length, a byte sequence, a symbol type, a maximum value, a minimum value and a receiving node; the structure body corresponding to the sending period comprises the sending period of the message.
Further, the MATLAB working area is an area for running MATLAB codes and loading codes by using functions.
In a second aspect, an embodiment of the present invention provides an apparatus for automatically generating a DBC file, the apparatus including:
the device comprises an acquisition unit, a typesetting unit and a storage unit, wherein the acquisition unit is used for acquiring a first communication protocol in an excel format, typesetting the first communication protocol according to a standard format, and obtaining a second communication protocol;
the conversion unit is used for converting the second communication protocol in the excel format into the second communication protocol in the MATLAB language format and importing the second communication protocol into the MATLAB working area;
the extraction unit is used for extracting and checking data from the second communication protocol of the MATLAB language format to generate a standard structure body;
and the generating unit is used for generating the DBC file of the CAN communication protocol by the standard structure body.
Further, the extraction unit is specifically configured to:
data extraction is carried out from the second communication protocol of the MATLAB language format according to the DBC file format, and a configuration information file is obtained;
defining a structure variable from a second communication protocol in the MATLAB language format;
adding the configuration information file and the structure variables to corresponding structures;
verifying the corresponding structure body;
and if the verification is passed, generating the standard structure.
Further, the structural body variables comprise CAN nodes, messages, signals and sending periods; the structure body corresponding to the configuration information file comprises a DBC header file and message parameter information; the structure body corresponding to the CAN node comprises a plurality of node names; the structure body corresponding to the message comprises a message name, a message data length and a sending node; the structure body corresponding to the signal comprises a signal name, a start bit, a bit length, a byte sequence, a symbol type, a maximum value, a minimum value and a receiving node; the structure body corresponding to the sending period comprises the sending period of the message.
Further, the MATLAB working area is an area for running MATLAB codes and loading codes by using functions.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, and a processor, where the memory stores a computer program executable on the processor, and where the processor implements a method as described above when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method as described above.
The embodiment of the invention provides a method and a device for automatically generating DBC files, comprising the following steps: acquiring 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 the second communication protocol in the MATLAB language format, and importing the second communication protocol into the MATLAB working area; data extraction and verification are carried out from a second communication protocol in MATLAB language format, and a standard structure body is generated; generating a DBC file of the CAN communication protocol by the standard structure body; the DBC file can be automatically generated, the efficiency is high, the data can be checked, and errors are reduced.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for automatically generating DBC files according to an embodiment of the present invention;
FIG. 2 is a flowchart of step S103 in a method for automatically generating DBC files according to an embodiment of the invention;
fig. 3 is a schematic diagram of an apparatus for automatically generating DBC files according to a second embodiment of the present invention.
Icon:
1-an acquisition unit; a 2-conversion unit; 3-an extraction unit; 4-generating unit.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to facilitate understanding of the present embodiment, the following describes embodiments of the present invention in detail.
Embodiment one:
fig. 1 is a flowchart of a method for automatically generating a DBC file according to an embodiment of the present invention.
Referring to fig. 1, the method includes the steps of:
step S101, a first communication protocol in an excel format is obtained, and typesetting is carried out on the first communication protocol according to a standard format to obtain a second communication protocol;
specifically, the standard format is a preset canonical format, which is predefined in the script of MATLAB software. For example, in excel format, it is necessary to have sheet1 include all CAN nodes of the CAN network, and sheet2 include all message information of all nodes.
In sheet2, the header needs to be compiled according to a preset rule. For example, the first column is the CAN transmitter name, the second column is the CAN receiver name, the third column is the message ID, the fourth example is the message name, etc. When the software script reads the CAN transmitter name, it reads from the first column of sheet 2.
Step S102, converting the second communication protocol in the excel format into the second communication protocol in the MATLAB language format, and importing the second communication protocol into the MATLAB working area;
step S103, data extraction and verification are carried out from a second communication protocol in MATLAB language format, and a standard structure body is generated;
step S104, the standard structure body generates DBC files of the CAN communication protocol.
Here, in generating the standard structure, if no error is reported, the generated standard structure is considered to satisfy the design format of the script, and the standard structure is generated into the DBC file of the CAN communication protocol.
Further, referring to fig. 2, step S103 includes the steps of:
step S201, data extraction is carried out from a second communication protocol of MATLAB language format according to DBC file format to obtain configuration information file;
step S202, defining a structural body variable from a second communication protocol in MATLAB language format;
step S203, adding the configuration information file and the structure variables into the corresponding structures;
step S204, checking the corresponding structure;
step S205, if the verification passes, a standard structure is generated.
Specifically, when the configuration information file and the structure variables are added to the corresponding structure, the corresponding structure needs to be checked. For example, the structure corresponding to the message (message name, message data length, and transmitting node) and the structure corresponding to the signal (signal name, start bit, bit length, byte order, symbol type, maximum value, minimum value, and receiving node) are checked, and if the check is passed, a standard structure is generated.
When the maximum value is not represented in the communication protocol in the structure corresponding to the signal, the software script reads the position and recognizes that the position is empty, and at this time, the structure corresponding to the signal is automatically filled with an appropriate value, for example, 1, that is, the default value of the maximum value is 1.
Further, the structural body variables comprise CAN nodes, messages, signals and sending periods; the structure body corresponding to the configuration information file comprises a DBC header file and message parameter information; the structure body corresponding to the CAN node comprises a plurality of node names; the structure body corresponding to the message comprises a message name, a message data length and a sending node; the structure body corresponding to the signal comprises a signal name, a start bit, a bit length, a byte sequence, a symbol type, a maximum value, a minimum value and a receiving node; the structure body corresponding to the sending period comprises the sending period of the message.
Specifically, the structure variables, the structure corresponding to the configuration information file, the structure corresponding to the CAN node, the structure corresponding to the message, the structure corresponding to the signal, and the structure corresponding to the transmission period are not limited to the above, but include other contents.
The structure body corresponding to the configuration information file comprises a DBC header file and message parameter information, and mainly comprises parameter settings related to CAN communication, such as version, newly defined symbols, bit timing, nodes, value tables, messages, environment variables, environment variable data, signal types, notes, attribute definitions, a signal type attribute list, attribute default values, attribute values, value descriptions, category definitions, filtering modes and the like.
Further, the MATLAB workplace is a region where MATLAB code is run and code is loaded by using a function.
The embodiment of the invention provides a method for automatically generating DBC files, which comprises the following steps: acquiring 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 the second communication protocol in the MATLAB language format, and importing the second communication protocol into the MATLAB working area; data extraction and verification are carried out from a second communication protocol in MATLAB language format, and a standard structure body is generated; generating a DBC file of the CAN communication protocol by the standard structure body; the DBC file can be automatically generated, the efficiency is high, the data can be checked, and errors are reduced.
Embodiment two:
fig. 3 is a schematic diagram of an apparatus for automatically generating DBC files according to a second embodiment of the present invention.
Referring to fig. 3, the apparatus includes:
an obtaining unit 1, configured to obtain a first communication protocol in an excel format, and typeset the first communication protocol according to a standard format to obtain a second communication protocol;
a conversion unit 2, configured to convert the second communication protocol in the excel format into a second communication protocol in the MATLAB language format, and import the second communication protocol into the MATLAB working area;
an extraction unit 3, configured to perform data extraction and verification from a second communication protocol in MATLAB language format, and generate a standard structure body;
and a generating unit 4 for generating the DBC file of the CAN communication protocol by the standard structure body.
Further, the extracting unit 3 is specifically configured to:
data extraction is carried out from a second communication protocol in MATLAB language format according to a DBC file format, so as to obtain a configuration information file;
defining a structure variable from a second communication protocol in MATLAB language format;
adding the configuration information file and the structure variables into the corresponding structure;
checking the corresponding structure body;
if the verification passes, a standard structure is generated.
Further, the structural body variables comprise CAN nodes, messages, signals and sending periods; the structure body corresponding to the configuration information file comprises a DBC header file and message parameter information; the structure body corresponding to the CAN node comprises a plurality of node names; the structure body corresponding to the message comprises a message name, a message data length and a sending node; the structure body corresponding to the signal comprises a signal name, a start bit, a bit length, a byte sequence, a symbol type, a maximum value, a minimum value and a receiving node; the structure body corresponding to the sending period comprises the sending period of the message.
Further, the MATLAB workplace is a region where MATLAB code is run and code is loaded by using a function.
The embodiment of the invention provides a device for automatically generating DBC files, which comprises the following steps: acquiring 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 the second communication protocol in the MATLAB language format, and importing the second communication protocol into the MATLAB working area; data extraction and verification are carried out from a second communication protocol in MATLAB language format, and a standard structure body is generated; generating a DBC file of the CAN communication protocol by the standard structure body; the DBC file can be automatically generated, the efficiency is high, the data can be checked, and errors are reduced.
The embodiment of the invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method for automatically generating the DBC file provided by the embodiment.
The present invention also provides a computer readable medium having a non-volatile program code executable by a processor, the computer readable medium having a computer program stored thereon, which when executed by the processor performs the steps of the method for automatically generating a DBC file of the above embodiment.
The computer program product provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to perform the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method of automatically generating a DBC file, the method comprising:
acquiring 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 the MATLAB language format, and importing the second communication protocol into a MATLAB working area;
data extraction and verification are carried out from a second communication protocol in the MATLAB language format, and a standard structure body is generated;
generating a DBC file of a CAN communication protocol by the standard structure body;
the data extraction and verification are performed from the second communication protocol of the MATLAB language format, and a standard structure body is generated, which comprises:
data extraction is carried out from the second communication protocol of the MATLAB language format according to the DBC file format, and a configuration information file is obtained;
defining a structure variable from a second communication protocol in the MATLAB language format;
adding the configuration information file and the structure variables to corresponding structures;
verifying the corresponding structure body;
and if the verification is passed, generating the standard structure.
2. The method of automatically generating DBC files according to claim 1, wherein the fabric variables include CAN nodes, messages, signals, and transmission cycles; the structure body corresponding to the configuration information file comprises a DBC header file and message parameter information; the structure body corresponding to the CAN node comprises a plurality of node names; the structure body corresponding to the message comprises a message name, a message data length and a sending node; the structure body corresponding to the signal comprises a signal name, a start bit, a bit length, a byte sequence, a symbol type, a maximum value, a minimum value and a receiving node; the structure body corresponding to the sending period comprises the sending period of the message.
3. The method of automatically generating DBC files according to claim 1, wherein the MATLAB workplace is a region where MATLAB code is run and code is loaded by using a function.
4. An apparatus for automatically generating DBC files, the apparatus comprising:
the device comprises an acquisition unit, a typesetting unit and a storage unit, wherein the acquisition unit is used for acquiring a first communication protocol in an excel format, typesetting the first communication protocol according to a standard format, and obtaining a second communication protocol;
the conversion unit is used for converting the second communication protocol in the excel format into the second communication protocol in the MATLAB language format and importing the second communication protocol into the MATLAB working area;
the extraction unit is used for extracting and checking data from the second communication protocol of the MATLAB language format to generate a standard structure body;
a generating unit, configured to generate a DBC file of a CAN communication protocol from the standard structure;
the extraction unit is specifically used for:
data extraction is carried out from the second communication protocol of the MATLAB language format according to the DBC file format, and a configuration information file is obtained;
defining a structure variable from a second communication protocol in the MATLAB language format;
adding the configuration information file and the structure variables to corresponding structures;
verifying the corresponding structure body;
and if the verification is passed, generating the standard structure.
5. The apparatus for automatically generating DBC files according to claim 4, wherein the fabric variables include CAN nodes, messages, signals, and transmission cycles; the structure body corresponding to the configuration information file comprises a DBC header file and message parameter information; the structure body corresponding to the CAN node comprises a plurality of node names; the structure body corresponding to the message comprises a message name, a message data length and a sending node; the structure body corresponding to the signal comprises a signal name, a start bit, a bit length, a byte sequence, a symbol type, a maximum value, a minimum value and a receiving node; the structure body corresponding to the sending period comprises the sending period of the message.
6. The apparatus for automatically generating DBC files according to claim 4, wherein the MATLAB workplace is an area where MATLAB code is run and code is loaded by using a function.
7. An electronic device comprising a memory, a processor, the memory having stored thereon a computer program executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1 to 3 when the computer program is executed.
8. A computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1 to 3.
CN202110891131.3A 2021-08-04 2021-08-04 Method and device for automatically generating DBC file Active CN113568876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110891131.3A CN113568876B (en) 2021-08-04 2021-08-04 Method and device for automatically generating DBC file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110891131.3A CN113568876B (en) 2021-08-04 2021-08-04 Method and device for automatically generating DBC file

Publications (2)

Publication Number Publication Date
CN113568876A CN113568876A (en) 2021-10-29
CN113568876B true CN113568876B (en) 2024-03-26

Family

ID=78170370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110891131.3A Active CN113568876B (en) 2021-08-04 2021-08-04 Method and device for automatically generating DBC file

Country Status (1)

Country Link
CN (1) CN113568876B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390119A (en) * 2021-12-28 2022-04-22 杭州鸿泉物联网技术股份有限公司 Self-adaptive multi-vehicle-type CAN data automatic analysis method and system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331292A (en) * 2014-11-03 2015-02-04 重庆邮电大学 Method for generating configuration for middleware protocol conversion of Internet of vehicles
CN104850027A (en) * 2014-08-13 2015-08-19 北汽福田汽车股份有限公司 CAN data interface modeling automatic generation method and system
CN106603482A (en) * 2016-05-26 2017-04-26 欣旺达电子股份有限公司 Method and device for automatically generating CAN communication protocol code
CN106682261A (en) * 2016-11-15 2017-05-17 山东电力设备有限公司 Transformer substation automatic modeling and simulation method and system based on IEC 61850 SCD file
CN106817366A (en) * 2016-12-31 2017-06-09 惠州市蓝微新源技术有限公司 A kind of CAN document analysis and again store method
CN107438048A (en) * 2016-05-25 2017-12-05 宝沃汽车(中国)有限公司 CAN protocol generation method, device and there is its vehicle
CN109582639A (en) * 2018-11-01 2019-04-05 广东国鸿氢能科技有限公司 A kind of automobile protocol database document generating method and device
CN109634258A (en) * 2018-11-30 2019-04-16 北京新能源汽车股份有限公司 Bus message checking method, device and system for hardware-in-loop test
CN110109439A (en) * 2019-04-03 2019-08-09 贵州航天林泉电机有限公司 A kind of test macro of New energy automobile motor and controller
WO2020232707A1 (en) * 2019-05-23 2020-11-26 深圳市大疆创新科技有限公司 Update of communication protocol version number in distributed system
CN112256253A (en) * 2020-11-12 2021-01-22 北斗星通智联科技有限责任公司 Code generation method and device, electronic equipment and computer readable storage medium
CN112799321A (en) * 2020-12-14 2021-05-14 东风汽车集团有限公司 DBC file rapid creating method following CAN bus communication protocol
CN113094029A (en) * 2020-01-08 2021-07-09 广州汽车集团股份有限公司 Automatic CAPL code generation method and system and automobile

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850027A (en) * 2014-08-13 2015-08-19 北汽福田汽车股份有限公司 CAN data interface modeling automatic generation method and system
CN104331292A (en) * 2014-11-03 2015-02-04 重庆邮电大学 Method for generating configuration for middleware protocol conversion of Internet of vehicles
CN107438048A (en) * 2016-05-25 2017-12-05 宝沃汽车(中国)有限公司 CAN protocol generation method, device and there is its vehicle
CN106603482A (en) * 2016-05-26 2017-04-26 欣旺达电子股份有限公司 Method and device for automatically generating CAN communication protocol code
CN106682261A (en) * 2016-11-15 2017-05-17 山东电力设备有限公司 Transformer substation automatic modeling and simulation method and system based on IEC 61850 SCD file
CN106817366A (en) * 2016-12-31 2017-06-09 惠州市蓝微新源技术有限公司 A kind of CAN document analysis and again store method
CN109582639A (en) * 2018-11-01 2019-04-05 广东国鸿氢能科技有限公司 A kind of automobile protocol database document generating method and device
CN109634258A (en) * 2018-11-30 2019-04-16 北京新能源汽车股份有限公司 Bus message checking method, device and system for hardware-in-loop test
CN110109439A (en) * 2019-04-03 2019-08-09 贵州航天林泉电机有限公司 A kind of test macro of New energy automobile motor and controller
WO2020232707A1 (en) * 2019-05-23 2020-11-26 深圳市大疆创新科技有限公司 Update of communication protocol version number in distributed system
CN113094029A (en) * 2020-01-08 2021-07-09 广州汽车集团股份有限公司 Automatic CAPL code generation method and system and automobile
CN112256253A (en) * 2020-11-12 2021-01-22 北斗星通智联科技有限责任公司 Code generation method and device, electronic equipment and computer readable storage medium
CN112799321A (en) * 2020-12-14 2021-05-14 东风汽车集团有限公司 DBC file rapid creating method following CAN bus communication protocol

Also Published As

Publication number Publication date
CN113568876A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN106919509B (en) Client generation method and device and electronic equipment
CN105262627B (en) Firmware upgrading method, device and system
CN110113196B (en) Protocol configuration method, device, equipment and medium
US8695018B2 (en) Extensible framework for handling different mark up language parsers and generators in a computing device
CN113568876B (en) Method and device for automatically generating DBC file
KR102274561B1 (en) Transaction system error detection method, apparatus, storage medium and computer device
CN109460220B (en) Message predefined code generation method and device, electronic equipment and storage medium
CN109901888B (en) Design method of automatic configuration file generation tool
CN110474896A (en) Data communications method and relevant device based on Modbus consensus standard
CN110674625A (en) Code generation method and device, computer equipment and storage medium
CN106326749B (en) Ile repair method and device
US8335682B2 (en) Multi-language interfaces switch system and method therefor
CN110351715A (en) AT command processing method, terminal adapter and computer readable storage medium
CN112380145A (en) SDK generation method, device, equipment and readable storage medium
CN111723019A (en) Interface debugging method and system
CN113467777A (en) Path identification method, device and system
CN113761879A (en) Message format checking method, device and storage medium
CN112463261B (en) Interface calling method, device, electronic equipment, medium and product
CN111708542B (en) Test case generation method, system, equipment and storage medium
CN103646015B (en) Transmission, the method and system for receiving and transmitting XML message
CN114979307B (en) Analysis method of communication protocol, intelligent terminal and storage medium
US7571196B2 (en) Type evolution
CN111740881B (en) Network card link detection method, system, equipment and computer storage medium
CN115904574A (en) Method and device for adapting software system to multiple platforms
CN108830086A (en) A kind of BIOS file upgrade method and relevant apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant