Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A design method of sae J1939 transmission protocol based on socketcan

A design method and protocol technology, applied in transmission systems, electrical components, etc., can solve problems such as lack of versatility and flexibility, failure to realize transmission protocol functions, and lack of ability to send and receive long messages, so as to save development time.

Active Publication Date: 2020-05-19
DALIAN UNIV OF TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Existing SocketCAN-based SAE J1939 applications only support message transmission of no more than 8 bytes, do not implement the transmission protocol function, and do not have the ability to send and receive long messages
The transmission protocol that has been implemented uses a character-driven device at the bottom layer, which lacks versatility and flexibility

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
  • A design method of sae J1939 transmission protocol based on socketcan
  • A design method of sae J1939 transmission protocol based on socketcan
  • A design method of sae J1939 transmission protocol based on socketcan

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The specific embodiments of the present invention will be described in detail below in combination with the summary of the invention and the accompanying drawings.

[0024] A design method of the SAE J1939 transmission protocol based on SocketCAN, the steps are as follows:

[0025] (1) Protocol receiving module

[0026] Such as figure 2 As shown, first establish the protocol receiving queue, and then wait for the message. If there is no message, continue to wait; if there is a message, determine whether it is a request to send a message; if it is a request to send a message, establish a point-to-point connection; if it is not a request to send a message, then determine whether it is a broadcast announcement message; if it is a broadcast announcement message , then establish a point-to-many connection; if it is not a broadcast announcement message, continue to wait for the protocol to receive queue messages. After the connection is established, first initialize the c...

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 discloses a design method of an SAE J1939 transmission protocol based on SocketCAN, belonging to the field of embedded computers. The method consists of a protocol receiving module, a protocol sending module and a network processing module, wherein the protocol receiving module completes the establishment of connections and the recombination of messages by processing the messages from a long message sender; the protocol sending module establishes a connection with the target equipment, splits the long message into data packets, and sequentially sends the data packets; and the network processing module processes the messages related to the addresses, and manages address allocation and network errors. According to the design method of an SAE J1939 transmission protocol based on SocketCAN disclosed by the invention, the users can receive and send the long messages only by using the provided interface without understanding the SAE J1939 transmission protocol, and thus the development time can be saved.

Description

technical field [0001] The invention belongs to the field of embedded computers and relates to a design method of a SocketCAN-based SAE J1939 transmission protocol. Background technique [0002] CAN is the abbreviation of Controller Area Network (CAN). It was developed by BOSCH in Germany and eventually became an international standard. It is the most widely used field bus in automotive bus, automation control and embedded devices. The CAN protocol defines the physical layer and the data link layer specification, in which the data link layer is the core content, and is divided into the logical link control (Logical Link Control, LLC) sublayer and the media access control (Media AccessControl, MAC) sublayer The logical link control sublayer completes functions such as filtering, overload notification, and management recovery, and the media access control sublayer completes functions such as data packaging / unpacking, frame encoding, media access management, error detection, er...

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 Patents(China)
IPC IPC(8): H04L29/06
CPCH04L69/03H04L69/162
Inventor 刘全利秦平安
Owner DALIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products