Research and Design of Virtual Serial Port Based on USB Communication Device Class
- Author
- WeiLiMing
- Advisor
- QuanYiNing
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP336 Bus channel
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 101
- Citations
- 2
Abstract
USB interface supports plug and play which has unified standards, so it has awide range of applications. More and more computer device use USB interface totransfer data, so how to make many old deives to support USB interface withoutchanging current application is becoming the hot field.USB Communication Device Class and it’s abstract control model are studied,principles of Communication Device Class and implementation techniques of abstractdevice are also anlyzed in the thesis. On the basis of this, design and implementation ofvirtual serial port driver based on Communication Device Class are given.The overall structure and implementation scheme of virtual serial port driver basedon CDC are designed. The virtual serial port driver is made up of two parts which arecommunication command transfer module and data transmission module. Thecommunication command transfer module satisfies the specification of abstract controlmodel, and the data transfer part improves the technique of current virtual serial port.The main works in the thesis are as follows:(1) The request and transfer model for USBprotocol are studied, and the implementation techniques of virtual serial port areanlyzed.(2) The implementation scheme of virutal serial port driver that satisfy abstractcontrol mode in CDC is gaven. A new template for the development of virtual serialport based on CDC is brought out, and it describes some issues for the virtual serial portdriver in detials, at the same time, the processing steps for virtual serial port driver isimproved.(3) The improved data processing steps for virtual serial port driver isapplied in the implementation of vitual serial port driver, and a stable, high-speed virtualserial port is made. At last, the test for the virtual serial port driver on ActiveSync isgaven, and the test result show that it’s function is chieved the requirement goals.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-11
1.1 research background and significance 7 -8
1.2 research status 8-9
1.3 The main contents and structure 9-11
1.3.1 research objectives 9
1.3.2 difficulties and research work content 9-10
1.3.3 papers organizational structure 10-11
Chapter II USB communication device class research 11-23
2.1 USB requests and transfer mode 11-15
2.1.1 USB control request 11
2.1.2 USB data packet transmission and affairs 11-15
2.2 communication Device Class 15-21
2.2.1 communication Device Class 15-16
2.2.2 abstract Control Model 16-21
2.3 Summary 21-23
Chapter III Windows driver architecture 23-31
3.1 Windows driver architecture 23-26
3.1.1 hierarchy 23
3.1.2 I / O request packet 23-25 ??
3.1.3 IRP transfer strategy 25
3.1.4 dispatch function 25
3.1.5 memory allocation and management 25-26
3.2 USB protocol stack 26-30
3.2.1 USB protocol stack 26-27
3.2.2 virtual serial port driver characteristics 27-30
3.3 Summary 30-31
Chapter IV high-speed communication and data transfer command to convert design 31-39
4.1 serial and USB communication between the command to convert the design 31-34
4.1. a communication device class USB request processing 31-32
4.1.2 serial control code request processing 32-34
4.2 high-speed data transmission design 34 -37
4.2.1 general virtual serial port driver data processing 34-35
4.2.2 High-speed data transmission process design 35-37
4.3 chapter Summary achieve 37-39
Chapter communication commands and data conversion speed transmission 39-65
5.1 virtual serial port driver to load and unload modules 39-45
5.1.1 virtual serial port driver load module 39-45
5.1.2 virtual serial port driver uninstall module 45
5.2 communication command converter module to achieve 45-51
5.2.1 serial communication commands into the realization 46-50
5.2.2 user-defined commands to achieve 50-51
5.3 high-speed data transmission module implementations 51-61
5.3.1 sends data to achieve high-speed module achieve 51-56
5.3.2 -speed data receiver module 56-61
5.4 drive test 61-63
5.4.1 module Test 61-62
5.4.2 application Testing 62-63
5.5 summary 63-65
Chapter VI Conclusion 65-67
6.1 summary 65
6.2 Prospects 65-67
Thanks 67-69
References 69-71
Related dissertations
- A Study on the Principles of Communication between Secretaries and Leaders
- Cross-cultural Communication Management of Chinese Overseas Investments Projects
- Group Enterprise Management in the Communication Problems Probing
- An Empirical Study on IS Outsourcing Enterprises’ Boundary Expansion and Outsourcing Performance
- Analysis of telecom broadband service ability of NN city and promotion strategy research
- Research on Customer Satisfaction of DZMCC
- Impact of Industry-University Cooperative Organizations’Interactive Behavior on Firms’ Innovative Performance
- Research on the Impact Mechanism of International Team Performance
- Study on human resources management system of chuanrun chemicals sales team.
- Research on Efficient Team Building of a Machinery Manufacturing Co.,Ltd
- Case Study on the Communication Skills of the SD Project Land Requisition
- Sign effect brand columns
- Study on Urban Culture’s Communication on Metropolis Daily
- Strategy for Propagation of Tourism Destination Image in Picture-Sharing Networks
- A Study on the Dissemination of Tourism Information in "Mi Yilu Valley" of Yunnan Province
- To Explore the Marketing and Communication Strategies about How to Use Cartoon Image in Commercial Advertising
- Problems and Countermeasures Related to Public Opinions on Microblogs in China
- Analysis of the Celebrities’ Fling Abuses on Weibo from the Perspective of Communication
- Building construction culture communication space in Xi'an city building as an example
- A Research of Red Tourism Communication in Jiangxi from the Perspective of Political Economics