第七章:计算failure概率

第七章

Failure 种类:

  • Transient Failure – In this case the program gives and incorrect result, but the program continues to execute. 程序给出了一个错误的结果,但程序继续执行。
  • Hard Failure – In this case the program crashes (stack overrun, heap overrun, broken thread). 程序崩溃(堆栈溢出、堆溢出、线程中断)。
  • Cascaded Failure – In this case the program crashes and takes down other programs. 程序崩溃并拖垮其他程序。
  • Catastrophic Failure – In this case the program crashes and takes down the operating system or the entire system; a total system failure 程序崩溃并导致操作系统或整个系统崩溃;完全的系统故障。

不同阶段为了可靠性的手段

image-20231104125610669

Random testing

  • test inputs are chosen with a particular distribution over the input domain that somehow reflects the actual usage of the program.

Serial Blocks

image-20231104151936744

  • 成功概率:

image-20231104152017055

  • 失败概率:

image-20231104152036938

image-20231104152044854

Parallel Blocks

image-20231104152102472

  • 失败概率:

image-20231104152120716

  • 成功概率:

image-20231104152138535

如何创建 reliability 的 Block digrams

image-20231104152405957

markov model

  • 使用马尔科夫模型的原因是: we want to explore how the reliability of systems evolves over time.

image-20231104165410305

  • 算 T 秒之后某个 state 的概率,如果是独立的就是行列式计算image-20231104172254088

image-20231104172134465

  • 马尔科夫性质:The Markov property means that, at any state of the process, the future states of the process are dependent only on that state 马尔可夫性质意味着,在过程的任何状态下,该过程的未来状态仅依赖于该状态。

  • 用公式表示为:

image-20231104172439893

  • homogeneous (均匀)and in-homogeneous(非均匀) Markov models。如果状态转移矩阵任何时候都不变,那么这个马尔科夫模型就是均匀的

image-20231104172642341

  • 按照均匀的马尔科夫模型,如果想计算 n 个时间步骤之后的状态,可以通过如下公式;其中 M n M^n Mn 是 n 个 M 行列式计算

  • 并且通常在开始的时候还会制定一个初始的向量 α \alpha α;所以最终 n 个 step 之后的结果可以表示为:

image-20231104173110873

如何根据系统来构建马尔科夫计算模型

image-20231104174927970

  1. 确定系统的马尔可夫状态。马尔可夫状态需要与系统状态或任何单个组件的状态区分开来。
  2. 计算马尔可夫状态之间的转移概率,并据此推导系统的转移矩阵。
  3. 确定感兴趣的时间范围并计算n步转移概率。

上述的每个device 都有 functioning 和 failed 两种状态

  • 分别用 S A , S B , S C S_A, S_B, S_C SA,SB
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

暖仔会飞

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值