CAN (Controller Area Network) to Ethernet gateway with filtering function and data transmission method based on gateway

A data transmission method, Ethernet technology, applied in the field of network data exchange, can solve problems such as wasting traffic, achieve the effects of reducing traffic consumption, increasing forwarding rate, and increasing data transmission rate

CN103812765AActive Publication Date: 2014-05-21ZHEJIANG UNIV
4 Cites 19 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2014-05-21

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention discloses a CAN (Controller Area Network) to Ethernet gateway with a filtering function and a data transmission method based on the gateway. The CAN to Ethernet gateway with the filtering function comprises a filtering module for generating a red-black tree model according to the configuration of a host, and screening received CAN messages by using a red-black tree, and a transmission gateway module for forwarding the screened CAN messages to the Ethernet. The gateway is provided with the filtering module, the filtering module is used for screening the received CAN messages, and the transmission gateway module is used for only forwarding the screened CAN messages, thereby lowering the flow consumption. Moreover, by organizing a searched data structure through the red-black tree model, a judgment on whether received CAN messages have matched configuration or not can be made rapidly by searching the red-black tree to finish screening.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of network data exchange, in particular to a CAN-to-Ethernet gateway with a filtering function and a data transmission method based on the gateway. Background technique

[0002] In recent years, the rapid development of computer control and communication technology has caused profound changes in the field of automation, and gradually formed a networked, fully open, fully distributed automatic control system. In today's electronic communication and automation field, industrial equipment networking has become a trend. With the development of communication technology, more and more attention has been paid to technologies such as effective utilization of equipment resources, collaborative work between equipment, long-distance transmission and remote monitoring.

[0003] Fieldbus refers to the network mainly based on digital communication between measurement and control machines in the factory, also known as field network...

Examples

Embodiment Construction

[0038] The present invention will be described in detail below in conjunction with specific embodiments.

[0039] The CAN-to-Ethernet gateway with filtering function of the present embodiment is applied to the automotive communication field, and its application environment is as follows figure 1 As shown, it includes CAN network, Ethernet, 3G network and Internet (Internet). CAN network and Ethernet are connected through CAN to Ethernet gateway, and Ethernet and 3G network are connected through 3G network equipment (in this embodiment, Android platform, Android platform) connection, the Ethernet data is uploaded to the Internet via the 3G network by the 3G network equipment. The CAN network includes the driving computer (Electronic Control Unit, ECU) and the CAN bus for collecting internal information of the car. When the host computer downloads the program, it is connected with the CAN-to-Ethernet gateway and configured for the CAN-to-Ethernet gateway.

[0040] The CAN-to-E...