Method and apparatus for opening appoint terminal port USB equipment

A technology for specifying ports and devices, which is applied in the application field of USB devices, and can solve problems such as the inability to realize the binding between USB ports and USB devices, and data writing confusion, so as to avoid data writing confusion and achieve the effect of safe access

Inactive Publication Date: 2008-10-08
BEIJING WATCH DATA SYST
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the binding of the USB port and the USB device cannot be realized in the prior art, it is likely that in the next process, the USB device is not inserted into the interface it was inserted in the previous process, resulting in confusion in data writing

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 and apparatus for opening appoint terminal port USB equipment
  • Method and apparatus for opening appoint terminal port USB equipment
  • Method and apparatus for opening appoint terminal port USB equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The invention provides a method for opening a designated port USB device, which can perform read and write operations on the designated port USB device, thereby avoiding the problem of easy data writing confusion when accessing the USB device.

[0050] A detailed description will be made below in conjunction with the accompanying drawings and specific embodiments.

[0051] Such as figure 2 As shown, the method for opening a USB device at a specified port includes the following steps:

[0052] Step 201, acquire the port number of the USB port inserted into the USB device and the device information of the USB device.

[0053]When a USB device is plugged into a USB port, the USB real-time scanner starts. The host opens the USB host controller through the USB bus driver, enumerates the host controller and the hub in turn, and then enumerates the USB devices.

[0054] When enumerating a USB device, the host first automatically sends out a query request. The USB device r...

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 and an apparatus for opening a USB device corresponding to an appointed port, solves the problem of unfixed port number in the prior art, belonging to the technical field of USB device. The method for opening a USB device corresponding to an appointed port comprises: obtaining the port number of a USB device inserted into a USB port; judging whether a GUID-based device name corresponding to the port number in a configuration file is empty or not; and opening the inserted USB device according to the configuration information corresponding to the port number in the configuration file if the device name is not empty. The apparatus for a USB device corresponding to an appointed port includes a USB port unit, a scanning unit, a judging unit and an opening unit. According to the method and the apparatus for opening a USB device corresponding to an appointed port, a USB port and a USB device can be bound, the USB device corresponding to a USB port can be read and written, thus realizing the security access of the USB device corresponding the specific port.

Description

technical field [0001] The invention relates to the application field of USB equipment, in particular to a method and a device for opening a USB equipment with a designated USB port. Background technique [0002] Existing access to Universal Serial Bus (Universal Serial Bus, USB) devices is implemented through a USB driver system with a Windows Driver Mode (Windows Driver Mode, WDM) structure. WDM adopts a layered model, and can complete a large number of routine tasks by writing a small amount of special code and calling appropriate class drivers. [0003] The USB driving system of the WDM structure includes a software part and a hardware part. Such as figure 1 As shown, the software part includes application program, I / O manager, USB device driver and USB bus driver, and the application program is connected with USB device driver and USB bus driver through the I / O manager; the hardware part includes USB host controller and USB device. [0004] The application program c...

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): G06F9/445
Inventor 郭焕海
Owner BEIJING WATCH DATA SYST
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