CN101794267A - USB (Universal Serial Bus) switching device and realizing method thereof - Google Patents
USB (Universal Serial Bus) switching device and realizing method thereof Download PDFInfo
- Publication number
- CN101794267A CN101794267A CN 201010123412 CN201010123412A CN101794267A CN 101794267 A CN101794267 A CN 101794267A CN 201010123412 CN201010123412 CN 201010123412 CN 201010123412 A CN201010123412 A CN 201010123412A CN 101794267 A CN101794267 A CN 101794267A
- Authority
- CN
- China
- Prior art keywords
- usb
- port
- module
- switching device
- usb device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000004891 communication Methods 0.000 claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 3
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention discloses a USB (Universal Serial Bus) switching device and a realizing method thereof. The USB switching device comprises a micro-control unit, a serial interface module, a USB port switching module and a USB communication port module, wherein the serial interface module is electrically connected with the micro-control unit and is used for communicating with a computer and receiving and transmitting a control command of the computer; the USB port switching module is electrically connected with the micro-control unit and is used for selecting and controlling a USB to be communicated with the computer; and the USB communication port module is connected with the USB port switching module and is used for connecting the computer and a USB port of the USB. The USB switching device and the realizing method can realize bulk processing of the USB, accurately switch and control the USB, widen the application field of the USB, simplify operational procedures, and largely enhance the efficiency.
Description
Technical field
The present invention relates to USB device and connect control technology, and be particularly related to a kind of USB device switching device shifter and its implementation.
Background technology
USB (Universal Serial Bus) USB (universal serial bus) is a kind of technical standard that connects external series equipment, the plug into input/output interface standard of peripherals (as keyboard, mouse, printer etc.) of computer system.USB is exactly a kind of standard that equipment is inserted frame.USB will unite proposition in the end of the year 1994 by many companies such as Intel, Compaq, IBM, Microsoft.But up to 1999, USB just really was widely used.Simultaneously, it has also obtained the extensive support of each PC manufacturer, chip manufacturer and PC peripherals manufacturer.Under the USB mode, all peripheral hardwares all connect outside cabinet, connect peripheral hardware and needn't open cabinet again; Allow the peripheral hardware hot plug, and needn't the Shutdown Hosts power supply.USB adopts " cascade " mode, and promptly each USB device is connected on the USB socket of a peripheral hardware with a USB plug, uses and itself provide a USB socket to connect for next USB peripheral hardware.
At present, USB device is generally divided two kinds, and a kind of is hub (Hub), and its function is to provide expansion interface for other USB device; Another kind is a PC peripherals of finishing a certain concrete function, as mouse, keyboard etc.The USB peripheral hardware is development with surprising rapidity at home and abroad, and up to now, the peripheral hardware of various USB has had thousands of kinds.
And USB Hub has been widely used as a kind of of USB device, and it is a kind ofly a USB interface can be converted to a plurality of (being generally 4), and the device that these interfaces are used simultaneously.But because USB Hub provides extendible interface less, and can't directly select the USB device of the corresponding interface, the application of the USB of restriction greatly.
Summary of the invention
The present invention is intended to solve in the prior art, and USB Hub (hub) provides extendible interface less, and can't directly select the technical matterss such as USB device of the corresponding interface.
In view of this, the invention provides a kind of USB device switching device shifter, comprising: micro-control unit; Serial interface module electrically connects with described micro-control unit, in order to carry out communication with computing machine, accepts the also steering order of sending computer; The USB port handover module electrically connects with described micro-control unit, and selected control USB device is connected with compunication; The usb communication port module is connected with described USB port handover module, in order to connect the USB port of computing machine and USB device.
Further, described micro-control unit is the C8051 single-chip microcomputer.
Further, described serial interface module comprises control chip, conversion chip RS232, and serial line interface.
Further, described USB port handover module comprises: code translator, and connected USB port switching device shifter.
Further, described usb communication port module comprises: connect the main USB port of computing machine, connect the USB port of external unit.
Further, described USB device switching device shifter also comprises: cascade module, between connection and the USB device, it comprises usb signal cascade port, control signal cascade port and switch.
The method that the present invention also provides a kind of USB device to switch may further comprise the steps:
The USB device switching device shifter is provided, and it comprises: micro-control unit, serial interface module, USB port handover module, usb communication port module;
Described usb communication port module is connected with the USB mouth of computing machine, described serial interface module is connected with computer by serial;
Computing machine passes through described serial interface module to described micro-control unit sending controling instruction;
Receive and send described steering order to described USB port handover module by described micro-control unit;
Described USB port handover module connects according to the USB device of described steering order to appointment;
By described usb communication port module the USB device or the USB port of this appointment is connected to USB interface of computer, realizes the USB device of this appointment or communicating to connect of USB port and computing machine.
Further, described micro-control unit is the C8051 single-chip microcomputer.
Further, described serial interface module comprises control chip, conversion chip RS232, and serial line interface.
Further, described USB port handover module comprises: code translator, and connected USB port switching device shifter.
Further, described usb communication port module comprises: connect the main USB port of computing machine, connect the USB port of external unit.
Further, described USB device switching device shifter also comprises: cascade module, between connection and the USB device, it comprises usb signal cascade port, control signal cascade port and switch.
USB device switching device shifter provided by the invention and its implementation can realize the batch processing to USB device, accurately switch and control USB device, have expanded the application of USB, have simplified operating process, have improved efficient widely.
Description of drawings
Figure 1 shows that the structural representation of the USB device switching device shifter that one embodiment of the invention provides;
Figure 2 shows that the method flow diagram of the USB device switching that one embodiment of the invention provides.
Embodiment
For technical characterictic of the present invention is become apparent, below in conjunction with accompanying drawing, provide specific embodiment, the present invention will be further described.
See also Fig. 1, it is depicted as the structural representation of the USB device switching device shifter that one embodiment of the invention provides.This USB device switching device shifter 100 comprises: micro-control unit 110; Serial interface module 120 electrically connects with described micro-control unit 110, in order to carry out communication with computing machine 200, accepts the also steering order of sending computer 200; USB port handover module 130 electrically connects with described micro-control unit 110, and selected control USB device 300 communicates to connect with computing machine 200;
Usb communication port module 140 is connected with described USB port handover module 130, in order to connect the USB port of computing machine 200 and USB device 300.
At first send one and select to connect control command to USB device switching device shifter 100 by computing machine 200, receive by the serial interface module in the USB device switching device shifter 100 120, in the present embodiment, described serial interface module 120, comprise control chip, conversion chip is for example: RS232, and serial line interface, the control command of computing machine is transmitted by this serial line interface.Serial line interface is accepted this control command, and this control command is sent to micro-control unit 110, and in the present embodiment, micro-control unit 110 is the C8051 single-chip microcomputer, but the invention is not restricted to this.Micro-control unit 110 receives this control command, this control command is sent to USB port handover module 130, in the present embodiment, USB port handover module 130 comprises that code translator is to be used for the steering order of decoding, and the USB port switching device shifter that is connected with code translator, this USB port switching device shifter is made of devices such as relay, metal-oxide-semiconductors, with the data line of control circumscribed USB equipment and the switch of power lead, thereby realize the function of switching, but the invention is not restricted to this, all devices on order of the present invention ground of realizing all belong to scope of the present invention.USB port handover module 130 transfers to usb communication port module 140 with decoded control command, switches circumscribed USB equipment and is connected with the selection switching of computing machine to realize control.In the present embodiment, usb communication port module 140 comprises, connects the main USB port of computing machine, connects the USB port of external unit.
In another embodiment of the present invention, the USB device switching device shifter also comprises: cascade module, between connection and the USB device, it comprises usb signal cascade port, control signal cascade port and switch.The effect of this module is that each circumscribed USB equipment is carried out cascade, thereby expands switchable USB device greatly.
For better explaination the present invention, see also Fig. 2, the method flow diagram that the USB device that it is depicted as one embodiment of the invention provides is switched.
The method that this USB device is switched may further comprise the steps:
S210 provides the USB device switching device shifter, and it comprises: micro-control unit, serial interface module, USB port handover module, usb communication port module;
The usb communication port module that S220 switches USB device is connected with the USB mouth of computing machine, and the serial interface module that installs is connected with computer by serial;
The S230 computing machine passes through described serial interface module to described micro-control unit sending controling instruction;
S240 receives and sends described steering order to described USB port handover module by described micro-control unit;
The described USB port handover module of S250 connects according to the USB device of described steering order to appointment;
S260 is connected to USB interface of computer by described usb communication port module with the USB device or the USB port of this appointment, realizes the USB device of this appointment or communicating to connect of USB port and computing machine.
In sum, USB device switching device shifter and its implementation that the embodiment of the invention provides, can realize batch processing to USB device, accurately select switching and control USB device and computing machine to communicate, expanded the application of USB, simplify operating process, improved efficient widely.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking claims person of defining.
Claims (12)
1. a USB device switching device shifter is characterized in that, comprising:
Micro-control unit;
Serial interface module electrically connects with described micro-control unit, in order to carry out communication with computing machine, accepts the also steering order of sending computer;
The USB port handover module electrically connects with described micro-control unit, and selected control USB device is connected with compunication;
The usb communication port module is connected with described USB port handover module, in order to connect the USB port of computing machine and USB device.
2. USB device switching device shifter according to claim 1 is characterized in that, described micro-control unit is the C8051 single-chip microcomputer.
3. USB device switching device shifter according to claim 1 is characterized in that described serial interface module comprises control chip, conversion chip RS232, and serial line interface.
4. USB device switching device shifter according to claim 1 is characterized in that, described USB port handover module comprises: code translator, and connected USB port switching device shifter.
5. USB device switching device shifter according to claim 1 is characterized in that, described usb communication port module comprises: connect the main USB port of computing machine, connect the USB port of external unit.
6. USB device switching device shifter according to claim 1 is characterized in that, also comprises: cascade module, between connection and the USB device, it comprises usb signal cascade port, control signal cascade port and switch.
7. the method that USB device is switched is characterized in that, may further comprise the steps:
The USB device switching device shifter is provided, and it comprises: micro-control unit, serial interface module, USB port handover module, usb communication port module;
Described usb communication port module is connected with the USB mouth of computing machine, described serial interface module is connected with computer by serial;
Utilize described serial interface module to described micro-control unit sending controling instruction;
Receive and send described steering order to described USB port handover module by described micro-control unit;
Described USB port handover module connects according to the USB device of described steering order to appointment;
By described usb communication port module the USB device or the USB port of this appointment is connected to USB interface of computer, realizes the USB device of this appointment or communicating to connect of USB port and computing machine.
8. the method that USB device according to claim 7 is switched is characterized in that described micro-control unit is the C8051 single-chip microcomputer.
9. the method that USB device according to claim 7 is switched is characterized in that described serial interface module comprises control chip, conversion chip RS232, and serial line interface.
10. the method that USB device according to claim 7 is switched is characterized in that described USB port handover module comprises: code translator, and connected USB port switching device shifter.
11. the method that USB device according to claim 7 is switched is characterized in that described usb communication port module comprises: connect the main USB port of computing machine, connect the USB port of external unit.
12. the method that USB device according to claim 7 is switched is characterized in that described USB device switching device shifter also comprises: cascade module, between connection and the USB device, it comprises usb signal cascade port, control signal cascade port and switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010123412 CN101794267A (en) | 2010-03-12 | 2010-03-12 | USB (Universal Serial Bus) switching device and realizing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010123412 CN101794267A (en) | 2010-03-12 | 2010-03-12 | USB (Universal Serial Bus) switching device and realizing method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101794267A true CN101794267A (en) | 2010-08-04 |
Family
ID=42586973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010123412 Pending CN101794267A (en) | 2010-03-12 | 2010-03-12 | USB (Universal Serial Bus) switching device and realizing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101794267A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426334A (en) * | 2015-12-25 | 2016-03-23 | 河海大学常州校区 | Parallel type large-scale USB extension device, working method and system |
CN105487999A (en) * | 2015-12-25 | 2016-04-13 | 河海大学常州校区 | Cascaded large-scale USB expansion device and working method and system |
CN105653483A (en) * | 2015-12-25 | 2016-06-08 | 河海大学常州校区 | Tandem mass USB expansion apparatus, working method and system |
CN105653482A (en) * | 2015-12-25 | 2016-06-08 | 河海大学常州校区 | Super USB controller as well as working method and system |
CN105955894A (en) * | 2016-04-29 | 2016-09-21 | 青岛海尔智能家电科技有限公司 | Camera external connection method for intelligent terminal, and intelligent terminal |
CN106201938A (en) * | 2016-06-28 | 2016-12-07 | 联想(北京)有限公司 | A kind of chip, hub, electronic equipment and the method for interruption U SB signal |
CN106776415A (en) * | 2017-01-17 | 2017-05-31 | 深圳拓普龙科技有限公司 | Evidence obtaining all-in-one on-off circuit and evidence obtaining machine |
CN113392050A (en) * | 2021-04-28 | 2021-09-14 | 深圳市沃特沃德信息有限公司 | Circuit, method and computer equipment for realizing automatic downloading of program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6141719A (en) * | 1998-12-10 | 2000-10-31 | Network Technologies, Inc. | USB selector switch |
EP1441524A1 (en) * | 2003-01-21 | 2004-07-28 | Curitel Communications, Inc. | USB interface device having a switching function |
CN1672139A (en) * | 2002-07-26 | 2005-09-21 | 摩托罗拉公司 | Dual-role compatible USB hub device and method |
CN2876895Y (en) * | 2005-11-17 | 2007-03-07 | 赫扬科技股份有限公司 | Computer Peripheral Converter |
-
2010
- 2010-03-12 CN CN 201010123412 patent/CN101794267A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6141719A (en) * | 1998-12-10 | 2000-10-31 | Network Technologies, Inc. | USB selector switch |
CN1672139A (en) * | 2002-07-26 | 2005-09-21 | 摩托罗拉公司 | Dual-role compatible USB hub device and method |
EP1441524A1 (en) * | 2003-01-21 | 2004-07-28 | Curitel Communications, Inc. | USB interface device having a switching function |
CN2876895Y (en) * | 2005-11-17 | 2007-03-07 | 赫扬科技股份有限公司 | Computer Peripheral Converter |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426334B (en) * | 2015-12-25 | 2018-08-07 | 河海大学常州校区 | Parallel extensive usb expansion device and working method, system |
CN105487999A (en) * | 2015-12-25 | 2016-04-13 | 河海大学常州校区 | Cascaded large-scale USB expansion device and working method and system |
CN105653483A (en) * | 2015-12-25 | 2016-06-08 | 河海大学常州校区 | Tandem mass USB expansion apparatus, working method and system |
CN105653482A (en) * | 2015-12-25 | 2016-06-08 | 河海大学常州校区 | Super USB controller as well as working method and system |
CN105653483B (en) * | 2015-12-25 | 2018-03-20 | 河海大学常州校区 | The extensive usb expansion device of tandem and method of work, system |
CN105653482B (en) * | 2015-12-25 | 2018-08-07 | 河海大学常州校区 | Super USB controller and working method, system |
CN105426334A (en) * | 2015-12-25 | 2016-03-23 | 河海大学常州校区 | Parallel type large-scale USB extension device, working method and system |
CN105487999B (en) * | 2015-12-25 | 2018-08-07 | 河海大学常州校区 | The extensive usb expansion device of tandem type and working method, system |
CN105955894A (en) * | 2016-04-29 | 2016-09-21 | 青岛海尔智能家电科技有限公司 | Camera external connection method for intelligent terminal, and intelligent terminal |
CN106201938A (en) * | 2016-06-28 | 2016-12-07 | 联想(北京)有限公司 | A kind of chip, hub, electronic equipment and the method for interruption U SB signal |
CN106201938B (en) * | 2016-06-28 | 2020-06-23 | 联想(北京)有限公司 | Chip, hub, electronic equipment and method for interrupting USB signal |
CN106776415A (en) * | 2017-01-17 | 2017-05-31 | 深圳拓普龙科技有限公司 | Evidence obtaining all-in-one on-off circuit and evidence obtaining machine |
CN113392050A (en) * | 2021-04-28 | 2021-09-14 | 深圳市沃特沃德信息有限公司 | Circuit, method and computer equipment for realizing automatic downloading of program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101794267A (en) | USB (Universal Serial Bus) switching device and realizing method thereof | |
US7305511B2 (en) | Providing both wireline and wireless connections to a wireline interface | |
CN101345629B (en) | A Dual Fieldbus Interface Converter | |
US10261930B2 (en) | System, device and method for transmitting signals between different communication interfaces | |
CN202602678U (en) | Expansion circuit with multiple CAN (Controller Area Network) channel interfaces | |
US11703910B2 (en) | Docking station, electrical device, and method for configuring basic input output system | |
CN103136048A (en) | Computer system | |
CN101208746A (en) | Hard disk drive staggered spin-up mechanism | |
CN101581964A (en) | Computer system and peripheral device driving method | |
CN101082896A (en) | Control method and device between master-salve module | |
CN102445981B (en) | Data transmission system and data transmission method | |
US8631264B2 (en) | Computer system | |
US20100049897A1 (en) | Computer and method for sharing input device thereof | |
CN110196830A (en) | A kind of information realtime interactive terminal based on embedded system | |
CN103488598A (en) | Multi-mode terminal and method for realizing USB (universal serial bus) sharing | |
CN111813732A (en) | Multi-machine communication method based on serial port communication of single chip microcomputer | |
EP2506659B1 (en) | Device and method for enhancing flexibility of interface between 3g communication module and application processor | |
CN201820120U (en) | Self-adapting multibus execution mechanism controller | |
CN105718231A (en) | KVM (Keyboard Video Mouse) redundancy management system and management method of blade server | |
CN111679995B (en) | Embedded management execution unit of space computer based on 1553B bus | |
CN211124028U (en) | Communication equipment expansion circuit and device | |
CN107402898B (en) | Information processing method and electronic equipment | |
CN103218334A (en) | Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus | |
CA2540609A1 (en) | System and method for powering a peripheral device | |
CN216437355U (en) | Camera with mixed transmission function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20100804 |