Ethernet-CAN Relay Device with Message-Based Route Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies struggle to efficiently utilize multiple transmission lines with different protocols in in-vehicle systems, particularly due to speed differences between Ethernet and CAN protocols, leading to limited communication speed and reliability issues during diagnostic communication.
Innovation Solution
A relay device with a protocol conversion unit and route selection unit that converts between Ethernet and CAN protocols, selecting optimal transmission routes based on message characteristics and line status to efficiently relay data between electronic devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If DoIP protocol is used for high-speed data transmission, then communication speed is improved, but responsiveness deteriorates due to TCP/IP transmission characteristics
Solution Approach 1:
The relay device dynamically switches between DoIP and DoCAN protocols based on the type of communication message. For time-critical diagnostic messages (e.g., heartbeat, error codes), it selects DoCAN for immediate transmission. For large data transfers (e.g., flash memory data), it selects DoIP for high-speed transmission. This dynamic protocol selection resolves the contradiction by adapting the protocol choice to the specific communication requirements.
2Reliability
If DoCAN protocol is used for responsive communication, then responsiveness is improved, but communication speed deteriorates due to limited data transmission capacity
Solution Approach 1:
The relay device dynamically switches between DoIP and DoCAN protocols based on the type of communication message. For time-critical diagnostic messages (e.g., heartbeat, error codes), it selects DoCAN for immediate transmission. For large data transfers (e.g., flash memory data), it selects DoIP for high-speed transmission. This dynamic protocol selection resolves the contradiction by adapting the protocol choice to the specific communication requirements.
3Adaptability or versatility
If multiple transmission lines with different protocols are used, then communication flexibility is improved, but route selection complexity increases
Solution Approach 1:
The relay device uses message ID ranges as parameters to automatically determine the appropriate protocol. Diagnostic messages (ID 0x7DF-0x7FF) are routed through DoCAN, while other messages are routed through DoIP. This parameter-based routing approach simplifies the complexity by providing clear, rule-based decision criteria.
4Adaptability or versatility
If protocol conversion between DoIP and DoCAN is performed, then protocol compatibility is improved, but communication delay increases due to conversion processing time
Solution Approach 1:
The relay device performs preliminary analysis of the incoming message ID to determine the appropriate protocol before actual transmission. By pre-determining the routing path based on message ID ranges, the device minimizes processing delay during the actual message forwarding, as the route selection is already decided before the conversion and transmission process begins.
Data Source
AI summary
A relay device or a non-transitory computer-readable storage medium storing a program relays data between a plurality of electronic devices, performs mutual conversion between a first protocol used for communication with a first electronic device and a second protocol used for communication with a second electronic device, selects one of a plurality of routes to be used according to at least one of a characteristic of a communication message or a situation of the plurality of routes, and transmits the selected route to the second electronic device.


