摘要
在设计各种软硬件人机交互控制设备时,输入容错处理是必然遇到的一个问题。常规做法是用大量逻辑判断进行处理,但是这种方法代码容易出错,而且当设备控制关系需要改变时,控制程序也需要重新编写,极大影响系统的可靠性和编程效率。提出一种新的输入控制容错处理方法——"禁忌表"方法,将整个设备的输入控制关系整合在一起。按照本文方法,在设备的控制关系发生改变的时候,只需改动"禁忌表",控制程序无需改动,从而大大提高系统的开发速度。
In the design of hardware and software man-machine interaction control equipments,designers must be faced with fault-tolerant control. Conventionally,a lot of logical judgements are used to deal with the problem. Obviously,there are two problems that cannot be neglected. The first,the designers may easily make logic mistakes,and the second,if the control relationship between the systems needs to be changed,the control program should be rewritten too,which in consequence will influence the reliability and stability of the system. Therefore,the tabu-table method,a new input control fault-tolerance processing method is proposed. In this method,the possible logic errors can be avoided,and if control relationship is changed,what the designer should do is just to adjust the tabu-table,but unnecessary to change the program at all. In this way,the reliability,sta- bility of the system will be greatly improved.
出处
《现代电子技术》
2014年第2期53-55,共3页
Modern Electronics Technique
关键词
禁忌表
输入容错处理
人机交互控制
编程效率
tabu-table
input fault-tolerance processing
man-machine interaction control
programming efficiency