Remote DoIP Diagnostics Through TCP Service Simulation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current vehicle diagnostics methods are limited to local diagnostics, preventing remote access and diagnosis, which hinders timely and accurate fault detection and resolution.
Innovation Solution
A remote diagnostic system utilizing a vehicle connector, device connector, and diagnostic device to simulate TCP services, enabling remote communication and data packet conversion between the vehicle and diagnostic device, allowing for remote transmission of diagnostic instructions and responses via UDP and TCP protocols.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If local DoIP diagnostics are used, then diagnostic accuracy is improved, but remote accessibility deteriorates
Solution Approach 1:
The patent introduces a gateway device as an intermediary between the diagnostic tool and the vehicle. The gateway simulates the vehicle's TCP server and forwards diagnostic packets between the remote diagnostic tool and the vehicle's control units, enabling remote access while maintaining protocol compatibility and diagnostic accuracy
Solution Approach 2:
The gateway creates a copy of the vehicle's TCP server functionality by implementing identical service ports and communication protocols. This allows the remote diagnostic tool to interact with the gateway as if it were directly connected to the vehicle, preserving the original DoIP diagnostic workflow while enabling remote operation
2Ease of operation
If remote communication is implemented, then remote accessibility is improved, but communication complexity deteriorates
Solution Approach 1:
The gateway acts as a communication intermediary that handles protocol conversion and packet forwarding. It receives UDP packets from the remote diagnostic tool, converts them to the appropriate format, and forwards them to the vehicle, thereby managing communication complexity centrally rather than distributing it across all components
Solution Approach 2:
The gateway is designed with multi-functionality, serving as both a UDP receiver for remote communications and a TCP server simulator for protocol compatibility. It handles multiple communication protocols (UDP, TCP, DoIP) and performs various functions including packet conversion, forwarding, and simulation, reducing the need for separate specialized devices
3Adaptability or versatility
If TCP service simulation is used, then protocol compatibility is improved, but system complexity deteriorates
Solution Approach 1:
The gateway copies the vehicle's TCP server implementation by replicating service ports, communication protocols, and data packet formats. This allows existing diagnostic tools designed for direct vehicle connection to work seamlessly with the gateway, maintaining protocol compatibility without requiring tool modifications
Solution Approach 2:
The gateway autonomously manages protocol conversion and packet formatting without requiring external intervention. It automatically detects incoming packet types, applies appropriate conversion rules, and generates correctly formatted responses, reducing the need for manual configuration and simplifying system operation
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method for remote vehicle diagnostics and a device are provided. The method includes the following. A device connector receives a transmission control protocol (TCP) data packet of a diagnostic device in a data TCP communication manner, encapsulates the TCP data packet into a first data packet, and transmits the first data packet to the vehicle connector through remote communication. A vehicle connector converts the first data packet received into a TCP diagnostics instruction data packet and transmits the TCP diagnostics instruction data packet to a vehicle. The vehicle connector receives, based on TCP communication, a TCP diagnostics response data packet returned by the vehicle according to the TCP diagnostics instruction data packet, encapsulates the TCP diagnostics response data packet into a second data packet, and transmits the second data packet to the device connector through the remote communication. The device connector converts the second data packet received into the TCP diagnostics response data packet and transmits the TCP diagnostics response data packet to a diagnostic device. The diagnostic device obtains a diagnostics result by analyzing and processing the TCP diagnostics response data packet and presents the diagnostics result to a user. According to embodiments of the present disclosure, remote vehicle diagnostics can be realized by remotely simulating DoIP local diagnostics.