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

PC机与单片机串口通信模型的设计与实现
引用本文:王文中,郭楠,葛庆平.PC机与单片机串口通信模型的设计与实现[J].首都师范大学学报(自然科学版),2004(Z1).
作者姓名:王文中  郭楠  葛庆平
作者单位:首都师范大学信息工程学院 北京100037 (王文中,郭楠),首都师范大学信息工程学院 北京100037(葛庆平)
摘    要:运用面向对象方法和多线程技术 ,设计了一个在Windows平台上通过PC机串口与单片机通信、实现对单片机进行监控的通信模型 .该模型把通信过程从业务处理中分离出来 ,形成一个单独的通信层 ,做很小的修改就能够很方便的移植到不同的应用系统中 ,具有很好的扩展性 .同时 ,模型中利用多线程技术设计了一个串口监视的线程 ,能实时的监视串口状态和数据 ,因此具有很好的实时性 .该模型已经成功地应用在“加油站管理系统”等实际应用系统中 .

关 键 词:串行通信  多线程  面向对象编程

The Design and Implementation of a Serial Port Communication Modal for Monitoring SCM with PCs
Wang Wenzhong Guo Nan Ge Qingping.The Design and Implementation of a Serial Port Communication Modal for Monitoring SCM with PCs[J].Journal of Capital Normal University(Natural Science Edition),2004(Z1).
Authors:Wang Wenzhong Guo Nan Ge Qingping
Abstract:A communication model for monitoring and controlling SCM via serial port is discussed in the paper.The model is developed with OOP and multithread technology.The modal separate communication process form the transaction logic and is convenient to be reused in different applications.This feature makes the modal well extensible.A monitoring thread is include in this modal,it provides Real-Time monitoring on the serial port.This modal is successfully applied in Gas Station Management System.
Keywords:Serial port communication  multithread  object oriented programming  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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