现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
2期
53-55
,共3页
刘忠义%张华睿%邓雷%刘平
劉忠義%張華睿%鄧雷%劉平
류충의%장화예%산뢰%류평
禁忌表%输入容错处理%人机交互控制%编程效率
禁忌錶%輸入容錯處理%人機交互控製%編程效率
금기표%수입용착처리%인궤교호공제%편정효솔
tabu-table%input fault-tolerance processing%man-machine interaction control%programming efficiency
在设计各种软硬件人机交互控制设备时,输入容错处理是必然遇到的一个问题。常规做法是用大量逻辑判断进行处理,但是这种方法代码容易出错,而且当设备控制关系需要改变时,控制程序也需要重新编写,极大影响系统的可靠性和编程效率。提出一种新的输入控制容错处理方法--“禁忌表”方法,将整个设备的输入控制关系整合在一起。按照本文方法,在设备的控制关系发生改变的时候,只需改动“禁忌表”,控制程序无需改动,从而大大提高系统的开发速度。
在設計各種軟硬件人機交互控製設備時,輸入容錯處理是必然遇到的一箇問題。常規做法是用大量邏輯判斷進行處理,但是這種方法代碼容易齣錯,而且噹設備控製關繫需要改變時,控製程序也需要重新編寫,極大影響繫統的可靠性和編程效率。提齣一種新的輸入控製容錯處理方法--“禁忌錶”方法,將整箇設備的輸入控製關繫整閤在一起。按照本文方法,在設備的控製關繫髮生改變的時候,隻需改動“禁忌錶”,控製程序無需改動,從而大大提高繫統的開髮速度。
재설계각충연경건인궤교호공제설비시,수입용착처리시필연우도적일개문제。상규주법시용대량라집판단진행처리,단시저충방법대마용역출착,이차당설비공제관계수요개변시,공제정서야수요중신편사,겁대영향계통적가고성화편정효솔。제출일충신적수입공제용착처리방법--“금기표”방법,장정개설비적수입공제관계정합재일기。안조본문방법,재설비적공제관계발생개변적시후,지수개동“금기표”,공제정서무수개동,종이대대제고계통적개발속도。
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.