Method and device for reducing frame loss in vehicle gateway forwarding
A car network and frame loss technology, which is applied in the direction of bus network, data exchange network, data exchange through path configuration, etc., can solve the problem of frame loss, achieve the effect of increasing data storage speed, increasing data forwarding speed, and reducing programs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Method for reducing frame loss in vehicle gateway forwarding
[0031] A method for reducing frame loss in forwarding by a vehicle gateway, comprising the following steps:
[0032] Step 10: the microcontroller MCU receives the control command sent by the performance controller SOC, and parses the control command into a CAN message to be sent to the vehicle CAN network;
[0033] The microcontroller MCU converts the received Ethernet message (control command) into a CAN message, or directly receives the CAN message through the CAN network.
[0034] Step 15: The microcontroller MCU judges whether the data in the second cache is empty, if so, go to Step 20; if not, go to Step 30;
[0035] The second cache (software cache) is a cache space independently set on the RAM of the microcontroller MCU.
[0036] Step 20: The microcontroller MCU judges whether the data in the first buffer is full, and if not, stores the CAN message in the first buffer; if so, goes to step 30;
[00...
Embodiment 2
[0045] Device for reducing frame loss in vehicle gateway forwarding
[0046] Including a microcontroller MCU and a performance controller SOC, the microcontroller MCU is used to receive the control instructions sent by the performance controller SOC, and parse the control instructions into CAN messages to be sent to the vehicle CAN network ,
[0047] The microcontroller MCU includes a first cache and a second cache, the first cache is the CAN hardware cache of the microcontroller MCU, and the second cache is independently set on the RAM of the microcontroller MCU cache space;
[0048] The microcontroller MCU preferentially stores the received CAN message in the first cache, and when the first cache is full, stores it in the second cache; if the second cache is also full, abandons the CAN message message storage. .
[0049] The microcontroller MCU first determines whether the data in the second buffer is empty, and if not, stores the data in the second buffer.
[0050] The...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

