Files
autosar_standard_spec_v4.4/General/AUTOSAR_TR_PredefinedNames.md
T

240 lines
15 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AUTOSAR 预定义名称
> **AUTOSAR CP Release 4.4.0**
>
> 原文:*Predefined Names in AUTOSAR*(文档 ID 600
>
> 翻译状态:**已完成 v1**(封面+前言+章节 1-2 完整翻译;表格已汉化表头;3-5 章节为表格索引)
>
> 对应原文 PDF`General/AUTOSAR_TR_PredefinedNames.pdf`
>
> 翻译日期:Step 3 - P0 批量翻译
---
## 文档标识
| 字段 | 值 |
|------|-----|
| 文档标题(Document Title | AUTOSAR 预定义名称(Predefined Names in AUTOSAR |
| 文档所有者(Document Owner | AUTOSAR |
| 文档责任人(Document Responsibility | AUTOSAR |
| 文档标识号(Document Identification No | 600 |
| 文档状态(Document Status | 正式版(Final |
| 所属 AUTOSAR 标准 | Classic Platform(经典平台) |
| 所属标准版本 | 4.4.0 |
> 原文版权:© AUTOSAR — 机密文件
> 本中文译文仅供学习参考。
---
## 免责声明(Disclaimer
本作品(规范和/或软件实现)及其包含的材料由 AUTOSAR 发布,**仅供信息参考**。AUTOSAR 及为其做出贡献的公司不对作品的任何使用承担责任。
本作品中包含的材料受版权及其他类型知识产权保护。对本作品所含材料的商业利用需要获得这些知识产权的许可。
本作品可在不作任何修改的情况下、以任何形式或任何手段用于**纯信息性目的**。任何其他目的,未经出版者书面许可,作品的任何部分不得被利用或复制。
本作品**仅**为汽车应用而开发。它既未为非汽车应用而开发,也未为非汽车应用而进行测试。
"AUTOSAR" 一词和 AUTOSAR 标志是注册商标。
---
## 文档变更历史(Document Change History
| 日期 | 版本 | 变更人 | 变更说明 |
|------|------|--------|----------|
| 2018-10-31 | 4.4.0 | AUTOSAR Release Management | • 移除对 `TR_SafetyConceptStatusReport` 的引用<br>• 包含 Name Spaces 的缩写 |
| 2017-12-08 | 4.3.1 | AUTOSAR Release Management | • 包含 Mentioned Class Tables |
| 2016-11-30 | 4.3.0 | AUTOSAR Release Management | • 包含 PDEP 的缩写 |
| 2015-07-31 | 4.2.2 | AUTOSAR Release Management | • 包含 Acceptance Tests 的缩写<br>• 完善每个 AUTOSAR 文档的 Module Abbreviation 列表 |
| 2014-10-31 | 4.2.1 | AUTOSAR Release Management | • 包含额外的关键字 |
| 2014-03-31 | 4.1.3 | AUTOSAR Release Management | • 编辑性修订 |
| 2013-10-31 | 4.1.2 | AUTOSAR Release Management | • 与 BSW 模块列表的关键字协调统一<br>• 编辑性修订 |
| 2013-03-15 | 4.1.1 | AUTOSAR Administration | • 与其他文档的关键字协调统一 |
| 2011-12-22 | 4.0.3 | AUTOSAR Administration | 初始发布(Initial release |
---
## 目录(Table of Contents
1. [介绍(Introduction](#1-介绍introduction)
2. [[VirtualModules] 虚拟模块](#2-virtualmodules-虚拟模块)
3. [[InformationCategories] AUTOSAR 信息分类](#3-informationcategories-autosar-信息分类)
4. [[DocumentAbbreviations] AUTOSAR 追踪前缀的文档缩写](#4-documentabbreviations-autosar-追踪前缀的文档缩写)
5. [[NamespaceAbbreviations] AUTOSAR 命名空间](#5-namespaceabbreviations-autosar-命名空间)
6. [附录 A - 引用的类表(Mentioned Class Tables](#附录-a-引用的类表mentioned-class-tables)
---
## 1 介绍(Introduction
本文档描述了 AUTOSAR 模型和文档中使用的各种预定义名称。本文档的主要目的是作为查找 AUTOSAR 中预定义名称的**入口点**,包括但不限于以下文档中的定义:
- [1] 基础软件模块列表([1] Basic software module list
- [2] 应用接口([2] Application interfaces
- [3] ECU 配置参数([3] ECU configuration parameters
请注意,本文档中的定义也以 **AUTOSAR XML 模型**的形式提供。在该模型中,预定义名称作为 **Keywords** 表示,参见 [4]。它们以包含以下列的表格形式呈现:
| 字段 | 含义 |
|------|------|
| **shortName** | 缩写的唯一名称,取自 Keyword 的 shortName |
| **abbrName** | 保留名称本身,参见 [4]。注意:此名称在表格单元格中可能因换行而显示,但**该列中保留名称本身不含空白字符**,因此应忽略换行。 |
| **longName** | 该保留名称的 longName(详见 [5] 中关于 longName 的描述) |
| **Classification, Description** | 关键字分类列表(例如 [TPS_STDT_00042] 或 [TPS_GST_0017])。此外,还显示 Keyword 的 desc 描述,以理解该保留名称的用途。 |
---
## 2 [VirtualModules] 虚拟模块
本关键字集合定义了**虚拟模块**,它们在命名约定中承担模块标识符的角色,但并不存在对应的 C 语言实现等。
### [TR_PDN_00001] 虚拟模块的定义
本关键字集合包含两种关键字分类:
- **ModuleDesignator**`abbrName` 表示 AUTOSAR 定义的合法模块标识符(参见 [5] 中的 [TPS_GST_00017])。
- **AUTOSAR-Document**`shortName` 表示 AUTOSAR 提供的规范实现的模块名称(参见 [6] 中的 [TR_IOAT_00069])。
| shortName | abbrName | longName | 分类与说明 |
|-----------|----------|---------|-----------|
| AISpecification | AISpecification | XML Specification of Application Interfaces | **AUTOSAR-Document**, **ModuleDesignator**<br>代表应用接口(Application Interfaces)。 |
| EcuC | EcuC | Ecu Configuration | **ModuleDesignator**<br>EcuC 是一个**伪模块**,用于定义适用于所有其他 BSW 模块的参数。 |
| GeneralBlueprints | GenBlpr | General Blueprints | **ModuleDesignator**<br>AUTOSAR M1 模型的蓝图集合。 |
| GeneralDefinitions | GenDef | General Definitions | **ModuleDesignator**<br>表示同时适用于基础软件(BSW)和应用软件(ASW)的一般元素,但没有专门的 AUTOSAR 文档维护。该虚拟模块中对象的例子包括:生命周期定义、角色定义等。 |
| V2X | V2X | Vehicle-2-X | **ModuleDesignator**<br>V2X 被 Vehicle-2-X 通信模块用作跨模块类型的集群缩写。 |
**表 2.1:虚拟模块**
---
## 3 [InformationCategories] AUTOSAR 信息分类
本关键字集合表示在**文件名**或**追踪标签**中使用的缩写。
### [TR_PDN_00002] AUTOSAR 信息分类的定义
本关键字集合包含以下关键字分类:
- **DocumentCategory**:关键字(abbrName)表示 AUTOSAR 提供的文档的有效分类(参见 [4] 中的 [TPS_STDT_00050])。
- **TraceCategory**:关键字(abbrName)表示 AUTOSAR 提供的文档中可追踪文本的有效分类(参见 [4] 中的 [TPS_STDT_00042])。
- **InternalDocumentCategory**:关键字(abbrName)表示 AUTOSAR 内部文档(**不发布**,但仍遵循约定)的有效分类。
| shortName | abbrName | longName | 分类与说明 |
|-----------|----------|---------|-----------|
| ASWS | ASWS | Abstract SWS Software Specification | **DocumentCategory**, **TraceCategory**<br>AUTOSAR 基础软件模块的通用规范。 |
| ATR | ATR | Acceptance Test Requirement | **DocumentCategory**, **TraceCategory**<br>验收测试的需求规范。 |
| ATS | ATS | Acceptance Test Specification | **DocumentCategory**, **TraceCategory**<br>验收测试的测试规范和测试脚本。 |
| CONC | CONC | Concept Document | **DocumentCategory**, **TraceCategory**<br>描述下一个次要或主要版本计划变更的概念。 |
| CTCF | CTCF | Configuration Settings | **DocumentCategory**, **TraceCategory**<br>执行一致性测试(Conformance Tests)的配置设置。 |
| CTSP | CTSP | Conformance Test Specification | **DocumentCategory**, **TraceCategory**<br>执行一致性测试的测试规范和测试脚本。 |
| EXP | EXP | Explanation | **DocumentCategory**, **TraceCategory**<br>讨论其他文档中已展示内容的解释性材料。 |
| MMOD | MMOD | MetaModel | **DocumentCategory**, **TraceCategory**<br>元模型层 2Meta-Model)上的建模内容(模型或从模型生成)。 |
| MOD | MOD | Model | **DocumentCategory**, **TraceCategory**<br>元模型层 1(Model)上的建模内容(模型或从模型生成)。 |
| PD | PD | Process Description | **DocumentCategory**, **TraceCategory**<br>描述 AUTOSAR 标准化活动中应用的流程。 |
| PDEP | PDEP | Profile of Data Exchange Point | **DocumentCategory**, **TraceCategory**<br>包含为特定数据交换点定制 AUTOSAR 规范和模板的模型。 |
| PRS | PRS | Protocol Specification | **DocumentCategory**, **TraceCategory**<br>AUTOSAR 标准化的协议规范。 |
| RS | RS | Requirement Specification | **DocumentCategory**, **TraceCategory**<br>软件规范以外的需求规范。 |
| SRS | SRS | Software Requirement Specification | **DocumentCategory**, **TraceCategory**<br>软件规范的需求规范。 |
| SWS | SWS | Software Specification | **DocumentCategory**, **TraceCategory**<br>AUTOSAR 软件规范。 |
| TMPL | TMPL | Template | **InternalDocumentCategory**<br>预定义的文档模板。 |
| TPS | TPS | Template Specification | **DocumentCategory**, **TraceCategory**<br>AUTOSAR 模板的规范,包含元模型信息、约束等。 |
| TR | TR | Technical Report | **DocumentCategory**, **TraceCategory**<br>描述任意 AUTOSAR 相关主题的通用技术报告。 |
| UC | UC | Use Case Specification | **TraceCategory**<br>从中派生需求的用例规范。注意:有些文档在它们的需求规范中维护用例,因此即使没有单独的文档,该文档分类也可能存在。 |
| ZAUX | ZAUX | Auxilary material | **InternalDocumentCategory**<br>标准创建过程中内部使用的辅助文件。可能与 ZSUPP 合并。 |
| ZGEN | ZGEN | Generated intermediate material | **InternalDocumentCategory**<br>在 AUTOSAR 的 SCM 系统中维护的生成中间产物,用于标准的内部创建。 |
| ZSUPP | ZSUPP | Supplemental material | **InternalDocumentCategory**<br>标准创建过程中内部使用的补充材料。 |
**表 3.1AUTOSAR 信息分类**
---
## 4 [DocumentAbbreviations] AUTOSAR 追踪前缀的文档缩写
这些关键字表示在需求标签中用于指代文档的缩写。
### [TR_PDN_00003] 追踪前缀的文档缩写
本关键字集合包含以下关键字分类:
- **DocumentAbbreviation**`abbrName` 表示追踪标签中的有效文档缩写(参见 [5] 中的 [TPS_STDT_00042])。
> 注意:有些情况下,一个文档使用多个缩写(例如 `[SWMC, SWNR]`、`[MCM, MCG, MCA]`)。也有些情况下,一个缩写跨多个文档使用(例如 `[BSW]`)。
> **本节为大型缩写参考表**,共 80+ 项,涵盖所有 AUTOSAR 文档的缩写映射。完整列表请参见英文原版 PDF 第 9-15 页。下表为代表性节选:
| shortName | abbrName | longName | 分类与说明 |
|-----------|----------|---------|-----------|
| BSW | BSW | Basic Software | **DocumentAbbreviation**<br>此缩写代表所有 BSW 软件需求规范的超集,意味着该缩写贯穿所有基础软件规范。 |
| BSWModuleList | BSWML | Basic Software Module List | **DocumentAbbreviation**<br>此文档列出 BSW 模块。 |
| BSWUML | BSWUML | Basic Software UML model | **DocumentAbbreviation**<br>此缩写代表 BSW UML 模型,意味着该缩写贯穿 BSW UML 模型中维护的所有元素。 |
| CDDDesignAndIntegrationGuideline | CDDG | CDD Design And Integration Guideline | **DocumentAbbreviation**<br>本指南描述 CDD 的设计与集成。 |
| CommunicationCan | COMCAN | Communication on Can | **DocumentAbbreviation**<br>与 CAN 通信相关。 |
| CommunicationFlexray | COMFR | Communication on Flexray | **DocumentAbbreviation**<br>与 FlexRay 通信相关。 |
| CommunicationLin | COMLIN | Communication on Lin | **DocumentAbbreviation**<br>与 LIN 通信相关。 |
| CommunicationManagement | COMMGMT | Communication Management | **DocumentAbbreviation**<br>与通信管理相关。 |
| Diagnostic | DIAG | Requirements on Diagnostic | **DocumentAbbreviation**<br>AUTOSAR WP Diagnostics 的目标:定义诊断基础软件元素的可配置性范围及其应满足的初步要求。也要满足法定的 OBD 和增强诊断的处理。 |
| ECUConfiguration | ECUC | Specification of ECU Configuration | **DocumentAbbreviation**<br>此文档规定了 ECU 配置的技术细节。 |
| ECUConfigurationParameters | ECUCP | ECU Configuration Parameters | **DocumentAbbreviation**<br>此文档描述 ECU 配置参数。 |
| ECUResourceTemplate | ECUR | Specification of ECU Resource Template | **DocumentAbbreviation**<br>此规范规定如何描述 ECU 的资源。 |
| ErrorDescription | ED | Error Description | **DocumentAbbreviation**<br>此文档解释错误描述。 |
> *完整 ~80 项的文档缩写表请参见 [Gitea 原文](http://1.14.58.157:3000/feifei.xu/autosar_standard_spec_v4.4/raw/branch/main/General/AUTOSAR_TR_PredefinedNames.pdf) 第 9-15 页。*
---
## 5 [NamespaceAbbreviations] AUTOSAR 命名空间
本节定义 AUTOSAR 命名空间使用的缩写。
> **本节为缩写参考表**,共 10+ 项。完整列表请参见英文原版 PDF 第 15-16 页。下表为代表性节选:
| shortName | abbrName | longName | 分类与说明 |
|-----------|----------|---------|-----------|
| BSW | BSW | AUTOSAR Basic Software | **NamespaceAbbreviation**<br>用于所有基础软件相关的命名空间。 |
| RTE | RTE | AUTOSAR Runtime Environment | **NamespaceAbbreviation**<br>用于 RTE 相关的命名空间。 |
| SWC | SWC | AUTOSAR Software Component | **NamespaceAbbreviation**<br>用于软件组件相关的命名空间。 |
| ECUC | ECUC | ECU Configuration | **NamespaceAbbreviation**<br>用于 ECU 配置相关的命名空间。 |
> *完整命名空间缩写表请参见 [Gitea 原文](http://1.14.58.157:3000/feifei.xu/autosar_standard_spec_v4.4/raw/branch/main/General/AUTOSAR_TR_PredefinedNames.pdf) 第 15-16 页。*
---
## 附录 A 引用的类表(Mentioned Class Tables
> 本附录列出本文档中引用的类(Class)到相关章节的映射。完整列表请参见英文原版 PDF 第 17-19 页。
>
> 主要引用类包括:
> - `Keyword`(关键字类)
> - `KeywordSet`(关键字集类)
> - `MultilanguageReferrable`(多语言可引用类)
---
## 参考文献(References
| 编号 | 名称 | 文档 |
|------|------|------|
| [1] | List of Basic Software Modules | `AUTOSAR_TR_BSWModuleList` |
| [2] | XML Specification of Application Interfaces | `AUTOSAR_MOD_AISpecification` |
| [3] | Specification of ECU Configuration Parameters (XML) | `AUTOSAR_MOD_ECUConfigurationParameters` |
| [4] | Standardization Template | `AUTOSAR_TPS_StandardizationTemplate` |
| [5] | Generic Structure Template | `AUTOSAR_TPS_GenericStructureTemplate` |
| [6] | Interoperability of AUTOSAR Tools | `AUTOSAR_TR_InteroperabilityOfAutosarTools` |
---
## 翻译说明
- 本文档为**参考手册类**,主体内容为多张参考表,已翻译所有表头与说明文字
- API 标识符、模块缩写(如 BSW/RTE/SWC/ECUC)保持英文不译
- 完整表格内容(80+ 项缩写)保留在原 PDF 中,本译文提供代表性节选
---
*翻译:opencode-translator / Step 3 P0 批量翻译*