Method for positioning USB port in connection of device

A technology for locating equipment and equipment connection, which is applied in the field of computer communication and can solve the problems of unable to locate the USB port of the equipment, unable to obtain the corresponding relationship between the equipment and the port, etc.

Active Publication Date: 2011-02-02
FEITIAN TECHNOLOGIES
View PDF1 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since there is no clear identification on the USB HUB, when multiple devices of the same type are connected to one USB HUB or multiple USB H

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
  • Method for positioning USB port in connection of device
  • Method for positioning USB port in connection of device
  • Method for positioning USB port in connection of device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] The embodiment of the present invention provides a method for locating the USB port connected to the device. Specifically, in this embodiment, an HID device is taken as an example for illustration. The HID device is connected to the host computer through a USB HUB, and the host computer and There can be one or more USB HUBs between HID devices.

[0020] see figure 1 , a method for locating the USB port to which the HID device is connected, the specific implementation steps are as follows:

[0021] Step 101: the host computer reads the HID path of the HID device connected to itself;

[0022] Wherein, there may be one or more HID devices connected to the host computer. When there are multiple HID devices, the host computer reads the HID paths of all HID devices. Specifically, in this embodiment, one HID device is taken as an example Be explained;

[0023] Further, the HID path can be read from the parameters passed in the WM_DEVICECHANGE message, or the connected HID d...

Embodiment 2

[0118] The embodiment of the present invention provides a method for locating the USB port connected to the device. Specifically, in this embodiment, a CCID device is taken as an example for illustration. The CCID device is connected to the host computer through a USB HUB, and the host computer and the There can be one or more USB HUBs between CCID devices.

[0119] see figure 2 , a method for locating a USB port connected to a CCID device, the specific implementation steps are as follows:

[0120] Step 201: the host computer reads the USB path of the CCID device connected to itself;

[0121] Wherein, there may be one or more CCID devices connected to the host computer. When there are multiple CCID devices, the host computer reads the USB paths of all CCID devices. Specifically, in this embodiment, a CCID device is taken as an example Be explained;

[0122] Further, the USB path of the CCID device can be read from the parameter passed in the WM_DEVICECHANGE message, or the...

Embodiment 3

[0184] The embodiment of the present invention provides a method for locating the USB port connected to the device. Specifically, in this embodiment, the SCSI device is taken as an example for illustration. The SCSI device is connected to the host computer through a USB HUB, wherein the host computer and There can be one or more USB HUBs between SCSI devices.

[0185] see image 3 , a method for locating a USB port connected to a SCSI device, the specific implementation steps are as follows:

[0186] Step 301: the host computer reads the SCSI path of the SCSI device connected to itself;

[0187] Wherein, there may be one or more SCSI devices connected to the host computer. When there are multiple SCSI devices, the host computer reads the SCSI paths of all SCSI devices. Specifically, in this embodiment, one SCSI device is used as an example Be explained;

[0188] Further, the SCSI path of the SCSI device can be read from the parameters passed in the WM_DEVICECHANGE message, ...

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 discloses a method for positioning a USB port in connection of a device, relates to the field of computer communication and can solve the problem that an upper computer can not position the USB port in connection of the ordinary USB device. The method comprises the following steps: using the upper computer to read a path of a first device connected on the upper computer, obtaining device connection information on the current port of a current USB HUB, judging the current port according to the device connection information, obtaining the path of the ordinary USB device under a driving program when the ordinary USB device is connected on the current port, looking up first information under the paths of a registration form of the ordinary USB device according to manufacturer identifier information and device identifier information in the device connection information, using the upper computer to associate the path of the first device with the current port and positioning the USB port in connection of the first device, wherein when the path of the first device contains the first information, the situation represents that the first device and the ordinary USB device are the same device.

Description

technical field [0001] The invention relates to the field of computer communication, in particular to a method for locating a USB port connected to a device. Background technique [0002] USB HUB is a device that can expand a USB interface into multiple USB interfaces that work independently, and enable these USB interfaces to be used at the same time. It is a special USB device. And the USB HUB is directly connected to the computer without external power supply, easy to use, the computer automatically recognizes and installs, no driver is required, plug and play. [0003] At present, with the popularization of computers, the peripheral products of computers including USB HUB have developed rapidly. USB HUB has been widely welcomed by consumers for its convenient use and good reliability. [0004] However, since there is no clear identification on the USB HUB, when multiple devices of the same type are connected to one USB HUB or multiple USB HUBs, the host computer cannot...

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
IPC IPC(8): G06F13/42
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products