欢迎访问《兵工学报》官方网站,今天是

兵工学报 ›› 2015, Vol. 36 ›› Issue (2): 363-373.doi: 10.3969/j.issn.1000-1093.2015.02.025

• 论文 • 上一篇    下一篇

基于时间扩展Petri网的实时嵌入式软件体系结构建模及可靠性评估

许玉堂1, 殷永峰2, 孙静3, 张弛2, 刘斌2   

  1. (1.北京理工大学 机电学院北京 100081; 2.北京航空航天大学 可靠性与系统工程学院北京 100191;
  • 收稿日期:2014-04-15 修回日期:2014-04-15 上线日期:2015-04-07
  • 作者简介:许玉堂(1978—),男,博士生研究生
  • 基金资助:
    航空科学基金项目(20140751008);中央高校基本科研业务费专项资金项目(YWF-11-03-Q-114)

Real-time Embedded Software Architecture Modeling and Reliability Estimation Based on Time-extended Petri Net

XU Yu-tang1, YIN Yong-feng2, SUN Jing3, ZHANG Chi2, LIU Bin2   

  1. (1.School of Mechatronical Engineering, Beijing Institute of Technology, Beijing 100081, China;2.School of Reliability and System Engineering, Beihang University, Beijing 100191, China;3.Ordnance Science and Research Academy of China, Beijing 100089, China)
  • Received:2014-04-15 Revised:2014-04-15 Online:2015-04-07

摘要: 软件可靠性是软件质量评估最重要的指标之一,随着软件工程和组件重用技术的发展,近年来基于体系结构的软件可靠性评估已经成为工程研究的热点之一。为有效地提高软件可靠性,调研现有体系结构的可靠性评估模型,给出了现有体系结构模型的分类和模型代表,并分析了现有模型的不足。由于Petri具有良好的扩展性并且对异步和并行软件有良好的描述性,因此重点研究Petri网可靠性评估模型,通过划分时间变迁和瞬时变迁,并引入时间相关的可靠度,包括延时可靠度与时序可靠度,对Petri网进行了扩展,给出了时间扩展的Petri网进行体系结构建模方法。通过研究组件状态和系统可达状态的关系,创建可达状态转移矩阵,对系统进行可靠性评估。将所研究的方法应用于某航电嵌入式系统软件中,完成了体系结构建模及可靠性评估,并通过误差分析验证了该方法的有效性及准确性。

关键词: 计算机软件, 软件体系结构, 可靠性评估, 时间扩展Petri网

Abstract: Software reliability is one of the most important quality indices in software quality evaluation. With the development of software engineering and component reusing, the reliability analysis based on software architecture has become a researching hotspot. This paper puts a research on existed architecture-based reliability estimation models at first, then proposes existing architecture based reliability estimation types and typical models, putting forward the shortage of these models as well. As Petri net has a well expansibility and descriptive power of concurrency and asynchronism, this paper focuses on the research of Petri net model, divides transition into time transition and instant transition, and adds time-related reliability—time-delay reliability and temporal reliability, by this means establish the software architecture modeling. The reachable state transition matrix is set up and the system reliability estimation is made by studing the relationship between component state and system reachable state. At last, the method is used in a avionics embedded software for architecture modeling, reliability estimation and error analysis, proving the effectiveness and accuracy of this method.

Key words: computer software, software architecture, reliability estimation, time-extended Petri net