摘要
描述了嵌入式系统串行通信接收处理的可靠设计方法。方法借用ISO模型的分层概念。通过定义广义帧格式建立了一种模块化编程架构,并依此提出了三种循环截断方法和新的环形缓冲参数构建方式,增强了环行缓冲的闭环可靠性,采用了定时及逻辑监控的办法抑制了通信过程中出现的意外故障,增强了容错特性。构建的软件具有更好的适应性,移植、维护及测试简单。
A reliability design method for embedded system serial communication receiving processing is described. The layer concept of ISO model is introduced. A modularization programming architecture is built by defining generalized frame format. Based on this, three cycle truncation methods and a new ring buffer parameters building mode are proposed to enhance the closed-loop reliability of the ring buffer. The unexpected failure occurred in communication is suppressed and the fault-tolerant features are enhanced using timing and logic monitoring method. The software has better adaptability, transplantation and easy to be maintained and tested.
出处
《光电技术应用》
2014年第3期38-43,55,共7页
Electro-Optic Technology Application