Unlock instant, AI-driven research and patent intelligence for your innovation.

Message transceiving method and system for gateway

A packet sending and packet receiving technology, applied in the gateway field, can solve the problems of frame loss, sending failure, and discarding at the sending end, and achieve the effect of reducing the risk of frame loss.

Pending Publication Date: 2020-09-22
BEIJING JINGWEI HIRAIN TECH CO INC
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the gateway sends message A, it stores the content of the message in MB0 (No. 0 sending MB). If the bus is busy at this time, causing the message in MB0 to be sent to the bus in the future, the gateway needs to send the same message again. Message A will cause the sending of the second message A to fail (because the first sending MB is occupied, the second sending message cannot be stored in the sending MB and will be discarded), and there is a risk of frame loss at the sending end

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
  • Message transceiving method and system for gateway
  • Message transceiving method and system for gateway
  • Message transceiving method and system for gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0066] Such as figure 1 As shown, it is a method flowchart of Embodiment 1 of a method for sending and receiving messages for a gateway disclosed by the present invention, and the method may include the following steps:

[0067] S101. Set a message receiving queue composed of multiple hardware mailboxes at the message receiving end of the gateway;

[0068] When it is necessary to send and receive messages through the gateway, multiple hardware mailboxes are s...

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 message transceiving method and system for a gateway. The method comprises the following steps: arranging a message receiving queuecomposed of a plurality of hardware mailboxes and arranged at a message receiving end of agateway, a message sending queue composed of a plurality of hardware mailboxes andarranged at a message sending end of the gateway, controlling the message receiving end of the gateway to receive messages based on the message receiving queue, and controlling the message sending end of the gateway to send the messages based on the message sending queue. The message receiving queue consisting of theplurality of hardware mailboxes at themessage receiving end, the frame loss risk of the received message can be effectively reduced when the message is received, and the frame loss risk of the sent message can be effectively reduced when the message is sent by setting the message sending queue composed of the plurality of hardware mailboxes at the message sending end of the gateway.

Description

technical field [0001] The invention relates to the technical field of gateways, in particular to a message sending and receiving method and system for gateways. Background technique [0002] In today's automotive field, with the diversification of automotive functions, the number of nodes on the automotive CAN bus and the number of messages sent and received by nodes are also increasing. As the central controller of the automotive network, the gateway needs to receive messages in a network segment. (hereinafter referred to as the network segment is the gateway message receiving end), while forwarding the message to another network segment (hereinafter referred to as the network segment is the gateway message sending end). The increase in the number of nodes and messages also requires higher and higher forwarding capabilities of the gateway (the following receiving end and sending end both use the gateway as the main body, that is, the message receiving end of the gateway an...

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
IPC IPC(8): H04L12/823H04L12/863H04L12/66H04L47/32
CPCH04L47/32H04L47/50H04L12/66
Inventor 杜伟
Owner BEIJING JINGWEI HIRAIN TECH CO INC