• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2023, Vol. 45 ›› Issue (04): 630-637.

• 软件工程 • 上一篇    下一篇

一种基于构件的软件系统的薄弱构件确定方法

王玉琢1,2,刘海涛2,袁昊劼2,张志华3   

  1. (1.海军工程大学兵器工程学院,湖北 武汉 430033;2.海军工程大学基础部,湖北  武汉 430033;
    3.海军工程大学舰船与海洋学院,湖北 武汉 430033)

  • 收稿日期:2022-01-11 修回日期:2022-08-26 接受日期:2023-04-25 出版日期:2023-04-25 发布日期:2023-04-13
  • 基金资助:
    海军工程大学“科研发展基金自主立项”(2020501030);“十三五”装备预研(41402020502)

A method for determining weak components of component-based software system

WANG Yu-zhuo1,2,LIU Hai-tao2,YUAN Hao-jie2,ZHANG Zhi-hua3   

  1. (1.College of Weaponry Engineering,Naval University of Engineering,Wuhan 430033;
    2.Department of Foundation,Naval University of Engineering,Wuhan 430033;
    3.College of Naval Architecture & Ocean Engineering,Naval University of Engineering,Wuhan 430033,China)
  • Received:2022-01-11 Revised:2022-08-26 Accepted:2023-04-25 Online:2023-04-25 Published:2023-04-13

摘要: 基于构件的软件系统是以结构设计为核心的系统。在设计阶段确定系统的可能薄弱环节,并尽可能将潜在的隐患消除在设计阶段,对于科学保障软件系统质量、减少因盲目开发带来的资源浪费和损失具有重要意义。针对构件可靠性服从G-O模型的软件系统,定义了2个系统参数——系统缺陷总数和系统缺陷检出率,建立了基于相应构件参数的系统参数估计模型。在此基础之上给出了一种系统薄弱构件的确定方法,并通过仿真对所提方法的有效性进行了验证。该方法能对测试或运行环境下最有可能被优先检测出缺陷的构件进行推断,对于辅助软件设计人员确定薄弱构件、优化结构设计具有参考价值。

关键词: 非齐次泊松过程, 缺陷总数, 缺陷检出率, 体系结构

Abstract: Component-based software system is a system whose core is structure design. Determin- ing the possible weak components of the system and eliminating the potential dangers in the design stage are of great significance to ensure the quality of the software system and reduce the waste and loss of resources caused by blind development. In this paper, two system parameters, total number of system faults and detection rate of system faults are defined for the software system whose component reliability follows the G-O model, and two system parameter estimation models based on the corresponding component parameters are established. On this basis, a method to determine the weak components of the system is given, and the effectiveness of the proposed method is verified by simulation. This method can prejudge the components that are most likely to be detected faults in the test or operation environment. Therefore, it has reference value for assisting software designers to determine weak components and optimize structure design.

Key words: non-homogeneous Poisson process, total number of faults, fault detection rate, system architecture