A DBC file parsing and message analysis method based on regular expressions
A message analysis and file analysis technology, applied in the field of new energy vehicle CAN bus, can solve the problems of increased operation difficulty, waste of manpower and time cost, poor compatibility, etc., to reduce the probability of definition errors, and to quickly transplant and use simple effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0077] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. Such as figure 1 Shown, method of the present invention comprises the following steps:
[0078] Step 1. Analyze the DBC file, read the DBC file in the form of text, and then use regular expressions to match, find the corresponding CAN network message block in the DBC file, and extract the corresponding CAN message ID and node name , message name, and then search down the content contained in the CAN network, extract the corresponding data type, start bit, bit length, offset, proportional coefficient, and analysis type, and store them in the structure array.
[0079] The CAN network message block in the DBC file is that a message will immediately follow a multi-line signal until another message is parsed, indicating that a CAN network message block ends, and when all lines are parsed, all CAN network message blocks are is parsed. It is ignored w...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com