Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Detection method for USB to virtual serial port/MODEM

A detection method and virtual serial port technology, which is applied to instruments, electrical digital data processing, etc., can solve the problem that Windows applications cannot judge the corresponding relationship between virtual serial port/MODEM and USB devices, and achieve the effect of simplifying the difficulty of development

Inactive Publication Date: 2012-07-11
RDA CHONGQING MICROELECTRONICS TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem solved by the present invention is that when a plurality of identical USB devices run on the same computer at the same time, the Windows application program cannot judge the corresponding relationship between the virtual serial port / MODEM and the USB device, and a USB-to-virtual serial port / MODEM is proposed Detection method, to cooperate with the application program to detect USB devices conveniently, quickly and accurately

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Detection method for USB to virtual serial port/MODEM
  • Detection method for USB to virtual serial port/MODEM
  • Detection method for USB to virtual serial port/MODEM

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Each USB interface driver of the present invention can support multiple USB devices (the specific method can be to create a dispatch message processing thread for each USB device) and can distinguish each USB device currently running (the specific method can be that the USB interface driver is Set a unique serial number for each running USB device), when multiple identical USB devices are connected at the same time and the driver is loaded, each USB interface driver of each USB device will register the device information under the corresponding USB interface service registration path ,Such as image 3 shown. When multiple identical USB devices are connected and the drivers are loaded at the same time, if some or all of the USB devices are pulled out, the device registration information corresponding to the pulled out USB devices will be deleted immediately.

[0022] The name of the interface driver source file (.sys file) corresponding to each USB interface in the comp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a detection method for universal serial bus (USB) to virtual serial port / MODEM. The method comprises the following steps that: when a Windows application program starts, the Windows application program detects whether a registration table contains USB interface drive service registration paths corresponding to each USB interface of a USB device, if so, the Windows application program reads the device registration information under each USB interface drive service registration path; the generation mode of the USB interface drive service registration path is as follows: when the USB device is connected to a computer, the computer loads the USB interface drive for each USB interface of the USB device, and an operating system generates the USB interface drive service registration paths for different USB interfaces in the registration table; and the generation mode of the device registration information is as follows: the USB interface drive registers corresponding device information under its own USB interface drive service registration path; in this way, the application program can determine the corresponding relation between the virtual serial port / MODEM and the USB device.

Description

technical field [0001] The invention relates to the field of data information processing, in particular to providing a method for conveniently, accurately and quickly detecting USB devices by Windows application programs during data communication through USB (Universal Serial Bus) to virtual serial port / MODEM. Background technique [0002] The rapid development of USB technology and the characteristics of USB hot plug and expandability make USB interface gradually replace other traditional communication interfaces. USB to virtual serial port / MODEM is to convert serial port / MODEM and The organic combination of USB makes it possible for a USB device to virtualize one or more serial ports / MODEMs on the computer, and Windows applications can operate the USB devices in the same way as accessing real serial ports / MODEMs. When multiple USB devices are connected to the same computer at the same time, multiple USB-to-virtual serial port / MODEM devices will appear on the computer, such...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/40
Inventor 张邦涛
Owner RDA CHONGQING MICROELECTRONICS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products