Multipath CAN message real time reception software realization method

A receiving method and signal technology, applied to electrical components, data exchange through path configuration, digital transmission system, etc., can solve the problems of complex processing, untimely information update, and time-consuming, etc., to achieve organized analysis and data structure clear effect

Active Publication Date: 2017-10-10
LONGHAI TEV AUTOMOTIVE ELECTRONICS RES INST CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the existing CAN is receiving, it often needs to wait for all the information to be sent before updating the data, which causes the information update to be untimely
At the same time, after receiving all the information, classify according to each ID. If the received information is large, the processing will be complicated and it will take a lot of time.

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
  • Multipath CAN message real time reception software realization method
  • Multipath CAN message real time reception software realization method
  • Multipath CAN message real time reception software realization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work fall within the protection scope of the present invention.

[0027] A CAN receiving method, using 29 of the CAN extended frame as the identifier, creating multiple receiving buffers according to the priority of the CAN ID, for receiving messages with different priorities, and the size of the buffer is determined by the actual application. It is determined by the physical quantity. The subscript of each cache array corresponds to the CAN ID under the priority level one by one, which is realized by the following formula:

[0028] i...

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

A CAN reception method uses a CAN extended frame 29 as an identifier, respectively creates a plurality of reception buffers according to CAN ID priority so as to receive messages of different priorities, wherein the buffer sizes are decided by needed physical quantity in real applications; the subscript of each buffer array is matched with the CAN ID under the same priority one by one; the CAN is set as reception interruption; once a message frame is received, the buffer data can be updated according to the CAN ID priority and a corresponding relation formula. The method can timely update the storage CAN message buffer after one CAN message frame is received, thus timely and fast receiving CAN messages; the method can classify the received signals in a reception process according to the communication protocols, so the data structure can be clearer, and the message can be more reasonably parsed.

Description

technical field [0001] The invention belongs to the technical field of automotive electronics, and in particular relates to a software implementation method for real-time reception of multi-channel CAN messages. Background technique [0002] There are multiple signal frames on the CAN bus, and different signal frames represent different physical meanings, and each signal frame has a unique ID. When engineers are sending and receiving CAN bus, they need to classify CAN signals according to their different IDs in order to better analyze and extract CAN messages. When the existing CAN is receiving, it often needs to wait for all the information to be sent before updating the data, which causes the information update to be untimely. At the same time, after all the information is received, it is classified according to each ID. If the received information is large, the processing will be complicated and take a lot of time. [0003] Therefore, a new CAN receiving method is neede...

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): H04L12/40
CPCH04L12/40006H04L12/40078H04L2012/40215
Inventor 陈淑娟陈宝龙符小军陈少棠
Owner LONGHAI TEV AUTOMOTIVE ELECTRONICS RES INST 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