Multiple Service-Instances多個服務(wù)實例
- Service-Instances of the same Service are identified through different Instance IDs. It shall be supported that multiple Service-Instances reside on different ECUs as well as multiple Service-Instances of one or more Services reside on one single ECU.
同一服務(wù)的多個服務(wù)實例通過不同的Instance ID來識別。應(yīng)支持多個服務(wù)實例駐留在不同的ECU上,以及一個或多個服務(wù)的多個服務(wù)實例駐留在一個ECU上。 - While different Services shall be able to share the same port number of the transport layer protocol used, multiple Service-Instances of the same service on one single ECU shall listen on different ports per Service-Instance.
雖然不同的服務(wù)應(yīng)能夠共享所使用的傳輸層協(xié)議的相同端口號,但是在一個ECU上的同一服務(wù)的多個服務(wù)實例應(yīng)在每個服務(wù)實例的不同端口上進(jìn)行偵聽。 - Rationale合理性:
While Instance IDs are used for Service Discovery, they are not contained in the SOME/IP header.
雖然 Instance ID用于服務(wù)發(fā)現(xiàn),但它們不包含在SOME / IP header中。 - A Service Instance can be identified through the combination of the Service ID combined with the socket (i.e. IP-address, transport protocol (UDP/TCP), and port number). It is recommended that instances use the same port number for UDP and TCP. If a service instance uses UDP port x, only this instance of the service and not another instance of the same service should use exactly TCP port x for its services.
可以通過 Service ID與套接字的組合(即IP地址,傳輸協(xié)議(UDP / TCP)和端口號)來識別服務(wù)實例。建議實例對UDP和TCP使用相同的端口號。如果服務(wù)實例使用UDP端口x,則只有該服務(wù)實例而不是同一服務(wù)的另一個實例應(yīng)該使用TCP端口x作為其服務(wù)。
