11. Migration and CompatibilityΒΆ

11.1. Supporting forward compatibilityΒΆ

feat_req: β“˜ feat_req_someipcompat_1205
status: valid
reqtype: Information
security: NO
safety: QM

This section shows requirements for compatibility, so that vehicles can be further enhanced with additional ECUs and functions. These requirements may exist already earlier in this document but are repeated here in order to ease understanding.

feat_req: 🎯 feat_req_someipcompat_1197
status: valid
reqtype: Requirement
security: NO
safety: QM

FindService entries shall always set the Minor Version to ANY (0xFFFF FFFF), so that changing the Minor Version of a service does not require changes on the peer.

feat_req: 🎯 feat_req_someipcompat_1216
status: valid
reqtype: Requirement
security: NO
safety: QM

ECUs shall subscribe to Eventgroups independently of the Minor Version of the Service.

Note: Changes that only affect the Minor Version changes are compatible changes.

feat_req: 🎯 feat_req_someipcompat_1198
status: valid
reqtype: Requirement
security: NO
safety: QM

Implementations shall support receiving longer SOME/IP messages as configured and cut off the bytes on the end that were not configured.

feat_req: 🎯 feat_req_someipcompat_1199
status: valid
reqtype: Requirement
security: NO
safety: QM

Implementations shall support receiving longer dynamic length elements in SOME/IP messages (e.g. arrays or structs with length field) and cut off the bytes at the end of this element that were not configured.

feat_req: 🎯 feat_req_someipcompat_1200
status: valid
reqtype: Requirement
security: NO
safety: QM

Implementations shall support setting default values to parameters in order to allow receiving SOME/IP messages that do not carry the new parameters yet or shall support missing parameters by another mean.

feat_req: 🎯 feat_req_someipcompat_1201
status: valid
reqtype: Requirement
security: NO
safety: QM

Implementations shall support receiving unknown SOME/IP messages (using nPDU or single) and dropping them (e.g. new events in an old eventgroup).

feat_req: 🎯 feat_req_someipcompat_1202
status: valid
reqtype: Requirement
security: NO
safety: QM

Implementations shall allow every client to access every SOME/IP Service Instance and Eventgroup that is configured on the port.

Note: This means it is forbidden to limit the resources, so that a client can only access the services that are currently configured. If another Eventgroup or Service Instance is available on this socket, the SOME/IP implementation may not limit access to it by means of resources.

11.2. Supporting multiple versions of the same service.ΒΆ

feat_req: 🎯 feat_req_someipcompat_714
status: valid
reqtype: Requirement
security: NO
safety: QM

In order to support migrations scenarios ECUs shall support serving as well as using different incompatible versions of the same service.

feat_req: 🎯 feat_req_someipcompat_799
status: valid
reqtype: Requirement
security: NO
safety: QM

In order to support a service with more than one version the following is required:

feat_req: 🎯 feat_req_someipcompat_800
status: valid
reqtype: Requirement
security: NO
safety: QM
  • The server shall offer the service instance of this service once per major version.

feat_req: 🎯 feat_req_someipcompat_802
status: valid
reqtype: Requirement
security: NO
safety: QM
  • The client shall find the service instances once per supported major version or shall use the major version as 0xFF (all versions).

feat_req: 🎯 feat_req_someipcompat_804
status: valid
reqtype: Requirement
security: NO
safety: QM
  • The client shall subscribe to events of the service version it needs.

feat_req: 🎯 feat_req_someipcompat_803
status: valid
reqtype: Requirement
security: NO
safety: QM
  • All SOME/IP-SD entries shall use the same Service IDs and Instance IDs but different Major Versions.

feat_req: 🎯 feat_req_someipcompat_801
status: valid
reqtype: Requirement
security: NO
safety: QM
  • The server shall demultiplex messages based on the socket it arrives, the Message ID, and the Major Version.