Vehicle Diagnostic Coordination With Backoff for Parallel Requests
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing vehicle diagnostic systems face diagnostic conflicts and inability to achieve full-time multi-path parallel diagnosis due to prioritization of diagnostic messages, leading to timeouts and functional abnormalities in scenarios like production line electric detection, road test, and remote diagnostics.
Innovation Solution
A vehicle parallel diagnosis method involving a crash backoff strategy where diagnostic requests are delayed and retransmitted until the server is available, using a target delay duration determined by the number of retransmissions, and prioritizing requests based on importance to avoid diagnostic crashes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If diagnostic messages are prioritized in gateway device, then diagnostic crash is avoided, but full-time parallel diagnosis cannot be achieved
Solution Approach 1:
The gateway device dynamically adjusts its message handling behavior based on the diagnostic state of the server. When the server is in a busy state, the gateway implements a backoff mechanism that dynamically delays retransmission of diagnostic requests instead of immediately prioritizing them, allowing the system to adapt to changing diagnostic conditions and achieve both crash avoidance and parallel diagnosis capability
Solution Approach 2:
The gateway acts as an intermediary between diagnostic clients and the server, implementing a backoff mechanism that mediates conflicting diagnostic requests. This intermediary function allows the gateway to manage message queues, detect server states, and control retransmission timing, thereby resolving the contradiction between avoiding crashes and maintaining parallel diagnosis
2Reliability
If high priority sub-network diagnostic messages are forwarded continuously, then diagnostic crash is avoided, but timeout of other sub-network diagnostic requests occurs
Solution Approach 1:
The gateway implements periodic state detection of the diagnostic server and uses this information to periodically adjust its message forwarding behavior. Instead of continuously forwarding high priority messages without regard for server state, the gateway periodically checks server availability and only forwards messages when appropriate, preventing timeout of other sub-network requests while maintaining reliability
Solution Approach 2:
The gateway uses feedback from server state detection to control message forwarding decisions. By monitoring whether the server is in a busy or idle state and using this feedback to adjust retransmission timing, the gateway ensures that high priority messages are forwarded only when the server can handle them, preventing both crashes and timeouts of other requests
3Speed
If diagnostic requests are retransmitted immediately, then diagnostic response time is reduced, but diagnostic crash occurs
Solution Approach 1:
The gateway implements a backoff mechanism that cushions immediate retransmission of diagnostic requests by introducing deliberate delays. This prior cushioning prevents diagnostic crashes by ensuring that retransmitted messages are sent only when the server is likely to be available, while still maintaining relatively fast response times through intelligent delay management
Data Source
Figure 1~2
Figure 3~4
Figure 5~7
AI summary
A vehicle parallel diagnosis method and apparatus, a coordinator, a system, and a medium, relating to the technical field of vehicle diagnosis, are disclosed. The method includes: receiving a diagnostic request message transmitted by a random client; detecting a current diagnostic state of a diagnostic server after the diagnostic request message is received, the current diagnostic state including a completed state and an uncompleted state; and forwarding, when the current diagnostic state is the completed state, the diagnostic request message to the diagnostic server via a target routing controller, otherwise controlling the random client to retransmit the diagnostic request message after a target delay duration until the diagnostic server is in the completed state, and forwarding the diagnostic request message to the diagnostic server via the target routing controller so as to process the diagnostic request message. Thus, the problem of diagnostic conflicts in multiple possible vehicle parallel diagnosis scenarios such as production line electric detection, road test, air upgrade, and remote diagnostic is solved, so as to realize a real sense of multi-path parallel diagnosis.