CN101741825A - Method and equipment for switching between wireless USB interface and wired USB interface - Google Patents
Method and equipment for switching between wireless USB interface and wired USB interface Download PDFInfo
- Publication number
- CN101741825A CN101741825A CN200810226615A CN200810226615A CN101741825A CN 101741825 A CN101741825 A CN 101741825A CN 200810226615 A CN200810226615 A CN 200810226615A CN 200810226615 A CN200810226615 A CN 200810226615A CN 101741825 A CN101741825 A CN 101741825A
- Authority
- CN
- China
- Prior art keywords
- usb interface
- data
- transmitting equipment
- interface
- wireless usb
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention provides a method and equipment for switching between a wireless USB interface and a wired USB interface, which belong to the technical field of data transmission and are applied to data sending equipment. The data sending equipment is provided with a first wireless USB interface and a first wired USB interface. The switching method comprises that: whether the first wireless USB interface or the first wired USB interface on the data sending equipment is enumerated to data receiving equipment is detected; and if the first wireless USB interface is enumerated to the data receiving equipment, the data sending equipment automatically switches a data transmission mode into a mode that the data to be transmitted on the data sending equipment is transmitted to the data receiving equipment through the first wireless USB interface. Therefore, the wireless USB interface or the wired USB interface can be selected to transmit data according to the user requirement between the data sending equipment and the data receiving equipment, and the freedom for using the terminal equipment by a user is increased.
Description
Technical field
The present invention relates to technical field of data transmission, relate in particular to a kind of based on changing method and equipment between WUSB (Wireless USB) interface and wired USB (Universal Serial BUS, the USB) interface.
Background technology
The USB technology is at PC (Person Computer at present, personal computer) obtained in using widely, and in personal electric product and mobile device, also brought into play no small effect, but the length of USB line is made troubles to the user sometimes with the process that is connected.
For example in today that computer is popularized day by day, no matter still stay at home in office, people use the time of computer more and more, when display device is connected with the PC main frame by the USB line, display device need be placed on the nearer position of distance P C main frame, the random mobile display device of user just, for the operator, therefore this fixed occupation mode of display device is very inconvenient under many circumstances, wishes to have a kind of wireless connections mode to realize connection between display device and the PC main frame.
Increasingly mature along with the wireless technology of WUSB, can realize wireless connections by WUSB between PC main frame and the display device, can avoid this moment connecting the problem that the display device that brings can not move arbitrarily by wired USB, but since at present WUSB the bandwidth resources that can provide limited, can not satisfy the transmission of high-quality video image, and this display device need be by internal battery or external power supply mode to guarantee its operate as normal, because the flying power of battery is limited, make the user can not be for a long time this display device of use of mode by wireless connections, and when the mode that adopts external power supply is powered to display device, this display device can not move arbitrarily equally, has influenced user's normal use.
Therefore the user wishes when display device and PC main frame distance are enough near or when needing pass through the PC main frame and powering, can select wired USB interface to realize connection between PC main frame and the display device, and when needs move freely display device, can select the WUSB interface to realize being connected between display device and the PC main frame, just wish to realize freely switching between WUSB interface and the wired USB interface, yet in realizing process of the present invention, find also not relate in the present prior art handoff technique scheme of Wireless USB interface and wired USB interface.
Summary of the invention
In order to address the above problem, the purpose of embodiments of the invention provides a kind of based on changing method and equipment between Wireless USB interface and the wired USB interface, make between data transmitting equipment and data receiver that can choose the Wireless USB interface according to user's demand still is wired USB interface transmission data, increased the freedom that the user uses terminal equipment.
According to an aspect of the present invention, provide a kind of based on the changing method between Wireless USB interface and the wired USB interface, be applied to the data transmitting equipment side, described data transmitting equipment is provided with the first Wireless USB interface and first wired USB interface, and described changing method comprises:
Whether the described first wired USB interface or the first Wireless USB interface that detect on the described data transmitting equipment enumerate data receiver;
If when described first wired USB interface was enumerated described data receiver, described data transmitting equipment automatically switched to the data receiver formula by described first wired USB interface the data to be transmitted on the described data transmitting equipment is sent on the described data receiver;
If when the described first Wireless USB interface was enumerated described data receiver, described data transmitting equipment automatically switched to the data receiver formula by the described first Wireless USB interface data to be transmitted on the described data transmitting equipment is sent on the described data receiver.
Preferably, when sending described data to be sent by described first wired USB interface, described changing method also comprises:
The operating state of the described first Wireless USB interface on the described data transmitting equipment is set to closed condition.
Preferably, detecting before whether the described first wired USB interface on the described data transmitting equipment or the first Wireless USB interface enumerate the step of data receiver, described changing method also comprises:
Obtain the data to be sent on the described data transmitting equipment, and described data to be sent are carried out data compression process.
According to another aspect of the present invention, also provide a kind of data transmitting equipment, comprised the first wired USB interface and the first Wireless USB interface, also comprised:
First interface detection module, be connected with the described first Wireless USB interface with described first wired USB interface respectively, be used to detect described first wired USB interface and whether enumerate data receiver, perhaps be used to detect the described first Wireless USB interface and whether enumerate data receiver;
First interface switching module is connected with described first interface detection module with described first wired USB interface, the described first Wireless USB interface respectively,
If described first interface detection module detects described first wired USB interface when enumerating described data receiver, be used for the data receiver formula automatically switched to by described first wired USB interface the data to be sent on the described data transmitting equipment are sent to described data receiver;
If described first interface detection module detects the described first Wireless USB interface when enumerating described data receiver, be used for the data receiver formula automatically switched to by the described first Wireless USB interface data to be sent on the described data transmitting equipment are sent to described data receiver.
Preferably, described data transmitting equipment also comprises:
Data compressing module is connected with the described first Wireless USB interface with described first wired USB interface, is used for the data of obtaining to be sent are carried out data compression process.
Preferably, described data transmitting equipment also comprises:
The first interface operating state is provided with module, be connected with described first interface switching module with described first wired USB interface, the described first Wireless USB interface respectively, be used for being provided with the operating state of the described first Wireless USB interface according to the selection result of described first interface switching module;
When the selection result of described first interface switching module sent described data to be sent for selecting described first wired USB interface, the described first interface operating state was provided with module the operating state of the described first Wireless USB interface is provided with closed condition.
Preferably, described data transmitting equipment is the PC main frame.
According to a further aspect of the invention, also provide a kind of based on the changing method between Wireless USB interface and the wired USB interface, be applied to the data receiver side, described data receiver is provided with the second Wireless USB interface and second wired USB interface, and described changing method comprises:
With between the data transmitting equipment whether the described second wired USB interface that detects on the described data receiver form wired USB and be connected, perhaps detect the described second Wireless USB interface whether with data transmitting equipment between the formation Wireless USB be connected;
If when forming wired USB between described second wired USB interface on the described data receiver and the described data transmitting equipment and being connected, described data receiver automatically switches to data receive mode the data that receive described data transmitting equipment transmission by second wired USB interface;
If when forming Wireless USB between the described second Wireless USB interface and the described data transmitting equipment and being connected, described data receiver automatically switches to data receive mode the data that receive described data transmitting equipment transmission by the described second Wireless USB interface.
Preferably, when receiving described data transmitting equipment by described second wired USB interface and send data, described changing method also comprises:
The operating state of the described second Wireless USB interface on the described data receiver is set to closed condition.
Preferably, when described data to be sent are passed through data compression process, whether with between the data transmitting equipment to form wired USB and be connected in described second wired USB interface on the described data receiver of described detection, and between the data transmitting equipment whether perhaps detect the described second Wireless USB interface and to form before the Wireless USB step of connecting, described method also comprises:
The data to be sent that described data receiver receives are carried out the data decompression processing.
According to a further aspect of the invention, also provide a kind of data receiver, comprised the second wired USB interface and the second Wireless USB interface, also comprised:
Second interface detection module, be connected with described second wired USB interface with the described second Wireless USB interface respectively, with between the data transmitting equipment whether the described second wired USB interface that is used to detect on the described data receiver form wired USB and be connected, perhaps be used to detect on the described data receiver the second Wireless USB interface whether with data transmitting equipment between the formation Wireless USB be connected;
Second interface switching module is connected with the described second Wireless USB interface, described second wired USB interface and described second interface detection module respectively,
If when described second interface detection module detects and forms wired USB between described second wired USB interface and the data transmitting equipment and is connected, be used for data receive mode is automatically switched to the data that receive described data transmitting equipment transmission by second wired USB interface;
If described the and detection module detects when forming Wireless USB between the described second Wireless USB interface and the data transmitting equipment and being connected, be used for data receive mode is automatically switched to the data that receive described data transmitting equipment transmission by the described second Wireless USB interface.
Preferably, described data receiver also comprises:
The second interface operating state is provided with module, is used for being provided with according to the selection result of described second interface switching module operating state of the described second Wireless USB interface;
When the selection result of described second interface switching module received the data of described data transmitting equipment transmission for selecting described second wired USB interface, the operating state that the described second interface operating state is provided with the described second wired USB interface of module was set to closed condition.
Preferably, described data receiver also comprises:
Data decompression module is connected with described second wired USB interface with the described second Wireless USB interface respectively, is used for that the data that receive are carried out data decompression and handles.
Preferably, described data receiver is a display device.
At least one technical scheme in the technique scheme has following beneficial effect: by all be provided with wired USB interface and Wireless USB interface in data transmitting equipment and data receiver, make the user can select wired USB interface as required arbitrarily or do not have existing USB interface and transmit data, increased the freedom that the user uses terminal equipment.
Description of drawings
Fig. 1 is for being applied to the changing method flow chart of data transmitting equipment side in the embodiments of the invention;
Fig. 2 is the structured flowchart of data transmitting equipment in the embodiments of the invention;
Fig. 3 is for being applied to the changing method flow chart of data receiver side in the embodiments of the invention;
Fig. 4 is the structured flowchart of data receiver in the embodiments of the invention.
Embodiment
In an embodiment of the present invention, all be provided with Wireless USB interface and wired USB interface in data transmitting equipment and the data receiver, when coupling together by the USB connecting line between data transmitting equipment and the data receiver, data transmitting equipment can send the data to data receiver by wired USB interface; When disconnecting the connection of this USB connecting line, the data between data transmitting equipment and the data receiver can automatically switch to the Wireless USB interface and transmit.When close together between data transmitting equipment and data receiver or needs are powered with wired USB interface like this, can adopt wired USB interface to transmit data; And when the user need move this data transmitting equipment or data receiver, can automatically switch to the Wireless USB interface from wired USB interface, and transmit data by this Wireless USB interface, make that can choose the Wireless USB interface according to user's demand between data transmitting equipment and data receiver still is that wired USB interface is transmitted data, thereby increased the freedom that the user uses terminal equipment.
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is done explanation in further detail below in conjunction with embodiment and accompanying drawing.At this, illustrative examples of the present invention and explanation are used to explain the present invention, but not as a limitation of the invention.
Embodiment one
It is a kind of based on the changing method between Wireless USB interface and the wired USB interface that embodiments of the invention provide, be applied in the data transmitting equipment side, this data transmitting equipment is provided with the first Wireless USB interface and first wired USB interface, when first wired USB interface on this data transmitting equipment can be enumerated data receiver by usb protocol, this data transmitting equipment can automatically switch to the data receiver formula by first wired USB interface data to be sent are sent to data receiver; And when the first Wireless USB interface on the data transmitting equipment is enumerated this data receiver, this data transmitting equipment automatically switches to the data receiver formula by the first Wireless USB interface data to be transmitted on the data transmitting equipment is sent on the data receiver, thereby can make the data transmitting equipment can to choose that to adopt the Wireless USB interface still be that wired USB interface sends data, increase the freedom that the user uses data transmitting equipment according to user's demand.
Be elaborated below in conjunction with the changing method based between Wireless USB interface and the wired USB interface of accompanying drawing to embodiments of the invention.Referring to Fig. 1, for being applied to the changing method flow chart of data transmitting equipment side in the embodiments of the invention, the concrete steps of this changing method are as follows:
For the ease of understanding, below with PC (Personal Computer, PC) main frame as data transmitting equipment, display device is that example comes the flow process of this changing method is introduced as data receiver, also is not limited to this certainly.On PC main frame and display device, all be provided with Wireless USB interface and wired USB interface this moment, wherein the Wireless USB interface can be by wireless USB module with PCI/PCIe (Pedpherd Component Interconnect, the mode of peripheral element extension interface/PCI-Express) is built in the PC main frame, perhaps in external mode wired USB interface place that wireless USB module is inserted in the PC main frame is realized.
Data to be sent in this step can be the video datas in the PC main frame, and the obtain manner in this step can adopt the mode of video data in the existing PC of the obtaining main frame, no longer apply at this and state.
In order to reduce video data (data to be transmitted) shared bandwidth resources in transmission course, can carry out data compression process to this video data, the video data after PC main frame (data transmitting equipment) will compress then sends to display device.Corresponding is behind the video data after display device (data receiver) receives compression, also to need to carry out decompression with it.This step is an optional step.
Whether step 103, the first wired USB interface that detects on this data transmitting equipment enumerate data receiver, if then execution in step 104; Otherwise, but process ends.
Judge that just whether the wired USB interface on this PC main frame is connected with wired USB interface on the display device, for example can judge whether the wired USB interface on this PC main frame enumerates this display device by usb protocol.When the wired USB interface on this PC main frame is enumerated this display device, can illustrate that this PC main frame is connected by wired USB interface with display device, this detection mode also is not limited to this certainly.
When judging the PC main frame and be connected by wired USB interface with display device, just set up wired USB transmission channel between PC main frame and the display device, can send to display device with the video data to be sent in the PC main frame this moment by this wired USB transmission channel.
After execution of step 104, because the PC main frame can send to display device with video data to be sent by wired USB interface, so in order to reduce the energy consumption of PC main frame, can adjust the operating state of the Wireless USB interface on this PC main frame, for example the operating state of this Wireless USB interface can be adjusted into closed condition, just can stop this Wireless USB interface power supply, make this Wireless USB interface no longer carry out the operation of enumerating display device by wireless mode, perhaps also the operating state of this Wireless USB interface can be adjusted into low power consumpting state, make that this Wireless USB interface is intermittent to carry out enumeration operation to display device, so also can reduce the power consumption of PC main frame.
By step 103~step 105 as can be known, if the distance between PC main frame and the display device is enough near, and when the user does not need to move this display device, when perhaps the user wishes to power to display device by wired USB interface with the PC main frame, the user can adopt wired USB interface to realize video Data Transmission between PC main frame and the display device, just by the USB extended line the wired USB interface on PC main frame and the display device is coupled together, this data transmitting equipment automatically switched to the data receiver formula by wired USB interface and sent this moment.Can be the user provides enough required bandwidth of transmitting video data on the one hand, can be the display device power supply by wired USB interface also on the other hand, when this display device is built-in with battery, can be this battery charge by this wired USB interface also.
Whether the first Wireless USB interface on step 106, the judgment data transmitting apparatus enumerates data receiver, if then execution in step 107; Otherwise, process ends.
For guaranteeing the transmission of video data, the user can use the Wireless USB interface on the PC main frame to transmit this video data, need at first judge that whether the PC main frame is connected by formation Wireless USB between Wireless USB interface and this display device this moment, for example can judge whether the Wireless USB interface on the PC main frame enumerates this display device by wireless usb protocol, when the Wireless USB interface on this PC main frame can be enumerated this display device, can illustrate that this PC main frame realized that by the Wireless USB interface Wireless USB is connected with display device.
Because the influence that the wireless transmission of data may be received transmission range or other factors, for example, enumerates hypertelorism less than display device owing to causing the Wireless USB interface on the PC main frame, the user can adjust the distance between PC main frame and the display device, can enumerate this display device to guarantee the Wireless USB interface on the PC main frame.
When judging the PC main frame and be connected by the Wireless USB interface with display device, just set up the Wireless USB transmission channel between PC main frame and the display device, therefore this data transmitting equipment can automatically switch to the data receiver formula by the Wireless USB interface and send, and just by this Wireless USB interface the video data to be sent in the PC main frame is sent to display device.
By this step 106~step 107 as can be known, when if the user need move freely display device (just may need to disconnect wired USB connects), can automatically switch to the mode of Wireless USB interface transmission data from the mode of wired USB interface transmission data, just the user can select for use the Wireless USB interface to realize video Data Transmission between PC main frame and the display device, this moment, the user can not be subjected to the restriction of USB extended line length, and can be random move this display device, increased the freedom that the user uses terminal equipment.
Only having introduced data transmitting equipment above is that PC main frame and data receiver are the situation of display device, certainly embodiments of the invention are also applicable to other situation, for example be provided with the PC input equipment of Wireless/wired USB interface and be provided with between the PC main frame of Wireless/wired USB interface, the PC input equipment that be provided with Wireless/wired USB interface this moment is a data transmitting equipment, and the PC main frame is a data receiver, can promote the freedom that the user uses this PC input equipment equally, concrete flow process is similar with step 101~step 107, just no longer applies at this and has stated.
By above technical scheme as can be known, by wired USB interface and Wireless USB interface are set in data transmitting equipment and data receiver, make and between Wireless USB interface and wired USB interface, to choose the suitable data send mode according to user's request between data transmitting equipment and the data receiver, thereby increased the freedom that the user uses data transmitting equipment.
In order to realize above-mentioned method embodiment, it is a kind of based on the switching device between Wireless USB interface and the wired USB interface that other embodiment of the present invention also provide, and is applied in the data transmitting equipment side.What need at first explanation in addition is; because following embodiment is for realizing aforesaid method embodiment; so this equipment all is to establish for each step that realizes preceding method, but the present invention is not limited to following embodiment, any said method equipment of realizing all should be contained in protection scope of the present invention.And in the following description, the content identical with preceding method omitted at this, to save length.
Referring to Fig. 2, be the data transmitting equipment structured flowchart in the embodiments of the invention, by among the figure as can be known this data transmitting equipment 20 comprise, comprise first wired USB interface 21, the first Wireless USB interface 22, first interface detection module 23 and first interface switching module 24, wherein
First interface detection module 23 is connected with the first Wireless USB interface 22 with first wired USB interface 21 respectively, is used to detect this first wired USB interface 21 or the first Wireless USB interface 22 and whether enumerates the data receiver (not shown);
First interface switching module 24 is connected with first interface detection module 23 with first wired USB interface 21, the first Wireless USB interface 22 respectively,
When if first interface detection module 23 detects first wired USB interface 21 and enumerates data receiver, this first interface switching module 24 is used for the data receiver formula automatically switched to by first wired USB interface the data to be sent on the described data transmitting equipment is sent to described data receiver;
When if this first detection module 23 detects the first Wireless USB interface 22 and enumerates data receiver, this first interface switching module 24 is used for the data receiver formula automatically switched to by the first Wireless USB interface 22 data to be sent on the data transmitting equipment 20 is sent to data receiver.
In another embodiment of the present invention, this data transmitting equipment 20 also comprises: data compressing module 25, be connected with the first Wireless USB interface 22 with first wired USB interface 21, and be used for the data of obtaining to be sent are carried out data compression process.
In another embodiment of the present invention, this data transmitting equipment 20 also comprises: the first interface operating state is provided with module 26, be connected with first interface switching module 24 with first wired USB interface 21, the first Wireless USB interface 22 respectively, be used for being provided with the operating state of the first Wireless USB interface 22 according to the selection result of first interface switching module 24;
When the selection result of first interface switching module 24 sent data to be sent for selecting first wired USB interface 21, this first interface operating state was provided with module 26 operating state of the first Wireless USB interface 22 is provided with closed condition;
When the operating state of the first Wireless USB interface 22 is set to closed condition, this first Wireless USB interface 22 is also just no longer carried out and has been enumerated the operation of data receiver, thereby can save the energy consumption of data transmitting equipment, certainly operating state that also can this first Wireless USB interface 22 is set to low power consumpting state, and this moment, this first Wireless USB interface 22 carried out the intermittent data receiver operation of enumerating.
By above technical scheme as can be known, by wired USB interface and Wireless USB interface are set in data transmitting equipment and data receiver, make that can choose the Wireless USB interface according to user's demand between data transmitting equipment and the data receiver still is that wired USB interface is transmitted data, increased the freedom that the user uses data transmitting equipment.
Embodiment two
Embodiment one has described based on the changing method between Wireless USB interface and the wired USB interface from the data transmitting equipment side, introduce the flow process of this changing method below again from the data receiver side, this data receiver is provided with the second Wireless USB interface and second wired USB interface in the present embodiment.
Referring to Fig. 3, for being applied to the changing method flow chart of data receiver side in the embodiments of the invention.Equally for the ease of understanding, below still with the PC main frame as data transmitting equipment, display device is that example comes this method flow process is introduced as data receiver, also is not limited to this certainly.Concrete steps are as follows:
With between the data transmitting equipment whether step 301, the second wired USB interface that detects on the data receiver form wired USB and are connected, if, execution in step 302; Otherwise, but process ends;
Whether the wired USB interface that just detects on the display device is connected with wired USB interface on the PC main frame, because wired USB interface generally can provide+power supply of 5V (volt), therefore can whether have by detecting in the present embodiment+the 5V power supply is linked on this display device, judge that whether the wired USB interface on the display device is connected with wired USB interface on the PC main frame, the mode of this detection also is not limited to this certainly.
When detect display device by wired USB interface when wired USB interface on the PC main frame is connected, just set up wired USB transmission channel between display device and the PC main frame, this display device can automatically switch to data receive mode by wired USB transmission channel and receive data this moment, promptly received the video data that sends on the PC main frame by this wired USB transmission channel.
The operating state of the second Wireless USB interface on step 303, the data receiver is set to closed condition, but method ends flow process then;
After execution of step 302, because display device can receive the video data that the PC main frame sends by wired USB interface, so in order to reduce the energy consumption of display device, can adjust the operating state of the Wireless USB interface on this display device, for example the operating state of this Wireless USB interface can be adjusted into closed condition, just can stop this Wireless USB interface power supply, perhaps also the operating state of this Wireless USB interface can be adjusted into low power consumpting state, make the Wireless USB interface on the PC main frame can not enumerate this display device.
By step 301~step 303 as can be known, if the distance between display device and the PC main frame is enough near, and when the user does not need to move this display device, when perhaps the user wishes to power to display device by wired USB interface with the PC main frame, the user can adopt wired USB interface to realize video Data Transmission between PC main frame and the display device, data receiver receives by data receive mode being switched to wired USB interface, can be the user provides enough required bandwidth of transmitting video data on the one hand, can be the display device power supply also on the other hand by wired USB interface, when this display device is built-in with battery, can be this battery charge also by this wired USB interface.
With between the data transmitting equipment whether step 304, the second Wireless USB interface that detects on the data receiver form Wireless USB and are connected, if then execution in step 305; Otherwise, the method ends flow process.
Transmission in order to ensure video data, the user can receive this video data by the Wireless USB interface on the display device, with between the PC main frame whether can form Wireless USB and is connected this moment by the Wireless USB interface that wireless usb protocol detects on the display device, and certain detection mode also is not limited to this.
Be connected when having formed Wireless USB between the Wireless USB interface on the display device and the PC main frame, just between display device and PC main frame, set up the Wireless USB transmission channel, therefore can receive video data by this Wireless USB interface from the PC main frame.
If the PC main frame is before sending video data, when this video data has been carried out data compression process, after this display device receives this video data, need carries out data decompression to this video data and handle so.This step is an optional step.
By this step 305~step 306 as can be known, when if the user need move freely display device (just may need to disconnect wired USB connects), can switch to the mode of Wireless USB interface transmission data from the mode of wired USB interface transmission data, just can select for use the Wireless USB interface to realize video Data Transmission between PC main frame and the display device, this moment, the user can not be subjected to the restriction of USB extended line length, and can be random move this display device, increased the freedom that the user uses terminal equipment.
Only having introduced data receiver above is that display device and data transmitting equipment are the situation of PC main frame, certainly embodiments of the invention are also applicable to other situations, for example be provided with the PC input equipment of Wireless/wired USB interface and be provided with between the PC main frame of Wireless/wired USB interface, the PC input equipment that be provided with Wireless/wired USB interface this moment is a data transmitting equipment, and the PC main frame is a data receiver, can promote the freedom that the user uses this PC input equipment equally, concrete flow process is similar with step 301~step 306, just no longer applies at this and has stated.
By above technical scheme as can be known, by wired USB interface and Wireless USB interface are set in data transmitting equipment and data receiver, make between data transmitting equipment and the data receiver and can between Wireless USB interface and wired USB interface, choose the suitable data transmission means, thereby increased the freedom that the user uses data receiver according to user's demand.
In order to realize above-mentioned method embodiment, it is a kind of based on the switching device between Wireless USB interface and the wired USB interface that other embodiment of the present invention also provide, and is applied in the data receiver side.What need at first explanation in addition is; because following embodiment is for realizing aforesaid method embodiment; so this equipment all is to establish for each step that realizes preceding method, but the present invention is not limited to following embodiment, any said method equipment of realizing all should be contained in protection scope of the present invention.And in the following description, the content identical with preceding method omitted at this, to save length.
Referring to Fig. 4, be data receiver structured flowchart in the embodiments of the invention, by among the figure as can be known this data receiver 40 comprise: the second Wireless USB interface, 41, second wired USB interface 42, second interface detection module 43 and second interface switching module 44, wherein
Second interface detection module 43, be connected with second wired USB interface 42 with the second Wireless USB interface 41 respectively, with between the data transmitting equipment whether the second wired USB interface 42 that is used to detect on the data receiver 40 form wired USB and be connected, perhaps be used to detect on the described data receiver the second Wireless USB interface 41 whether with data transmitting equipment between the formation Wireless USB be connected;
Second interface switching module 44 is connected with second interface detection module 43 with the second Wireless USB interface, 41, second wired USB interface 42 respectively,
If when second interface detection module 43 detected and forms wired USB between second wired USB interface 42 and the data transmitting equipment and is connected, this second interface switching module 44 was used for data receive mode is automatically switched to the data that receive the data transmitting equipment transmission by second wired USB interface 42;
If when second interface detection module 43 detected and forms Wireless USB between the second Wireless USB interface 41 and the data transmitting equipment and is connected, this second interface switching module 44 was used for data receive mode is automatically switched to the data that receive the data transmitting equipment transmission by the second Wireless USB interface 41.
In another embodiment of the present invention, data receiver 40 also comprises: data decompression module 45, be connected with second wired USB interface 42 with the second Wireless USB interface 41 respectively, and be used for that the data that receive are carried out data decompression and handle.
In another embodiment of the present invention, data receiver 40 also comprises: the second interface operating state is provided with module 46, is used for being provided with according to the selection result of second interface switching module 44 operating state of the second Wireless USB interface 41,
When the selection result of second interface switching module 44 received the data of data transmitting equipment transmission for selecting the second Wireless USB interface 41, the operating state of the second Wireless USB interface 41 was set to opening;
When the selection result of second interface switching module 44 received the data of data transmitting equipment transmission for selecting second wired USB interface 42, the operating state of the second Wireless USB interface 41 was set to closed condition.
By above technical scheme as can be known, by wired USB interface and Wireless USB interface are set in data transmitting equipment and data receiver, make that can choose the Wireless USB interface according to user's request between data transmitting equipment and the data receiver still is that wired USB interface is transmitted data, increased the freedom that the user uses data receiver.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (14)
1. one kind based on the changing method between Wireless USB interface and the wired USB interface, is applied to the data transmitting equipment side, it is characterized in that described data transmitting equipment is provided with the first Wireless USB interface and first wired USB interface, and described changing method comprises:
Whether the described first wired USB interface or the first Wireless USB interface that detect on the described data transmitting equipment enumerate data receiver;
If when described first wired USB interface was enumerated described data receiver, described data transmitting equipment automatically switched to the data receiver formula by described first wired USB interface the data to be transmitted on the described data transmitting equipment is sent on the described data receiver;
If when the described first Wireless USB interface was enumerated described data receiver, described data transmitting equipment automatically switched to the data receiver formula by the described first Wireless USB interface data to be transmitted on the described data transmitting equipment is sent on the described data receiver.
2. changing method according to claim 1 is characterized in that, when sending described data to be sent by described first wired USB interface, described changing method also comprises:
The operating state of the described first Wireless USB interface on the described data transmitting equipment is set to closed condition.
3. changing method according to claim 1 is characterized in that, is detecting before whether the described first wired USB interface on the described data transmitting equipment or the first Wireless USB interface enumerate the step of data receiver, and described changing method also comprises:
Obtain the data to be sent on the described data transmitting equipment, and described data to be sent are carried out data compression process.
4. a data transmitting equipment comprises the first wired USB interface and the first Wireless USB interface, it is characterized in that, also comprises:
First interface detection module, be connected with the described first Wireless USB interface with described first wired USB interface respectively, be used to detect described first wired USB interface and whether enumerate data receiver, perhaps be used to detect the described first Wireless USB interface and whether enumerate data receiver;
First interface switching module is connected with described first interface detection module with described first wired USB interface, the described first Wireless USB interface respectively,
If described first interface detection module detects described first wired USB interface when enumerating described data receiver, be used for the data receiver formula automatically switched to by described first wired USB interface the data to be sent on the described data transmitting equipment are sent to described data receiver;
If described first interface detection module detects the described first Wireless USB interface when enumerating described data receiver, be used for the data receiver formula automatically switched to by the described first Wireless USB interface data to be sent on the described data transmitting equipment are sent to described data receiver.
5. data transmitting equipment according to claim 4 is characterized in that, described data transmitting equipment also comprises:
Data compressing module is connected with the described first Wireless USB interface with described first wired USB interface, is used for the data of obtaining to be sent are carried out data compression process.
6. data transmitting equipment according to claim 4 is characterized in that, described data transmitting equipment also comprises:
The first interface operating state is provided with module, be connected with described first interface switching module with described first wired USB interface, the described first Wireless USB interface respectively, be used for being provided with the operating state of the described first Wireless USB interface according to the selection result of described first interface switching module;
When the selection result of described first interface switching module sent described data to be sent for selecting described first wired USB interface, the described first interface operating state was provided with module the operating state of the described first Wireless USB interface is provided with closed condition.
7. data transmitting equipment according to claim 4 is characterized in that, described data transmitting equipment is the PC main frame.
8. one kind based on the changing method between Wireless USB interface and the wired USB interface, is applied to the data receiver side, it is characterized in that described data receiver is provided with the second Wireless USB interface and second wired USB interface, and described changing method comprises:
With between the data transmitting equipment whether the described second wired USB interface that detects on the described data receiver form wired USB and be connected, perhaps detect the described second Wireless USB interface whether with data transmitting equipment between the formation Wireless USB be connected;
If when forming wired USB between described second wired USB interface on the described data receiver and the described data transmitting equipment and being connected, described data receiver automatically switches to data receive mode the data that receive described data transmitting equipment transmission by second wired USB interface;
If when forming Wireless USB between the described second Wireless USB interface and the described data transmitting equipment and being connected, described data receiver automatically switches to data receive mode the data that receive described data transmitting equipment transmission by the described second Wireless USB interface.
9. changing method according to claim 8 is characterized in that, when receiving described data transmitting equipment by described second wired USB interface and send data, described changing method also comprises:
The operating state of the described second Wireless USB interface on the described data receiver is set to closed condition.
10. changing method according to claim 8, it is characterized in that, when described data to be sent are passed through data compression process, whether with between the data transmitting equipment to form wired USB and be connected in described second wired USB interface on the described data receiver of described detection, and between the data transmitting equipment whether perhaps detect the described second Wireless USB interface and to form before the Wireless USB step of connecting, described method also comprises:
The data to be sent that described data receiver receives are carried out the data decompression processing.
11. a data receiver comprises the second wired USB interface and the second Wireless USB interface, it is characterized in that, also comprises:
Second interface detection module, be connected with described second wired USB interface with the described second Wireless USB interface respectively, with between the data transmitting equipment whether the described second wired USB interface that is used to detect on the described data receiver form wired USB and be connected, perhaps be used to detect on the described data receiver the second Wireless USB interface whether with data transmitting equipment between the formation Wireless USB be connected;
Second interface switching module is connected with the described second Wireless USB interface, described second wired USB interface and described second interface detection module respectively,
If when described second interface detection module detects and forms wired USB between described second wired USB interface and the data transmitting equipment and is connected, be used for data receive mode is automatically switched to the data that receive described data transmitting equipment transmission by second wired USB interface;
If described the and detection module detects when forming Wireless USB between the described second Wireless USB interface and the data transmitting equipment and being connected, be used for data receive mode is automatically switched to the data that receive described data transmitting equipment transmission by the described second Wireless USB interface.
12. data receiver according to claim 11 is characterized in that, described data receiver also comprises:
The second interface operating state is provided with module, is used for being provided with according to the selection result of described second interface switching module operating state of the described second Wireless USB interface;
When the selection result of described second interface switching module received the data of described data transmitting equipment transmission for selecting described second wired USB interface, the operating state that the described second interface operating state is provided with the described second wired USB interface of module was set to closed condition.
13. data receiver according to claim 11 is characterized in that, described data receiver also comprises:
Data decompression module is connected with described second wired USB interface with the described second Wireless USB interface respectively, is used for that the data that receive are carried out data decompression and handles.
14. data receiver according to claim 11 is characterized in that, described data receiver is a display device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810226615.0A CN101741825B (en) | 2008-11-17 | 2008-11-17 | Based on the changing method between Wireless USB interface and wired USB interface and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810226615.0A CN101741825B (en) | 2008-11-17 | 2008-11-17 | Based on the changing method between Wireless USB interface and wired USB interface and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101741825A true CN101741825A (en) | 2010-06-16 |
CN101741825B CN101741825B (en) | 2016-10-05 |
Family
ID=42464717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810226615.0A Active CN101741825B (en) | 2008-11-17 | 2008-11-17 | Based on the changing method between Wireless USB interface and wired USB interface and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101741825B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067565A (en) * | 2011-10-24 | 2013-04-24 | 宏碁股份有限公司 | Method capable of conveying data to base when mobile device is separated from base |
CN103389930A (en) * | 2012-05-10 | 2013-11-13 | 索尼公司 | Data storage device and data storage method |
CN103686435A (en) * | 2013-12-27 | 2014-03-26 | 天彩电子(深圳)有限公司 | Digital video stream transmission method |
CN105307109A (en) * | 2015-11-19 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | USB (Universal Serial Bus) wireless connector, wireless connection system and USB wireless communication method |
CN105594177A (en) * | 2013-06-06 | 2016-05-18 | 谷歌公司 | System, method and computer-readable medium for presenting media content |
CN105681881A (en) * | 2015-11-06 | 2016-06-15 | 乐视移动智能信息技术(北京)有限公司 | Multimedia data transmission method based on mobile terminal, and mobile terminal |
WO2018072426A1 (en) * | 2016-10-17 | 2018-04-26 | 中兴通讯股份有限公司 | Data transmission method and apparatus, mobile telephone, and data card |
CN108009110A (en) * | 2017-12-26 | 2018-05-08 | 上海展扬通信技术有限公司 | device identification method and device |
CN109120386A (en) * | 2017-06-26 | 2019-01-01 | 瑞萨电子株式会社 | Wireless communication device, system and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006238413A (en) * | 2005-01-27 | 2006-09-07 | Nec Electronics Corp | Usb hub, usb-compliant apparatus, and communication system |
CN101141437B (en) * | 2007-10-19 | 2010-11-24 | 华南理工大学 | Computer with plurality of wired/wireless terminal and communication method thereof |
-
2008
- 2008-11-17 CN CN200810226615.0A patent/CN101741825B/en active Active
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067565B (en) * | 2011-10-24 | 2015-03-11 | 宏碁股份有限公司 | Method capable of conveying data to base when mobile device is separated from base |
CN103067565A (en) * | 2011-10-24 | 2013-04-24 | 宏碁股份有限公司 | Method capable of conveying data to base when mobile device is separated from base |
CN103389930B (en) * | 2012-05-10 | 2018-11-16 | 索尼公司 | Data storage device and date storage method |
CN103389930A (en) * | 2012-05-10 | 2013-11-13 | 索尼公司 | Data storage device and data storage method |
CN105594177A (en) * | 2013-06-06 | 2016-05-18 | 谷歌公司 | System, method and computer-readable medium for presenting media content |
US11936938B2 (en) | 2013-06-06 | 2024-03-19 | Google Llc | Systems, methods, and media for presenting media content |
CN105594177B (en) * | 2013-06-06 | 2019-03-08 | 谷歌有限责任公司 | The system, method and medium of media content for rendering |
CN103686435A (en) * | 2013-12-27 | 2014-03-26 | 天彩电子(深圳)有限公司 | Digital video stream transmission method |
CN103686435B (en) * | 2013-12-27 | 2017-06-30 | 天彩电子(深圳)有限公司 | A kind of transmission method of digital video frequency flow |
CN105681881A (en) * | 2015-11-06 | 2016-06-15 | 乐视移动智能信息技术(北京)有限公司 | Multimedia data transmission method based on mobile terminal, and mobile terminal |
CN105307109A (en) * | 2015-11-19 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | USB (Universal Serial Bus) wireless connector, wireless connection system and USB wireless communication method |
WO2018072426A1 (en) * | 2016-10-17 | 2018-04-26 | 中兴通讯股份有限公司 | Data transmission method and apparatus, mobile telephone, and data card |
CN109120386A (en) * | 2017-06-26 | 2019-01-01 | 瑞萨电子株式会社 | Wireless communication device, system and method |
CN109120386B (en) * | 2017-06-26 | 2024-01-12 | 瑞萨电子株式会社 | Wireless communication device, system and method |
CN108009110A (en) * | 2017-12-26 | 2018-05-08 | 上海展扬通信技术有限公司 | device identification method and device |
CN108009110B (en) * | 2017-12-26 | 2020-03-10 | 上海展扬通信技术有限公司 | Equipment identification method and device |
Also Published As
Publication number | Publication date |
---|---|
CN101741825B (en) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101741825A (en) | Method and equipment for switching between wireless USB interface and wired USB interface | |
US11194539B2 (en) | Conference system, tool, and peripheral devices | |
US8219721B2 (en) | Mobile terminal and switching method for controlling data transmission via high speed or low speed interfaces based on preset threshold | |
EP2472733B1 (en) | Bluetooth function providing method and terminal for computer | |
EP2453712A4 (en) | Short-distance wireless communication apparatus | |
CN102387568B (en) | A kind of mobile terminal automatically selects the method and system of communication mode | |
CN111031371A (en) | Single-line screen projection system and method | |
CN202121684U (en) | Camera with wireless transmission function | |
CN106532382A (en) | USB Type-C adapter and implementation method thereof | |
CN103533148A (en) | Variable-screen mobile phone and use method thereof | |
CN101102403A (en) | Video input system and method for using mobile phone camera as external camera of external device | |
CN201585042U (en) | Infrared imaging device | |
US20080075024A1 (en) | Portable electronic apparatus | |
CN104580677A (en) | Information processing method and electronic equipment | |
CN104469989B (en) | A kind of wireless client terminal equipment and its cut-in method | |
CN104850512B (en) | No ID pin does the method and device of USB OTG function | |
CN108874716B (en) | Charging communication connection device and method for portable equipment | |
TWI394036B (en) | Mother board | |
CN102111732B (en) | Method and device for sharing information between wireless terminals | |
CN202424907U (en) | Wireless conference video information transmission system | |
CN204364869U (en) | With the Bluetooth gamepad of Bluetooth Receiver | |
CN104378837B (en) | A kind of information processing method and device | |
KR101111265B1 (en) | The apparatus of internet connect a display manufactured goods with nfc controller module of communication terminal unit | |
CN102905398A (en) | Mobile phone | |
CN104683543A (en) | Multipurpose mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |