CN107402893A - USB switching method and device, system - Google Patents

USB switching method and device, system Download PDF

Info

Publication number
CN107402893A
CN107402893A CN201610340344.6A CN201610340344A CN107402893A CN 107402893 A CN107402893 A CN 107402893A CN 201610340344 A CN201610340344 A CN 201610340344A CN 107402893 A CN107402893 A CN 107402893A
Authority
CN
China
Prior art keywords
slave units
usb
main equipment
hubs
buses
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
Application number
CN201610340344.6A
Other languages
Chinese (zh)
Inventor
卢翠玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610340344.6A priority Critical patent/CN107402893A/en
Priority to PCT/CN2017/000055 priority patent/WO2017197900A1/en
Publication of CN107402893A publication Critical patent/CN107402893A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver

Abstract

The invention provides the switching method of USB a kind of and device, system;Wherein, this method also includes:In the case where the USB3.0 interfaces for detecting USB main equipment insert USB3.0 slave units, judge to whether there is interference signal between the network where USB3.0 slave units and the network where specified wireless network and/or intended wireless device;In the case where judged result is interference signal be present, by USB3.0 bus switchs to USB2.0 buses.By the present invention, solve the interference problem occurred in correlation technique in USB3.0 hypervelocity transmitting procedure, improve the Experience Degree of user.

Description

