摘要
详细介绍了基于Activex控件和多线程的串行通信模块的设计方案,分析了串行通信中所要求的实时性、更高效率的执行时间、存储空间、较短开发周期和较高可靠性、并发性等各种因素,以面向对象的分析和设计为指导,实现了一个封装完整的、具有数据收发和协议处理功能的ActiveX控件,实现了基于多线程技术串行通信。
In this paper,a Series Communication module based on ActiveX controller and Multiple Thread is proposed.We analyze the factors such as real-time performance,higher efficiency in the execution time,storage space,shorter development cycle and higher reliability,which are demanded in the Series Communication.Moreover,with object-oriented analysis and design we implement an ActiveX controller in which both the data receiving and sending and the protocols processing are capsuled based on Windows 9x platform.A new method for Series Communication based on Multiple Thread is put forward in this paper.
出处
《电脑编程技巧与维护》
2010年第16期85-87,共3页
Computer Programming Skills & Maintenance