Gateway message forwarding method, device, storage medium and gateway

A message forwarding and gateway technology, applied in the communication field, can solve the problems of CAN message delay, etc., and achieve the effect of reducing delay

Active Publication Date: 2022-03-01
上海励驰半导体有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a gateway message forwarding method, device, storage medium and gateway, which are used to solve the problem of large time delay of CAN messages sent by some nodes

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
  • Gateway message forwarding method, device, storage medium and gateway
  • Gateway message forwarding method, device, storage medium and gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0035] Please refer to figure 1 , which shows a method flowchart of a gateway message forwarding method provided by an embodiment of the present application, and the gateway message forwarding method can be applied to a gateway. The gateway message forwarding method may include:

[0036] Step 101, receiving a CAN message sent by a first node.

[0037] This implementation is applied to a CAN network in an automobile. The CAN network includes multiple CAN nodes and gateways, and each CAN node can communicate through the gateway. During communication, the CAN node as the source node can generate a CAN message, and then send the CAN message to the gateway, and the gateway determines the routing path of the CAN message,...

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 embodiment of the application discloses a gateway message forwarding method, device, storage medium and gateway, which belong to the technical field of communication. The method includes: receiving a CAN message sent by a first node; obtaining identification information from the CAN message; performing a hash operation on the identification information using a minimum perfect hash function to obtain a minimum perfect hash value; according to The minimum perfect hash value is searched for a second node in a routing table; and the CAN message is forwarded to the second node. In the embodiment of the present application, the minimum perfect hash value is calculated for the identification information through the minimum perfect hash function. Since the minimum perfect hash values ​​calculated according to different identification information are different, there will be no hash collision. It can also ensure that the CAN messages of all nodes can be forwarded in real time, reducing the delay of message forwarding.

Description

technical field [0001] The embodiments of the present application relate to the technical field of communications, and in particular to a gateway message forwarding method, device, storage medium, and gateway. Background technique [0002] The gateway is the core unit of the CAN (Controller Area Network) bus in the car, and is used to forward CAN messages sent by each CAN node in the car. Due to the strong real-time characteristics of automotive applications, the gateway needs to control the forwarding delay of CAN messages to the minimum. Therefore, how to forward CAN messages with the minimum delay is the focus and focus of gateway design. [0003] When forwarding the CAN message, the first node sends the CAN message to the gateway, and then the gateway forwards the CAN message to the second node. Since there are often multiple CAN nodes in the car, and each CAN node will receive or send multiple CAN messages, it is necessary to formulate the routing of CAN messages when ...

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): H04L45/745H04L12/40H04L9/06
CPCH04L45/745H04L9/0643H04L12/40006H04L2012/40215H04L2012/40273
Inventor 樊崇斌
Owner 上海励驰半导体有限公司
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