基于单片机词汇库与串行通信的汉字应用方法研究  

Study about Chinese Characters Application Method Based on Vocabulary of Microcontroller System and Asynchronous Serial Communication

在线阅读下载全文

作  者:戴永[1] 何建波[1] 肖芬[1] 

机构地区:[1]湘潭大学信息工程学院,湘潭411105

出  处:《计算机工程与应用》2004年第4期93-96,共4页Computer Engineering and Applications

基  金:湖南省科技厅项目(编号:(2001)228)

摘  要:针对下位机是单片机系统,上位机是PC机,下位机与上位机以异步串行通信方式交换信息,PC机界面为汉字界面的集散控制系统,讨论在单片机系统上建立汉字词汇库,形成状态点释义汉字串,组织汉字区位码串串行通信格式的方法。词汇库是由编号词组子库组成,汉字用区位码存储,状态点释义汉字串由词组编号链接而成,为释义汉字串设置专门的串行通信格式。该方法的显著特点是状态点及其释义字串的变化基本不会引起上位机的程序变化。实验结果表明,该方法有益于提高系统的通用性、二次开发性以及容错能力,拓展汉字应用范围,增强单片机系统功能。This paper introduces a kind of Distributed Control System(DCS)in which lower computer is microcontroller system,upper computer is PC,the UART(Universal Asynchronous Receiver and Transmitter)is a solution to communi-cate between upper and lower computer and character interface is the interface of PC.Based on this distributed control system,the paper presents a method,in which Chinese character vocabulary base is established,then state point inter-pretation character string is formed and the serial communication formats for character sector-bit code string is orga-nized in the microcontroller system.The vocabulary base is consisted of number phrase sub-base,the characters are stored in the way of sector-bit code and the state point interpretation character string is formed by linking the number phrase.The paper installs particular serial communication formats for interpretation character string.The remarkable char-acteristic of this method is that the change of state point and its interpretation character string don't make the program any change on PC.Experiments have proved that the method is beneficial to improve generalization,second development and tolerance capacity of disk failure.Accordingly it also can enlarge the character application range and strengthen the function of microcontroller system.

关 键 词:汉字 单片机 集散控制系统 区位码串 串行通信 

分 类 号:TP391.12[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象