基于USB通信设备类的虚拟串口研究与设计
发布时间:2018-12-06 07:55
【摘要】:USB接口由于支持热插拔和标准统一等特点得到了广泛应用,越来越多的电脑设备开始采用USB接口进行数据的传输,而如何在不改变现有应用软件的情况下,将设备移植到USB接口成为人们研究的热门。 论文以USB通信设备类中的抽象控制模型为基础,,研究了通信设备类及实现虚拟设备的原理,设计并实现了基于通信设备类的虚拟串口驱动程序。 论文研究设计了基于通信设备类的虚拟串口驱动程序的结构和实现方案,程序主要由通信命令转换和数据传输两部分构成,通信命令转换符合通信设备类中抽象控制模型的规范,数据传输部分对现有虚拟串口的实现技术进行了改进。论文的主要工作如下:(1)研究了USB协议的请求和传输模式,分析了通信设备类实现虚拟设备的方案。(2)给出了一种符合通信设备类中抽象控制模型的虚拟串口实现方案。该方案提供了一种基于通信设备类开发虚拟设备的模板,对设计中的诸多问题进行了详细的说明,并改进了虚拟串口驱动程序中数据的处理流程。(3)将改进后的数据处理流程应用于虚拟串口的实现中,生成了一种基于通信设备类的稳定、高速的虚拟串口。最后,在ActiveSync软件下对虚拟串口驱动程序进行了测试,达到了预期目标。
[Abstract]:USB interface has been widely used because of its support for hot-plug and unified standards. More and more computer devices begin to use USB interface for data transmission. However, how to transfer data without changing the existing application software, Porting devices to USB interfaces has become a hot topic. Based on the abstract control model of USB communication device class, this paper studies the principle of communication device class and the realization of virtual device, and designs and implements the virtual serial port driver based on communication device class. The structure and implementation scheme of the virtual serial port driver based on the communication device class are studied and designed in this paper. The program consists of two parts: communication command conversion and data transmission. The communication command conversion accords with the standard of abstract control model in the class of communication equipment. In the part of data transmission, the implementation technology of the existing virtual serial port is improved. The main work of this thesis is as follows: (1) the request and transmission mode of USB protocol is studied. This paper analyzes the implementation scheme of the communication device class. (2) A virtual serial port implementation scheme in accordance with the abstract control model in the communication device class is presented. This scheme provides a template for developing virtual devices based on the communication device class, and gives a detailed description of many problems in the design. The data processing flow in the virtual serial driver is improved. (3) the improved data processing process is applied to the implementation of the virtual serial port, and a stable and high-speed virtual serial port based on the communication device class is generated. Finally, the virtual serial port driver is tested under ActiveSync software, and the expected goal is achieved.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP336
[Abstract]:USB interface has been widely used because of its support for hot-plug and unified standards. More and more computer devices begin to use USB interface for data transmission. However, how to transfer data without changing the existing application software, Porting devices to USB interfaces has become a hot topic. Based on the abstract control model of USB communication device class, this paper studies the principle of communication device class and the realization of virtual device, and designs and implements the virtual serial port driver based on communication device class. The structure and implementation scheme of the virtual serial port driver based on the communication device class are studied and designed in this paper. The program consists of two parts: communication command conversion and data transmission. The communication command conversion accords with the standard of abstract control model in the class of communication equipment. In the part of data transmission, the implementation technology of the existing virtual serial port is improved. The main work of this thesis is as follows: (1) the request and transmission mode of USB protocol is studied. This paper analyzes the implementation scheme of the communication device class. (2) A virtual serial port implementation scheme in accordance with the abstract control model in the communication device class is presented. This scheme provides a template for developing virtual devices based on the communication device class, and gives a detailed description of many problems in the design. The data processing flow in the virtual serial driver is improved. (3) the improved data processing process is applied to the implementation of the virtual serial port, and a stable and high-speed virtual serial port based on the communication device class is generated. Finally, the virtual serial port driver is tested under ActiveSync software, and the expected goal is achieved.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP336
【共引文献】
相关期刊论文 前10条
1 王明艳;张海峰;;基于JPEG2000标准的视频监控系统的设计[J];安防科技;2008年01期
2 刘品;杨润生;李智勇;;蓝牙技术与UWB技术融合在装备检测中应用[J];四川兵工学报;2009年05期
3 薛孟谦;欧阳斌林;果莉;王璐;;PS/2协议单片机实时模拟的实现[J];东北农业大学学报;2008年03期
4 高国旺;党瑞荣;刘蔚;;利用DSP技术实现测量仪器扩展USB接口[J];电测与仪表;2008年07期
5 郑丽娜;翟林培;李清军;;在ARINC429航空总线设备中实现USB功能[J];电光与控制;2008年04期
6 曹军波;;一种智能定时开关系统的实现[J];日用电器;2008年10期
7 宋文涛;吴国忠;董新伟;;基于电力电子结构块和USB技术的三相电压源逆变器设计[J];电源技术应用;2006年08期
8 常明志;;基于VxWorks操作系统的HID类USB驱动程序分析与实现[J];电脑开发与应用;2010年08期
9 安洁;黄向东;王振华;;CY7C68001与ARM7的接口设计[J];电脑知识与技术;2009年12期
10 汪伟;王昊;张伟伟;;基于SEP5010嵌入式系统中USB功能的实现[J];电脑知识与技术;2009年19期
相关会议论文 前3条
1 张科;;蓝牙技术及其在军事通信中的应用[A];四川省通信学会2009年学术年会论文集[C];2009年
2 肖t
本文编号:2365703
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2365703.html