首页 | 本学科首页   官方微博 | 高级检索  
     

基于单片机词汇库与串行通信的汉字应用方法研究
引用本文:戴永,何建波,肖芬. 基于单片机词汇库与串行通信的汉字应用方法研究[J]. 计算机工程与应用, 2004, 40(4): 93-96
作者姓名:戴永  何建波  肖芬
作者单位:湘潭大学信息工程学院,湘潭,411105;湘潭大学信息工程学院,湘潭,411105;湘潭大学信息工程学院,湘潭,411105
基金项目:湖南省科技厅项目(编号:(2001)228)
摘    要:针对下位机是单片机系统,上位机是PC机,下位机与上位机以异步串行通信方式交换信息,PC机界面为汉字界面的集散控制系统,讨论在单片机系统上建立汉字词汇库,形成状态点释义汉字串,组织汉字区位码串串行通信格式的方法。词汇库是由编号词组子库组成,汉字用区位码存储,状态点释义汉字串由词组编号链接而成,为释义汉字串设置专门的串行通信格式。该方法的显著特点是状态点及其释义字串的变化基本不会引起上位机的程序变化。实验结果表明,该方法有益于提高系统的通用性、二次开发性以及容错能力,拓展汉字应用范围,增强单片机系统功能。

关 键 词:汉字  单片机  集散控制系统  区位码串  串行通信
文章编号:1002-8331-(2004)04-0093-04

Study about Chinese Characters Application Method Based on Vocabulary of Microcontroller System and Asynchronous Serial Communication
Dai Yong He Jianbo Xiao Fen. Study about Chinese Characters Application Method Based on Vocabulary of Microcontroller System and Asynchronous Serial Communication[J]. Computer Engineering and Applications, 2004, 40(4): 93-96
Authors:Dai Yong He Jianbo Xiao Fen
Abstract: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.
Keywords:Chinese character  Microcontroller system  DCS  Sector-bit code string  Serial communication
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号