Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly
Ground solves the USB interface automatic switching control equipment of the problems referred to above.
The invention provides a kind of USB interface automatic switching control equipment, this device has external USB interface,
This device includes: have a upstream Interface and the usb hub of multiple downstream interface, combination switching are opened
Pass, the first equipment and multiple second equipment;
The universal input controlling end and the first equipment/output interface of combination switching switch connects;Multiple second
Equipment is connected with multiple downstream interfaces of usb hub respectively;
Combination switching switch is used for: when the control end of combination switching switch inputs the first signal, perform to cut
Change the USB interface making the first equipment to connect with a downstream interface of usb hub, and make USB set
The upstream Interface of line device connects with the external USB interface of device;Control end input when combination switching switch
During secondary signal, perform switching and make the USB interface of the first equipment connect with the upstream Interface of usb hub
Logical.
Further, combination switching switch includes the first switching switch and the second switching switch;
First connection end of the first switching switch connects the USB interface of the first equipment, the first switching switch
3rd connects end connects a downstream interface of usb hub, and the second connection end of the first switching switch hangs
Empty;
First connection end of the second switching switch connects the upstream Interface of usb hub, the second switching switch
The second connection end connect the USB interface of the first equipment, the 3rd connection end of the second switching switch connects dress
The external USB interface put;
First switching switch is used for: when the control end of combination switching switch inputs the first signal, perform to cut
The the first connection end and the 3rd changing connection the first switching switch connects end;Control end when combination switching switch
During input secondary signal, the first connection end and second performing switching connection the first switching switch connects end;
Second switching switch is used for: when the control end of combination switching switch inputs the first signal, perform to cut
The the first connection end and the 3rd changing connection the second switching switch connects end;Control end when combination switching switch
During input secondary signal, the first connection end and second performing switching connection the second switching switch connects end.
Further, this device includes: USB interface testing circuit;The first of USB interface testing circuit is even
Connecing end to connect with the external USB interface of this device, the second of USB interface testing circuit connects end and the
The IC bus orifice of one equipment.
Further, when USB interface testing circuit detects three signals, USB interface testing circuit
Signal is reported to the first equipment transmission by IC bus interface.
Further, according to reporting signal, the first equipment is opened to combination switching by universal input/output interface
The control end closed exports the first signal.
Further, when USB interface testing circuit is not detected by three signals, the first equipment is by logical
With input/output interface to the control end output secondary signal of combination switching switch.
Further, the universal input/output interface of the first equipment connects a resistance, and passes through resistance eutral grounding.
According to the present invention provide USB interface automatic switching control equipment, by combination switching switch control end with
The universal input of the first equipment/output interface connects, and multiple second equipment are many with usb hub respectively
Individual downstream interface connects, and the concrete signal that the control end switched by combination switching is inputted is to combination switching
Switch is controlled, it is achieved that the automatic switchover of USB interface.The technical program achieves USB interface
Automatic switchover, when external USB interface is occupied, device still can be made to pass through USB interface and automatically to cut
Change and carry out program renewal and program debugging easily, thus solve when the external USB interface of device is occupied
Used time and the program that cannot be carried out updates and the problem of program debugging.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows that USB interface automatic switching control equipment is in combination switching according to an embodiment of the invention
The control end of switch inputs the connection diagram in the case of the first signal, and Fig. 2 shows according to the present invention
The USB interface automatic switching control equipment of one embodiment is at control end input second letter of combination switching switch
Connection diagram in the case of number, as depicted in figs. 1 and 2, this device has external USB interface
100, this device includes: have a upstream Interface 201 and the USB of multiple downstream interface 202-204
Hub 200, combination switching switch the 300, first equipment 400 and multiple second equipment.Figure only illustrates
Two the second equipment are as schematic example, and the two the second equipment is respectively the second equipment 510 He
Second equipment 520, it is however understood that, the invention is not restricted to two the second equipment, and can be many
In second equipment of two.Wherein, combination switching switchs control end 301 and first equipment 400 of 300
Universal input/output interface 401 connect;Second equipment 510 and the second equipment 520 respectively with USB
Downstream interface 203 and the downstream interface 204 of hub 200 connect.Those skilled in the art can basis
Real needs arrange the quantity of the second equipment, do not limit.
Combination switching switch 300 is used for: when the control end 301 of combination switching switch 300 inputs the first letter
Number time, perform switching and make the descending of the USB interface 402 of the first equipment 400 and usb hub 200
Interface 202 connects, and makes the upstream Interface 201 of usb hub 200 connect with the external USB of device
Mouth 100 connection;When the control end 301 of combination switching switch 300 inputs secondary signal, perform switching
The USB interface 402 of the first equipment 400 is made to connect with the upstream Interface 201 of usb hub 200.
In order to realize above-mentioned connected relation, specifically, combination switching switch 300 can include that the first switching is opened
Close and the second switching switch.First switching switch and the second switching switch are linkages.Wherein, first cut
The the first connection end 311 changing switch connects the USB interface 402 of the first equipment 400, the first switching switch
The 3rd connection end 313 connect the downstream interface 202 of usb hub 200, the of the first switching switch
Two connection ends 312 are unsettled;First connection end 321 of the second switching switch connects usb hub 200
Upstream Interface 201, the second connection end 322 of the second switching switch connects the USB of the first equipment 400 and connects
Mouth 402, the 3rd connection end 323 of the second switching switch connects the external USB interface 100 of this device.
When the control end 301 of combination switching switch 300 inputs the first signal, as it is shown in figure 1, first
Switching switch performs the first connection end 311 and the 3rd of switching connection the first switching switch and connects end 313,
Second switching switch performs the first connection end 321 and the 3rd of switching connection the second switching switch and connects end
323, make the USB interface 402 of the first equipment 400 connect with the downstream interface 202 of usb hub 200
Logical, and make the upstream Interface 201 of usb hub 200 connect with the external USB interface 100 of this device
Logical.In this case, first equipment the 400, second equipment 510 and the second equipment 520 are USB
Hub 200 from equipment.
When the control end 301 of combination switching switch 300 inputs secondary signal, as in figure 2 it is shown, first
Switching switch performs the first connection end 311 and second of switching connection the first switching switch and connects end 312,
Second switching switch performs the first connection end 321 and second of switching connection the second switching switch and connects end
322, so that the USB interface 402 of the first equipment 400 and the upstream Interface of usb hub 200
201 connections.In this case, the first equipment 400 is the main equipment of usb hub 200, second
Equipment 510 and the second equipment 520 be usb hub 200 from equipment, the first equipment 400 can lead to
Cross the USB interface 402 of the first equipment 400 and the second equipment 510 and the second equipment 520 carries out data and leads to
Letter.
This device also includes: USB interface testing circuit 700.The first of USB interface testing circuit 700
Connect end 701 to connect with the external USB interface 100 of this device, USB interface testing circuit 700
Second connects end 702 connects with the IC bus interface 403 of the first equipment 400.USB interface is examined
The signal of the external USB interface 100 of this device is detected by slowdown monitoring circuit 700 moment.When USB connects
When mouth testing circuit 700 detects three signals, USB interface testing circuit 700 is total by integrated circuit
Line interface 403 sends to the first equipment 400 and reports signal.According to reporting signal, the first equipment 400 leads to
Cross universal input/output interface 401 and export the first signal to the control end 301 of combination switching switch 300.
When USB interface testing circuit 700 is not detected by three signals, the first equipment 400 is by general defeated
Enter/output interface 401 to combination switching switch 300 control end 301 export secondary signal.
Owing to chip is when dispatching from the factory, generally there is no program, need the later stage that it is carried out programming
Program.Therefore when the USB interface automatic switching control equipment provided as the present invention does not has program, the first equipment
400 cannot be exported to the control end 301 of combination switching switch 300 by universal input/output interface 401
Signal, thus the control to combination switching switch 300 cannot be realized.In this case, can be by first
Signal is set to low level signal.Specifically, the universal input/output interface 401 of the first equipment 400 is even
Connect a resistance 600, and by resistance 600 ground connection.Owing to the universal input/output of the first equipment 400 connects
Mouth 401 is by resistance 600 ground connection, thus have input low at the control end 301 combining switching switch 300
Level signal, i.e. the control end 301 of combination switching switch 300 input the first signal, combination switching switch
The first switching switch in 300 performs the first connection end 311 and the 3rd of switching connection the first switching switch
Connecting end 313, the second switching switch performs the first connection end 321 He of switching connection the second switching switch
3rd connects end 323, makes the USB interface 402 of the first equipment 400 and usb hub 200 times
Line interface 202 connects, and makes the upstream Interface 201 of usb hub 200 and the external USB of this device
Interface 100 connects.Now, first equipment the 400, second equipment 510 and the second equipment 520 are USB
Hub 200 from equipment.User can use the apparatus such as computer external USB interface by this device
100 pairs first equipment the 400, second equipment 510 and the second equipment 520 programming programs.However it will be appreciated that
Arrive, the invention is not restricted to connect resistance 600 by the universal input/output interface 401 of the first equipment 400
Mode and make combination switching switch 300 control end 301 input low level signal, people in the art
Member can the most specifically be arranged.
After completing the programming program to first equipment the 400, second equipment 510 and the second equipment 520,
User just can disconnect the connection of apparatus such as computer and the external USB interface 100 of this device, now this device
There is program.USB interface testing circuit 700 moment external USB interface 100 to this device
Signal detect, such as, the 3rd signal can be the external USB interface of apparatus such as computer and this device
100 be connected after output signal.When USB interface testing circuit 700 is not detected by apparatus such as computer
When being connected with the external USB interface 100 of this device, i.e. USB interface testing circuit 700 not inspection
When measuring three signals, the first equipment 400 is switched to combination switching by universal input/output interface 401
The control end 301 of 300 exports secondary signal.When the control end 301 of combination switching switch 300 inputs the
During binary signal, the first switching switch performs the first connection end 311 and the of switching connection the first switching switch
Two connect end 312, and the second switching switch performs the first connection end 321 of switching connection the second switching switch
Connect end 322 with second, make USB interface 402 and the usb hub 200 of the first equipment 400
Upstream Interface 201 connects.Now, the first equipment 400 is the main equipment of usb hub, the second equipment
510 and second equipment 520 be usb hub 200 from equipment.First equipment 400, second set
Standby 510 and second equipment 520 be in normal mode of operation, and the first equipment 400 is by the first equipment
The USB interface 402 of 400 and the second equipment 510 and the second equipment 520 carry out data communication.
When USB interface testing circuit 700 detects the external USB interface of apparatus such as computer and this device
100 when being connected, and when i.e. USB interface testing circuit 700 detects three signals, USB interface detects
Circuit 700 reports signal by IC bus interface 403 to the first equipment 400 transmission.According to upper
The number of notifying, the first equipment 400 switchs the control of 300 by universal input/output interface 401 to combination switching
End 301 processed exports the first signal, as it is shown in figure 1, make the first switching in combination switching switch 300 open
Closing the first connection end 311 and the 3rd connection end 313 performing to switch connection the first switching switch, second cuts
Change switch and perform to switch the first connection end 321 and the 3rd connection end 323 of connection the second switching switch, from
And make the USB interface 402 of the first equipment 400 connect with the downstream interface 202 of usb hub 200,
And make the upstream Interface 201 of usb hub 200 connect with the external USB interface 100 of this device.
Now, the second equipment 510 and the second equipment 520 be usb hub 200 from equipment, and first
Equipment 400 from the main equipment of usb hub 200 be changed to usb hub 200 from equipment.This
Time, first equipment the 400, second equipment 510 and the second equipment 520 are equivalent to be in debugging mode, use
Family can use apparatus such as computer by the external USB interface 100 of this device to the first equipment 400, second
Equipment 510 and the second equipment 520 carry out program renewal and program debugging, it is also possible to collect the first equipment
400, the second equipment 510 and the daily record of work of the second equipment 520 and other information.
Specifically, the USB interface automatic switching control equipment that the present invention provides can be applied to multiple wireless modulation
In demodulator, when being applied in multiple wireless modem, can make the first equipment is CPU, multiple
Second equipment is multiple modem.Even if multiple wireless modem only has an external USB
Interface, the technical scheme provided by the present invention also can make multiple wireless modem pass through USB interface
Automatically switch and carry out program renewal and program debugging easily, thus solve when unique external USB connects
The program that cannot be carried out when mouth is occupied updates and the problem of program debugging.
According to the present invention provide USB interface automatic switching control equipment, by combination switching switch control end with
The universal input of the first equipment/output interface connects, and multiple second equipment are many with usb hub respectively
Individual downstream interface connects, and the concrete signal that the control end switched by combination switching is inputted is to combination switching
Switch is controlled, and has conveniently realized the automatic switchover of USB interface, when external USB interface is occupied
Used time, device still can be made to be automatically switched by USB interface and to carry out program renewal and program debugging easily,
Thus solve and cannot be carried out program renewal and program tune when the external USB interface of device is occupied
The problem of examination.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right
Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Execute example.In the claims, should not will be located in any reference marks between bracket to be configured to right is wanted
The restriction asked.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at
Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention is permissible
By means of including the hardware of some different elements and realizing by means of properly programmed computer.?
If listing in the unit claim of equipment for drying, several in these devices can be by same
Hardware branch specifically embodies.Word first, second and third use do not indicate that any order.
Can be title by these word explanations.