液晶与显示, 2014, 29 (5): 716, 网络出版: 2014-08-18  

通用嵌入式人机交互界面的设计与实现

Design and implementation of general embedded interactive interface
作者单位
1 长春理工大学 光电工程学院,吉林 长春 130022
2 长春理工大学 机电工程学院,吉林 长春 130022
摘要
为了实现人机交互界面的高效率开发,设计了基于实时操作系统的通用GUI设计平台,对该平台所采用的命令/数据传输算法和交互界面/主控端同步算法进行研究。使用S3C2440处理器直接驱动TFT液晶屏和四线电阻触摸屏建立硬件平台,接着移植实时系统到该平台,然后利用实时系统中的任务与交互界面中的按键关联的算法和传输数据与系统中断关联的算法,建立惟一的“命令—数据”传输通道,最后通过串口与主控端协同,实现交互界面与主控端的同步。测试结果表明,使用该平台分别设计了主控端程序和与之相配的2阶交互界面,完整地实现了界面的切换,数据/状态的显示,命令/数据的传递,与传统的界面/主控一体化设计方法相比降低了90%以上的调试时间,随着界面复杂度的增加,调试的时间可减少到传统方法的5%以下。基本满足多种场合图形用户界面设计的需要。
Abstract
To realize a high efficiency development of an interactive interface, an universal GUI platform is designed in this paper, and the command/data transferring algorithm and interactive interface/master synchrony algorithm are also researched. The hardware of the platform is designed by using a S3C2440 processor to drive the TFT liquid crystal screen and quadded resistance touching screen directly. The following step is transplanting the realtime system into this platform, and building the unique commanddata transmission channel according to the algorithms. Finally, the synchrony between the interface and the master is realized by synergism between the serial port and the master.The tests results show that this platform is used to design the master algorithm and the corresponding secondorder interactive interface, which can be used to realize the interface switch, the display of data and state and the delivery of command and data. More than 90% of the setting time is reduced compared with the traditional method. Furthermore, the setting time may be reduced below 5% as the interface becomes more and more complex.This platform satisfies the interface design in many occasions.

李鹏飞, 许金凯, 韩文波, 宋鸿飞. 通用嵌入式人机交互界面的设计与实现[J]. 液晶与显示, 2014, 29(5): 716. LI Pengfei, XU Jinkai, HAN Wenbo, SONG Hongfei. Design and implementation of general embedded interactive interface[J]. Chinese Journal of Liquid Crystals and Displays, 2014, 29(5): 716.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!