软件生存周期过程的interfaces——DO-178B/ED-12B学习笔记之十一

本文探讨了DO-178B/ED-12B标准中关于软件生存周期过程的接口定义及其在不同计划文件中的应用。重点分析了软件验证、配置管理和质量保证计划中的接口概念,并对比了相关标准与实践。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

软件生存周期过程的interfaces

——DO-178B/ED-12B学习笔记之十一

 

DO-178B/ED-12B在三份计划中提到了interfaces,见表1

 

1

计划名称

章条号

内容

Software Verification Plan

11.3.a

[英文]Organization: Organizational responsibilities within the software verification process and interfaces with the other software life cycle processes.

[法文]Organisation : Organisation et responsabilités au sein du processus de vérification du logiciel et interfaces avec les autres processus du cycle de vie du logiciel.

Software Configuration Management Plan

11.4.a

[英文]Environment: A description of the SCM environment to be used, including procedures, tools, methods, standards, organizational responsibilities, and interfaces.

[法文] Environnement : Description de l'environnement de SCM, y compris les procédures, outils, méthodes, règles, l'organisation et les responsabilités ainsi que les interfaces.

Software Quality Assurance Plan

11.5.a

[英文]Environment: A description of the SQA environment, including scope, organizational responsibilities and interfaces, standards, procedures, tools and methods.

[法文] Environnement : Description de l'environnement de SQA, y compris le champ d'application, l'organisation et les responsabilités ainsi que les interfaces, règles, procédures, outils, et méthodes.

 

显然,这里的interfaces不同于“hardware and software interfaces”。那么如何理解三份计划中的interfaces呢?

 

11.3.a中,明确指出这是指软件验证过程与其他软件生存周期过程的interfaces。按此推理,11.4.a应该是指软件配置管理过程与其他软件生存周期过程的interfaces 11.5.a 应该是指软件质量保证过程与其他软件生存周期过程的interfaces

 

查找了英语词典,觉得这个interface应取以下译义:

1A point or means of interaction between two systems, disciplines, groups, etc.Webster's New World College Dictionary Copyright © 2010 by Wiley Publishing, Inc., Cleveland, Ohio.

2A point at which independent systems or diverse groups interact。(The American Heritage® Dictionary of the English Language, 4th edition Copyright © 2010 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company. All rights reserved.

3)相互联系,相互联络。(《英汉大辞典》)

 

就是说,三份计划中所说的interfaces应理解为各个软件生存周期过程的参与者之间的联系、关系、交接。

 

GJB 438B-2009《软件配置管理计划》第3章“组织和职责”中规定,“说明与软件配置管理相关的人员(如项目经理、部门软件配置管理组组长)在软件配置管理中的职责;描述上述人员之间的关系。适用时,本条还应描述需方及用户等与软件配置管理机构之间的关系”。

 

GJB 438B-2009《软件质量保证计划》第3章“组织和职责”中规定,应描述“部门内部软件质量保证组与项目软件质量保证组的关系”。

 

上述两段描述中的“关系”应该就是interfaces。不过,按DO-178B/ED-12B的要求是要描述软件质量保证过程与其他软件生存周期过程的关系,而不仅仅是两个软件质量保证组的关系。

 

需要注意表1中英文与法文的差异。我们一般把“Organizational responsibilities”翻译为“组织的职责”,但法文版把它译为“组织与职责”,这倒是与GJB 438B-2009以及其他标准一致了。实际上,在描述职责时,一般先描述组织的结构组成,然后描述各类成员的职责。

 

还要注意:

111.3.a的开头是Organization,而11.4.a11.5.a的开头是Environment

2)在11.1 Plan for Software Aspects of Certification11.2 Software Development Plan中没有要求描述interfaces

 

其他一些国外的软件计划模板中也使用了interfaces。例如:

1Rational Unified Process(RUP)的软件配置管理计划模板中有这样一条:

2.1  Organization, Responsibilities, and Interfaces

[Describe who is going to be responsible for performing the various Configuration Management (CM) activities described in the CM Process Discipline.]

2)美国国务院卫生和人类服务部的EPLCEnterprise Performance Life Cycle)的软件质量保证计划模板中有这样一条:

2.1 Organization, Responsibilities, and Interfaces

