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

Gateway message forwarding method and device, storage medium and gateway

A technology of message forwarding and gateway, applied in the field of communication, can solve the problem of long delay of CAN messages, and achieve the effect of reducing delay

Active Publication Date: 2021-03-12
上海励驰半导体有限公司
View PDF15 Cites 1 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 and device, storage medium and gateway
  • Gateway message forwarding method and 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 invention discloses a gateway message forwarding method and device, a storage medium and a gateway, and belongs to the technical field of communication. The method comprises thefollowing steps: receiving a CAN message sent by a first node; acquiring identification information from the CAN message; performing hash operation on the identification information by utilizing a minimum perfect hash function to obtain a minimum perfect hash value; searching a second node in a routing table according to the minimum perfect hash value; and forwarding the CAN message to the secondnode. According to the embodiment of the invention, the minimum perfect hash value is calculated for the identification information through the minimum perfect hash function, and the minimum perfect hash values calculated according to different identification information are different, so that hash collision is avoided, CAN messages of all nodes can be forwarded in real time, and the time delay ofmessage forwarding is reduced.

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