服务方法 PrepareRollback [SWS_SM_91105] Upstream: RS_SM_00001, RS_SM_00004
PrepareRollback (IN FunctionGroupListType functionGroupList)
Has to be called by Update And Configuration Management after State Management allowed to update.
服务接口 UpdateRequest 的服务方法 PrepareRollback 由 Update and Configuration Management 调用,以为参数 functionGroupList 中传入的软件集群功能组准备变更的回滚 [SWS_SM_91105]。该调用不具有发后即忘语义,因此 State Management 会将准备结果返回给调用方 [SWS_SM_91105]。
对于调用和错误处理适用固定的条件:
- 会话上下文:该调用仅在活动的更新会话内允许。如果调用发生在活动会话之外,State Management 将以错误
kOperationRejected拒绝该操作 [SWS_SM_00213]。 - 应用程序错误:除了在内部状态无效时返回
kOperationRejected之外,当准备失败时,该方法还可以返回kOperationFailed[SWS_SM_91105]。
在状态模型中,该方法调用对参与的状态机具有直接影响:
- 管理所传入功能组之一的状态机将被控制进程标记为
ImpactedByUpdate[SWS_SM_00654]。 - 如果标记了类型为
Agent的状态机,则该状态也会传递转移到上级的Controller[SWS_SM_00655]。 - 对于标识为
ImpactedByUpdate的状态机,报告的执行错误(ExecutionErrorEvent::executionError)不会通过恢复进行处理,而是被忽略且仅作记录 [SWS_SM_00664]。
本使用说明是基于 AUTOSAR 规范自动生成的。
实现者指南即将推出(复杂度 I2)
| Scope | service interface UpdateRequest |
|---|---|
| Fire & Forget | false |
| Version | 1.0 |
Parameter
| Name | Richtung | Typ | Beschreibung |
|---|---|---|---|
| functionGroupList | IN | FunctionGroupListType | The list of FunctionGroups within the SoftwareCluster to be prepared to roll back. |
Application Errors
| Fehler | Beschreibung |
|---|---|
| kOperationRejected | Requested operation was rejected due to State Managements/machines internal state. |
| kOperationFailed | Requested operation failed. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_SM_91105- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_SM_91105@rel:R25-11#c525179e- Content hash
c525179e- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91105
Status: valid/unmigrated
Version: rel:R25-11#bee04545
Versionshistorie & Revisions (1 transition, 3 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_SM_91105@rel:R25-11#bee04545
Recorded Revisions (3):
- R25-11
rel:R25-11#f02cfbd62026-09-30 - R24-11
rel:R24-11#37f538e72026-10-14 - R25-11
rel:R25-11#bee045452026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 德文原文