Automatic coding method and system used for CAN (Controller Area Network) bus fault processing

A CAN bus and automatic encoding technology, applied in the field of automatic encoding methods and systems, can solve the problems of long CAN bus fault test cycle, labor and time cost, and abnormal use of cars, so as to achieve friendly user experience, improve efficiency, shorten The effect of the test cycle

Active Publication Date: 2017-09-19
NIO CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, manual programming for CANalyzer software often requires professional programmers who are good at using CAPL to complete, and even semi-professionals who are good at using CAPL need to spend a lot of time writing code, so it takes a lot of manpower and time costs
In addition, the vehicle CAN network is huge and complex. When testing and dealing with CAN bus faults, specific CAN parameters must be modified, such as frame length, parameter value, and frame existence. During the process, the car could not be used normally, which caused the project to be shelved for a long time and brought great inconvenience

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
  • Automatic coding method and system used for CAN (Controller Area Network) bus fault processing
  • Automatic coding method and system used for CAN (Controller Area Network) bus fault processing
  • Automatic coding method and system used for CAN (Controller Area Network) bus fault processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] For further elaborating the technical means and effect that the present invention takes for reaching the intended invention purpose, below in conjunction with accompanying drawing and preferred embodiment, to the automatic coding method and system that propose according to the present invention and be used for CAN bus fault processing and its concrete implementation method, using automatic coding to complete CAN bus fault handling, as attached image 3 shown in detail below.

[0065] An automatic coding method for CAN bus fault handling, as attached image 3 As shown, the method includes the following steps:

[0066] Step S1, obtaining raw data information from the CAN database file;

[0067] Obtain the original data information from the CAN database file, so as to obtain the original data information, including:

[0068] Create the interface of the CAN database file and the second tool software, the second tool software has the functions of importing files and infor...

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 relates to an automatic coding method and system used for CAN (Controller Area Network) bus fault processing. The method comprises the following steps that: obtaining original data information from a CAN database file; extracting target information from the original data information; processing the extracted target information to obtain information required for automatic coding; and according to the information required for the automatic coding, automatically generating a code file which can be directly called by first tool software. By use of the method, the CAN database file can be automatically converted into a CAPL (Communication Application Programming Language) code which can be directly called by the first tool software, CAN bus fault testing and processing can be realized, manpower and time cost can be reduced, and efficiency is improved. Through the automatic coding, users can instantly change CAN bus parameters according to requirements, a CAN bus fault testing period is shortened, and a situation that an item is laid up for a long time can be avoided.

Description

technical field [0001] The invention relates to the technical field of computer and automatic control, in particular to an automatic coding method and system for CAN bus fault processing. Background technique [0002] CAN is the abbreviation of Controller Area Network, CAN bus is one of the most widely used field buses in the world. In North America and Western Europe, the CAN bus protocol has become a standard bus for automotive computer control systems and embedded industrial control LANs. CANalyzer is a general-purpose simulation and analysis tool for networks and distributed systems. When used for CAN bus analysis, it makes CAN networks easy to monitor, analyze and supplement data communication. [0003] The electric vehicle contains multiple controllers, which communicate through the CAN bus. Each controller corresponds to a CAN database file. When the supplier integrates the database file (. CAN bus failure, when the CAN bus fails, CANalyzer software is often used fo...

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): G06F11/22G06F9/44H04L12/24H04L12/40
CPCG06F8/30G06F11/221H04L12/40H04L41/06H04L2012/40215H04L2012/40273
Inventor 申其壮
Owner NIO CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products