mode
模式,mode,是运行在车辆上不同的状态机(不只是EcuM)的一组状态的集合,和一个实体,一个应用,或者整车都有关
state
状态,state,是各自BSW组件内部定义的内容,对应用不可见;因此状态只会被BSW内部状态机所使用。
EcuM定义的状态构建了phase,并处理模式。
phase
阶段,phase,是EcuM的动作和时间在逻辑上或时间上的组合,例如STARTUP,SHUTDOWN,SLEEP等。
mode switch port
用来接收(或者发送)模式切换通知的port,类型为ModeSwitchInterface。

mode request interface
类型为SenderReceiverInterface,通过VariableDataPrototype携带所请求的模式信息。
mode user
如果某一个SWC或者BSW模块,对SwcModeSwitchEvent,BswModeSwitchEvent有依赖,或者是会获取一个模式的当前状态,被称为mode user。mode user拥有required mode switch port,或者requiredModeGroup ModeDeclarationGroupPrototype。
mode manager
mode manager发起模式的进入和退出。mode manager拥有provided mode switch port或者providedModeGroup ModeDeclarationGroupPrototype。mode manager既可以是应用模式管理者,也可以是提供模式切换功能的BSW模块(例如EcuM)。
application mode manager
application mode manager是一个能提供模式切换服务的SWC
mode request
由mode user向mode manager通过SenderReceiverInterface发起的模式请求通信被称为mode request。
mode switch notification
由mode manager向mode user通过ModeSwitchInterface,或者providedModeGroup/requiredModeGroup ModeDeclarationGroupPrototype进行的模式切换通知被称为mode switch notification
mode machine instance

模式切换不是立即执行的,所以Rte/Bsw Scheduler会维护自己的状态。对于每一个mode manager的ModeDeclarationGroupPrototype,Rte/Bsw Scheduler都有自己的状态机,这个状态机被称为mode machine instance。一个mode manager对应多个mode user的情况下,Rte/Bsw Scheduler使用同一个mode machine instance。
common mode machine instance
这是一种特殊的mode machine instance,由BSW模块和SWC共享。
Mode Disabling Dependency
RTEEvent/BswEvent可以设置引用到某一ModeDeclaration的disabledMode/disabledInMode,这个关联关系叫做ModeDisablingDependency。
mode disabling dependent ExecutableEntity
如果某一RunnableEntity/Bsw Schedulable Entity由RteEvent/BswEvent触发,并带有ModeDisablingDependency设置,那么在对应的mode条件下,Rte/Bsw Scheduler不会调度/激活Entity。
OnEntry ExecutableEntity
当正在进入某一模式期间,由ModeActivationKind为'entry'的SwcModeSwitchEvent/BswModeSwitchEvent触发运行的RunnableEntity/Bsw Schedulable Entity,被称作为OnEntryExecutableEntity。
OnExit ExecutableEntity
与上同理,ModeActivationKind为'exit'。
OnTransition ExecutableEntity
与上同理,ModeActivationKind为'transition'。
mode switch acknowledge ExecutableEntity
与上同理,SwcModeSwitchEvent/BswModeSwitchedAckEvent关联到mode manager的ModeDeclarationGroupPrototype。
server runnable
由OperationInvokedEvent触发的server,它拥有runnable和function call的双重行为。在特定情况下,RTE可以将client server通信实现为简单的函数调用。
runnable activation
用来激活runnable的方式,例如timing event,或者data received event。
Basic Software Schedulable Entity activation
激活Basic Software Schedulable Entity的方式。
Runnable start
调用到实现了runnable逻辑的函数
Basic Software Schedulable Entity start
与上同理
inter-ECU communication
ECU间的通信
inter-partition communication
ECU内不通partition间发生的通信
intra-partition communication
一个partition内部发生的通信
intra-ECU communication
ECU内部的通信