Device and method for operating USB interface device

A USB interface and device technology, applied in the field of computer peripherals, can solve problems such as low production efficiency, inability to detect whether there is a USB device in an expansion port, whether the USB device is normal, and users unable to know the failure of the USB device, etc., to achieve the effect of improving production efficiency.

Active Publication Date: 2006-10-25
FEITIAN TECHNOLOGIES
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. The upper-layer application software cannot selectively control the designated downstream USB expansion port
[0007] 2. It is impossible to detect whether there is a USB device on the expansion port and whether the USB device is normal, and the user cannot know which USB device is faulty
[0008] 3. The number of USB devices connected to the expansion port will affect the USB bus bandwidth
[0009] 4. Low production efficiency

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
  • Device and method for operating USB interface device
  • Device and method for operating USB interface device
  • Device and method for operating USB interface device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] Such as figure 1 As shown, the device provided by the present invention includes a host 12 containing an upper-level user software unit, a USB HUB module 13 (including a USB HUB chip AU9254A21), a control module 14 (that is, a control module, the unit includes a microcontroller Motorola 68HC908JB8) , Switch module 15 and expansion port module 16. A direct data connection method is used between these modules. The specific connection relationship is that the host 12 is connected to the control module 14 and the switch module 15 through the two USB ports of the host's USB HUB module 13, and the control module 14 and the switch module 15 are connected. The switch module 15 and the expansion port module 16 are connected.

[0063] The upper user software unit is composed of API functions and corresponding interface commands and user software. The user can operate the expansion port module 16 through API functions and corresponding interface commands.

[0064] The USB HUB module ...

Embodiment 2

[0070] Such as figure 2 As shown, the device of the present invention includes a host 12 containing an upper-level user software unit, a control module 14 (the control module includes a microcontroller Motorola68HC908JB8), a switch module 15 (the switch module includes an address selection chip 74HC138, a switch circuit, and a two-way high-speed analog switch Chip MAX4638) and 15 expansion port modules are expansion port modules. The direct data connection method is used between these modules. The specific connection relationship is that the host 12 connects the control module 14 and the switch module 15 through the host's USB interface, the control module 14 is connected to the switch module 15, and the switch module 15 and the expansion port module 16 connection.

[0071] The upper user software unit is composed of API functions and corresponding interface commands and user software. The user can operate the expansion port module 16 through API functions and corresponding inter...

Embodiment 3

[0076] The operator is testing the USB flash drive connected to the first expansion port, such as image 3 The method 1 adopted in this embodiment shown includes the following steps:

[0077] Step 101: The operator issues a command to the host to detect the U disk connected to the first expansion port, and the upper-layer application software of the host sends a command to open the first expansion port to the control module through the API function and the corresponding protocol.

[0078] Step 102: The control module receives the command sent by the host, and parses the command according to the corresponding protocol.

[0079] Step 103: The control module determines that the address of the first expansion port to be controlled by the upper-layer application software is 001 according to the data obtained by parsing the command.

[0080] Step 104: The control module controls the switch module and only opens the path for connecting the 001 expansion port to the host or USB HUB to ens...

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

In the present invented device and method, user can transmit command for opening appointed expansion port through main unit according to requirement, and through resolving command to obtain expansion port address, opening passage-way between said expansion port and main unit having said address, finally to proceed operation to said port connected USB equipment, through reporting to notify main unit USB equipment status, then user capable of to appoint operation USB equipment, to raise efficiency and ensure only one USB equipment connected with main unit in time.

Description

Technical field [0001] The invention relates to a device and method for operating computer peripherals, in particular to a device and method for operating USB interface equipment, and belongs to the field of computer peripherals. Background technique [0002] Due to the popularity of USB interfaces in recent years, there are more and more devices based on USB interfaces on the market. Many manufacturers are developing USB products. These USB products need to be tested multiple times from R&D to product launch, and some products require special operations before being sold (for example, the U disk needs to be formatted at the bottom of the factory). When testing or operating a device with a USB interface, the host first needs to determine the status of the device with the USB interface. The USB interface is composed of four wires, the power line (VCC), the signal line (D+), and the signal line (D- ), the ground wire (GND). The connection between the USB device and the host is real...

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 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