CAN bus communication protocol based on message mechanism used for massive data transmission

A technology of CAN bus and message mechanism, which is applied in the transmission system, bus network, data exchange through path configuration, etc., can solve the problems of lack of transmission response mechanism, low transmission efficiency, and inability to process, so as to ensure high efficiency and accuracy , The structure of the protocol is simple and the effect of occupying less resources

Inactive Publication Date: 2009-10-07
ZHEJIANG UNIV
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the protocol realizes the packet sending of data larger than 8 bytes, it lacks a transmission response mechanism, so it cannot handle transmission errors
In particular, the protocol can only achieve a maximum of 256*7 bytes of data transmission, there is no mass data transmission mechanism, and the accuracy of data transmission cannot be guaranteed
At the same time, the protocol is based on connections, and each transmission needs to establish a connection first, so the transmission efficiency is relatively low

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
  • CAN bus communication protocol based on message mechanism used for massive data transmission
  • CAN bus communication protocol based on message mechanism used for massive data transmission
  • CAN bus communication protocol based on message mechanism used for massive data transmission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In conjunction with the accompanying drawings, the present invention will be described in detail below through specific embodiments.

[0025] MicroCAN adopts the master-slave connection mode of server / client computer. The CAN bus is a multi-master bus, and each node on the bus can send messages to other nodes. In small system applications, the host controls the message transmission and status of each node, and ensures the real-time response of messages. Therefore, the master-slave mode can ensure the stability and accuracy of data transmission.

[0026] The CAN controller judges the priority, receiving conditions, functions, etc. through the identifier, so the identifier is the core of the CAN transmission protocol, and the MicroCAN protocol allocates 11-bit identifiers, as shown in Table 1.

[0027] Table 1

[0028] Occupier (high to low)

10

9~6

5~2

1~0

the meaning

1

slave node address

function code

Subfunctio...

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 CAN bus communication protocol based on message mechanism used for massive data transmission, which is characterized in that: the equipments are connected in master slaver mode, and the data transmission is realized by non-connection mode; the message mechanism is adopted in the data transmission, and one message can send data of 65536 bytes; when the sent data contains more than 65536 bytes, packing mode is adopted to realize the transmission of massive data of maximal 4G. The invention aims at the application and demand of small-sized system, develops upper layer protocol, realizes the massive data transmission of maximal 4G, guarantees the high efficiency and accuracy of data transmission by utilizing message mechanism and massive data transmission mechanism; and the because has a simple structure, has the advantages of less resource occupation and high efficiency.

Description

technical field [0001] The invention relates to an embedded real-time system in the field of computers, and more specifically relates to a communication protocol based on a connection-based CAN bus for massive data. Background technique [0002] With the development of microcomputer control technology and industrial field bus technology, the communication method based on field bus has been more and more widely used in industrial control. Among them, the CAN bus is favored by many developers for its simple structure, low cost, good functional characteristics, high reliability, strong anti-interference ability and openness. [0003] The CAN serial bus has the advantages of long transmission distance and fast transmission speed, and it has a perfect error detection mechanism. It adopts the frame transmission method of "multiple access conflict arbitration" mechanism, which can ensure that no information is lost; each frame can transmit at most 8 bytes of data, can provide high...

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): H04L29/06H04L1/16H04L12/40
Inventor 蒋凯叶树明汤亚伟
Owner ZHEJIANG UNIV
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