CN101741825B - Based on the changing method between Wireless USB interface and wired USB interface and equipment - Google Patents
Based on the changing method between Wireless USB interface and wired USB interface and equipment Download PDFInfo
- Publication number
- CN101741825B CN101741825B CN200810226615.0A CN200810226615A CN101741825B CN 101741825 B CN101741825 B CN 101741825B CN 200810226615 A CN200810226615 A CN 200810226615A CN 101741825 B CN101741825 B CN 101741825B
- Authority
- CN
- China
- Prior art keywords
- usb interface
- data
- wired
- 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.)
- Active
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
The present invention provides a kind of based on the changing method between Wireless USB interface and wired USB interface and equipment, belong to technical field of data transmission, it is applied to data transmitting equipment side, this data transmitting equipment is provided with the first Wireless USB interface and the first wired USB interface, and described changing method includes: detect described first wired USB interface on described data transmitting equipment or whether the first Wireless USB interface enumerates data receiver;If described first Wireless USB interface enumerates described data receiver, data receiver formula is automatically switched to the data to be transmitted on described data transmitting equipment be sent on described data receiver by described first Wireless USB interface by described data transmitting equipment.Make to choose Wireless USB interface or wired USB interface transmission data according to the demand of user between data transmitting equipment and data receiver, add user and use the freedom of terminal unit.
Description
Technical field
The present invention relates to technical field of data transmission, particularly relate to a kind of based on WUSB (Wireless USB)
Changing method between interface and wired USB (Universal Serial BUS, USB (universal serial bus)) interface
And equipment.
Background technology
USB technology has obtained widely should in PC (Person Computer, personal computer) at present
With, and in personal electric product and mobile device, also played no small effect, but USB line
The process of length and connection is made troubles to user sometimes.
The today such as become increasingly popular at computer, no matter in office or stay at home, people use computer
Time gets more and more, and when display device is connected with PC main frame by USB line, needs display device
Be placed on the position that distance PC main frame is nearer, namely user can not random mobile display device, right
For operator, this fixed occupation mode of display device is very inconvenient under many circumstances,
It is desirable to have a kind of radio connection to realize the connection between display device and PC main frame.
Along with wireless technology increasingly mature of WUSB, can pass through between PC main frame and display device
WUSB realizes wireless connections, now can be avoided by wired USB connect the display device that brings can not
The arbitrarily problem of movement, but the limited bandwidth resources that can provide due to current WUSB, can not
Meet the transmission of high-quality video image, and this display device needs by internal battery or external power supply
Mode is to ensure that it normally works, owing to the flying power of battery is limited so that user can not pass through for a long time
This display device of the use of the mode of wireless connections, and when the mode using external power supply is powered to display device
Time, this display device equally can not be the most mobile, have impact on the normal use of user.
Therefore user wishes when display device and PC main frame distance are enough near or needs by PC main frame
During power supply, can select wired USB interface to realize the connection between PC main frame and display device, and
When display device is moved freely by needs, WUSB interface can be selected to realize display device and PC
Connection between main frame, namely wants to realize freedom between WUSB interface and wired USB interface
Switching, but during realizing the present invention, find in currently available technology also without reference to Wireless USB
Interface and the handoff technique scheme of wired USB interface.
Summary of the invention
In order to solve the problems referred to above, the purpose of embodiments of the invention is to provide one and connects based on Wireless USB
Changing method between mouth and wired USB interface and equipment so that at data transmitting equipment and data receiver
Wireless USB interface or wired USB interface transmission number can be chosen according to the demand of user between equipment
According to, add user and use the freedom of terminal unit.
According to an aspect of the invention, it is provided one is based on Wireless USB interface and wired USB interface
Between changing method, be applied to data transmitting equipment side, it is wireless that described data transmitting equipment is provided with first
USB interface and the first wired USB interface, described changing method includes:
Detect described first wired USB interface on described data transmitting equipment or the first Wireless USB connects
Whether mouth enumerates data receiver;
If described first wired USB interface enumerates described data receiver, described data send and set
The transmission of described data is set by standby data receiver formula being automatically switched to by described first wired USB interface
Standby upper data to be transmitted is sent on described data receiver;
If described first Wireless USB interface enumerates described data receiver, described data send and set
The transmission of described data is set by standby data receiver formula being automatically switched to by described first Wireless USB interface
Standby upper data to be transmitted is sent on described data receiver.
Preferably, when by described first wired USB interface send described data to be sent time, described in cut
Method of changing also includes:
The duty of described first Wireless USB interface on described data transmitting equipment is set off
State.
Preferably, at described first wired USB interface or first detected on described data transmitting equipment
Before whether Wireless USB interface enumerates the step of data receiver, described changing method also includes:
Obtain the data to be sent on described data transmitting equipment, and described data to be sent are carried out data pressure
Contracting processes.
According to another aspect of the present invention, additionally provide a kind of data transmitting equipment, wired including first
USB interface and the first Wireless USB interface, also include:
First interface detection module, respectively with described first wired USB interface and described first Wireless USB
Interface connects, and is used for detecting whether described first wired USB interface enumerates data receiver, or
For detecting whether described first Wireless USB interface enumerates data receiver;
First interface handover module, respectively with described first wired USB interface, described first Wireless USB
Interface and described first interface detection module connect,
If described first interface detection module detects that described first wired USB interface enumerates described data
During reception equipment, it is used for automatically switching to data receiver formula be incited somebody to action by described first wired USB interface
Data to be sent on described data transmitting equipment are sent on described data receiver;
If described first interface detection module detects that described first Wireless USB interface enumerates described data
During reception equipment, it is used for automatically switching to data receiver formula be incited somebody to action by described first Wireless USB interface
Data to be sent on described data transmitting equipment are sent on described data receiver.
Preferably, described data transmitting equipment also includes:
Data compressing module, is connected with described first wired USB interface and described first Wireless USB interface,
For the data to be sent obtained are carried out data compression process.
Preferably, described data transmitting equipment also includes:
First interface duty arranges module, respectively with described first wired USB interface, described first
Wireless USB interface and described first interface handover module connect, for switching mould according to described first interface
The selection result of block arranges the duty of described first Wireless USB interface;
When the selection result of described first interface handover module is for selecting described first wired USB interface to send out
When sending described data to be sent, described first interface duty arranges module by described first Wireless USB
The duty of interface arranges closed mode.
Preferably, described data transmitting equipment is PC main frame.
According to a further aspect of the invention, one is additionally provided based on Wireless USB interface and wired USB
Changing method between interface, is applied to data receiver side, and described data receiver is provided with second
Wireless USB interface and the second wired USB interface, described changing method includes:
Detect described second wired USB interface on described data receiver whether with data transmitting equipment
Between form wired USB and connect, or detect described second Wireless USB interface and whether send with data and set
Form Wireless USB between Bei to connect;
If described second wired USB interface on described data receiver and described data transmitting equipment it
Between formed wired USB connect time, data receiver mode is automatically switched to pass through by described data receiver
Second wired USB interface receives the data that described data transmitting equipment sends;
If forming Wireless USB between described second Wireless USB interface and described data transmitting equipment to be connected
Time, data receiver mode is automatically switched to be connect by described second Wireless USB by described data receiver
Mouth receives the data that described data transmitting equipment sends.
Preferably, when receiving described data transmitting equipment transmission data by described second wired USB interface
Time, described changing method also includes:
The duty of described second Wireless USB interface on described data receiver is set off
State.
Preferably, when described data to be sent are through data compression process, connect in the described data of described detection
Described second wired USB interface on receiving unit whether and forms wired USB even between data transmitting equipment
Connect, or detect described second Wireless USB interface and whether and between data transmitting equipment, form Wireless USB
Before the step connected, described method also includes:
The data to be sent receiving described data receiver carry out data decompression process.
According to a further aspect of the invention, additionally provide a kind of data receiver, wired including second
USB interface and the second Wireless USB interface, also include:
Second interface detection module, respectively with described second Wireless USB interface and described second wired USB
Interface connects, for detect described second wired USB interface on described data receiver whether with number
Connect according to forming wired USB between transmission equipment, or for detecting the on described data receiver
Whether two Wireless USB interface are connected with formation Wireless USB between data transmitting equipment;
Second interface switching module, respectively with described second Wireless USB interface, described second wired USB
Interface and described second interface detection module connect,
If described second interface detection module detects described second wired USB interface and data transmitting equipment
Between form wired USB when connecting, for automatically switching to by second wired by data receiver mode
USB interface receives the data that described data transmitting equipment sends;
If described and detection module detects between described second Wireless USB interface and data transmitting equipment
Form Wireless USB when connecting, for data receiver mode being automatically switched to by described second wireless
USB interface receives the data that described data transmitting equipment sends.
Preferably, described data receiver also includes:
Second interfaces state setting module, for the selection result according to described second interface switching module
The duty of described second Wireless USB interface is set;
When the selection result of described second interface switching module is for selecting described second wired USB interface to connect
When receiving the data that described data transmitting equipment sends, described second interfaces state setting module is by described the
The duty of two wired USB interface is set to off closed state.
Preferably, described data receiver also includes:
Data decompression module, connects with described second Wireless USB interface and described second wired USB respectively
Mouth connects, for the data received are carried out data decompression process.
Preferably, described data receiver is display device.
At least one technical scheme in technique scheme has the advantages that by sending in data
Equipment and data receiver are all provided with wired USB interface and Wireless USB interface so that Yong Huke
The most arbitrarily to select wired USB interface or to transmit data without existing USB interface, add use
Family uses the freedom of terminal unit.
Accompanying drawing explanation
Fig. 1 is the changing method flow chart being applied to data transmitting equipment side in embodiments of the invention;
Fig. 2 is the structured flowchart of data transmitting equipment in embodiments of the invention;
Fig. 3 is the changing method flow chart being applied to data receiver side in embodiments of the invention;
Fig. 4 is the structured flowchart of data receiver in embodiments of the invention.
Detailed description of the invention
In an embodiment of the present invention, data transmitting equipment and data receiver are all provided with Wireless USB
Interface and wired USB interface, by USB connecting line between data transmitting equipment and data receiver
When coupling together, 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 data receiver can
Automatically switch to Wireless USB interface transmit.So between data transmitting equipment and data receiver
Close together or when needing to power with wired USB interface, wired USB interface can be used to transmit number
According to;And when user needs this data transmitting equipment mobile or data receiver, can be from wired USB
Interface automatically switches to Wireless USB interface, and transmits data by this Wireless USB interface so that
Wireless USB interface can be chosen according to the demand of user between data transmitting equipment and data receiver
Or wired USB interface transmits data, thus add user and use the freedom of terminal unit.
In order to make the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with reality
Execute example and accompanying drawing, the embodiment of the present invention is described in detail.Here, the present invention's is schematic real
Execute example and illustrate for explaining the present invention, but not as a limitation of the invention.
Embodiment one
Embodiments of the invention provide a kind of based on the switching between Wireless USB interface and wired USB interface
Method, applies in data transmitting equipment side, this data transmitting equipment be provided with the first Wireless USB interface and
First wired USB interface, when the first wired USB interface on this data transmitting equipment is assisted by USB
When view can enumerate data receiver, data receiver formula can be automatically switched to by this data transmitting equipment
By the first wired USB interface, data to be sent are sent to data receiver;And set when data send
When standby the first upper Wireless USB interface enumerates this data receiver, this data transmitting equipment is by data
Transmission mode automatically switches to the data to be transmitted on data transmitting equipment by the first Wireless USB interface
It is sent on data receiver, thus data transmitting equipment can be made can to choose according to the demand of user
Use Wireless USB interface or wired USB interface sends data, add user and use data to send
The freedom of equipment.
Below in conjunction with the accompanying drawings to embodiments of the invention based on Wireless USB interface and wired USB interface it
Between changing method be described in detail.See Fig. 1, send for embodiments of the invention are applied to data
The changing method flow chart of equipment side, specifically comprising the following steps that of this changing method
Step 101, the data to be sent obtained on data transmitting equipment, then perform step 102;
In order to make it easy to understand, below with PC (Personal Computer, PC) main frame as number
According to the equipment of transmission, display device is situated between as flow process to this changing method as a example by data receiver
Continue, be certainly also not limited to this.Now on PC main frame and display device, it is both provided with Wireless USB to connect
Mouth and wired USB interface, wherein Wireless USB interface can be by wireless USB module with PCI/PCIe
The mode of (Pedpherd Component Interconnect, peripheral element extension interface/PCI-Express)
It is built in PC main frame, or in the way of external, wireless USB module is inserted in the wired of PC main frame
Realize at USB interface.
Data to be sent in this step can be the video data in PC main frame, the acquisition side in this step
Formula can use the mode of video data in existing acquisition PC main frame, no longer applies at this and states.
Step 102, the data compression process that carries out these data to be sent, then perform step 103, or
Perform step 106;
The bandwidth resources shared in transmitting procedure in order to reduce video data (data to be transmitted), can be right
This video data carries out data compression process, and then PC main frame (data transmitting equipment) is by regarding after compression
Frequency is according to being sent to display device.Corresponding, when display device (data receiver) receives
After video data after compression, in addition it is also necessary to carry out decompression.This step is optional step.
Whether step 103, the first wired USB interface detected on this data transmitting equipment enumerate data
Reception equipment, the most then perform step 104;Otherwise, can process ends.
Namely judge the wired USB interface on this PC main frame whether with the wired USB on display device
Interface connects, such as, can judge that whether piece the wired USB interface on this PC main frame by usb protocol
Lift this display device.When the wired USB interface on this PC main frame enumerates this display device, can
Illustrating that this PC main frame and display device are connected by wired USB interface, this detection mode is the most certainly
It is not limited to this.
Data receiver formula is automatically switched to by first wired USB by step 104, this data transmitting equipment
Data to be sent on data transmitting equipment are sent on data receiver by interface, then perform step
105;
When judging that PC main frame and display device are connected by wired USB interface, namely PC main frame
And well-established wired USB transmission passage between display device, now can be led to by this wired USB transmission
Video data to be sent in PC main frame is sent to display device by road.
Step 105, the duty of the first Wireless USB interface on data transmitting equipment is arranged closedown
State, now can method ends flow process;
After execution of step 104, owing to PC main frame can be regarded to be sent by wired USB interface
Frequency evidence is sent to display device, so for the energy consumption reducing PC main frame, on this PC main frame of adjustable
The duty of Wireless USB interface, such as the duty of this Wireless USB interface can be adjusted to pass
Closed state, namely can stop powering this Wireless USB interface, make this Wireless USB interface no longer pass through
Wirelessly perform to enumerate the operation of display device, or also can be by the work shape of this Wireless USB interface
State is adjusted to low power consumpting state, makes that this Wireless USB interface is intermittent carries out enumeration operation to display device,
The most also the power consumption of PC main frame can be reduced.
From step 103~step 105, if the distance between PC main frame and display device is enough near,
And when user need not this display device mobile, or user wishes with PC main frame by wired USB
When interface is powered to display device, user can use wired USB interface to set to realize PC main frame and display
Video data transmission between Bei, namely by USB extended line by PC main frame and display device
Wired USB interface couples together, and now data receiver formula is automatically switched to lead to by this data transmitting equipment
Cross wired USB interface to send.On the one hand the band needed for enough transmitting video datas can be provided the user
Width, another aspect is that display device is powered also by wired USB interface, when this display device is built-in with
The when of battery, it is the charging of this battery also by this wired USB interface.
Step 106, whether the first Wireless USB interface judged on data transmitting equipment enumerates data connects
Receiving unit, the most then perform step 107;Otherwise, process ends.
For guaranteeing the transmission of video data, user can use the Wireless USB interface on PC main frame to transmit
This video data, now needs to first determine whether that PC main frame is the most by Wireless USB interface and this display
Form Wireless USB between equipment to connect, such as, can be judged on PC main frame by wireless usb protocol
Whether Wireless USB interface enumerates this display device, when the Wireless USB interface on this PC main frame can
When enumerating this display device, can illustrate that this PC main frame and display device are realized by Wireless USB interface
Wireless USB connection.
Owing to being wirelessly transferred of data may receive the impact of transmission range or other factors, such as due to
Hypertelorism and cause the Wireless USB interface on PC main frame to be enumerated less than display device, user's adjustable
Distance between PC main frame and display device, to ensure that the Wireless USB interface on PC main frame can be enumerated
To this display device.
Data receiver formula is automatically switched to by the first Wireless USB by step 107, this data transmitting equipment
Data to be transmitted on data transmitting equipment is sent on data receiver by interface.
When judging that PC main frame and display device are connected by Wireless USB interface, namely PC main frame
And well-established wireless USB transmission passage between display device, therefore this data transmitting equipment can be by data
Transmission mode automatically switches to be sent by Wireless USB interface, namely by this Wireless USB interface
Video data to be sent in PC main frame is sent to display device.
From this step 106~step 107, if when user needs to move freely display device (the most just
It is possible to need to disconnect wired USB to connect), automatically can cut from the mode of wired USB interface transmission data
Changing to the mode of Wireless USB interface transmission data, namely user can select Wireless USB interface real
Existing video data transmission between PC main frame and display device, now user can not be by USB extended line
The restriction of length, and this display device of movement that can be random, add user and use the freedom of terminal unit.
The most only describe data transmitting equipment and be PC main frame and data receiver is the feelings of display device
Shape, certain embodiments of the invention are equally applicable to other situation, such as, be provided with Wireless/wired USB and connect
Between PC input equipment and the PC main frame being provided with Wireless/wired USB interface of mouth, now it is provided with
The PC input equipment of Wireless/wired USB interface is data transmitting equipment, and PC main frame is data receiver
Equipment, can promote user equally and use the freedom of this PC input equipment, concrete flow process with step 101~
Step 107 is similar to, and the most no longer applies at this and states.
From above technical scheme, wired by arranging in data transmitting equipment and data receiver
USB interface and Wireless USB interface so that can basis between data transmitting equipment and data receiver
Suitable data receiver formula is chosen in user's request between Wireless USB interface and wired USB interface,
Thus add user and use the freedom of data transmitting equipment.
In order to realize above-mentioned embodiment of the method, other embodiments of the present invention additionally provide a kind of based on wireless
Switching equipment between USB interface and wired USB interface, applies in data transmitting equipment side.Separately need head
First illustrate, owing to following embodiment is for realizing aforesaid embodiment of the method, therefore this equipment be all for
Realize each step of preceding method and set, but the present invention is not limited to following embodiment, any realize
Said method equipment all should be contained in protection scope of the present invention.And in the following description, with aforementioned side
The content that method is identical is omitted at this, to save length.
See Fig. 2, for the data transmitting equipment structured flowchart in embodiments of the invention, be somebody's turn to do by figure understands
Data transmitting equipment 20 includes, including first wired USB interface the 21, first Wireless USB interface 22,
First interface detection module 23 and first interface handover module 24, wherein
First interface detection module 23, connects with the first wired USB interface 21 and the first Wireless USB respectively
Mouth 22 connects, and is used for detecting this first wired USB interface 21 or the first Wireless USB interface 22 is
No enumerate data receiver (not shown);
First interface handover module 24, connects with first wired USB interface the 21, first Wireless USB respectively
Mouth 22 and first interface detection module 23 connect,
If first interface detection module 23 detects that the first wired USB interface 21 is enumerated data receiver and set
Time standby, this first interface handover module 24 is for automatically switching to by first wired by data receiver formula
Data to be sent on described data transmitting equipment are sent on described data receiver by USB interface;
If this first detection module 23 detects that the first Wireless USB interface 22 enumerates data receiver
Time, this first interface handover module 24 is for automatically switching to by first wireless by data receiver formula
Data to be sent on data transmitting equipment 20 are sent on data receiver by USB interface 22.
In another embodiment of the invention, this data transmitting equipment 20 also includes: data compressing module 25,
It is connected with the first wired USB interface 21 and the first Wireless USB interface 22, for be sent to obtain
Data carry out data compression process.
In another embodiment of the invention, this data transmitting equipment 20 also includes: first interface work shape
State arranges module 26, respectively with first wired USB interface the 21, first Wireless USB interface 22 and first
Interface switching module 24 connects, for arranging first according to the selection result of first interface handover module 24
The duty of Wireless USB interface 22;
When the selection result of first interface handover module 24 is for selecting the first wired USB interface 21 to send
During data to be sent, this first interface duty arranges module 26 by the first Wireless USB interface 22
Duty arranges closed mode;
When the duty of the first Wireless USB interface 22 is set to off closed state, this is first wireless
USB interface 22 the most no longer performs to enumerate operating of data receiver, thus can save data and send
The energy consumption of equipment, the most also can be set to low-power consumption shape by the duty of this first Wireless USB interface 22
State, now this first Wireless USB interface 22 carry out intermittent enumerate data receiver operation.
From above technical scheme, wired by arranging in data transmitting equipment and data receiver
USB interface and Wireless USB interface so that can basis between data transmitting equipment and data receiver
The demand of user chooses Wireless USB interface or wired USB interface to transmit data, adds user
Use the freedom of data transmitting equipment.
Embodiment two
Embodiment one is to describe based on Wireless USB interface and wired USB interface from data transmitting equipment side
Between changing method, introduce the flow process of this changing method the most again from data receiver side, in this reality
Execute this data receiver in example and be provided with the second Wireless USB interface and the second wired USB interface.
See Fig. 3, for embodiments of the invention are applied to the changing method flow process of data receiver side
Figure.Same in order to make it easy to understand, below still using PC main frame as data transmitting equipment, display device conduct
As a example by data receiver, this method flow process is introduced, is certainly also not limited to this.Concrete steps are such as
Under:
Whether the second wired USB interface on step 301, detection data receiver sets with data transmission
Form wired USB between Bei to connect, if so, perform step 302;Otherwise, can process ends;
Namely whether the wired USB interface on detection display device connects with the wired USB on PC main frame
Mouth connects, owing to wired USB interface is generally possible to provide the power supply of+5V (volt), therefore in this reality
Executing can be by having detected whether that+5V plant-grid connection, to this display device, judges on display device in example
Whether wired USB interface is connected with the wired USB interface on PC main frame, and the mode of this detection is also certainly
It is not limited to this.
Data receiver mode is automatically switched to by second wired USB by step 302, data receiver
The data that interface data transmitting equipment sends, then perform step 303;
When detecting that display device passes through wired USB interface and is connected with the wired USB interface on PC main frame
Time, namely well-established wired USB transmission passage between display device and PC main frame, now this shows
Show equipment can data receiver mode be automatically switched to by wired USB transmission passage and receive data, i.e.
The video data sent on PC main frame is received by this wired USB transmission passage.
Step 303, the duty of the second Wireless USB interface on data receiver is set to off
Closed state, then can method ends flow process;
After execution of step 302, owing to display device can receive PC by wired USB interface
The video data that main frame sends, so for the energy consumption reducing display device, on this display device of adjustable
The duty of Wireless USB interface, such as, can be adjusted to closedown by the duty of this Wireless USB interface
State, namely can stop powering this Wireless USB interface, or also can be by this Wireless USB interface
Duty is adjusted to low power consumpting state, makes the Wireless USB interface on PC main frame can not enumerate this and shows
Show equipment.
From step 301~step 303, if the distance between display device and PC main frame is enough near,
And when user need not this display device mobile, or user wishes with PC main frame by wired USB
When interface is powered to display device, user can use wired USB interface to set to realize PC main frame and display
Video data transmission between Bei, data receiver is by switching to wired USB by data receiver mode
Interface receives, and on the one hand can provide the user the bandwidth needed for enough transmitting video datas, on the other hand
It is that display device is powered also by wired USB interface, when this display device is built-in with battery when,
It is the charging of this battery also by this wired USB interface.
Whether the second Wireless USB interface on step 304, detection data receiver sets with data transmission
Form Wireless USB between Bei to connect, the most then perform step 305;Otherwise, method ends flow process.
In order to ensure the transmission of video data, user can be connect by the Wireless USB interface on display device
Receive this video data, now can be detected the Wireless USB interface on display device by wireless usb protocol
Whether be connected with formation Wireless USB between PC main frame, certain detection mode is also not limited to this.
Data receiver mode is automatically switched to by the second Wireless USB by step 305, data receiver
The data that interface data transmitting equipment sends, then perform step 306;
When the Wireless USB interface on display device with define Wireless USB between PC main frame and be connected, also
It is exactly well-established wireless USB transmission passage between display device and PC main frame, therefore can be by being somebody's turn to do
Wireless USB interface receives the video data from PC main frame.
Step 306, the data receiving data receiver carry out data decompression process;
If PC main frame is before sending video data, when this video data has been carried out data compression process,
So after this display device receives this video data, need this video data is carried out at data decompression
Reason.This step is optional step.
From this step 305~step 306, if when user needs to move freely display device (the most just
It is possible to need to disconnect wired USB to connect), can be switched to from the mode of wired USB interface transmission data
The mode of Wireless USB interface transmission data, namely can be selected for Wireless USB interface to realize PC main frame
And the video data transmission between display device, now user can not be limited by USB extended line length,
And this display device of movement that can be random, add user and use the freedom of terminal unit.
The most only describe the feelings that data receiver is display device and data transmitting equipment is PC main frame
Shape, certain embodiments of the invention are equally applicable to other situations, such as, be provided with Wireless/wired USB and connect
Between PC input equipment and the PC main frame being provided with Wireless/wired USB interface of mouth, now it is provided with
The PC input equipment of Wireless/wired USB interface is data transmitting equipment, and PC main frame is data receiver
Equipment, can promote user equally and use the freedom of this PC input equipment, concrete flow process with step 301~
Step 306 is similar to, and the most no longer applies at this and states.
From above technical scheme, wired by arranging in data transmitting equipment and data receiver
USB interface and Wireless USB interface so that can basis between data transmitting equipment and data receiver
The demand of user chooses suitable transmission side data between Wireless USB interface and wired USB interface
Formula, thus add user and use the freedom of data receiver.
In order to realize above-mentioned embodiment of the method, other embodiments of the present invention additionally provide a kind of based on wireless
Switching equipment between USB interface and wired USB interface, applies in data receiver side.Separately need head
First illustrate, owing to following embodiment is for realizing aforesaid embodiment of the method, therefore this equipment be all for
Realize each step of preceding method and set, but the present invention is not limited to following embodiment, any realize
Said method equipment all should be contained in protection scope of the present invention.And in the following description, with aforementioned side
The content that method is identical is omitted at this, to save length.
See Fig. 4, for data receiver structured flowchart in embodiments of the invention, counted by figure understands this
Include according to reception equipment 40: second Wireless USB interface the 41, second wired USB interface 42, second connect
Mouth detection module 43 and the second interface switching module 44, wherein
Second interface detection module 43, connects with the second Wireless USB interface 41 and second wired USB respectively
Mouthfuls 42 connect, for detect the second wired USB interface 42 on data receiver 40 whether with data
Form wired USB between transmission equipment to connect, or for detecting second on described data receiver
Whether Wireless USB interface 41 is connected with formation Wireless USB between data transmitting equipment;
Second interface switching module 44, connects with second Wireless USB interface 41, second wired USB respectively
Mouth 42 and the second interface detection module 43 connect,
If the second interface detection module 43 detect the second wired USB interface 42 and data transmitting equipment it
Between form wired USB when connecting, this second interface switching module 44 is for automatically cutting data receiver mode
It is changed to receive, by the second wired USB interface 42, the data that data transmitting equipment sends;
If the second interface detection module 43 detect the second Wireless USB interface 41 and data transmitting equipment it
Between form Wireless USB when connecting, this second interface switching module 44 is for automatically cutting data receiver mode
It is changed to receive, by the second Wireless USB interface 41, the data that data transmitting equipment sends.
In another embodiment of the invention, data receiver 40 also includes: data decompression module 45,
It is connected with the second Wireless USB interface 41 and the second wired USB interface 42 respectively, for receiving
Data carry out data decompression process.
In another embodiment of the invention, data receiver 40 also includes: the second interfaces state
Module 46 is set, for arranging the second Wireless USB according to the selection result of the second interface switching module 44
The duty of interface 41,
When the selection result of the second interface switching module 44 is for selecting the second Wireless USB interface 41 to receive
During the data that data transmitting equipment sends, the duty of the second Wireless USB interface 41 is set on
State;
When the selection result of the second interface switching module 44 is for selecting the second wired USB interface 42 to receive
During the data that data transmitting equipment sends, the duty of the second Wireless USB interface 41 is set off
State.
From above technical scheme, wired by arranging in data transmitting equipment and data receiver
USB interface and Wireless USB interface so that can basis between data transmitting equipment and data receiver
User's request chooses Wireless USB interface or wired USB interface to transmit data, adds user and makes
With the freedom of data receiver.
The above is only the preferred embodiment of the present invention, it is noted that common for the art
For technical staff, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications,
These improvements and modifications also should be regarded as protection scope of the present invention.
Claims (14)
1., based on the changing method between Wireless USB interface and wired USB interface, it is applied to number
According to send equipment side, it is characterised in that described data transmitting equipment be provided with the first Wireless USB interface and
First wired USB interface, described changing method is wired for selection the first Wireless USB interface or first
USB interface transmits data, and described changing method includes:
Detect described first wired USB interface on described data transmitting equipment or the first Wireless USB connects
Whether mouth enumerates data receiver;
If described first wired USB interface enumerates a target data reception equipment, described data send
Data receiver formula is automatically switched to described data be sent by described first wired USB interface by equipment
Data to be transmitted on equipment is sent on described target data reception equipment, and by the first Wireless USB
The duty of interface is adjusted to low power consumpting state;
If described first Wireless USB interface enumerates described target data reception equipment, described data are sent out
Send equipment data receiver formula to be automatically switched to by described first Wireless USB interface described data to be sent out
The data to be transmitted on equipment is sent to be sent on described target data reception equipment.
Changing method the most according to claim 1, it is characterised in that when by described first wired
When USB interface sends data to be sent, described changing method also includes:
The duty of described first Wireless USB interface on described data transmitting equipment is set off
State.
Changing method the most according to claim 1, it is characterised in that send detecting described data
Whether described first wired USB interface or the first Wireless USB interface on equipment enumerate data receiver
Before the step of equipment, described changing method also includes:
Obtain the data to be sent on described data transmitting equipment, and described data to be sent are carried out data pressure
Contracting processes.
4. a data transmitting equipment, including the first wired USB interface and the first Wireless USB interface,
It is characterized in that, described data transmitting equipment can select the first Wireless USB interface or first wired USB
Interface transmits data, and described data transmitting equipment also includes:
First interface detection module, respectively with described first wired USB interface and described first Wireless USB
Interface connects, and is used for detecting whether described first wired USB interface enumerates data receiver, or
For detecting whether described first Wireless USB interface enumerates data receiver;
First interface handover module, respectively with described first wired USB interface, described first Wireless USB
Interface and described first interface detection module connect,
If described first interface detection module detects that described first wired USB interface enumerates a number of targets
During according to the equipment of reception, for data receiver formula is automatically switched to by described first wired USB interface
Data to be sent on described data transmitting equipment are sent on described target data reception equipment, and will
The duty of the first Wireless USB interface is adjusted to low power consumpting state;
If described first interface detection module detects that described first Wireless USB interface enumerates described target
During data receiver, for automatically switching to be connect by described first Wireless USB by data receiver formula
Data to be sent on described data transmitting equipment are sent on described target data reception equipment by mouth.
Data transmitting equipment the most according to claim 4, it is characterised in that described data send and set
For also including:
Data compressing module, is connected with described first wired USB interface and described first Wireless USB interface,
For the data to be sent obtained are carried out data compression process.
Data transmitting equipment the most according to claim 4, it is characterised in that described data send and set
For also including:
First interface duty arranges module, respectively with described first wired USB interface, described first
Wireless USB interface and described first interface handover module connect, for switching mould according to described first interface
The selection result of block arranges the duty of described first Wireless USB interface;
When the selection result of described first interface handover module is for selecting described first wired USB interface to send out
When sending described data to be sent, described first interface duty arranges module by described first Wireless USB
The duty of interface arranges closed mode.
Data transmitting equipment the most according to claim 4, it is characterised in that described data send and set
Standby for PC main frame.
8., based on the changing method between Wireless USB interface and wired USB interface, it is applied to number
According to receive equipment side, it is characterised in that described data receiver be provided with the second Wireless USB interface and
Second wired USB interface, described changing method is wired for selection the second Wireless USB interface or second
USB interface transmits data, and described changing method includes:
Detect described second wired USB interface on described data receiver whether with data transmitting equipment
Between form wired USB and connect, or detect described second Wireless USB interface and whether send with data and set
Form Wireless USB between Bei to connect;
If described second wired USB interface on described data receiver and described data transmitting equipment it
Between formed wired USB connect time, data receiver mode is automatically switched to pass through by described data receiver
Second wired USB interface receives the data that described data transmitting equipment sends, and by the second Wireless USB
The duty of interface is adjusted to low power consumpting state;
If forming Wireless USB between described second Wireless USB interface and described data transmitting equipment to be connected
Time, data receiver mode is automatically switched to be connect by described second Wireless USB by described data receiver
Mouth receives the data that described data transmitting equipment sends.
Changing method the most according to claim 8, it is characterised in that when by described second wired
When USB interface receives described data transmitting equipment transmission data, described changing method also includes:
The duty of described second Wireless USB interface on described data receiver is set off
State.
Changing method the most according to claim 8, it is characterised in that when data to be sent are through number
When processing according to compression, described second wired USB interface on the described data receiver of described detection is
No with form wired USB between data transmitting equipment and be connected, or detect described second Wireless USB interface
Before the step whether being connected with formation Wireless USB between data transmitting equipment, described method also includes:
The data to be sent receiving described data receiver carry out data decompression process.
11. 1 kinds of data receivers, including the second wired USB interface and the second Wireless USB interface,
It is characterized in that, described data receiver can select the second Wireless USB interface or second wired USB
Interface transmits data, and described data receiver also includes:
Second interface detection module, respectively with described second Wireless USB interface and described second wired USB
Interface connects, for detect described second wired USB interface on described data receiver whether with number
Connect according to forming wired USB between transmission equipment, or for detecting the on described data receiver
Whether two Wireless USB interface are connected with formation Wireless USB between data transmitting equipment;
Second interface switching module, respectively with described second Wireless USB interface, described second wired USB
Interface and described second interface detection module connect,
If described second interface detection module detects described second wired USB interface and data transmitting equipment
Between form wired USB when connecting, for automatically switching to by second wired by data receiver mode
USB interface receives the data that described data transmitting equipment sends, and by the work of the second Wireless USB interface
It is adjusted to low power consumpting state as state;
If described second interface detection module detects described second Wireless USB interface and data transmitting equipment
Between form Wireless USB when connecting, for automatically switching to data receiver mode by described second nothing
Line USB interface receives the data that described data transmitting equipment sends.
12. data receivers according to claim 11, it is characterised in that described data receiver
Equipment also includes:
Second interfaces state setting module, for the selection result according to described second interface switching module
The duty of described second Wireless USB interface is set;
When the selection result of described second interface switching module is for selecting described second wired USB interface to connect
When receiving the data that described data transmitting equipment sends, described second interfaces state setting module is by described the
The duty of two wired USB interface is set to off closed state.
13. data receivers according to claim 11, it is characterised in that described data receiver
Equipment also includes:
Data decompression module, connects with described second Wireless USB interface and described second wired USB respectively
Mouth connects, for the data received are carried out data decompression process.
14. data receivers according to claim 11, it is characterised in that described data receiver
Equipment is 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 CN101741825A (en) | 2010-06-16 |
CN101741825B true 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) |
Families Citing this family (9)
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 |
CN103389930B (en) * | 2012-05-10 | 2018-11-16 | 索尼公司 | Data storage device and date storage method |
CA2914564A1 (en) * | 2013-06-06 | 2014-12-11 | Google Inc. | Systems, methods, and media for presenting media content |
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 |
CN107959545A (en) * | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | Data transmission method and device, mobile phone, data card |
JP2019009638A (en) * | 2017-06-26 | 2019-01-17 | ルネサスエレクトロニクス株式会社 | Radio communication device, system, and method |
CN108009110B (en) * | 2017-12-26 | 2020-03-10 | 上海展扬通信技术有限公司 | Equipment identification method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1811743A (en) * | 2005-01-27 | 2006-08-02 | 恩益禧电子股份有限公司 | USB hub, USB-compliant apparatus, and communication system |
CN101141437A (en) * | 2007-10-19 | 2008-03-12 | 华南理工大学 | Computer with plurality of wired/wireless terminal and communication method thereof |
-
2008
- 2008-11-17 CN CN200810226615.0A patent/CN101741825B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1811743A (en) * | 2005-01-27 | 2006-08-02 | 恩益禧电子股份有限公司 | USB hub, USB-compliant apparatus, and communication system |
CN101141437A (en) * | 2007-10-19 | 2008-03-12 | 华南理工大学 | Computer with plurality of wired/wireless terminal and communication method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101741825A (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101741825B (en) | Based on the changing method between Wireless USB interface and wired USB interface and equipment | |
US8055810B2 (en) | Mobile terminal and switching method for controlling data transmission via GPIO interface based on preset threshold | |
CN101710860A (en) | Customer premises equipment and method for realizing power control | |
WO2004049149B1 (en) | Usb accessory adaptor | |
WO2012163243A1 (en) | Method, apparatus and electronic device for power supply control | |
US20120190304A1 (en) | Bluetooth Function Providing Method and Terminal for Computer | |
WO2012142942A1 (en) | Mobile terminal having one antenna to implement nfc function and fm-tx sending function | |
US9271232B2 (en) | Mobile terminal and power saving method thereof | |
CN104615399B (en) | The transmission method and electronic device of display data | |
CN102387568B (en) | A kind of mobile terminal automatically selects the method and system of communication mode | |
US20130042036A1 (en) | Electronic device and electronic device system | |
CN103563212B (en) | Wireless power supply system and its control method | |
US20080144540A1 (en) | Network switching apparatus and network switching method for computer system | |
US20120003927A1 (en) | Communication Apparatus, Program and Communication Method | |
CN102736995B (en) | Electronic equipment and control method for USB communication module of electronics equipment | |
US9552048B2 (en) | Electronic system in which USB device can inform occurrence of event to host device without receiving status request from host device | |
WO2011153775A1 (en) | Method, device and system for enhancing output power dissipation of universal serial bus (usb) interface | |
CN201584990U (en) | Protocol conversion device | |
CN101102403A (en) | Video input system and method for using mobile phone camera as external camera of external device | |
US20140071867A1 (en) | Portable routing device and the power saving method thereof | |
CN203277915U (en) | Multifunctional communication conjunction box | |
CN108984004B (en) | Wireless charging mouse with external power supply | |
CN103632518B (en) | USB wireless network connections equipment, onboard system and its awakening method | |
CN206820738U (en) | A kind of antenna clutch and the mobile terminal for including the antenna clutch | |
CN203277916U (en) | A junction box |
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 |