USB switching method and device, system
Technical field
The present invention relates to the communications field, switching method and device in particular to a kind of USB, system.
Background technology
In recent years, as personal computer (PC) manufacturer has been stepped up USB3.0 console controller chips on machine, The production and application of USB3.0 equipment are more and more extensive, and people have also enjoyed high speed of the USB3.0 technologies in data transfer Rate.
But the thing for also having some to influence Consumer's Experiences due to following reason, in USB3.0 use:
One:USB3.0 influence 2.4GHz communication, any wire signal all can outside radiated electromagnetic wave, unless it is straight Stream electricity (changing without frequency) or shielding completely.Signal (such as voltage, electric current, the frequency transmitted in the intensity and cable of interference Rate) it is relevant.So although USB3.0 is wire signal, but still possible outside radiated electromagnetic wave, other signals are produced dry Disturb.Although USB3.0 transmission frequency is 5GHz serial, USB3.0 forms 2 groups using 4 data lines, and every group is responsible for a biography Defeated direction, the two-way 5GHz of full duplex is realized, and the reference frequency per data line is 2.5GHz, this frequency distance 2.4G WiFi frequency is too near, and most of high-frequency apparatus all employ SSC technologies so that signal is not exclusively distributed in a fixed frequency In rate, so just involved other frequencies near 2.5GHz, i.e. USB3.0 to WiFi and and other use 2.4GHz frequency ranges Product generates larger interference.
Secondly:USB3.0 console controller is also just to start development & production in recent years, and each different manufacturer drives Dynamic difference, compatibility issue just occurs in this unavoidably.Occur console controller Huang during sometimes USB device use suddenly to sigh Number, even portless problem, only plug can just be continuing with;Sometimes plug can not recover, and can only restart operation system System can be just continuing with, the above is a variety of be all USB3.0 equipment be from USB3.0 console controllers with the period by different equipment Produced with chip manufacturer, cannot pass through enough compatibility tests causes.This can only pass through equipment and host driven factory Business more newly arrives solution to the constantly improve of product.
In correlation technique, USB3.0 wireless network card use is identical with USB2.0, and only USB3.0 use needs to match somebody with somebody Close USB3.0 main frames, USB3.0 wireless network cards and USB3.0 lines.In USB3.0 wireless network cards insertion USB3.0 HPIs, meeting Report host operating system in a manner of virtual drive, after the application and driving inside user installation virtual drive, USB3.0 wireless network cards can be switched to mode of operation (network card interface for including modem or NDIS), and now user can be used Wireless network carries out networking operation.
However, it is possible to the wireless network card progress high-speed downloads for plugging USB3.0 or the hard disk using USB3.0 can be run into File copy is carried out, WIFI, which occurs as soon as the problem of reduction of speed either interrupts or Wireless USB Mouse, will react very slow, here it is Interference problem of the electromagnetic wave to 2.4GHz frequencies caused by USB3.0 hypervelocity transmission.
The solution method of interference problem occurred in transmitting procedure is exceeded the speed limit primarily directed to USB3.0 currently for USB3.0 The electromagnetic shielding of interface, all it is to surround physical attribute to change or being modification USB circuit structure or being increase radome. This modification needs to increase hardware cost, and without the thing that unified specification, different hardware vendors may design Vary.
Also do not solve method well to this problem on software, substantially evade, and in the above-mentioned solution of software That USB3.0 hubs HUB can not use problem, wherein be mounted with an application, this application detect after HUB exceptions to USB3.0 equipment issues pattern switching instruction, can not so as to evade USB3.0 from USB3.0 pattern switchings to USB2.0 patterns The problem of being continuing with.This patent has one disadvantage in that exactly application must detect exception in advance, or the exception occurred is not Issuing for USB switching commands is influenceed, the USB3.0 patterns of this patent can just switch to USB2.0 patterns, once all pipelines of USB It is all obstructed, then USB switching commands cannot just be issued to USB device side at all, also can not just have switched.
For the interference problem occurred in USB3.0 hypervelocity transmitting procedure in correlation technique, effective solution is not yet proposed at present Certainly scheme.
The content of the invention
The embodiments of the invention provide the switching method of USB a kind of and device, system, at least to solve in correlation technique The interference problem occurred in USB3.0 hypervelocity transmitting procedures.
According to one embodiment of present invention, there is provided a kind of switching method of general-purpose serial bus USB, including:Examining Measure general-purpose serial bus USB main equipment USB3.0 interfaces insert USB3.0 slave units in the case of, judge USB3.0 from It whether there is interference signal between the network where network and specified wireless network and/or intended wireless device where equipment; In the case where judged result is interference signal be present, by USB3.0 bus switchs to USB2.0 buses.
Alternatively, USB3.0 bus switchs to USB2.0 buses are included:It will connect in USB main equipment with USB3.0 slave units The Root Hub connect is switched to USB2.0 hubs by USB3.0 hubs.
Alternatively, in the following manner by the Root Hub being connected in USB main equipment with USB3.0 slave units by USB3.0 Hub is switched to USB2.0 hubs:Value corresponding with USB3.0 hubs in USB main equipment is revised as and USB2.0 Value corresponding to hub.
Alternatively, after by USB3.0 bus switchs to USB2.0 buses, method also includes:To under USB3.0 slave units Hair resets reset instructions, wherein, reset is instructed for indicating that USB3.0 slave units are entered using USB2.0 agreements with USB main equipment Row communication.
Alternatively, before by USB3.0 bus switchs to USB2.0 buses, the above method also includes:Switching is received to refer to Order;Wherein, above-mentioned switching command, which is used for instruction, allows USB3.0 bus switchs to USB2.0 buses.
Alternatively, after by USB3.0 bus switchs to USB2.0 buses, method also includes:Detect USB3.0 from In the case that equipment extracts USB main equipment, by USB2.0 bus switchs to USB3.0 buses.
Alternatively, wireless network is specified to include Wireless Fidelity WIFI, intended wireless device includes:Wireless mouse.
According to another embodiment of the invention, there is provided a kind of switching device of general-purpose serial bus USB, including:Sentence Disconnected module, for inserting the situation of USB3.0 slave units in the USB3.0 interfaces for detecting general-purpose serial bus USB main equipment Under, judge be between the network where USB3.0 slave units and the network where specified wireless network and/or intended wireless device It is no interference signal to be present;Handover module, for it interference signal be present in judged result in the case of, by USB3.0 bus switchs To USB2.0 buses.
Alternatively, handover module be additionally operable to by USB main equipment with the Root Hub that USB3.0 slave units are connected by USB3.0 hubs are switched to USB2.0 hubs.
Alternatively, the root collection that above-mentioned handover module will be connected in USB main equipment with USB3.0 slave units in the following manner Line device is switched to USB2.0 hubs by USB3.0 hubs:Value corresponding with USB3.0 hubs in USB main equipment is repaiied It is changed to value corresponding with USB2.0 hubs.
Alternatively, said apparatus also includes:Sending module, reset instructions are reset for being issued to USB3.0 slave units, its In, reset is instructed for indicating that USB3.0 slave units are communicated using USB2.0 agreements with USB main equipment.
Alternatively, said apparatus also includes:Receiving module, for receiving switching command, wherein, above-mentioned switching command is used for Instruction allows USB3.0 bus switchs to USB2.0 buses.
Alternatively, handover module is additionally operable in the case where detecting that USB3.0 slave units extract USB main equipment, will USB2.0 bus switchs are to USB3.0 buses.
Alternatively, wireless network is specified to include Wireless Fidelity WIFI, intended wireless device includes:Wireless mouse.
According to another embodiment of the invention, there is provided a kind of system, including:USB main equipment, USB3.0 slave units and USB3.0 cables;Wherein, USB main equipment includes the device of any one of claim 9 to 16.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is arranged to storage and used In the program code for performing following steps:Inserted in the USB3.0 interfaces for detecting general-purpose serial bus USB main equipment In the case of USB3.0 slave units, network where judging USB3.0 slave units and specified wireless network and/or intended wireless device It whether there is interference signal between the network at place;In the case where judged result is interference signal be present, by USB3.0 buses Switch to USB2.0 buses.
By the present invention, due to inserting the situation of USB3.0 slave units in the USB3.0 interfaces for detecting USB main equipment Under, by judge the network where USB3.0 slave units and the network where specified wireless network and/or intended wireless device it Between whether there is interference signal, and in judged result interference signal to be present in the case of, by USB3.0 bus switchs extremely USB2.0 buses, i.e., in the case where the USB3.0 interfaces for detecting USB main equipment insert USB3.0 slave units, and exist dry When disturbing signal, USB3.0 is switched into USB2.0, and then has evaded corresponding interference problem, solves USB3.0 in correlation technique The interference problem occurred in hypervelocity transmitting procedure.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the terminal of USB of embodiment of the present invention switching method;
Fig. 2 is the flow chart of USB according to embodiments of the present invention switching method;
Fig. 3 is the structured flowchart of the switching device of general-purpose serial bus USB according to embodiments of the present invention;
Fig. 4 is the USB3.0 system physical connection figures provided according to the preferred embodiment of the present invention;
Fig. 5 is the automatic detection and switching APP provided according to the preferred embodiment of the present invention scheme of installation;
Fig. 6 is the relation schematic diagram between the host application program and each module provided according to the preferred embodiment of the present invention;
Fig. 7 is the USB3.0 console controller structured flowcharts provided according to the preferred embodiment of the present invention;
Fig. 8 is the structured flowchart of module in the application program provided according to the preferred embodiment of the present invention;
Fig. 9 is the schematic flow sheet that the application program provided according to the preferred embodiment of the present invention is installed;
Figure 10 is the schematic flow sheet of the USB3.0 switching methods provided according to the preferred embodiment of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can be in mobile terminal, terminal or similar fortune Calculate and performed in device.Exemplified by running on computer terminals, Fig. 1 is a kind of USB of embodiment of the present invention switching method The hardware block diagram of terminal.(only shown in figure as shown in figure 1, terminal 10 can include one or more One) (processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. place to processor 102 Manage device), the memory 104 for data storage and the transmitting device 106 for communication function.Ordinary skill Personnel are appreciated that the structure shown in Fig. 1 is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, meter Calculation machine terminal 10 may also include more either less components than shown in Fig. 1 or have the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, as general in the embodiment of the present invention Programmed instruction/module corresponding to the switching method of serial bus USB, processor 102 are stored in memory 104 by operation Software program and module, so as to perform various function application and data processing, that is, realize above-mentioned method.Memory 104 May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102 Remotely located memory, these remote memories can pass through network connection to terminal 10.The example of above-mentioned network Including but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 10 provide.In an example, transmitting device 106 is fitted including a network Orchestration (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, its For wirelessly being communicated with internet.
A kind of switching side for the general-purpose serial bus USB for running on above computer terminal is provided in the present embodiment Method, Fig. 2 is the flow chart of USB according to embodiments of the present invention switching method, as shown in Fig. 2 the flow comprises the following steps:
Step S202, USB3.0 slave units are inserted in the USB3.0 interfaces for detecting general-purpose serial bus USB main equipment In the case of, judge network of the network where with specified wireless network and/or intended wireless device where USB3.0 slave units Between whether there is interference signal;
Step S204, it is in the case where judged result is interference signal be present, USB3.0 bus switchs is total to USB2.0 Line.
By above-mentioned steps, due to inserting the feelings of USB3.0 slave units in the USB3.0 interfaces for detecting USB main equipment Under condition, pass through the network where judging the network where USB3.0 slave units with specified wireless network and/or intended wireless device Between whether there is interference signal, and in judged result interference signal to be present in the case of, by USB3.0 bus switchs extremely USB2.0 buses, i.e., in the case where the USB3.0 interfaces for detecting USB main equipment insert USB3.0 slave units, and exist dry When disturbing signal, USB3.0 is switched into USB2.0, and then has evaded corresponding interference problem, solves USB3.0 in correlation technique The interference problem occurred in hypervelocity transmitting procedure.
It should be noted that step S202 can include:Whether the network where detection USB3.0 slave units is used, with And whether the network where the above-mentioned specified wireless network of detection and/or intended wireless device is currently being used;It is specified detecting Network where wireless network and/or intended wireless device be currently being used and the network where the USB3.0 slave units In the case of by use, determine network where USB3.0 slave units with where specified wireless network and/or intended wireless device Network between interference signal be present.
It should be noted that the network where wireless network and/or intended wireless device are specified in above-mentioned detection is made Mode can have it is a variety of, in one embodiment of the invention, above-mentioned detection mode can show as detection in specified nothing Whether there is business performing on network on gauze network and/or where intended wireless device, specified if so, may be considered this Network where wireless network and/or intended wireless device is currently being used, but is not limited to this.
In one embodiment of the invention, above-mentioned steps S204 can be shown as:By in USB main equipment with USB3.0 from The Root Hub of equipment connection is switched to USB2.0 hubs by USB3.0 hubs.
It is alternatively possible in the following manner by USB main equipment with the Root Hub that USB3.0 slave units are connected by USB3.0 hubs are switched to USB2.0 hubs:By value corresponding with USB3.0 hubs in USB main equipment be revised as with Value corresponding to USB2.0 hubs.USB3.0 states and USB2.0 are carried out by changing the analog value in USB main equipment Switching between state so that compared with the switching mode in correlation technique, whether occur in hub corresponding to USB3.0 In the case that failure either all USB pipeline is all obstructed, remain able to realize USB3.0 to USB2.0 switching, it is more preferable must Improve the Experience Degree of user.
Specifically, can value corresponding with USB3.0 hubs and value corresponding with USB2.0 hubs can store In control register in USB main equipment, you can with by changing or setting corresponding hub in control register Value, to carry out the switching between USB3.0 states and USB2.0 states.
It is illustrated below, for example the numerical value 2 that is set in control register represents and uses USB3.0, the generation of numerical value 1 Table uses dual-bus structure, i.e. USB3.0 and USB2.0 coexist, and numerical value 0, which represents, uses USB2.0, and default value is number Value 1, after the signal that wireless network and/or wireless device are currently being used is received, numerical value 1 can be revised as 0, that is, completed USB3.0 to USB2.0 switching.It should be noted that the meaning that above-mentioned numerical value represents is used only for illustrating, it is not used to carry out Limit, for example numerical value 0 can also represent to use USB3.0, numerical value 2 represents and uses USB2.0.
In one embodiment of the invention, after above-mentioned steps S204, the above method can also include:To USB3.0 Slave unit, which issues, resets reset instructions, wherein, reset is instructed for indicating that USB3.0 slave units use USB2.0 agreements and USB Main equipment is communicated.It should be noted that reset instructions may be used to indicate that and re-recognize connected USB device.It is logical Crossing the step can be so that USB3.0 slave units be eventually completed information reporting with USB2.0 agreement and worked on.
In one embodiment of the invention, before above-mentioned steps S204, the above method can also include:Receive switching Instruction;Wherein, above-mentioned switching command, which is used for instruction, allows USB3.0 bus switchs to USB2.0 buses.I.e. receive it is above-mentioned USB3.0 and USB2.0 switching are just carried out after switching command.
It should be noted that above-mentioned reception switching command can be shown as:Specified wireless network and/or specify wirelessly set The network at standby place is currently being used, and/or when the network where USB3.0 slave units is currently being used, can directly be triggered and be cut Order is changed, can also be shown as, when meeting above-mentioned condition, does not first trigger switching command, but first send for prompting user The prompt message of the switching of usb bus whether is carried out, is receiving the instruction (i.e. switching command) for the switching for carrying out usb bus Afterwards, switch over, but be not limited to this.It should be noted that first prompt the user whether to carry out usb bus switching, if user Instruction switches without usb bus, then shows that user can receive the interference signal, so, can enable to according to user Instruction determine whether to switch over, can preferably improve the Experience Degree of user.
In one embodiment of the invention, after above-mentioned steps S204, the above method can also include:Detecting In the case that USB3.0 slave units extract USB main equipment, by USB2.0 bus switchs to USB3.0 buses.Detecting USB3.0 slave units are pulled out and then switched back into USB3.0 buses.
It should be noted that it is above-mentioned in the case where detecting that two USB3.0 equipment extract USB main equipment, USB2.0 is total Line switches to USB3.0 buses, can not also occur after step s 204, for example, can be detect above-mentioned USB3.0 from During equipment, judge that the USB3.0 slave units are insertion or extract USB main equipment, in insertion, perform step S204, extracting When can perform USB2.0 bus switchs to USB3.0 buses, but be not limited to this.
It should be noted that above-mentioned specified wireless network can be Wireless Fidelity WIFI, such as 2.4GHz WIFI, but simultaneously Not limited to this, such as USB3.0 can cause what is necessarily disturbed to the WIFI, WIFI of the frequency in 2.5GHz preset range, It should be noted that the preset range can be 0.5GHz effects, i.e. WIFI of the frequency between 2GHz to 3GH, but and unlimited In this.Above-mentioned intended wireless device can be wireless mouse or other wireless devices, such as wireless headset, and unlimited In this, this can also use the equipment of the frequency range in 2.5GHz preset range with wireless device.
Alternatively, the executive agent of above-mentioned steps can with terminal, including terminal, mobile terminal etc. or Server etc., but not limited to this.
It should be noted that above-mentioned USB main equipment can be mobile terminal, terminal, however it is not limited to this, it is above-mentioned USB3.0 slave units can also be mobile terminal, terminal but it is also possible to be some USB3.0 equipment, such as USB3.0 without Gauze card etc., but it is not limited to this.
It should be noted that the above method can also be stored in USB3.0 slave units in a manner of program, work as USB3.0 When slave unit inserts USB main equipment, USB main equipment can will be copied in program corresponding to this method in a manner of virtual optical disk In, this method is performed by USB main equipment;It can certainly be stored directly in USB main equipment, however it is not limited to this.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
A kind of switching device of general-purpose serial bus USB is additionally provided in the present embodiment, and the device is above-mentioned for realizing Embodiment and preferred embodiment, repeating no more for explanation was carried out.As used below, term " module " can be real The combination of the software and/or hardware of existing predetermined function.Although device described by following examples is preferably realized with software, But hardware, or the realization of the combination of software and hardware is also what may and be contemplated.
Fig. 3 is the structured flowchart of the switching device of general-purpose serial bus USB according to embodiments of the present invention, as shown in figure 3, The device includes:
Judge module 32, for inserting USB3.0 in the USB3.0 interfaces for detecting general-purpose serial bus USB main equipment In the case of slave unit, judge network where USB3.0 slave units with where specified wireless network and/or intended wireless device Network between whether there is interference signal;
Handover module 34, it is connected with above-mentioned judge module 32, for it interference signal be present in judged result in the case of, By USB3.0 bus switchs to USB2.0 buses.
By said apparatus, due to inserting the feelings of USB3.0 slave units in the USB3.0 interfaces for detecting USB main equipment Under condition, network and specified wireless network and/or intended wireless device where USB3.0 slave units are judged by judge module 32 It whether there is interference signal between the network at place, and in the case where judged result is interference signal be present, handover module 34 by USB3.0 bus switchs to USB2.0 buses, i.e., the USB3.0 interfaces for detecting USB main equipment insert USB3.0 from In the case of equipment, and when interference signal be present, USB3.0 is switched into USB2.0, and then has evaded corresponding interference problem, Solves the interference problem occurred in correlation technique in USB3.0 hypervelocity transmitting procedure.
In one embodiment of the invention, above-mentioned judge module 32 is additionally operable to, and detects the net where USB3.0 slave units Whether network is currently being used, and whether the network where the specified wireless network of detection and/or intended wireless device is made With the network where specified wireless network and/or intended wireless device is detected is currently being used, and USB3.0 slave units In the case that the network at place is also currently being used, determine network where USB3.0 slave units and intended wireless device and/or Interference signal be present between network where intended wireless device.
In one embodiment of the invention, above-mentioned handover module 34 be additionally operable to by USB main equipment with USB3.0 from setting The Root Hub of standby connection is switched to USB2.0 hubs by USB3.0 hubs.
Alternatively, above-mentioned handover module 34 will can be connected in USB main equipment with USB3.0 slave units in the following manner Root Hub USB2.0 hubs are switched to by USB3.0 hubs:Will be corresponding with USB3.0 hubs in USB main equipment Value is revised as value corresponding with USB2.0 hubs.I.e. handover module 34 by change the analog value in USB main equipment come Carry out the switching between USB3.0 states and USB2.0 states so that compared with the switching mode in correlation technique, in USB3.0 Corresponding hub whether occur failure either all USB pipeline it is all obstructed in the case of, remain able to realize USB3.0 to USB2.0 switching, the more preferable Experience Degree that must improve user.
Specifically, can value corresponding with USB3.0 hubs and value corresponding with USB2.0 hubs can store In control register in USB main equipment, you can with by changing or setting corresponding hub in control register Value, to carry out the switching between USB3.0 states and USB2.0 states.
It is illustrated below, for example the numerical value 2 that is set in control register represents and uses USB3.0, the generation of numerical value 1 Table uses dual-bus structure, i.e. USB3.0 and USB2.0 coexist, and numerical value 0, which represents, uses USB2.0, and default value is number Value 1, after the signal that wireless network and/or wireless device are currently being used is received, numerical value 1 can be revised as by handover module 34 0, that is, complete USB3.0 to USB2.0 switching.It should be noted that the meaning that above-mentioned numerical value represents is used only for illustrating, and It is not used to be defined, for example numerical value 0 can also represent to use USB3.0, numerical value 2 represents and uses USB2.0.
In one embodiment of the invention, said apparatus can also include:Sending module, connect with above-mentioned handover module 34 Connect, reset instructions are reset for being issued to USB3.0 slave units, wherein, reset is instructed for indicating that USB3.0 slave units use USB2.0 agreements are communicated with USB main equipment.It should be noted that reset instructions may be used to indicate that and re-recognize institute The USB device of connection.By the step can USB3.0 slave units information reporting is eventually completed with USB2.0 agreement And work on.
In one embodiment of the invention, said apparatus also includes:Receiving module, it is connected with above-mentioned handover module 34, For receiving switching command, wherein, above-mentioned switching command, which is used for instruction, to be allowed USB3.0 bus switchs to USB2.0 buses.I.e. For receiving module after switching command is received, handover module 34 just carries out USB3.0 and USB2.0 switching.
It can be shown as it should be noted that upper receiving module receives switching command:In specified wireless network and/or specify Network where wireless device is currently being used, and/or when the network where USB3.0 slave units is currently being used, can be direct Switching command is triggered, can also be shown as, when meeting above-mentioned condition, does not first trigger switching command, but first send for carrying Show whether user carries out the prompt message of the switching of usb bus, (switch in the instruction for receiving the switching for carrying out usb bus Instruction) after, switch over, but be not limited to this.It should be noted that first prompt the user whether to carry out usb bus switching, if User's instruction switches without usb bus, then shows that user can receive the interference signal, so, can enable to basis The instruction of user determines whether to switch over, and can preferably improve the Experience Degree of user.
In one embodiment of the invention, above-mentioned handover module 34 is additionally operable to detecting the extraction of USB3.0 slave units In the case of USB main equipment, by USB2.0 bus switchs to USB3.0 buses.
It should be noted that above-mentioned specified wireless network can be Wireless Fidelity WIFI, such as 2.4GHz WIFI, but simultaneously Not limited to this, such as USB3.0 can cause what is necessarily disturbed to the WIFI, WIFI of the frequency in 2.5GHz preset range, It should be noted that the preset range can be 0.5GHz effects, i.e. WIFI of the frequency between 2GHz to 3GH, but and unlimited In this.Above-mentioned intended wireless device can be wireless mouse or other wireless devices, such as wireless headset, and unlimited In this, this can also use the equipment of the frequency range in 2.5GHz preset range with wireless device.
It should be noted that said apparatus can be located in USB main equipment, can be located at other USB3.0 equipment ratios It such as terminal, may be located in server, but be not limited to this.It should be noted that above-mentioned USB main equipment can be mobile Terminal, terminal, however it is not limited to which this, above-mentioned 2nd USB3.0 can also be mobile terminal, terminal, but can also It is some USB3.0 equipment, such as USB3.0 wireless network cards etc., but it is not limited to this.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or above-mentioned modules are with any The form of combination is located in different processors respectively.
Embodiment 3
A kind of system is additionally provided in the present embodiment, including:USB main equipment, USB3.0 slave units and USB3.0 cables; Wherein, USB main equipment and USB3.0 slave units are attached by USB3.0 cables, and USB main equipment is included in embodiment 2 USB switching device.
The description of embodiment 2 is may be referred to for switching device, here is omitted.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can To be arranged to the program code for the step of storage is used to perform the method in embodiment 1.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Alternatively, the specific example in the present embodiment may be referred to described in above-described embodiment and optional embodiment Example, the present embodiment will not be repeated here.
For a better understanding of the present invention, the present invention is further explained below in conjunction with preferred embodiment.
The preferred embodiment of the present invention provides a kind of method of USB3.0 and USB2.0 switching, can solve the problem that USB3.0 exceeds the speed limit The interference problem brought is wirelessly transferred in transmitting procedure to 2.4GHz.The preferred embodiment of the present invention can automatically detect interference simultaneously Expansible host controller interface (eXtensible Host Controller Interface, the letter of energy control main frame side Claim xHCI) belonging to external equipment interconnection bus (Peripheral Component Interconnect, abbreviation PCI) control Register (equivalent to the control register in above-described embodiment), PCI control registers can control USB3.0 console controllers The Root Hub connected is USB3.0HUB or USB2.0HUB, can pass through the value of configuration control register so that root collection Line device (ROOT HUB) is switched to USB2.0 states, and such equipment is identified with USB2.0 again, preferably resolves interference Problem.
The system physical plant that the preferred embodiment of the present invention provides includes USB3.0 main frames (equivalent in above-described embodiment USB main equipment), USB3.0 cables, USB3.0 wireless network cards (equivalent to the USB3.0 slave units in above-described embodiment).
Can run one inside USB3.0 host computer systems described in the embodiment of the present invention applies app, this app to include two Big module:Interference and abnormality detection module, USB HUB handover modules.It should be noted that this applies the work(that APP is completed The function that can be completed equivalent to the method in above-described embodiment.
It should be noted that this is stored on the flash of USB3.0 wireless network cards using app, USB3.0 wireless network cards are first During the secondary access USB3.0 main frames by USB3.0 cables, USB3.0 wireless network cards can appear in USB3.0 in the form of virtual optical disk On main frame.So copy or be installed on USB3.0 main frames using app cans.USB3.0 wireless network cards access master again Machine, this application can automatic running.
Set using app interference and abnormality detection module for whether USB3.0 interfaces in detecting system have accessed USB3.0 It is standby, if having accessed USB3.0 equipment, then interference and abnormality detection module continue to detect whether 2.4GHz Wireless USB mouse Mark or the WIFI network for whether having accessed 2.4G, if so, and all carrying out data transmission, then hair message is to USB HUB handover modules (equivalent to the handover module in above-described embodiment).If do not access USB3.0 equipment or do not carry out Data transfer, then without switching.
It is dual-bus structure that USB3.0 console controllers are pointed out in USB3.0 protocol specifications, there is a USB2.0HUB and one Individual USB3.0HUB is formed.USB HUB handover modules are used for managing USB HUB used in USB3.0 console controllers, once Receive the handover request of interference and the transmission of abnormality detection module (equivalent to the switching command in above-described embodiment), then USB HUB handover modules can modify the value of control register, such as that the expression connection of numerical value 2 is USB3.0HUB;The generation of numerical value 1 Table connection is to use dual-bus structure, i.e. USB3.0HUB and USB2.0HUB coexist;Numerical value 0 represent connection be USB2.0HUB.Interference Detection is arrived, and value can be revised as the connection of 0, USB3.0 wireless network cards by handover module from default conditions 1 ROOT HUB will be switched to USB2.0 HUB from USB3.0HUB.HUB handover modules can issue reset instructions after switching, Re-recognize the USB device that HUB downstream ports are connected.Our USB3.0 wireless network cards are compatible USB2.0 agreements, institute After receiving reset instructions, USB2.0HUB can communicate with our USB3.0 wireless network cards, and the agreement used is USB2.0, USB3.0 wireless network cards are eventually completed information reporting with USB2.0 agreement and worked on.
After USB3.0 wireless network cards are extracted, USB HUB handover modules may proceed to work, detect that USB3.0 equipment is extracted Afterwards, the control register belonging to xHCI can be switched to 1 from 0, does not influence the use of other USB3.0 equipment.
This is still effective to other USB3.0 equipment using app, but needs to obtain user's license, otherwise only to this USB3.0 wireless network cards are effective.This function can accomplish that app erection stages or later stage set the stage.
For above preferred embodiment, it is specifically described as follows:
Fig. 4 is the USB3.0 system physical connection figures provided according to the preferred embodiment of the present invention, as shown in figure 4, this is preferred Embodiment wants normal work to have the PC main frames with USB3.0, and a storage has automatic detection to disturb and the executable journey that automatically switches The USB3.0 wireless network cards of sequence and a USB3.0 cable.PC main frames and USB3.0 wireless network cards are by USB3.0 cables by equipment It is connected with the USB3.0 interfaces of main frame.
The function that automatic detection is disturbed and automatically switched is realized, host computer side will install a real-time monitor (RTM), be used for Whether monitoring host computer side has in the WIFI using 2.4G and wireless mouse and according to circumstances carries out usb hub (USB HUB) Switching.This monitoring programme installation kit is placed in some file partition of USB3.0 wireless network cards.Wireless network card can be with By the way that the interface of oneself is reported small computer system interface is used for mass storage interface, interface subclass code (Small Computer System Interface;Abbreviation SCSI) instruction set, interface protocol be BULK-ONLY transmission, PC master Wireless network card will be identified as virtual optical disk by machine, and then read the content in CD, then will be stored in inside wireless network card File read be installed on PC main frames.
Fig. 5 is the automatic detection and switching APP provided according to the preferred embodiment of the present invention scheme of installation, such as Fig. 5 institutes Show, descriptor is that the default control endpoint for the USB pipe established by equipment and main frame obtains, the reading instruction and equipment of main frame Reply be to be transmitted by BULK IN and OUT pipelines, by reading many times, CD content will be read into PC sides.
Fig. 6 is the relation schematic diagram between the host application program and each module provided according to the preferred embodiment of the present invention, As shown in fig. 6, compatible forward for USB2.0, USB3.0 console controller system has been designed to two sets of HUB structure, one Cover HUB and support USB2.0 agreements, a set of HUB supports USB3.0 agreements, is dual-bus structure.Specific USB2.0 HUB work is also It is USB3.0 HUB work, what it is depending on access is USB3.0 cables or USB2.0 cables.
Either windows or linux operating systems both provide a set of pci bus operate interface, and this interface can be with The control register write-in of control USB3.0 console controllers is 0 or 1, a 0 expression only enabled USB2.0HUB, and 1 represents USB2.0HUB and USB3.0HUB is enabled.Therefore we can support USB3.0 agreements still to support in PC sides dynamic implement USB2.0 agreements, and then according to selection, control USB3.0 equipment to be operated with USB2.0 pattern.
The module for being responsible for control register in USB3.0 console controllers is the HUB switching moulds of host application program of the present invention Block.The premise that HUB handover modules carry out register write-in is wireless wifi detection modules and wireless mouse detection module detection As a result.The wireless wifi detection modules detection of this preferred embodiment is wireless network connection, is connected and obtained by wireless network Connection type, frequency used and use state;Wireless mouse detection module can be by detecting HID drivings and PS/2 driving behaviour Make interface, judge connection type, use state.Above detection method includes but is not limited to the above method.
Fig. 7 is the USB3.0 console controller structured flowcharts provided according to the preferred embodiment of the present invention, as shown in fig. 7, this Preferred embodiment is described with simplest interface, is only connected in mainboard and is come a USB2.0 interface and a USB3.0 interface. Actual USB3.0 console controllers may be more complicated, one or more hubs (HUB) can be internally accessed, so as to extend Go out multiple USB2.0 interfaces and multiple USB3.0 interfaces.
USB3.0 console controllers XHC is that HUB control registers are fixed as into USB3.0 and USB2.0HUB Coexistence modes, But the operate interface of HUB control registers is still remained in kernel, such as in Linux system, kernel provides usb_ Enable_xhci_ports () and usb_disable_xhci_ports () function enable and disabled USB3.0HUB.So handle Such interface abstraction is that control register switchs (S0 in figure), and application program is freely chosen whether by control register switch Disable USB3.0HUB.
If S0 values are 1, then selection is exactly that USB3.0 and USB2.0HUB coexist, then C2 can be according to the USB of connection Device type, the line that dotted line is walked in selection are connected to HCP2 hub interfaces, and the solid line line for being suspended to USB3.0HUB or black connects To HCP1, USB2.0HUB is suspended to.
If S0 is set for 0, then no matter the insertion of C2 interfaces is USB2.0 equipment or USB3.0 equipment, can all be walked The solid line line of black is connected to HCP1 hub interfaces, is suspended on USB2.0HUB, and final equipment can be identified as setting for USB2.0 It is standby.
Fig. 8 is the structured flowchart of module in the application program provided according to the preferred embodiment of the present invention, as shown in figure 8, bag Monitoring modular, message collection and judge module, automatic switching module and device control module are included, wherein, monitoring modular is divided into three It is individual:USB3.0 interface monitors module, WIFI monitoring modulars, wireless mouse monitoring modular, include but is not limited to both and wirelessly set Standby monitoring modular.
Application program can monitor USB3.0 ports first, if there is equipment insertion on USB3.0 port, can further obtain The descriptor information of USB device is taken, if obtaining BOS (Binary Device Object Store) or ECD (Endpoint Companion Descriptor) descriptor (include but is not limited to such a USB3.0 judgment modes), it is determined that access is USB3.0 wireless network cards, USB3.0 equipment otherwise can be waited to insert always.After monitoring USB3.0 equipment, message can be sent out to disappearing Breath is collected and judge module, WIFI monitoring modulars and wireless mouse monitoring modular can detect whether now PC main frames have 2.4G WIFI business is being run, or whether wireless mouse is using, and as a result can feed back to message collection and judge module, message collection and Judged inside judge module, whether the use of Comprehensive Evaluation USB3.0 equipment can influence the wireless of 2.4GHz, if influenceed, Automatic switching module is so notified, automatic switching module can re-write the value of PCI control registers, complete cutting for ROOT HUB Change, hair message informing device control module is completed in switching, and device control module can enter row bus reset, after the completion of restarting USB3.0 wireless network cards equipment will be mounted to USB2.0 HUB, be reported with USB2.0 configuration.
Fig. 9 is the schematic flow sheet that the application program provided according to the preferred embodiment of the present invention is installed, below in conjunction with Fig. 8 and Fig. 9 is described in detail, and inserts USB3.0 wireless network cards on USB3.0PC main frames first, and oneself can be enumerated as virtual optical by network interface card Disk, so that main frame identifies, meeting automatic running autorun after CD content is read on PC main frames, erection schedule is then called, goes out The interface of existing " whether continuing to install ", if user does not select to install, is waited always, if selection installation, then detection is dry The application process disturbed and carry out automatic adaptation switching has just been installed on PC main frames.Then USB3.0 network interface card is switched to separately A kind of outer working condition --- network interface card pattern --- works on.The application process now installed has started, and carries out real When monitor.By after host computer side application program installation, application program brings into operation flow immediately above.
Figure 10 is the schematic flow sheet of the USB3.0 switching methods provided according to the preferred embodiment of the present invention, such as Figure 10 institutes Show, this method (i.e. above-mentioned application program) includes:
Application program launching.USB3.0 interface monitor modules start to monitor, detect USB3.0 equipment whether insert or Extract, continue to detect not as equipment is detected, if detecting that USB3.0 equipment is inserted, then triggering WIFI detection moulds Block, wireless mouse monitoring modular and other wireless device monitoring modulars.If monitor that USB3.0 equipment is extracted, then by it The usb bus of preceding switching switches back into USB3.0 patterns.Whether WIFI monitoring modulars monitor WIFI frequencies by api interface first 2.4GHz, if not, then WIFI monitoring modulars function is completed;Otherwise WIFI connection service conditions are monitored, if made With, then feed back to message collection and judge module.Wireless mouse monitoring modular is also intended to judge whether in use, to use Situation feeds back to message collection and judge module.The present invention includes but is not limited to above two wireless product and used, therefore increases One other wireless devices monitoring.USB3.0 interface monitor modules detect that USB3.0 equipment is inserted, then continue to detect Whether there is network packet on USB3.0 network card interface, sampled if having.As a result feed back to message collection and judge mould Block.Message collection considers foregoing several monitoring modular feedacks with judge module, judges, and prompts user to have dry Disturb, if carry out USB3.0-USB2.0 bus switch.If user abandons, then represents that user receives interference;So program Exit, re-execute.Otherwise the interface for calling PCI to provide modifies bus register value, and USB3.0 buses will switch To USB2.0 buses.Then program issues a bus reset instruction, and device looses power is restarted.After the completion of restarting, although USB3.0 What equipment still connected is USB3.0 cable and USB3.0 HPI, but now USB3.0 HPI connection It is USB2.0 bus, USB device can be reported with USB2.0 configuration.From the beginning program circulates again.By above-mentioned steps, Influences of the USB3.0 to WIFI and other wireless 2.4GHz communications, which is just avoided, to be solved.
The application memory of monitoring interference and the automatic switchover of the preferred embodiment of the present invention passes through certainly in USB wireless network cards Server end can be placed on by the installation procedure of this application by crossing modification, and installation can also be directly downloaded without wireless network card.By Other USB3.0 equipment can also be added to monitoring range, can solve USB3.0 wireless networks incessantly by modification, application program Disturbed caused by card, other USB3.0 terminals are equally applicable.Reach this purpose, it is only necessary to add in the application Judgement to PID, VID and interface of other USB3.0 terminals.
The preferred embodiment of the present invention can solve the wireless of WIFI and 2.4GHz that USB3.0 exceeds the speed limit when transmitting to 2.4GHz The interference problem that USB mouse is brought, although the method is to evade solution method, but implement simple and convenient, is fully relied on Be software approach, it is not necessary to change circuit, increase extra hardware device, saved hardware cost.User only needs to supervise The application for surveying interference is installed on USB3.0 main frames, completes the monitoring of interference using can, and automatic or carried by user Usb bus is switched to 2.0 by the mode shown from 3.0, and Consumer's Experience is good.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (15)

  1. A kind of 1. switching method of general-purpose serial bus USB, it is characterised in that including:
    In the case where the USB3.0 interfaces for detecting general-purpose serial bus USB main equipment insert USB3.0 slave units, judge Whether deposited between the network where network and specified wireless network and/or intended wireless device where the USB3.0 slave units In interference signal;
    In the case where judged result is the interference signal be present, by USB3.0 bus switchs to USB2.0 buses.
  2. 2. according to the method for claim 1, it is characterised in that include USB3.0 bus switchs to USB2.0 buses:
    The Root Hub being connected in the USB main equipment with the USB3.0 slave units is switched to by USB3.0 hubs USB2.0 hubs.
  3. 3. according to the method for claim 2, it is characterised in that in the following manner by the USB main equipment with it is described The Root Hub of USB3.0 slave units connection is switched to USB2.0 hubs by USB3.0 hubs:
    By in the USB main equipment with the USB3.0 hubs corresponding to value be revised as it is corresponding with the USB2.0 hubs Value.
  4. 4. according to the method for claim 1, it is characterised in that by the USB3.0 bus switchs to USB2.0 buses it Afterwards, methods described also includes:
    Issued to the USB3.0 slave units and reset reset instructions, wherein, the reset is instructed for indicating the USB3.0 Slave unit is communicated using USB2.0 agreements with the USB main equipment.
  5. 5. according to the method for claim 1, it is characterised in that by the USB3.0 bus switchs to USB2.0 buses it Before, methods described also includes:
    Switching command is received, wherein, the switching command, which is used for instruction, to be allowed USB3.0 bus switchs to USB2.0 buses.
  6. 6. according to the method for claim 1, it is characterised in that after by USB3.0 bus switchs to USB2.0 buses, Methods described also includes:
    In the case where detecting that the USB3.0 slave units extract the USB main equipment, by the USB2.0 bus switchs extremely The USB3.0 buses.
  7. 7. method according to any one of claim 1 to 6, it is characterised in that the specified wireless network includes wireless Fidelity WIFI, the intended wireless device include:Wireless mouse.
  8. A kind of 8. switching device of general-purpose serial bus USB, it is characterised in that including:
    Judge module, for inserting USB3.0 slave units in the USB3.0 interfaces for detecting general-purpose serial bus USB main equipment In the case of, judge network where the USB3.0 slave units with where specified wireless network and/or intended wireless device It whether there is interference signal between network;
    Handover module, for it the interference signal be present in judged result in the case of, by USB3.0 bus switchs extremely USB2.0 buses.
  9. 9. device according to claim 8, it is characterised in that the handover module is additionally operable in the USB main equipment The Root Hub being connected with the USB3.0 slave units is switched to USB2.0 hubs by USB3.0 hubs.
  10. 10. device according to claim 9, it is characterised in that the handover module is in the following manner by the USB master The Root Hub being connected in equipment with the USB3.0 slave units is switched to USB2.0 hubs by USB3.0 hubs:
    By in the USB main equipment with the USB3.0 hubs corresponding to value be revised as it is corresponding with the USB2.0 hubs Value.
  11. 11. device according to claim 8, it is characterised in that described device also includes:Sending module, for described USB3.0 slave units, which issue, resets reset instructions, wherein, the reset is instructed for indicating that the USB3.0 slave units use USB2.0 agreements are communicated with the USB main equipment.
  12. 12. device according to claim 8, it is characterised in that described device also includes:
    Receiving module, for receiving switching command, wherein, the switching command, which is used for instruction, to be allowed USB3.0 bus switchs extremely USB2.0 buses.
  13. 13. device according to claim 8, it is characterised in that the handover module be additionally operable to detect it is described In the case that USB3.0 slave units extract the USB main equipment, by the USB2.0 bus switchs to USB3.0 buses.
  14. 14. the device according to any one of claim 8 to 13, it is characterised in that the wireless network includes wireless protect True WIFI, the wireless device include:Wireless mouse.
  15. A kind of 15. system, it is characterised in that including:USB main equipment, USB3.0 slave units and USB3.0 cables;Wherein, it is described USB main equipment includes the device any one of claim 8 to 14.
CN201610340344.6A 2016-05-19 2016-05-19 USB switching method and device, system Pending CN107402893A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610340344.6A CN107402893A (en) 2016-05-19 2016-05-19 USB switching method and device, system
PCT/CN2017/000055 WO2017197900A1 (en) 2016-05-19 2017-01-03 Usb switching method, device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610340344.6A CN107402893A (en) 2016-05-19 2016-05-19 USB switching method and device, system

Publications (1)

Publication Number Publication Date
CN107402893A true CN107402893A (en) 2017-11-28

Family

ID=60326412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610340344.6A Pending CN107402893A (en) 2016-05-19 2016-05-19 USB switching method and device, system

Country Status (2)

Country Link
CN (1) CN107402893A (en)
WO (1) WO2017197900A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092986A (en) * 2017-12-27 2018-05-29 北京传嘉科技有限公司 The data transmission method and device of mobile terminal
CN108768706A (en) * 2018-05-16 2018-11-06 四川斐讯信息技术有限公司 The mode selecting method of storage device interface and selection system on a kind of router
CN109032831A (en) * 2018-08-30 2018-12-18 中新工程技术研究院有限公司 A kind of scheme of USB device identification automatic error correction
TWI707236B (en) * 2019-05-31 2020-10-11 佳世達科技股份有限公司 Mode switching system and mode switching method using the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388523A (en) * 2018-05-03 2018-08-10 广州视源电子科技股份有限公司 Intelligent flat, passageway switching method and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853688A (en) * 2012-11-28 2014-06-11 精工爱普生株式会社 Device control apparatus, host device, and control method of the host device
US20140244852A1 (en) * 2013-02-27 2014-08-28 Ralink Technology Corp. Method of Reducing Mutual Interference between Universal Serial Bus (USB) data transmission and wireless data transmission
CN104079415A (en) * 2013-03-27 2014-10-01 瑞昱半导体股份有限公司 Network device and connection detection method thereof
CN104102603A (en) * 2013-04-09 2014-10-15 瑞昱半导体股份有限公司 USB (Universal Serial Bus) network interface controller and operation mode switching method thereof
CN105406896A (en) * 2015-10-19 2016-03-16 联想(北京)有限公司 Electronic equipment and control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201408862Y (en) * 2009-05-18 2010-02-17 东莞市扬明精密塑胶五金电子有限公司 Novel pin structure of USB3.0 connector

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853688A (en) * 2012-11-28 2014-06-11 精工爱普生株式会社 Device control apparatus, host device, and control method of the host device
US20140244852A1 (en) * 2013-02-27 2014-08-28 Ralink Technology Corp. Method of Reducing Mutual Interference between Universal Serial Bus (USB) data transmission and wireless data transmission
CN104079415A (en) * 2013-03-27 2014-10-01 瑞昱半导体股份有限公司 Network device and connection detection method thereof
CN104102603A (en) * 2013-04-09 2014-10-15 瑞昱半导体股份有限公司 USB (Universal Serial Bus) network interface controller and operation mode switching method thereof
CN105406896A (en) * 2015-10-19 2016-03-16 联想(北京)有限公司 Electronic equipment and control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092986A (en) * 2017-12-27 2018-05-29 北京传嘉科技有限公司 The data transmission method and device of mobile terminal
CN108768706A (en) * 2018-05-16 2018-11-06 四川斐讯信息技术有限公司 The mode selecting method of storage device interface and selection system on a kind of router
CN109032831A (en) * 2018-08-30 2018-12-18 中新工程技术研究院有限公司 A kind of scheme of USB device identification automatic error correction
TWI707236B (en) * 2019-05-31 2020-10-11 佳世達科技股份有限公司 Mode switching system and mode switching method using the same
US11113221B2 (en) 2019-05-31 2021-09-07 Qisda Corporation Mode switching system and mode switching method using the same

Also Published As

Publication number Publication date
WO2017197900A1 (en) 2017-11-23

Similar Documents

Publication Publication Date Title
CN107402893A (en) USB switching method and device, system
CN103616937B (en) A kind of mainboard, PCIE network interface card and server system
US10042800B2 (en) Active USB device and switching method for operating mode thereof
CN105893311A (en) Universal serial bus interface drive configuration method and device
CN102272723A (en) System, apparatus, and method for fast startup of USB devices
CN102176704A (en) Method, system and device for accessing wireless network through universal serial bus (USB) virtual network card
CN108371528A (en) A kind of dish-washing machine and its control method of band GPRS remote controls
WO2019042421A1 (en) Method, apparatus and device for rate adjustment of usb data transmission, and storage medium
CN102073524B (en) A kind of method of wireless communication terminal and self-starting thereof
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
EP3817301B1 (en) Method and apparatus for establishing communication between automobile diagnostic device and vehicle, and automobile communication interface device
CN208386576U (en) A kind of industrial network exchange serial server with simple switched management function
CN109213530A (en) A kind of communication connecting method based on USB, mobile terminal and storage medium
CN102768561B (en) Design method for twinbridge piece mainboard redundancy
CN105676052A (en) Serial port line sequence identification method and system
EP2810174A1 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN108153626B (en) USB, serial port multiplexing and safety isolation system
CN206294300U (en) A kind of set CARPLAY communications and the device of USB transmission
CN102761624B (en) Method and device for debugging Internet access out of panel
CN105554180B (en) The connection method of principal and subordinate's breaker and distribution box in a kind of distribution box
US10437768B2 (en) Method and host node for configuring a remote node and a host node
CN109873741B (en) System and working method of single-wire shared bus protocol
CN106101784B (en) A kind of repositioning method and device of smart television control Bluetooth chip
EP3413205A1 (en) Re-enumeration of usb 3.0 compatible devices
CN115834444A (en) Automatic topology identification method and device for indoor distribution system equipment and indoor distribution system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171128