摘要
串口通信是目前较常见的一种通信方式,为了实现串口设备的网络通信功能,该文介绍了UMDF驱动模式、TCP/IP工作模式、虚拟串口通信及Socket通信等相关技术,详细介绍了创建虚拟串口驱动和串口与网口通信的三种工作模式的工作原理及设计过程,最后通过测试实现了虚拟串口通信。由于是通过程序设计实现,不需要对设备进行改装或是添加新设备,极大地简化了工作和降低了硬件成本。
The Serial is a common communication mode.In order to access and communicate with the net easily and quickly through the serial,this paper introduces the technology of the UMDF driver mode,the TCP/IP working mode,the serial communication programming and the Socket communication programming etc.It also introduces the method of creating serial driver,along with the working principle and designing process of the three working mode,which base on serial port to net port communication.In the end,it gives the test to the serial communication.Because of the realization with programming,it doesn’t need refitting the equipment or adding new equipment,so it greatly simplifies the work and reduces the cost of hardware.
出处
《电脑知识与技术(过刊)》
2013年第5X期3245-3252,共8页
Computer Knowledge and Technology