嵌入式軟件狀態(tài)監(jiān)測(cè)與自恢復(fù)技術(shù)研究
本文選題:嵌入式軟件 切入點(diǎn):VxWorks 出處:《哈爾濱工程大學(xué)》2013年碩士論文
【摘要】:隨著計(jì)算機(jī)技術(shù)與微電子技術(shù)的高速發(fā)展,人們對(duì)嵌入式系統(tǒng)的應(yīng)用已經(jīng)普及到社會(huì)的各個(gè)角落。伴隨著嵌入式軟件復(fù)雜性的不斷提高,嵌入式系統(tǒng)自身的隱患也越來越多,嵌入式軟件在運(yùn)行的過程中一旦出現(xiàn)系統(tǒng)故障或軟件失效,將很難完成使命,甚至有可能對(duì)用戶造成巨大的財(cái)產(chǎn)損失。因此,對(duì)嵌入式軟件可靠性的研究,已經(jīng)成為當(dāng)下的熱門研究方向。本文以VxWorks下的嵌入式軟件為研究對(duì)象,對(duì)嵌入式軟件狀態(tài)監(jiān)測(cè)與自恢復(fù)技術(shù)進(jìn)行研究。論文的主要工作如下: 首先,闡述了嵌入式軟件狀態(tài)監(jiān)測(cè)與自恢復(fù)技術(shù)的國(guó)內(nèi)外研究現(xiàn)狀,,簡(jiǎn)要的介紹了本課題的研究背景及意義,給出了論文的主要研究?jī)?nèi)容;主要介紹了嵌入式軟件自恢復(fù)相關(guān)技術(shù),包括介紹了嵌入式軟件自恢復(fù)的必要性和研究過程中存在的主要問題;分別講述了兩種常用的嵌入式軟件自恢復(fù)策略以及各自的優(yōu)缺點(diǎn);詳細(xì)介紹了軟件自恢復(fù)策略中最常用的修復(fù)技術(shù)——微重啟技術(shù)。 其次,分別從嵌入式系統(tǒng)性能和嵌入式軟件行為兩個(gè)方面對(duì)嵌入式的軟件狀態(tài)監(jiān)測(cè)方法進(jìn)行了研究。在系統(tǒng)性能監(jiān)測(cè)方法研究方面,分別對(duì)系統(tǒng)內(nèi)存可用量、任務(wù)自身的運(yùn)行狀態(tài)、CPU和任務(wù)堆棧的占用情況四個(gè)指標(biāo)的監(jiān)測(cè)方法進(jìn)行了深入研究;同時(shí)提出了一種嵌入式軟件衰老趨勢(shì)分析的方法;并利用最小二乘法進(jìn)行曲線擬合,采用了一種基于閾值的嵌入式軟件失效時(shí)間估計(jì)方法。在軟件行為監(jiān)測(cè)方法研究方面,運(yùn)用了一種構(gòu)建軟件行為樹的方法來進(jìn)行軟件行為監(jiān)測(cè),并介紹了軟件行為樹中節(jié)點(diǎn)的分類、構(gòu)建軟件行為樹的方法和軟件行為樹中行為的匹配規(guī)則。 再次,結(jié)合VxWorks操作系統(tǒng)自身的特點(diǎn),提出了一種適合嵌入式軟件的嵌套式自恢復(fù)策略;分別介紹了基于系統(tǒng)性能監(jiān)測(cè)的嵌入式軟件自恢復(fù)策略和基于軟件行為監(jiān)測(cè)的嵌入式軟件自恢復(fù)策略的詳細(xì)流程。在第三章嵌入式軟件狀態(tài)監(jiān)測(cè)結(jié)果的基礎(chǔ)上,用所選擇的監(jiān)測(cè)指標(biāo)構(gòu)建狀態(tài)空間;根據(jù)所選擇指標(biāo)的異常狀態(tài)所對(duì)應(yīng)的修復(fù)行為,構(gòu)建動(dòng)作空間,給出了修復(fù)動(dòng)作評(píng)價(jià)模型;采用SARSA(λ)算法進(jìn)行自恢復(fù)決策規(guī)則強(qiáng)化學(xué)習(xí),在此基礎(chǔ)上采用了一種基于規(guī)則的嵌入式軟件自恢復(fù)決策方法。 最后,對(duì)前面提出的嵌入式軟件狀態(tài)監(jiān)測(cè)方法和嵌入式軟件自恢復(fù)策略進(jìn)行實(shí)驗(yàn)驗(yàn)證,證實(shí)了方法的有效性和可行性;最后通過比較,證明了本文采用的嵌套式自恢復(fù)策略的優(yōu)越性。
[Abstract]:With the rapid development of computer technology and microelectronics technology, the application of embedded system has been popularized to every corner of the society.With the increasing complexity of embedded software, there are more and more hidden dangers of embedded system itself. Once there is a system failure or software failure in the running process of embedded software, it will be very difficult to complete the mission.It is even possible to cause huge property losses to users.Therefore, the research of embedded software reliability has become a hot research direction.In this paper, the state monitoring and self-recovery technology of embedded software based on VxWorks is studied.The main work of the thesis is as follows:First of all, the status quo of embedded software state monitoring and self-recovery technology at home and abroad is described, the research background and significance of this topic are briefly introduced, and the main research content of this paper is given.This paper mainly introduces the related technologies of embedded software self-recovery, including the necessity of embedded software self-recovery and the main problems in the research process.In this paper, two commonly used self-recovery strategies of embedded software and their respective advantages and disadvantages are described respectively, and the most commonly used repair technology of software self-recovery strategy, micro-restart technology, is introduced in detail.Secondly, the embedded software state monitoring method is studied from two aspects: embedded system performance and embedded software behavior.In the aspect of system performance monitoring methods, the monitoring methods of the system memory consumption, the running status of the task itself, the CPU and the occupation of the task stack are studied.At the same time, an embedded software aging trend analysis method is proposed, and the least square method is used for curve fitting, and an embedded software failure time estimation method based on threshold is proposed.In the research of software behavior monitoring method, a method of constructing software behavior tree is used to monitor software behavior, and the classification of nodes in software behavior tree is introduced.The method of constructing software behavior tree and the matching rules of behavior in software behavior tree.Thirdly, according to the characteristics of VxWorks operating system, a nested self-recovery strategy for embedded software is proposed.The detailed flow chart of embedded software self-recovery strategy based on system performance monitoring and embedded software self-recovery strategy based on software behavior monitoring is introduced respectively.Based on the results of embedded software state monitoring in the third chapter, the state space is constructed with the selected monitoring index, and the action space is constructed according to the repair behavior corresponding to the abnormal state of the selected index, and the evaluation model of the repair action is given.SARSAA (位) algorithm is used for reinforcement learning of self-recovery decision rules, and a rule-based self-recovery decision method for embedded software is proposed.Finally, the experimental verification of the state monitoring method and the self-recovery strategy of embedded software is carried out, which proves the effectiveness and feasibility of the method.The superiority of the nested self-recovery strategy is proved.
【學(xué)位授予單位】:哈爾濱工程大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前9條
1 游靜;徐建;李千目;劉鳳玉;;計(jì)算系統(tǒng)多級(jí)抗衰技術(shù)研究[J];中國(guó)工程科學(xué);2007年02期
2 武延華;薛小平;王小平;;苛求軟件可靠性方法、技術(shù)與模型研究[J];城市軌道交通研究;2012年02期
3 陳煥文,謝麗娟,謝建平;一類值函數(shù)激勵(lì)學(xué)習(xí)的遺忘算法[J];計(jì)算機(jī)研究與發(fā)展;2001年04期
4 黃慧敏;劉秋讓;張凱龍;;嵌入式多任務(wù)軟件混合自容錯(cuò)機(jī)制[J];計(jì)算機(jī)工程;2011年18期
5 游靜,徐建,趙學(xué)龍,劉鳳玉;基于時(shí)間的軟件恢復(fù)策略的建模與分析[J];計(jì)算機(jī)應(yīng)用研究;2005年11期
6 黃焱藝;于陽(yáng);彭鑫;趙文耘;;一種面向方面的軟件容錯(cuò)能力增強(qiáng)工具[J];計(jì)算機(jī)應(yīng)用與軟件;2012年02期
7 鐘靜;徐建;衷宜;李學(xué)逢;;基于時(shí)間和負(fù)載的虛擬化系統(tǒng)自愈分析模型研究[J];計(jì)算機(jī)應(yīng)用與軟件;2012年10期
8 張強(qiáng);李鷗;;VxWorks下周期任務(wù)調(diào)度和任務(wù)周期選擇[J];微計(jì)算機(jī)信息;2006年02期
9 范新媛,徐國(guó)治,應(yīng)忍冬;基于檢查點(diǎn)和Rejuvenation的軟件可靠性建模分析[J];系統(tǒng)仿真學(xué)報(bào);2003年11期
本文編號(hào):1708477
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1708477.html