计算机工程与设计
計算機工程與設計
계산궤공정여설계
COMPUTER ENGINEERING AND DESIGN
2014年
12期
4176-4180
,共5页
VxWorks应用%异常处理%上下文%有限状态自动机%函数调用链%异常日志%规则库
VxWorks應用%異常處理%上下文%有限狀態自動機%函數調用鏈%異常日誌%規則庫
VxWorks응용%이상처리%상하문%유한상태자동궤%함수조용련%이상일지%규칙고
VxWorks applications%exception handling%context%finite state machine (FSM )%function call chain%exception log%configuration
针对异常发生时无法及时有效利用异常发生的上下文信息的问题,在堆栈回溯获得上下文信息的基础上,提出一种能够记录异常信息便于线下分析,同时能够基于预设规则库支持线上对系统应用进行重构的异常处理方法。对PowerPC构架下的堆栈结构进行研究并设计基于堆栈回溯的函数溯源算法;对系统工作状态进行分析抽象,采用有限状态机建立系统异常处理时的状态迁移模型,阐述异常处理的设计实现过程。实验结果表明,该方法能够有效实现对异常的线上线下处理,提升了改进系统应用缺陷的效率,增强了系统应用的容错性和健壮性。
針對異常髮生時無法及時有效利用異常髮生的上下文信息的問題,在堆棧迴溯穫得上下文信息的基礎上,提齣一種能夠記錄異常信息便于線下分析,同時能夠基于預設規則庫支持線上對繫統應用進行重構的異常處理方法。對PowerPC構架下的堆棧結構進行研究併設計基于堆棧迴溯的函數溯源算法;對繫統工作狀態進行分析抽象,採用有限狀態機建立繫統異常處理時的狀態遷移模型,闡述異常處理的設計實現過程。實驗結果錶明,該方法能夠有效實現對異常的線上線下處理,提升瞭改進繫統應用缺陷的效率,增彊瞭繫統應用的容錯性和健壯性。
침대이상발생시무법급시유효이용이상발생적상하문신식적문제,재퇴잔회소획득상하문신식적기출상,제출일충능구기록이상신식편우선하분석,동시능구기우예설규칙고지지선상대계통응용진행중구적이상처리방법。대PowerPC구가하적퇴잔결구진행연구병설계기우퇴잔회소적함수소원산법;대계통공작상태진행분석추상,채용유한상태궤건립계통이상처리시적상태천이모형,천술이상처리적설계실현과정。실험결과표명,해방법능구유효실현대이상적선상선하처리,제승료개진계통응용결함적효솔,증강료계통응용적용착성화건장성。
To timely and effectively use the exception context ,an exception handling measurement based on the stack traced in‐formation was proposed .When the exception occurred ,the exception information in favor to resolve the defects of the application was logged after the experiment ,and the event was dealt with according to the configuration of the system .After the stack structure of the PowerPC architecture was studied ,a stack trace algorithm was designed .Based on the abstraction of system working state ,the FSM was adopted to model the system working transition of exception handling .On the basis of these opera‐tions ,an implementation of exception handling was introduced .The experimental results show that this measurement can handle the exception event effectively when it occurs or when the device not runs after it occurs .And the measurement improves the fault tolerance and robustness of the system ,as well as the efficiency of improving application defects .