摘要
异常处理对于提升嵌入式系统可靠性至关重要,而传统面向硬件的异常处理方法难以适应当前嵌入式应用的发展。通过分析嵌入式系统新的异常处理需求,提出一种结构化异常处理框架,在传统的异常处理机制基础上引入了新的功能特性,并以电信级嵌入式Linux为原型,描述了该框架的具体实现及应用。与其他主流异常处理机制的对比结果表明,异常处理框架功能完善,接口丰富,多级异常处理流程为系统解决各类异常提供多层面的支持。
Though exception handling is crucial for enhancing the reliability of embedded systems, the traditional exception handling methods for hardware are difficult to adapt the development of embedded systems. In this paper, the exception handling require- ments of embedded systems was analyzed, and a structural exception handling framework was proposed, in which some new features were introduced. Then taking the ease of CGEL, the concrete realization and applying of this exception handling framework for embed- ded system was described. Comparison results with other exception handling methods show that the exception handling framework has perfect functions and rich interface, and the principle of escalation can help embedded systems to deal with various types of anomalies from multiple aspects.
出处
《电子技术应用》
北大核心
2017年第5期60-63,66,共5页
Application of Electronic Technique
基金
国家科技重大专项(2014ZX01039-101)
国家高技术研究发展计划(863计划)(2013AA013904)
关键词
嵌入式系统
异常处理
状态机
结构化模型
embedded system
exception handling
state machine
structural model