基于模擬器的故障注入冗余優(yōu)化和執(zhí)行加速技術(shù)研究
發(fā)布時(shí)間:2019-02-26 16:33
【摘要】:日益增長(zhǎng)的軟硬件系統(tǒng)規(guī)模和系統(tǒng)可靠性需求對(duì)軟件開(kāi)發(fā)測(cè)試提出了更高的要求。其中故障注入是衡量系統(tǒng)容錯(cuò)能力和抗干擾能力的一種重要的測(cè)試手段,在系統(tǒng)中引入故障值或信號(hào)可以模擬真實(shí)環(huán)境下的外部干擾和系統(tǒng)擾動(dòng),達(dá)到檢測(cè)異常狀態(tài)下系統(tǒng)容錯(cuò)機(jī)制或恢復(fù)機(jī)制的目的。故障注入技術(shù)不斷成熟的今天,特別是軟件實(shí)現(xiàn)或模擬實(shí)現(xiàn)的故障注入技術(shù)中,卻仍存在著注入精度低、注入性能差、測(cè)試周期長(zhǎng)的問(wèn)題。本文借助模擬器容易對(duì)程序進(jìn)行運(yùn)行控制和跟蹤的特點(diǎn),在模擬器環(huán)境下對(duì)故障注入進(jìn)行了研究和優(yōu)化,來(lái)實(shí)現(xiàn)在高注入精度下的高性能故障注入,達(dá)到提高故障注入測(cè)試效率,縮短測(cè)試開(kāi)發(fā)周期的目的。本文的研究工作如下:1)研究了故障注入點(diǎn)上的讀寫(xiě)行為特點(diǎn),發(fā)現(xiàn)了故障注入過(guò)程中存在的冗余注入現(xiàn)象,針對(duì)該現(xiàn)象提出了指令級(jí)故障注入模型,以及在故障規(guī)則設(shè)計(jì)階段進(jìn)行優(yōu)化的最小化注入原則;2)基于指令級(jí)故障注入模型,研究實(shí)現(xiàn)了在模擬器環(huán)境下的運(yùn)行時(shí)和靜態(tài)去冗優(yōu)化注入方式,設(shè)計(jì)實(shí)現(xiàn)了基于共享內(nèi)存的日志記錄方式來(lái)解決程序因故障注入而崩潰時(shí)日志丟失的問(wèn)題;3)研究實(shí)現(xiàn)了模擬器環(huán)境下針對(duì)軟件故障的、基于指令注入和編譯技術(shù)的故障注入執(zhí)行加速技術(shù);4)對(duì)上述功能進(jìn)行了系統(tǒng)性的測(cè)試,驗(yàn)證了本文工作的有效性。
[Abstract]:The increasing software and hardware system scale and system reliability requirements put forward higher requirements for software development and testing. Fault injection is an important testing method to measure the fault tolerance and anti-jamming ability of the system. The introduction of fault value or signal into the system can simulate the external disturbance and system disturbance in the real environment. The system fault-tolerant mechanism or recovery mechanism under abnormal state detection is achieved. Nowadays, the fault injection technology is becoming more and more mature, especially in the fault injection technology realized by software or simulation, there are still some problems, such as low injection precision, poor injection performance and long test period. With the help of the characteristic that the simulator is easy to control and track the program, this paper studies and optimizes the fault injection under the simulator environment, so as to realize the high performance fault injection under the high injection precision. To improve the efficiency of fault injection testing, shorten the test development cycle. The research work in this paper is as follows: 1) the characteristics of read-write behavior at fault injection point are studied, and the redundant injection phenomenon in fault injection process is found, and a command-level fault injection model is proposed for this phenomenon. And the minimum injection principle of optimization in the design phase of fault rules; 2) based on the instruction-level fault injection model, the runtime and static de-redundancy optimization injection methods in simulator environment are studied and implemented. The method of log recording based on shared memory is designed and implemented to solve the problem of log loss when the program crashes due to fault injection. 3) the fault injection execution acceleration technology based on instruction injection and compilation technology for software fault in simulator environment is studied and implemented. 4) the above functions are systematically tested to verify the effectiveness of the work in this paper.
【學(xué)位授予單位】:浙江大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類(lèi)號(hào)】:TP311.5
本文編號(hào):2430949
[Abstract]:The increasing software and hardware system scale and system reliability requirements put forward higher requirements for software development and testing. Fault injection is an important testing method to measure the fault tolerance and anti-jamming ability of the system. The introduction of fault value or signal into the system can simulate the external disturbance and system disturbance in the real environment. The system fault-tolerant mechanism or recovery mechanism under abnormal state detection is achieved. Nowadays, the fault injection technology is becoming more and more mature, especially in the fault injection technology realized by software or simulation, there are still some problems, such as low injection precision, poor injection performance and long test period. With the help of the characteristic that the simulator is easy to control and track the program, this paper studies and optimizes the fault injection under the simulator environment, so as to realize the high performance fault injection under the high injection precision. To improve the efficiency of fault injection testing, shorten the test development cycle. The research work in this paper is as follows: 1) the characteristics of read-write behavior at fault injection point are studied, and the redundant injection phenomenon in fault injection process is found, and a command-level fault injection model is proposed for this phenomenon. And the minimum injection principle of optimization in the design phase of fault rules; 2) based on the instruction-level fault injection model, the runtime and static de-redundancy optimization injection methods in simulator environment are studied and implemented. The method of log recording based on shared memory is designed and implemented to solve the problem of log loss when the program crashes due to fault injection. 3) the fault injection execution acceleration technology based on instruction injection and compilation technology for software fault in simulator environment is studied and implemented. 4) the above functions are systematically tested to verify the effectiveness of the work in this paper.
【學(xué)位授予單位】:浙江大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類(lèi)號(hào)】:TP311.5
【參考文獻(xiàn)】
相關(guān)期刊論文 前3條
1 李華旺,劉海濤,楊根慶;航天單粒子事件故障注入系統(tǒng)研究[J];量子電子學(xué)報(bào);2002年01期
2 孫峻朝,王建瑩,楊孝宗;故障注入方法與工具的研究現(xiàn)狀[J];宇航學(xué)報(bào);2001年01期
3 王建瑩,孫峻朝,楊孝宗;容錯(cuò)計(jì)算機(jī)系統(tǒng)可靠性評(píng)估工具:HFI-2故障注入器[J];電子學(xué)報(bào);1999年11期
相關(guān)博士學(xué)位論文 前1條
1 潘慶和;軟件故障注入關(guān)鍵技術(shù)研究[D];哈爾濱工業(yè)大學(xué);2011年
相關(guān)碩士學(xué)位論文 前1條
1 趙旭林;基于DSP模擬器的外設(shè)并行與運(yùn)行監(jiān)控模型研究[D];浙江大學(xué);2015年
,本文編號(hào):2430949
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2430949.html
最近更新
教材專(zhuān)著