期刊文献+

一种串口通讯新模型的研究与应用 被引量:2

The Research and Application of a New Serial Communication Model
下载PDF
导出
摘要 该文借鉴I/O完成端口模型(IOCP)的核心思想,建立了一个适用于协议性串口通讯的新模型。该模型提出了一个协议性串口通讯的最小单位——"通讯元",将"通讯元"提交到事件队列线程中自动处理,简化了处理过程并提高了运行效率。同时,该文基于该模型设计出了一个协议性串口通讯模块,以封装通讯底层的细节,从而提供方便的通讯接口。将该模块应用于工业造气炉监控组态软件设计中,实际运行表明:该模型具有简单的接口和稳定、高效的运行机制。 In this paper, the core idea of I/O Completion Port Model is borrowed to build a new model, which is suitable for the serial communication based on protocol. A minimum unit called 'communication unit' is put forward in this model. The 'com- munication unit' is submitted to an event-queue-thread and is dealt automatically. It will help to simplify the process and in- crease operational efficiency. Meanwhile, in this paper, a serial communication module based on the model is designed to offer a convenient communication interface. The module is applied in the snoopware of industrial gasifier. It's proved that this model has a simple interface and efficient operation mechanism.
作者 陈耿 CHEN Geng (College of Information Science & Technology, Xiamen University, Xiamen 361005, China)
出处 《电脑知识与技术》 2013年第2期689-692,706,共5页 Computer Knowledge and Technology
关键词 IOCP 串口通讯 通讯元 IOCP serial communication communication unit
  • 相关文献

参考文献8

  • 1Richter J. Advanced Windows (3 edition) [M]. USA: Microsoft Press, 1997.
  • 2Beveridge J, Wiener R. Multithreading Applications in Win32: The Complete Guide to Threads (Addison-Wesley Microsoft Technology Series) [M]. USA: Addson-Wesley Professional, 1996.
  • 3Jones A, Ohhmd J. Network Programming for Microsoft Windows (2 edition) [M]. USA: Microsoft Press, 2002.
  • 4Jones A, Deshpande A. Windows Sockets 2.0: Write Scalable Winsock Apps Using Completion Ports [J]. MSDN Magazine, Microsoft Press, October 2000:30-35.
  • 5Asche R. Writing Windows NT Server Applications in MFC Using I/O Completion Ports [J].MSDN Magazine, Microsofl Press, September 1996:25-30.
  • 6Atanasova M, Cleeton L, Mike Flasko. Get Connected With The .Net Framework 3.5[J].MSDN Magazine, Microsoft Press, September 2007: 42-49.
  • 7Lee H, Park T. Design and Implementation of an Online 3D Game Engine [J]. Lecture Notes in Computer Science, Springer Berlin / Hei- delberg, 2004:837-842.
  • 8Kim G B. A method of generating massive virtual clients and model-based performance test [J]. Fifth International Conference on Quality Software, 2005:250-254.

同被引文献12

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部