![](https://i-blog.csdnimg.cn/blog_migrate/293f632d92be17e077aaea6af3545162.jpeg)
结合图片理解
AUTOSAR接口:
AUTOSAR Interface:
AUTOSAR Interface 定义了软件组件和/或BSW模块之间交换的信息。该描述独立于特定的编程语言,ECU或网络技术。
AUTOSAR Interface 用于定义软件组件和/或BSW模块的端口。通过这些端口,软件组件和/或BSW模块可以彼此通信(发送或接收信息或调用服务)。AUTOSAR使得可以在本地或通过网络在SoftwareComponents和/或BSW模块之间实现这种通信。
标准AUTOSAR接口:
Standardized AUTOSAR Interface:
Standardized AUTOSAR Interface 是其语法和语义在AUTOSAR中标准化的 AUTOSAR Interface 。Standardized AUTOSAR Interface 通常用于定义AUTOSAR服务,这是AUTOSAR基本软件向应用程序软件组件提供的标准化服务。
标准接口:
Standardized Interface:
Standardized Interface 是一种在AUTOSAR中标准化的API,无需使用 AUTOSAR Interface 技术。这些 Standardized Interface 通常是为特定的编程语言(如C语言)定义的。因此,通常在始终位于同一ECU上的软件模块之间使用 Standardized Interface 。
当软件模块通过 Standardized Interface 进行通信时,将无法再通过网络路由软件模块之间的通信。
总结:
AUTOSAR Interface 多用于Application、Abstraction于Complex Driver上;
Standardized AUTOSAR Interface 多用于BSW中的Service上;
Standardized Interface 是AUTOSAR定义的BSW中的模块直接交互用的接口。