[Describe the primary roles and responsibilities of the project staff as it relates to the practice of Quality Management for the project. Indicate responsibilities for activities such as mentoring or coaching, auditing work products, auditing processes, participating in project reviews, etc.]

 

为什么要在计划中描述interfaces在“The AMA handbook of project management”(作者:Paul C. Dinsmore,Jeannette Cabanis-Brewin)一书中有如下解释:

These interfaces can generally be identified and controlled, normally via procedures or established protocols.  Clearly defining interfaces highlights where communication is needed and which areas may cause potential communication problems.

 

最后,摘录“The American Heritage® Dictionary of the English Language”中对interface的更多说明:

The noun interface has been around since the 1880s, meaning “a surface forming a common boundary, as between bodies or regions.” But the word did not really take off until the 1960s, when it began to be used in the computer industry to designate the point of interaction between a computer and another system, such as a printer. The word was applied to other interactions as well—between departments in an organization, for example, or between fields of study. Shortly thereafter interface developed a use as a verb, but it never really caught on outside its niche in the computer world, where it still thrives. The Usage Panel has been unable to muster much enthusiasm for the verb. Thirty-seven percent of Panelists accept it when it designates the interaction between people in the sentence. The managing editor must interface with a variety of freelance editors and proofreaders. But the percentage drops to 22 when the interaction is between a corporation and the public or between various communities in a city. Many Panelists complain that interface is pretentious and jargony. Certainly, it has no shortage of acceptable synonyms; cooperate, deal, exchange information, interact, and work present themselves as ready substitutes.

### 关于Juniper设备中ge-0/2/0至ge-0/2/3接口的作用 在Juniper网络设备中,`ge-0/2/0` 至 `ge-0/2/3` 接口通常被定义为千兆以太网物理端口的一部分。这些接口的具体用途取决于其在网络中的角色和配置方式。以下是可能的功能及其管理需求: #### 1. **作为逻辑系统的成员** 如果设备启用了逻辑系统(Logical Systems),则某些接口可能会分配给特定的逻辑系统使用。例如,在引用[1]中提到的命令 `set logical-systems r2 interfaces ge-0/0/1 unit 23 family inet address 10.1.23.1/30` 表明了一个逻辑系统如何绑定到具体的接口并为其分配地址[^1]。对于类似的场景,`ge-0/2/0` 到 `ge-0/2/3` 可能属于某个逻辑系统下的子集。 #### 2. **用于互联或接入功能** 这些接口也可能用来连接其他路由器、交换机或者终端设备。例如,在实验环境中,当与 Cisco 设备对接时,会涉及双方接口之间的匹配设置。如引用[2]描述的情况,“ISP 路由器使用 Cisco IOS 模拟”,其中 SRX 的接口需适配对方的 IP 地址规划[^2]。因此,`ge-0/2/0` 至 `ge-0/2/3` 或者会被指定成外部链路出口之一。 #### 3. **支持性能监控服务** 根据引用[3]的内容可知,Juniper 提供了一种名为 RPM (Real-Time Performance Monitoring) 的机制来监测路径状态和服务质量指标。这种技术允许管理员通过 ICMP Ping 测试或其他方法验证目标可达性和延迟情况等特性[^3]。假设上述四个 GE 系列端口中任何一个承担此类任务,则它们将成为健康检查流量发送源点或者是接收反馈数据的目的地节点。 #### 是否需要管理? 针对是否有必要对这组接口实施主动维护操作的问题,答案通常是肯定的。原因在于以下几个方面: - 如果未启用任何协议栈或安全策略,默认情况下该类硬件资源处于闲置状态; - 配置不当可能导致潜在安全隐患暴露出来; - 缺乏清晰记录使得后续排查工作变得困难重重。 综上所述,建议定期审查所有已安装但尚未利用完毕的端口列表,并依据实际业务需求决定保留还是禁用相应选项。 ```python # 示例 Python 脚本展示如何批量获取 JUNOS 接口信息 from jnpr.junos import Device dev = Device(host='your_device_ip', user='username', password='password') dev.open() interfaces = dev.rpc.get_interface_information(interface_name="ge-0/2/*", terse=True) print(interfaces.text) dev.close() ```
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值