The utility model content
The purpose of this utility model is because the USB interface of some computer of above-mentioned prior art is positioned at the back of computer, perhaps USB interface hypertelorism, therefore cause use very inconvenient, or the user is when using USB device (as information safety devices) by the USB switching device, under open state, if do not pull out information safety devices, information safety devices may be subjected to the hacker or wooden horse is attacked, can make the user in deficiencies such as economy incur loss, and propose a kind of USB switching device of belt switch.
This USB switching device comprises first usb interface module that is connected with USB device, second usb interface module that is connected with the upstream USB interface, and series connection is used to control the switch module that first usb interface module and second usb interface module are connected or disconnect between described first usb interface module and described second usb interface module.
Described switch module comprises at least one switch element, is connected in Vbus holding wire, GND holding wire, D+ holding wire and/or the D-holding wire between described first usb interface module and described second usb interface module arbitrarily on the holding wire.
Described USB switching device comprises that also the control switch module carries out regularly the time delay module of break-make, and time delay module is connected with switch module.
Described time delay module also comprises and is used to recover the recovery unit that described switch module is a connected state.
Described time delay module is the delayer that vapour-pressure type delayer, condenser type delayer, timing or counter delayer or programmable device are realized.
Described switch module is connected with power supply with GND earth signal line by Vbus high level signal line with described time delay module.
Described switch element is control triode, relay or analog switch.
Described relay is electromagnetic relay or solid-state relay.
Described switch module is a mechanical switch, and mechanical switch is specially single-pole single-throw switch (SPST), double-pole single throw, three pole signle throw switch and/or four blade single-throw switch.
Described USB device is an information safety devices.
The beneficial effects of the utility model are: compared with prior art, the utility model is provided with switch on the USB switching device, the user need not to pull out when not using USB device, the user can set service time, above being connected of switching device automatic disconnection main frame after service time and USB device, the user can also set automatic recovery time, and switch closure after the time of advent rebulids connection.Or by mechanical switch control break-make, thereby avoided USB device under attack, make USB device safer in the use, reliable and convenient.
Embodiment
In order to solve above-mentioned the deficiencies in the prior art, the utility model proposes a kind of USB switching device of belt switch, the delay switch device promptly is set on the USB switching device, need not to pull out when not using USB device the user, only need by setting switch service time of USB device, after surpassing service time, the automatic cut-out of switching device meeting USB device is connected with main frame, can't carry out transfer of data, thereby guarantee that USB device is not subjected to hacker's attack, makes USB device safer under open state.The utility model is described in further detail below in conjunction with the drawings and specific embodiments, but not as to qualification of the present utility model.
Embodiment 1
Be illustrated in figure 1 as a kind of USB switching device structured flowchart of belt switch.First usb interface module 102 that is connected with USB device among the figure, second usb interface module 103 that is connected with the upstream USB interface, switch module 101 is connected between described first usb interface module and described second usb interface module, being used for first usb interface module is connected with second usb interface module or disconnects, the control switch module is carried out the regularly time delay module 104 of break-make, and time delay module links to each other with switch module.
Time delay module comprises recovery unit 109, and recovery unit is used to recover switch closure, connects.
The VBus holding wire of first usb interface module 102, GND holding wire, D+ holding wire and D-holding wire are connected with VBus holding wire, GND holding wire, D+ holding wire and the D-holding wire of second usb interface module 103 respectively, realize communicating by letter between USB device and the upstream USB interface.
Second usb interface module 103, switch module 101 and time delay module 104 provide electric power by the upstream USB interface for it.
The upstream USB interface refers generally to the USB interface in the main frame, and the form of main frame includes but not limited to desktop computer, notebook computer, server, special machine, card reader, communication apparatus, hub or PDA etc.Because the upstream USB interface is generally the form of female, so generally second usb interface module 103 that is connected with the upstream USB interface is generally the form of male, accordingly, USB device is generally the male form, so first usb interface module 102 that is connected with USB device is generally the form of female.In the practical application, the connected mode of USB interface is a variety of in addition, and those skilled in the art can do suitable modification and improvement to the USB switching device that present embodiment provides, and for example uses A type USB interface and Type B USB interface or other interface shape to realize.
Switch module 101 comprises four switch elements, switch element 105, switch element 106, switch element 107 and switch element 108, be connected on respectively on Vbus holding wire, GND holding wire, D+ holding wire and/or the D-holding wire between described first usb interface module and described second usb interface module, be used for controlling respectively the connection or the disconnection of respective signal line.
The user is when using USB device, one end interface of USB switching device is connected with USB device, the other end is with after main frame is connected, when USB regulation and stipulation equipment inserts main frame, must connect power supply (VBUS, GND) earlier, the back connects signal (D-, D+), opposite during disconnection, time delay module will be modeled into the signal of time difference behind the time point and be transferred to switch module to setting, promptly being modeled to switch contact is connected earlier with the GND holding wire with the Vbus holding wire earlier, disconnect after during disconnection, and be connected behind D-holding wire and the D+ holding wire, disconnect earlier during disconnection.Therefore when needs disconnect fully or connect, by disconnecting the access requirement successively that the sequencing control that connects reaches usb bus.
Switch module can minimumly have only a switch element to be connected on the Vbus holding wire; the GND holding wire; on certain single line in D+ holding wire and the D-holding wire; thereby control the break-make control USB device of that root holding wire and being connected of main frame; certain single line of four holding wires if only break; such as only on the Vbus holding wire, adding switch element; switch element disconnects the Vbus holding wire behind the overtime; USB device is disconnected with main frame to be connected; can play the effect of protection USB device; but behind the closed again Vbus holding wire of user; do not find corresponding USB device because do not connect feasible may on main frame, being shown as, so need the user can use according to USB standard plug equipment again by the USB standard.Therefore connect when USB device can't be worked when only needing to destroy, also can only disconnect wherein Vbus holding wire, D+ holding wire, D-holding wire and GND holding wire 1 or many.
Switch element can be control triode, relay and analog switch etc.
Relay can be electromagnetic relay or solid-state relay etc.
Relay is the automatic switch element with isolation features, is widely used in remote control, remote measurement, communication, control automatically, electromechanical integration and the power electronic equipment, and be one of most important control element.Relay essence is a kind of electrical equipment that transmits signal, and it reaches different control purposes according to the signal of input.Relay commonly used mainly contains electromagnetic type relay, dry-reed type relay, magnetic maintenance wet reed relay, stepping relay and solid-state relay etc.
The delayer that time delay module 104 can be realized for vapour-pressure type delayer, condenser type delayer, Timer delayer or programmable device etc.
The time delay module 104 that utility model embodiment provides has multiple implementation, for example can adopt constant time lag control, promptly the user to set the service time of USB device on switch module be 15 minutes, switch module automatic disconnection connection behind the overtime.For example can also adopt manual adjustable delay control, be that the user passes through the manual adjustments time, can be the rotary-type of similar old money broadcast receiver frequency modulation use, also can be that the various ways such as the type of stirring of regulating button are set in the chute, in use knob is screwed to 10 minutes positions such as the user, thereby has set service time.Can also be computer-controlled adjustable delay control,, by software signal be passed to switch module then such as by the software set on the computer adjustable service time, thus the break-make of control switch module.
Recovery unit is specially time set, and is closed again after 15 minutes such as setting-up time, also can pass through manual closing, is specially button forms such as button, membrane keyboard such as recovery unit, thereby triggers Closing Switch by the user.
After delay switch disconnected, the user can recover switch closure in many ways, USB device and main frame was rebulid is connected to carry out data communication, can be such as the user by triggering signals such as the button on the USB switching device, membrane keyboards to switch module,
Make the delay switch closure.Can also the user send closure signal for the switch module of USB switching device, make the delay switch closure, recover being connected of USB device and main frame by the software on the computer.The user can free configuration switch make-and-break time, setting morning 9 switches from being dynamically connected such as the user, 6 pm switch automatic disconnection makes the user convenient when using USB device, and guarantees when not using safer.
USB device comprises information safety devices (USB Key), digital camera, scanner, tape and floppy drive, vision facilities etc.
Information safety devices is a kind of small hardware equipment that has processor and memory, and it is connected with computer by the data communication interface of computer.It has key generation, safe storage key, presets functions such as cryptographic algorithm.The information safety devices computing relevant with key be fully in the device interior operation, and information safety devices has anti-characteristic of attacking, and fail safe is high.Information safety devices generally links to each other with computer by USB interface.
Information safety devices adopts the legitimacy of PIN (person identification) sign indicating number or biological characteristic (as fingerprint or iris etc.) identifying user identity, when carrying out authentication, information safety devices is linked to each other with computer, the user imports PIN code or biological characteristic on computers, the correctness of information safety devices meeting this PIN code of automatic verification or biological characteristic, have only when the PIN code of user input or biological characteristic are correct, just allow the user to use information safety devices.Information safety devices has the anti-characteristic of attacking of physics, fail safe is high, if but the user for a long time information safety devices is connected with main frame, may be subjected to hacker and wooden horse ground and attack, thereby utilize user's information to carry out illegal transaction, the user is incurred loss economically.
Therefore the user connects information safety devices and main frame by the USB switching device; under on line state; the user can be transferred to 5 minutes by the knob on the switching device; after having served as 5 minutes; the switching device automatic disconnection; making the user disconnect with main frame automatically under the situation of not using information safety devices is connected; thereby the protection information safety devices can not be subjected to the attack of hacker or wooden horse under online state; when the user need use information safety devices; the user presses the recovery button on the USB switching device; information safety devices is rebulid with main frame to be connected; and when not using, the user also need not to pull out; both user-friendly, guaranteed the fail safe of information safety devices again.
In order more clearly to describe the USB switching device of a kind of belt switch that the utility model embodiment provides, provide the preferred circuit figure of a present embodiment below, as shown in Figure 2, USB interface is come transmission signals and power supply by a quadded cable: D+ holding wire 3, D-holding wire 2, GND holding wire 4 and Vbus holding wire 1.Wherein D+ holding wire and D-holding wire are the holding wires of a pair of differential mode, Vbus (high level) holding wire and GND () holding wire then provides power supply, connect delay switch on four signal line between two USB interface of this switching device, after the user has been set to service time, four holding wires all disconnect, and stop data interaction between USB device and the main frame, after the user sends closure signal, four signals are all closed, connect between USB device and the main frame.
Embodiment 2
The USB switching device of a kind of belt switch that the utility model embodiment provides, comprise as shown in Figure 3: first usb interface module 202 that is connected with USB device, second usb interface module 203 that is connected with the upstream USB interface, switch module 201 is connected between described first usb interface module and described second usb interface module, is used to control first usb interface module and is connected with second usb interface module or disconnects.
The VBus holding wire of first usb interface module 202, GND holding wire, D+ holding wire and D-holding wire are connected with VBus holding wire, GND holding wire, D+ holding wire and the D-holding wire of second usb interface module 203 respectively, realize communicating by letter between USB device and the upstream USB interface.
The upstream USB interface refers generally to the USB interface in the main frame, and the form of main frame includes but not limited to desktop computer, notebook computer, server, special machine, card reader, communication apparatus, hub or PDA etc.Because the upstream USB interface is generally the form of female, so generally second usb interface module 203 that is connected with the upstream USB interface is generally the form of male, accordingly, USB device is generally the male form, so first usb interface module 202 that is connected with USB device is generally the form of female.In the practical application, the connected mode of USB interface is a variety of in addition, and those skilled in the art can do suitable modification and improvement to the USB switching device that present embodiment provides, and for example uses A type USB interface and Type B USB interface or other interface shape to realize.
Switch module 201 comprises four switch elements, switch element 204, switch element 205, switch element 206 and switch element 207, be connected on respectively on Vbus holding wire, GND holding wire, D+ holding wire and the D-holding wire between described first usb interface module and described second usb interface module, be used for controlling respectively the connection or the disconnection of respective signal line.
The user is when using USB device, one end interface of USB switching device is connected with USB device, the other end is with after main frame is connected, when USB regulation and stipulation equipment inserts main frame, must connect power supply (VBUS, GND) earlier, the back connects signal (D-, D+), and is opposite during disconnection, therefore switch contact can be designed to two long two weak points.The utility model embodiment is long with the contact that switch contact is designed to connect Vbus holding wire and GND holding wire, switch contact is connected earlier with the GND holding wire with the Vbus holding wire earlier, disconnect after during disconnection, short with the contact that the D-holding wire is connected with the D+ holding wire, in order to allow D+ holding wire, D-holding wire disconnect earlier when disconnecting earlier, Vbus holding wire and GND holding wire disconnect again then.Therefore when needs disconnect fully or connect, by disconnecting the access requirement successively that the sequencing control that connects reaches usb bus.
Switch can minimumly have only a switch element to be connected on the Vbus holding wire; the GND holding wire; on certain single line in D+ holding wire and/or the D-holding wire; thereby control the break-make control USB device of that root holding wire and being connected of main frame; certain single line of four holding wires if only break; such as only on the Vbus holding wire, adding switch element; after the user disconnects the Vbus holding wire by switch element; USB device is disconnected with main frame to be connected; can play the effect of protection USB device; but behind the closed again Vbus holding wire of user; do not find corresponding USB device because do not connect feasible may on main frame, being shown as, so need the user can use according to USB standard plug equipment again by the USB standard.Therefore connect when USB device can't be worked when only needing to destroy, also can only disconnect wherein Vbus holding wire, D+ holding wire, D-holding wire and GND holding wire 1 or many.
Switch element can also be single-pole single-throw switch (SPST), double-pole single throw and four blade single-throw switch etc.
USB device comprises information safety devices (USB Key), digital camera, scanner, tape and floppy drive, vision facilities etc.
The user connects information safety devices and main frame by the USB switching device; under on line state; the user can disconnect corresponding a certain or disconnect four signal line by the four blade single-throw switch by single-pole single-throw switch (SPST); make information safety devices and main frame can't carry out transfer of data; thereby the protection information safety devices can not be subjected to the attack of hacker or wooden horse under online state; Closing Switch when the user need use information safety devices; information safety devices rebulids with main frame and is connected; both user-friendly, guaranteed the fail safe of information safety devices again.
In order more clearly to describe the USB switching device of a kind of belt switch that the utility model embodiment provides, provide the preferred circuit figure of a present embodiment below, as shown in Figure 4, USB interface is come transmission signals and power supply by a quadded cable: D+ holding wire 3, D-holding wire 2, GND holding wire 4 and Vbus holding wire 1.Wherein D+ holding wire and D-holding wire are the holding wires of a pair of differential mode, Vbus (high level) holding wire and GND () holding wire then provides power supply, connect a four blade single-throw switch on four signal line between two USB interface of this switching device, after the user pushes switch aside, four signal line at four blade single-throw switch place all disconnect, stop data interaction between USB device and the main frame, when user's Closing Switch, four signal line reconnect, and can carry out data interaction between USB device and the main frame.
Above-described embodiment is a more preferably embodiment of the utility model, and common variation that those skilled in the art carries out in the technical solutions of the utility model scope and replacement all should be included in the protection range of the present utility model.