计算机与现代化

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

一种基于预测的运行时验证开销控制方法

  

  1. (南京航空航天大学计算机科学与技术学院,江苏南京210016)
  • 收稿日期:2015-11-18 出版日期:2016-04-14 发布日期:2018-09-30
  • 作者简介:胡磊(1991-),男,安徽滁州人,南京航空航天大学计算机科学与技术学院硕士研究生,研究方向:运行时验证,软件质量验证; 江国华(1963-),男,副教授,硕士,研究方向:软件工程,软件测试技术,嵌入式系统及应用。

A Control Method of Runtime Verification Overhead Based on Prediction

  1. (College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China)

  • Received:2015-11-18 Online:2016-04-14 Published:2018-09-30

摘要:   针对运行时验证中,监控模块对软件系统运行效率产生影响的问题,提出一种基于预测的控制运行时验证开销的方法。该方法主要是通过建立马尔可夫链(Markov Chain)和隐马尔可夫模型(Hidden Markov Model, HMM)对软件行为进行有限步的预测,并判断被验证的性质约束被违反的风险,依此对软件监控行为进行调整,从而实现将运行时验证所产生的额外开销控制在一定范围内的目标。这种方法能够有效地控制监控开销,但仍然需要进一步的研究。

关键词: 运行时验证, 马尔科夫链, 隐马尔可夫模型, 软件行为预测, 开销控制

Abstract:

For the problem that monitoring module affects the operating efficiency of the software system when runtime verifying, a method of control runtime verification overhead based on prediction was proposed. Chain Markov and Hidden Markov Model (HMM) were used to predict the behavior of the software, and the risk of the constraint being violated would be controlled. According to this, the monitoring behavior of the software was adjusted to achieve the goal of extra overhead produced in runtime verifying being controlled in some ranges. This method can control the cost of monitoring effectively, but still needs improvement.

Key words:

text-indent: 21pt">runtime verification, Markov chain, hidden Markov model, prediction of software behavior, overhead control

中图分类号: