DBC file parsing and message analyzing method based on regular expression
A technology of message analysis and file parsing, which is applied in the field of CAN bus of new energy vehicles, can solve the problems of increased operation difficulty, waste of manpower and time costs, complexity and difficulty, etc., to reduce the probability of definition errors and quickly transplant Use and expandable effects
- 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