The method of fast Blue Tooth wireless network band quality upgrading
Technical field
The present invention relates to a kind of update method that is applied to the channel quality of blue tooth radio network, relate in particular to a kind of method of fast Blue Tooth wireless network band quality upgrading.
Background technology
In the environment of a bluetooth (Bluetooth) wireless network and the coexistence of other standard wireless network, the interference between the different radio device can make transmission rate obviously reduce.Because Bluetooth system adopts band spectrum modulation (Spread Spectrum Modulation), and its spread spectrum mode is frequency hopping (Frequency Hopping), so the mode of the channel that blue-tooth device can take through other wireless device of tripping is avoided disturbing.Yet before the occupied channel of tripping effectively, should know and understand the occupied situation of each channel.
Bluetooth standard is not now confirmed to carry out the channel quality estimation approach, but is decided in its sole discretion by manufacturer.Generally speaking, have following several kinds of modes can carry out channel quality and estimate: one, receive signal strength (Receive Signal Strength, RSS); Two, carrier wave induction (Carrier Sense, CS); Three, error rate (Error Rate, ER).
The advantage of first method is simple in structure, and shortcoming is the difficult critical value of confirming the reception signal strength of available and unavailable channel.The advantage of second method is accurately, and shortcoming is that the package detector of other wireless device of detecting must be arranged in the bluetooth receiver, thereby has increased cost, and if to disturb be not the package (like noise) of detecting wireless device, then can't detect.The advantage of the third method also is accurately, do not have explicit stipulation but shortcoming is the mechanism of carrying out error rate calculating, thereby compatible problem highlights day by day between each manufacturer's device.Therefore, how learn that effectively channel quality promptly becomes an important topic not harming under the existing blue-tooth device running.
For solving above-mentioned technical problem; A kind of channel quality method of estimation that is applied to blue tooth radio network is arisen at the historic moment and (is seen also shown in Figure 1; Tw Taiwan patent name: the channel quality method of estimation that is applied to blue tooth radio network; No. the 92131315th, patent application), when drawing the channel quality estimation more accurately, further solved the compatibility issue between each manufacturer's blue-tooth device.
This method is at first installed (step 101) to bluetooth from (Bluetooth Slave) by the channel probe packets of bluetooth master (Bluetooth Master) device transmission one first form; Confirm the channel probe packets (step 102) that can it this first form of identification according to this bluetooth from the response of device then; When this bluetooth from device can't this first form of identification probe packets the time, the channel probe packets (step 103) of sending one second form by this bluetooth master device; Carry out error rate calculating according to this bluetooth from the response packets of device at last and obtain channel quality estimation (step 104).
This patent is used above-mentioned the third common channel quality method of estimation; Particular design via the first format channel probe packets; Thereby can obtain channel quality more accurately estimates; Simultaneously, by the design of the channel probe packets of second form and solved the compatibility issue between different vendor.
But; The error rate method that this patent adopted has channel quality and upgrades (Channel Quality Update) slow slightly problem; If it is fast slightly that channel quality changes; And channel quality estimation can't promptly be upgraded thereupon, can cause for some applicable cases, as one section not good situation of transmission content quality is arranged in the real-time audio-visual transmission; The vision and the sense of hearing for the user cause very unhappy impression, and therefore how in the bluetooth package transmission, reaching fast also channel quality estimation renewal accurately becomes a very important problem in real-time audio-video transmits.
Summary of the invention
In view of above-mentioned technical problem; Main purpose of the present invention is to provide a kind of method of fast Blue Tooth wireless network band quality upgrading; Make the data transmission device of having used Bluetooth technology in data transmission procedure, can confirm accurately that rapidly interference signal intensity is little, the transmission channel that annoyance level is low, and in time switch to this available channel; Accomplish the rapid Optimum renewal of channel quality, thereby improved the quality of transfer of data.
To achieve these goals, the invention provides a kind of method of fast Blue Tooth wireless network band quality upgrading, comprise the steps: to be installed on an available channel when transmitting, establish the transmission of carrying out a conveying trough behind the channel quality as a bluetooth master; Then, bluetooth master device makes all bluetooths of blue tooth radio network get into one from device and fits change frequency hopping (Adaptive Frequency Hopping) pattern; During the second half section of conveying trough, bluetooth master's device carries out the channel switching to a unavailable channel and an available channel, to receive and to calculate the interference strength of unavailable channel and available channel; Before the last starting point during next receiving slit; Bluetooth master's device switching channels is to this available channel; The completion channel quality upgrades; Wherein interference strength is an interference strength critical value that obtains through emulation or experiment, and the channel on the interference strength critical value is judged to unavailable channel, and the channel under the interference strength critical value is judged to available channel.
Describe the present invention below in conjunction with accompanying drawing and specific embodiment, but not as to qualification of the present invention.
Description of drawings
Fig. 1 is the common channel quality method of estimation flow chart that is applied to blue tooth radio network;
Fig. 2 is the sketch map of bluetooth conveying trough structure;
Fig. 3 is the interval sketch map of interferometry of bluetooth conveying trough structure;
Fig. 4 becomes frequency-hopping mode bluetooth package transmission sequential chart for fitting;
Fig. 5 is a first embodiment of the present invention flow chart;
Fig. 6 becomes available and unavailable channel interference strength measurement sequential chart under the frequency-hopping mode for fitting;
Fig. 7 is a preferred embodiment flow chart of the present invention.
Wherein, Reference numeral:
Step 101 is sent one first form by bluetooth master device channel probe packets to bluetooth from device
Step 102 is confirmed the channel probe packets that can it this first form of identification according to this bluetooth from the response of device
Step 103 when this bluetooth from device can't this first form of identification probe packets the time, the channel probe packets of sending one second form by this bluetooth master device
Step 104 is carried out error rate calculating according to this bluetooth from the response packets of device and is obtained the channel quality estimation
Step 501 is installed on an available channel when transmitting as a bluetooth master, establishes the transmission of carrying out a conveying trough behind the channel quality
Step 502 bluetooth master device makes all bluetooths of blue tooth radio network get into from device and fits the change frequency-hopping mode
It is transmission channel that step 503 limits available channel, and during the second half section of conveying trough, carries out interference strength and measure
Step 504 is back to normal mode and rescans all channels
Step 701 is installed on an available channel when transmitting as a bluetooth master, establishes the transmission of carrying out a conveying trough behind the channel quality
Step 702 bluetooth master device makes all bluetooths of blue tooth radio network get into one from device and fits the change frequency-hopping mode
Step 703 is during the second half section of conveying trough, and bluetooth master's device carries out the channel switching to a unavailable channel and an available channel, to receive and to calculate the interference strength of unavailable channel and available channel
Before the starting point of step 704 during next receiving slit, bluetooth master's device switching channels is accomplished channel quality and is upgraded to available channel
Embodiment
In blue tooth radio network; The order of transmission is to come standard by bluetooth master (Master) device; Many bluetooths in the network have when bluetooth master device transmits package and gives a bluetooth from device this bluetooth only from (Slave) device can reply package to bluetooth master device from installing, and the sketch map that is bluetooth conveying trough structure shown in Figure 2 can be known during a conveying trough (S1ot) (625 μ s) by Fig. 2; Authentic data transmits only in the about 312.5 μ s of preceding half section package; And the second half section package does not have any useful data transmission, supposes that this transmission space has other to disturb and exists, and this interference intensity can be learnt in this second half section estimation.In addition; Bluetooth master's device must switch to next channel with channel before the next conveying trough time started arrives; And the channel switching needs a period of time (prior art the switching time that can accomplish be about 100 μ s); Therefore deduct this switching time, be illustrated in figure 3 as the interval sketch map of interferometry of bluetooth conveying trough structure, preceding half section is the bluetooth package; Still having the utmost point sufficient time to carry out interference strength measures; All channels (in the Bluetooth system being 79) all can be accomplished interference strength and measure in certain period, and available channel (Good Channel) can be decided by the interference strength of each channel with unavailable channel (Bad Channel), and the channel on certain interference strength critical value can be judged to unavailable channel; At this channel below interference strength then is available channel, and choosing of this critical value must be obtained by emulation, experiment or other correlation technique.
Therefore, the present invention proposes first embodiment of fast Blue Tooth wireless network band quality upgrading method, and is as shown in Figure 4; Right change frequency-hopping mode bluetooth package transmission sequential chart has been described, has been utilized the back segment of conveying trough (slot) not have the ionization meter that disturbs signal during packet data transmits, the implementation step of the first embodiment of the present invention is as shown in Figure 5; When a bluetooth master is installed on an available channel when transmitting, establish carry out the transmission (step 501) of a conveying trough behind the channel quality after, bluetooth master's device makes all bluetooths of this blue tooth radio network get into to fit from device becoming frequency-hopping mode (step 502); Under this pattern, the qualification available channel is a transmission channel, and during the second half section of conveying trough; Carry out interference strength and measure (step 503); Can avoid skipping to the strong excessively channel of interference thus and cause transmission rate to reduce, then be back to normal mode again and rescan all channels (step 504), be example with Fig. 4; Channel W is a unavailable channel, and therefore fitting under the change frequency-hopping mode at this is can not skip to channel W.
Yet in wireless transmission, the quality of channel can have significantly change along with the change of environment, so channel quality must often upgrade; Like the first embodiment of the present invention; Only have available channel just can be used fit becoming under the frequency-hopping mode, this moment, unavailable channel can not be used, and caused its interference strength can't be measured; The most directly method rescans all channels for being back to normal mode, but this method can reduce efficiency of transmission.
Therefore; For solving the shortcoming of above-mentioned first embodiment, another preferable solution is as shown in Figure 6, has shown fitting available and unavailable channel interference strength measurement sequential chart under the change frequency-hopping mode; The implementation step of preferred embodiment of the present invention is as shown in Figure 7; When a bluetooth master is installed on an available channel when transmitting, establish carry out the transmission (step 701) of a conveying trough behind the channel quality after, bluetooth master's device makes all bluetooths of this blue tooth radio network get into to fit from device becoming frequency-hopping mode (step 702); During the second half section of conveying trough; Bluetooth master's device carries out channel to a unavailable channel (channel W) and an available channel (channel X) and switches, with the interference strength (step 703) of reception and calculating unavailable channel and available channel, before the starting point during next receiving slit; Bluetooth master's device switching channels is accomplished channel quality and is upgraded (step 704) to available channel.Thus, the interference strength of available channel (channel X) and unavailable channel (channel W) all can be known rapidly, and needn't switch back normal mode; Yet when measuring the interference strength of unavailable channel; Must carry out twice channel and switch, as previously mentioned, be about 100 μ s the switching time that prior art can be accomplished; Twice channel switching takies 200 μ s approximately; And be approximately 300 μ s in the time that each groove second half section blue-tooth device does not transmit, and interference strength is measured several μ s of palpus approximately at every turn, and therefore about 100 μ s of surplus time enough carry out repeatedly the interference strength measurement.
Above-mentionedly being merely preferred embodiment of the present invention, is not to be used for limiting practical range of the present invention; Be all, be all claim of the present invention and contain according to equivalence variation and modification that the present invention did.