DoIP 是否必须通过以太网使用 UDS?

is DoIP mandatory to use UDS over Ethernet?

DoIP 是否必须使用以太网 UDS 进行 ECU 闪存编程,或者无需 DoIp 即可完成

如果没有 DoIp 也可以使用 UDS,DoIp 的主要用途是什么?它主要用于 Gateway 的 root 目的吗?

DoIP (ISO 13400-2) 是以太网上 UDS (IEEE 802.3) 的实际标准传输层。理论上,可以定义另一个支持以太网作为底层物理层的传输层,但这将违反标准化,并且不再与现成的软件兼容。

UDS 定义了应用层,但您还需要一个传输层 - 这可以是:

  • CAN 情况下的 ISO-TP (ISO 15765-2)(CAN 上的 UDS;ISO 14229-3)
  • 以太网情况下的 DoIP (ISO 13400-2)(IP 上的 UDS;ISO 14229-5)

无法在没有传输层的情况下使用 "only UDS"。

DoIP 的主要目的是:

  • vehicle network integration (IP address assignment)
  • vehicle announcement and vehicle discovery
  • vehicle basic status information retrieval (e.g. diagnostic power mode)
  • connection establishment (e.g. concurrent communication attempts), connection maintenance and vehicle gateway control
  • data routing to and from the vehicle's sub-components
  • error handling (e.g. physical network disconnect)

ISO 13400-2:2012 Road vehicles - Diagnostic communication over Internet Protocol (DoIP) -- Part 2: Transport protocol and network layer services

不需要为 UDS 部署 DoIP。 DoIP 是一种传输层协议,但 DoIp 提供了一种结构化的方式来接近车辆并通过考虑不同的安全方面来宣布车辆的功能。但如果这是传输 UDS 的唯一协议,那么答案是否定的。相同的信息可以通过 UDP 或 TCP 上的 IEEE1722ACF 格式的 IP 传输。与仅通过以太网传输 UDS 消息相比,DoIP 具有更多优势。