Can bus data analysis method and computer-readable storage medium
A CAN bus and data analysis technology, applied in program control, instrumentation, testing/monitoring control systems, etc., can solve the problem that technicians cannot obtain special equipment in time, problem processing time and cost increase, and software cannot be used in vehicle models, etc. problems, to quickly locate and deal with on-site problems, reduce processing time and processing costs, and achieve the effect of strong versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Please refer to figure 2 , Embodiment 1 of the present invention is: a kind of CAN bus data analysis method, can be applied to the bus message on the new energy bus system is analyzed, comprises the following steps:
[0052] S1: According to the prescribed protocol, establish a protocol analysis file corresponding to the vehicle model one by one, the protocol analysis file includes preset parameter fields; further, the protocol analysis file is an SCV (comma-separated value file format) file, which is convenient for on-site Modify; in the protocol analysis file, each line is a parameter that needs to be parsed, and each parameter includes parameter name, message ID, start bit, end bit, encoding format, offset, ratio, parameter type, parameter value list, Parameter minimum value, parameter maximum value, unit and other information.
[0053] S2: Collect the CAN bus data of a vehicle within the preset time by on-site recording instruments or acquisition equipment, and ge...
Embodiment 2
[0064] This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
[0065] Establishing a protocol analysis file corresponding to the vehicle model one by one, the protocol analysis file including a preset parameter field;
[0066] Collect CAN bus data of a vehicle within a preset time, and generate a message data stream, each message in the message data stream includes receiving time, message number and message data;
[0067] Obtain a message from the message data stream in sequence;
[0068] According to the protocol analysis file corresponding to the model of the vehicle, the message is parsed to obtain the values of the parameter fields corresponding to the message.
[0069] Further, before the "parse the message according to the protocol analysis file corresponding to the model of the vehicle to obtain...
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