CN113691296B - Antenna switching method and device and wireless frequency hopping communication equipment - Google Patents
Antenna switching method and device and wireless frequency hopping communication equipment Download PDFInfo
- Publication number
- CN113691296B CN113691296B CN202110970912.1A CN202110970912A CN113691296B CN 113691296 B CN113691296 B CN 113691296B CN 202110970912 A CN202110970912 A CN 202110970912A CN 113691296 B CN113691296 B CN 113691296B
- Authority
- CN
- China
- Prior art keywords
- antenna
- channel
- channels
- antennas
- target
- 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
- 230000006854 communication Effects 0.000 title claims abstract description 149
- 238000004891 communication Methods 0.000 title claims abstract description 148
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000001514 detection method Methods 0.000 claims description 11
- 230000009977 dual effect Effects 0.000 claims description 5
- 238000005562 fading Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000001413 cellular effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
- H04B7/0805—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching
- H04B7/0814—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching based on current reception conditions, e.g. switching to different antenna when signal level is below threshold
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/336—Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/345—Interference values
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
- H04B2001/7152—Interference-related aspects with means for suppressing interference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
- H04B2001/7154—Interference-related aspects with means for preventing interference
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides an antenna switching method, an antenna switching device and wireless frequency hopping communication equipment, and relates to the technical field of communication, wherein the method comprises the steps of detecting the signal quality of a signal received by each antenna in at least two antennas based on each channel in a plurality of channels respectively; according to the signal quality, the plurality of channels are divided into N groups, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device. According to the embodiment of the application, the communication performance of the wireless frequency hopping communication equipment can be improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to an antenna switching method and apparatus, and a wireless frequency hopping communications device.
Background
The wireless frequency hopping communication equipment has stronger anti-interference capability, so that people can conduct wireless communication, video and music listening and the like.
Currently, in order to ensure communication performance of a wireless frequency hopping communication device, such as anti-interference, low delay, etc., the wireless frequency hopping communication device mostly uses antennas for communication, so as to be able to switch between multiple antennas. However, with the increasing demands of wireless frequency hopping communication devices, a way to further improve the communication performance of the wireless frequency hopping communication devices is needed.
Disclosure of Invention
The embodiment of the application provides an antenna switching method, an antenna switching device and wireless frequency hopping communication equipment, which can ensure the signal quality of each channel in the communication process and improve the performance of the wireless frequency hopping communication equipment.
In a first aspect, an embodiment of the present application provides an antenna switching method, which is applied to a wireless frequency hopping communication device, where the wireless frequency hopping communication device includes at least two antennas and is based on a plurality of channels for wireless communication, and the method includes:
Detecting a signal quality of a received signal for each of the at least two antennas based on each of the plurality of channels, respectively;
according to the signal quality, the plurality of channels are divided into N groups, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
In one possible implementation, the method further includes: when the wireless frequency hopping communication device communicates based on a target channel, a corresponding target antenna is selected according to a channel group where the target channel is located, so that the target antenna can be used for receiving or transmitting wireless signals based on the target channel.
In one possible implementation, the target channel is any one of a plurality of channels, and the plurality of channels are divided into N groups according to signal quality, including:
Grouping target channels into channel groups corresponding to the target antennas according to signal quality of the target channel reception signals by each antenna, respectively; the signal quality of the target antenna based on the target channel received signal is larger than the signal quality of the residual antenna based on the target channel received signal, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
In one possible implementation, after detecting the signal quality of the signal received by each of the at least two antennas based on each of the plurality of channels, respectively, the method further comprises:
determining an available channel from a plurality of channels; wherein the available channels are that at least one antenna in all antennas receives signals with signal quality greater than a preset signal quality threshold value based on the available channels;
dividing the plurality of channels into N groups according to signal quality, comprising:
and dividing the available channels into N groups according to the signal quality of the received signals of each antenna in the at least two antennas based on the available channels, wherein each group of available channels corresponds to one antenna.
In one possible implementation, the signal quality of the antenna received signal is determined based on the RSSI or signal to interference plus noise ratio of the antenna based on the channel received signal.
In one possible implementation, the method further includes:
detecting the signal quality of each antenna based on each channel received signal according to a preset antenna switching period;
And updating the channel group corresponding to each antenna according to the signal quality.
In one possible implementation, the method further includes:
Detecting signal quality of all antennas based on the channel received signals to be updated according to a preset antenna switching period; wherein the channel to be updated is at least one channel of a plurality of channels;
updating a channel to be updated into a channel group corresponding to a target antenna according to the signal quality of a channel received signal to be updated, wherein the signal quality of the channel received signal to be updated based on the target antenna is larger than the signal quality of the channel received signal to be updated based on the residual antenna, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
In a second aspect, an embodiment of the present application provides another antenna switching method, which is applied to a wireless frequency hopping communication device, where the wireless frequency hopping communication device includes at least two antennas and is based on a plurality of channels for wireless communication, and the method includes:
detecting a signal quality of a received signal of the target channel based on each of the at least two antennas; the target channel is one of a plurality of channels;
Grouping the target channels into channel groups corresponding to one antenna of at least two antennas according to the signal quality;
the number of the channel groups is N, wherein each channel group corresponds to one antenna respectively, and each antenna receives or transmits wireless signals based on the channels in the corresponding channel group; the channels in the channel group are all channels in a plurality of channels, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
In a third aspect, an embodiment of the present application provides an antenna switching apparatus applied to a wireless frequency hopping communication device, where the wireless frequency hopping communication device includes at least two antennas and performs wireless communication based on a plurality of channels, the apparatus including:
A detection module for detecting a signal quality of a received signal of each of the at least two antennas based on each of the plurality of channels, respectively;
the grouping module is used for dividing the plurality of channels into N groups according to the signal quality, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not more than the number of the antennas in the wireless frequency hopping communication equipment.
In a fourth aspect, embodiments of the present application provide a wireless frequency hopping communications device configured to perform the method of the first aspect, any one of the possible implementation manners of the first aspect, or the second aspect.
In one possible implementation, the wireless frequency hopping communication device comprises a bluetooth device.
In one possible implementation, the wireless frequency hopping communication device comprises a classical bluetooth audio device or a BLE audio device.
In one possible implementation, the wireless frequency hopping communication device comprises a dual antenna BLE audio device.
In a fifth aspect, an embodiment of the present application provides a wireless frequency hopping communication device, a baseband and protocol processor and at least two antennas; the wireless frequency hopping communication device wirelessly communicates based on a plurality of channels;
The baseband and protocol processor is used for detecting the signal quality of a received signal of each antenna of the at least two antennas based on each channel of the plurality of channels respectively; according to the signal quality, the plurality of channels are divided into N groups, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
In one possible implementation manner, the antenna switching device further comprises a radio frequency unit and an antenna switching unit;
The baseband and protocol processor is further used for selecting a corresponding target antenna according to a channel packet where a target channel is located when the wireless frequency hopping communication device communicates based on the target channel, and sending an antenna switching signal to the antenna switching unit;
and the antenna switching unit is used for connecting the target antenna with the radio frequency unit according to the antenna switching signal and disconnecting the antenna except the target antenna from the radio frequency unit in the at least two antennas so as to enable the target antenna to receive or transmit wireless signals based on a target channel.
In a sixth aspect, embodiments of the present application provide a computer storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method provided in the first aspect, any one of the possible implementation manners of the first aspect, or the second aspect.
According to the antenna switching method, the device and the wireless frequency hopping communication equipment provided by the embodiment of the application, the plurality of channels are respectively grouped into different antennas for receiving and transmitting signals through each antenna based on the signal quality of the received signals of each channel, namely, from two aspects of space diversity and frequency diversity, the signal quality of the received signals of the antennas based on the channels is ensured, the space selective fading and the frequency selective fading of the wireless frequency hopping communication equipment are avoided from being increased along with time, and the communication performance of the wireless frequency hopping communication equipment, such as fading resistance, interference resistance and the like, is improved.
Drawings
Fig. 1 shows a schematic structural diagram of a wireless frequency hopping communication device according to an embodiment of the present application;
Fig. 2 is a schematic flow chart of an antenna switching method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of performing antenna switching by the wireless frequency hopping communication device according to the embodiment of the present application;
FIG. 4 is a graph showing RSSI for each channel at different antennas, according to an embodiment of the present application;
Fig. 5 is a schematic flow chart of another antenna switching method according to an embodiment of the present application;
fig. 6 is a schematic flow chart of another antenna switching method according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of an antenna switching device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be described below with reference to the accompanying drawings.
In describing embodiments of the present application, words such as "exemplary," "such as" or "for example" are used to mean serving as examples, illustrations or explanations. Any embodiment or design described herein as "exemplary," "such as" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "such as" or "for example," etc., is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "and/or" is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a alone, B alone, and both A and B. In addition, unless otherwise indicated, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The wireless frequency hopping communication equipment has stronger anti-interference capability, so that people can conduct wireless communication, video and music listening and the like.
Currently, in order to ensure communication performance of a wireless frequency hopping communication device, such as anti-interference, low delay, etc., the wireless frequency hopping communication device mostly uses antennas for communication, so as to be able to switch between multiple antennas. However, with the increasing demands of wireless frequency hopping communication devices, a way to further improve the communication performance of the wireless frequency hopping communication devices is needed.
For example, wireless audio devices offer people free conversations or music enjoyment without restraint, and are widely enjoyed by people. In particular, classical bluetooth Audio (Audio) headphones and speakers based on adaptive frequency hopping (Adaptive Frequency Hopping, AFH) bring great life convenience to people. Bluetooth low energy Audio (Bluetooth Low Energy Audio, BLE Audio) technology based on the connection isochronous stream (Connected Isochronous Stream, CIS) protocol and the broadcast isochronous stream (Broadcast Isochronous Stream, BIS) protocol will also bring lower power consumption, lower cost and higher signal quality wireless Audio services to people. However, in the environment of more and more serious interference and fading, the existing AFH technology is difficult to ensure that people have more and more high requirements on communication performance such as low delay, long distance, reliability and the like of the Classic Audio and the BLE Audio. For this reason, spatial diversity (SPATIAL DIVERSITY) techniques based on antenna selection have also been used to improve the anti-interference and anti-fading properties of Classic Audio and BLE Audio.
However, existing antenna selection schemes are switched based on an indication of the average received signal strength of multiple channels at a particular antenna. By adopting the mode to select the antenna for receiving and transmitting signals of the channels, the signal quality of each channel for receiving and transmitting signals under the corresponding antenna can not be ensured, and the performance of the wireless frequency hopping communication equipment can not be ensured.
Based on the above, the antenna switching method, the device and the wireless frequency hopping communication equipment provided by the embodiment of the application can reduce the influence of the space selective fading and the frequency selective fading of the wireless frequency hopping communication equipment with the increase of time from two aspects of space diversity and frequency diversity, thereby improving the communication performance of the wireless frequency hopping communication equipment, such as fading resistance, interference resistance and the like.
Fig. 1 is a schematic structural diagram of a wireless frequency hopping communication device 100 according to an embodiment of the present application. As shown in fig. 1, a wireless frequency hopping communication device 100 provided in an embodiment of the present application may include a baseband and protocol processor 101, an antenna switching unit 102, at least two antennas 103, a radio frequency unit 104, and a memory 105. The baseband and protocol processor 101 is connected to the antenna switching unit 102 and the radio frequency unit 104, so as to control the antenna switching unit 102 to switch antennas for different channels, and the radio frequency unit 104 converts a signal to be transmitted into a radio frequency signal, and converts a received radio frequency signal into a digital signal that can be processed by the baseband and protocol processor. The antenna switching unit 102 is connected to the rf unit 104, and is configured to switch the antenna corresponding to the channel, so as to send out the rf signal through the antenna.
In this solution, the baseband and protocol processor 101 is configured to detect a signal quality of a signal received by each antenna based on each of a plurality of channels; the plurality of channels are divided into N groups according to signal quality such that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels of the different groups, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
In this aspect, the wireless frequency hopping communication device may be a portable electronic device such as a laptop or a small portable computer such as an ultra-lightweight computer. The portable electronic device may include a tablet computing device (e.g., a portable computer including a touch screen display). The portable electronic device may also be a slightly smaller device. Examples of smaller portable electronic devices include wristwatch devices, pendant devices, headphone devices, and ear bud devices, among other wearable and miniature devices. The portable electronic device may be a handheld electronic device, with a suitable arrangement. The wireless frequency hopping communication device may also be a communication device such as a base station, switch, etc., and may be, for example, a cellular telephone, a media player with wireless communication capabilities (e.g., classical audio devices, BLE audio devices, and dual antenna BLE audio devices), a handheld computer (sometimes also referred to as a personal digital assistant), a remote controller, a Global Positioning System (GPS) device, a tablet computer, and a handheld gaming device. The wireless electronic device may also be a hybrid device that combines the functions of multiple conventional devices. Examples of hybrid portable electronic devices include cellular telephones that include media player functionality, gaming devices that include wireless communication capabilities, cellular telephones that include gaming and email functionality, and portable devices that receive email, support mobile telephone calls, have music player functionality, and support web browsing. The above is merely an exemplary illustration of a wireless frequency hopping communication device.
The above is an introduction to the channel grouping system involved in the present embodiment. The following describes the respective components in the above-described channel grouping system.
First, the baseband and protocol processor 101 is the computational core and control core of the wireless frequency hopping communication device. In one example, baseband and protocol processor 101 may invoke algorithms and data, etc., stored in memory 105 to control antenna switching unit 102 and radio frequency unit 104, etc. The baseband and protocol processor 101 may be based on one or more microprocessors, microcontrollers, digital signal processors, application specific integrated circuits, and the like. In some embodiments, the network communication protocol that the baseband and protocol processor 101 may support may be a wireless communication protocol such as global system for mobile communications (global system for mobile communications, GSM), bluetooth (bluetooth), code division multiple access (code divisionmultiple access, CDMA), zigBee, and the like.
Next, in this embodiment, the antenna switching unit 102 may be an antenna switching circuit, where the antenna switching circuit may be an antenna switching circuit in the prior art. The antenna 103 is coupled to the antenna switching unit 102, and the antenna switching unit 102 is capable of forming a signal transmission and reception path between the radio frequency unit 104 and the antenna 103, thereby completing communication between the wireless frequency hopping communication device and an external device.
Then, the radio frequency unit 104 is described. In this embodiment, the rf unit 104 may be an rf circuit, which has at least a function of converting a signal generated by the baseband and protocol processor 101 into an rf signal and converting the rf signal into a digital signal. The radio frequency circuit can be a radio frequency circuit in the prior art.
Finally, the memory 105 is described. In this embodiment, the memory 105 (memory) is a memory device of the wireless frequency hopping communication device, and is used for storing programs and data, for example, an antenna switching algorithm of the wireless frequency hopping communication device, and the like. Memory 105 may include storage devices such as hard disk drive storage devices, non-volatile memory (e.g., flash memory or other electrically programmable read-only memory configured to form a solid state drive), volatile memory (e.g., static or dynamic random access memory), and the like. It is appreciated that memory 105 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory; the memory 105 provides a storage space storing communication protocols, antenna switching algorithms, data, and the like. In some embodiments, the memory 105 may be integrated in the baseband and protocol processor 101.
The above is an introduction to the wireless frequency hopping communication device and each component in the wireless frequency hopping communication device. Next, the antenna switching method involved in the present solution will be described in detail.
Fig. 2 is a flow chart of an antenna switching method according to an embodiment of the present application. As shown in fig. 2, the antenna switching scheme provided by the embodiment of the present application may include S201-S203.
S201, the baseband and protocol processor 101 detects a signal quality of a received signal of each of the at least two antennas based on each of the plurality of channels, respectively.
In this scheme, a wireless frequency hopping communication device includes at least two antennas and a plurality of channels. The baseband and protocol processor 101 is capable of detecting the signal quality of each antenna based on each channel received signal, respectively. For example, the baseband and protocol processor 101 may detect that each antenna is based on a received signal strength (RECEIVED SIGNAL STRENGTH Indication, RSSI) of each channel received signal, and determine that each antenna is based on a signal quality of each channel received signal, respectively, according to a magnitude of the RSSI of each antenna. For another example, the baseband and protocol processor 101 may detect a signal-to-interference-and-noise ratio (Signal to Interference Noise Ratio, SINR) of each antenna based on each channel received signal, and determine, according to the magnitude of the signal-to-interference-and-noise ratio of each antenna based on each channel received signal, a signal quality of each antenna based on each channel received signal.
In some examples, the baseband and protocol processor 101 may detect, according to a preset trigger condition, a signal quality of each antenna based on a received signal of each antenna, respectively. For example, in the initial phase of communication, the baseband and protocol processor 101 may detect, during the initialization process, the signal quality of each antenna based on the received signal of each antenna, respectively. For another example, the detection time or detection period may be preset so that the baseband and protocol processor 101 initiates detection during communication.
S202, the baseband and protocol processor 101 divides the plurality of channels into an available channel and an unavailable channel.
In this scheme, the signal quality of the channel varies with the environment and the distance of the communication. In some cases, a channel with poor signal quality exists in the multiple channels, and data errors or losses may be caused in the data transmission process, so a signal quality threshold may be preset, and the baseband and protocol processor 101 may divide the multiple channels into available channels and unavailable channels according to the signal quality of the signal received and transmitted in real time by the channels. The available channels are channels corresponding to at least one antenna receiving signals with signal quality greater than a signal quality threshold, and the unavailable channels are channels corresponding to each antenna receiving signals with signal quality less than or equal to the signal quality threshold.
In this embodiment, any one of a plurality of available channels is taken as an example, and for convenience of distinction, any one of a plurality of available channels is referred to as a target channel, and hereinafter, a target channel is taken as an example.
For example, the wireless frequency hopping communication device has three antennas, wherein the antenna 1 receives the signal with the strongest signal quality based on the target channel. Then the target channel is an unavailable channel when the signal quality of the signal received by the antenna 1 based on the target channel is less than or equal to the signal quality threshold. When there is at least the antenna 1 that receives a signal based on the target channel with a signal quality greater than the signal quality threshold, the target channel is an available channel. In other words, as long as at least one of the three antennas has a signal quality greater than a signal quality threshold based on the target channel received signal, the target channel is an available channel; if none of the three antennas receives a signal with a signal quality greater than a signal quality threshold based on the target channel, the target channel is an unavailable channel.
In some examples, signal quality may be determined by detecting a signal-to-interference-and-noise ratio of each antenna based on the signal received by each channel, respectively. For example, the target channel is an unavailable channel when the signal-to-interference-and-noise ratio of the signal received by each antenna based on the target channel is less than or equal to a preset signal-to-interference-and-noise ratio threshold, and the target channel is an available channel when the signal-to-interference-and-noise ratio of the signal received by at least one antenna based on the target channel is greater than the preset signal-to-interference-noise ratio threshold.
In some examples, signal quality may also be determined by detecting the RSSI of each antenna based on the signal received by each channel, respectively. For example, when the RSSI of the target channel based on the received signal of the at least one antenna is greater than a preset RSSI threshold, the target channel is an available channel. When the RSSI of the target channel received signals based on any antenna is smaller than or equal to a preset RSSI threshold value, the target channel is an unavailable channel. In addition, the signal quality can also be determined by the data packet loss rate or the like.
S203, the baseband and protocol processor 101 compares each antenna to determine a target antenna corresponding to each available channel based on the signal quality of the received signal of each available channel, wherein the signal quality of the received signal of the target antenna based on the target channel is greater than the signal quality of the received signal of the residual antenna based on the target channel, the target antenna is one of at least two antennas, the residual antenna is one of at least two antennas except for the target antenna, and the target channel is in a channel group corresponding to the target antenna.
In this scheme, the baseband and protocol processor 101 may compare the signal quality of each antenna based on the target channel received signal, and in order to ensure the accuracy of communication between the wireless frequency hopping communication device and other devices, the baseband and protocol processor may determine, as the target antenna, the antenna corresponding to the strongest signal quality of the target channel received signal.
Each antenna is detected to receive the signal quality of the signal based on each available channel, so that the available channels are divided into N groups, and the signal quality of the signal transmitted and received by each antenna based on the available channels in the corresponding channel group is strongest. Wherein N is not greater than the number of antennas in the wireless frequency hopping communication device, and each set of available channels corresponds to one antenna.
For example, the wireless frequency hopping communication device includes 3 antennas, which are antenna 1, antenna 2 and antenna 3, respectively, wherein the baseband and protocol processor 101 detects that the signal quality of the target channel received signal based on the antenna 1 is a, the signal quality of the target channel received signal of the antenna 2 is B, and the signal quality of the target channel received signal of the antenna 3 is C. If a is greater than B and B is greater than C, determining that the antenna 1 is the antenna corresponding to the target channel, where the antenna 1 may send and receive signals based on the target channel.
In one embodiment, when the wireless frequency hopping communication device communicates based on the target channel, the wireless frequency hopping communication device selects a corresponding target antenna according to a channel packet in which the target channel is located, so that the target antenna can receive or transmit wireless signals based on the target channel. The specific implementation flow of the method can be as shown in fig. 3:
S301, the baseband and protocol processor 101 selects, according to the target channel, a target antenna corresponding to a channel packet in which the target channel is located.
S302, the baseband and protocol processor 101 sends an antenna switching signal to the antenna switching unit 102.
S303, the antenna switching unit 102 connects the target antenna with the radio frequency unit according to the antenna switching signal, and disconnects the antenna except the target antenna from the radio frequency unit.
S304, the radio frequency unit transmits and receives signals based on a target channel through a target antenna.
As shown in fig. 4, taking a radio frequency hopping communication device as an example of a BLE audio device, the BLE audio device includes 40 channels, an antenna 1 and an antenna 2, and a baseband and protocol processor in the BLE audio device detects RSSI of the antenna 1 based on 40 channels received signals, respectively, so as to obtain a curve of RSSI of the antenna 1 based on 40 channels received signals, respectively, that is, a curve 41 in fig. 4. The curve 41 is a curve with a star mark, and it should be noted that the curve 41 also includes a part of a curve with both a star mark and a circle mark. The baseband and protocol processor detects the profile of the antenna 2 based on the RSSI of the 40 channel received signals, respectively, i.e. the profile 42 in fig. 4. The curve 41 is a curve with a dot mark, and it should be noted that the curve 41 also includes a part of a curve with both a dot mark and a circle mark.
According to the present scheme, on channels 1-3 and 17-40, antenna 1 receives a higher RSSI signal than antenna 2, as indicated by the points marked with circles and stars simultaneously in curve 41 in fig. 4. On channels 4-16, antenna 2 receives a signal with a higher RSSI than antenna 1, as indicated by the dot and the circle marked on curve 42 in fig. 4. Thus, as can be seen from fig. 4, when the antenna 1 is used to receive signals based on channels 1-3 and channels 17-40, and the antenna 2 is used to receive signals based on channels 4-16, the signal reception quality of each channel is the best. In the example of fig. 4, the RSSI of the received signal on each of the 40 channels is all higher than the preset signal quality threshold (AFH RSSI LEVEL), so that each channel can be used as an available channel, and compared with the case of adopting any one of the antennas 1 and 2 for single-antenna communication, the available channels are also significantly increased.
When transmitting and receiving signals based on the channels 1 to 3 or the channels 17 to 40, the antenna switching unit 102 may connect the antenna 1 to the radio frequency unit and disconnect the connection between the antenna 2 and the radio frequency unit, so that the antenna 1 transmits and receives signals based on the channels 1 to 3 and any one of the channels 17 to 40. When transmitting and receiving signals based on the channels 4-16, the antenna switching unit 102 may connect the antenna 2 to the radio frequency unit and disconnect the antenna 1 from the radio frequency unit, so that the antenna 2 transmits and receives signals based on the channels 4-16.
According to the scheme, the signal quality of the received signal of each channel is respectively based on different antennas, and the corresponding antenna with the strongest signal quality is used for receiving and transmitting the signal, so that the signal quality of the received and transmitted signal is kept strongest, and the communication performance of the wireless frequency hopping communication equipment is improved.
In some embodiments, to better ensure that the signal quality of the target antenna received signal based on the target channel is strongest, the channel packet may also be updated.
In one possible scenario, during communication by the wireless frequency hopping communication device, the signal strength of the received signal may vary from one antenna to another based on the channel due to external factors. The baseband and protocol processor 101 may detect a signal quality of each antenna based on a channel reception signal according to a preset antenna switching period, and then update a channel packet under each antenna in an initial stage of communication based on the signal quality. The antenna switching period may be set to 4s,5s. Here, the antenna switching period is merely an exemplary illustration, and the present scheme is not particularly limited.
In another possible case, the wireless frequency hopping communication device may partially change signal strength of the reception signal of different antennas based on the channel due to the influence of external factors during communication. The baseband and protocol processor 101 may detect signal quality of all antennas based on the channel received signal to be updated according to a preset antenna switching period. Wherein the channel to be updated is at least one channel of the plurality of channels.
Updating a channel to be updated into a channel group corresponding to a target antenna according to the signal quality of a channel received signal to be updated, wherein the signal quality of the channel received signal to be updated based on the target antenna is larger than the signal quality of the channel received signal to be updated based on the residual antenna, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna. It will be appreciated that in implementations one or several channels may be used as channels to be updated at a time, and that the detection antennas may update the packet status of these channels based on the channel quality of the one or several channel communications.
For example, the wireless fm communication device includes three antennas, antenna a, antenna B, and antenna C, respectively. The antenna A at the current moment transmits and receives signals based on the target channel Y. The baseband and protocol processor 101 detects that the antenna switching period has been satisfied, and the baseband and protocol processor 101 detects the signal quality of the signals received by the antenna a, the antenna B, and the antenna C, respectively, based on the target channel Y. The signal quality of the signal received by the antenna a based on the target channel Y is the signal quality a, the signal quality of the signal received by the antenna B based on the target channel Y is the signal quality B, and the signal quality of the signal received by the antenna C based on the target channel Y is the signal quality C. If the signal quality A is larger than the signal quality B, and the signal quality B is larger than the signal quality C, the baseband and protocol processor 101 groups the target channel Y into the channel group corresponding to the antenna A, or keeps the current channel group of the target channel Y unchanged; if the signal quality B is the largest, that is, the signal quality of the signal received by the antenna B based on the target channel Y is the strongest, the baseband and protocol processor 101 groups the target channel Y into the channel group corresponding to the antenna B, so that the antenna B can be used to send and receive the signal based on the target channel Y when the frequency hopping to the target channel Y is required in the subsequent communication time.
In the scheme, a plurality of channels are respectively grouped into different antennas for receiving and transmitting signals according to the signal quality of the received signals of each channel of each antenna, namely, from two aspects of space diversity and frequency diversity, the signal quality of the received signals of each antenna based on the channels is ensured, the space selective fading and the frequency selective fading of the wireless frequency hopping communication equipment are avoided from being increased along with time, and the communication performance of the wireless frequency hopping communication equipment, such as fading resistance, interference resistance and the like, is improved.
Next, an antenna switching method provided by the embodiment of the present application is described. It will be appreciated that this approach is another implementation of the antenna switching scheme described above, both in combination. The method is based on the antenna switching scheme described above, and some or all of this method may be found in the description of the antenna switching scheme above.
Fig. 5 is a schematic flow chart of an antenna switching method according to an embodiment of the present application, and as shown in fig. 5, the antenna switching method according to an embodiment of the present application is applied to the wireless frequency hopping communication device provided in the foregoing embodiment. The method may include S501 and S502.
S501, detecting each of the at least two antennas is based on a signal quality of a received signal of each of the plurality of channels, respectively.
Here, the specific implementation of S501 is the same as the specific implementation of S201 described above, and in order to avoid repetition, the specific implementation of S501 may be referred to the above detailed description of S201, and will not be described in detail herein.
S502, dividing a plurality of channels into N groups according to signal quality, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
And detecting each antenna based on the signal quality of the received signal of each channel, grouping the channels under the antenna corresponding to the strongest signal quality of the received signal, and dividing the available channels into N groups. Wherein N is not greater than the number of antennas in the wireless frequency hopping communication device. Each set of available channels corresponds to an antenna, and each antenna receives or transmits wireless signals based on channels within its corresponding channel group.
In some embodiments, the plurality of channels are available channels. The available channels refer to channels corresponding to the signal quality of the signals received by at least one antenna being greater than a signal quality threshold.
In some embodiments, the wireless radio frequency communication device may include two antennas, e.g., a dual antenna bluetooth device, a dual antenna BLE audio device.
In this embodiment, any one of a plurality of available channels is taken as an example, and for convenience of distinction, any one of a plurality of available channels is referred to as a target channel, and hereinafter, a target channel is taken as an example.
The wireless frequency hopping communication device can receive a signal quality of a signal based on a target channel in comparison to each antenna. For example, each antenna may be ordered based on the signal quality of the signal received by the target channel, and the antenna corresponding to the signal quality of the target channel may be used as the target antenna, and the target channel may be grouped into a channel group corresponding to the target antenna. It can be appreciated that if the target antenna is the antenna corresponding to the channel group in which the target channel is already located, the target channel is kept in the channel group in which it is located. In some embodiments, the signal quality of the target antenna based on the target channel received signal is greater than the signal quality of the remaining antennas based on the target channel received signal, the remaining antennas being antennas other than the target antenna of the at least two antennas.
In some embodiments, the signal quality of the target channel is determined based on the RSSI or signal to interference plus noise ratio of the target channel to transmit and receive signals. For example, if the RSSI of the signal transmitted and received by a certain antenna is maximum, the antenna is the target antenna corresponding to the target channel. For another example, if the signal to interference and noise ratio of the target channel transmitting and receiving signals is the largest under a certain antenna, the antenna is the target antenna corresponding to the target channel.
According to the antenna switching method provided by the embodiment of the application, through determining the corresponding antenna with the strongest signal quality of the target channel from the plurality of antennas, the space selective fading and the frequency selective fading of the wireless frequency hopping communication equipment are avoided increasing along with time, namely, the communication performance of the wireless frequency hopping communication equipment, such as fading resistance, interference resistance and the like, is improved from two aspects of space diversity and frequency diversity.
As shown in fig. 6, an embodiment of the present application further provides an antenna switching method applied to a wireless frequency hopping communication device, the wireless frequency hopping communication device including at least two antennas and wirelessly communicating based on a plurality of channels, the method including S601 to S602.
S601, detecting signal quality of a signal received by each antenna of at least two antennas based on a target channel respectively; the target channel is one of a plurality of channels;
S602, grouping target channels into channel groups corresponding to one antenna of at least two antennas according to signal quality;
the number of the channel groups is N, wherein each channel group corresponds to one antenna respectively, and each antenna receives or transmits wireless signals based on the channels in the corresponding channel group; the channels in the channel group are all channels in a plurality of channels, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
S603, when the wireless frequency hopping communication device communicates based on the target channel, the corresponding target antenna is selected according to the channel packet in which the target channel is located, so that the target antenna receives or transmits the wireless signal based on the target channel.
The specific execution flow of S603 may refer to the foregoing embodiment and fig. 3.
In some embodiments, grouping the target channels into channel groups corresponding to one of the at least two antennas according to the signal quality includes:
Grouping target channels into channel groups corresponding to the target antennas according to signal quality of the target channel reception signals by each antenna, respectively; the signal quality of the target antenna based on the target channel received signal is larger than the signal quality of the residual antenna based on the target channel received signal, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
In some embodiments, after detecting the signal quality of the signal received by each of the at least two antennas based on the target channel, respectively, the method may further comprise:
Determining whether the target channel is an available channel; wherein the available channels are that at least one antenna of all antennas receives a signal with a signal quality greater than a preset signal quality threshold based on the target channel.
Further, grouping the target channel into a channel group corresponding to one antenna of the at least two antennas according to the signal quality includes:
and when the target channel is an available channel, grouping the target channel into a channel group corresponding to one antenna of the at least two antennas.
It will be appreciated that when the target channel is an unavailable channel, then the target channel is not grouped. If the target channel already exists in a certain channel packet, the target channel is removed from the channel packet.
Similar to the foregoing embodiments of the present application, the signal quality of the antenna reception signal in this embodiment may also be determined based on the RSSI or the signal-to-interference-and-noise ratio of the antenna based on the channel reception signal.
Similar to the foregoing embodiment of the present application, in this embodiment, the channel group may also be updated periodically, specifically, each of the at least two antennas may detect, according to a preset antenna switching period, a signal quality of a signal received by the target channel, and further update, according to the signal quality, the channel group in which the target channel is located. In updating the channel packet, the signal quality of all channels may be detected and the channel packet may be updated every antenna switching period, or only the channel quality of one or several channels may be detected and the channel packet may be updated.
It will be appreciated that technical details not described in detail in this embodiment may refer to the foregoing embodiments of the present application, and are not described herein.
It can be appreciated that this embodiment also provides a wireless frequency hopping communication device and/or an antenna switching device, which can implement the antenna switching method described above. In practice, the structure may refer to fig. 1 and/or fig. 7, but other realizable structures are also possible.
The above is a description of the antenna switching method provided by the embodiment of the present application. Corresponding to the antenna switching method provided by the embodiment of the present application, the embodiment of the present application further provides an antenna switching device, and the antenna switching device provided by the embodiment of the present application is described in detail below with reference to fig. 7.
Fig. 7 is a schematic structural diagram of an antenna switching apparatus 700 according to an embodiment of the present application, where, as shown in fig. 7, the antenna switching apparatus 700 according to an embodiment of the present application is applied to a wireless frequency hopping communication device, and the wireless frequency hopping communication device includes at least two antennas and a plurality of channels, and may include a detection module 701 and a grouping module 702.
A detection module 701, configured to detect a signal quality of a signal received by each of at least two antennas based on each of a plurality of channels, respectively;
The grouping module 702 is configured to divide the plurality of channels into N groups according to signal quality of signals received by each of the plurality of channels under each of the at least two antennas, so that each group of channels corresponds to one antenna, each antenna receives or transmits a wireless signal based on channels in the channel group corresponding to each group of channels, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
Thus, the plurality of channels are respectively grouped into different antennas for receiving and transmitting signals based on the signal quality of the received signals of each channel through each antenna, namely, the signal quality of the received signals of each channel under the corresponding antenna is ensured from two aspects of space diversity and frequency diversity, the space selective fading and the frequency selective fading of the wireless frequency hopping communication equipment are avoided from being increased along with time, and the communication performance of the wireless frequency hopping communication equipment, such as fading resistance, interference resistance and the like, is improved.
In one possible implementation manner, the apparatus further includes a selecting module, configured to, when the wireless frequency hopping communication device communicates based on the target channel, select a corresponding target antenna according to a channel packet in which the target channel is located, for the target antenna to receive or transmit a wireless signal based on the target channel.
In one possible implementation, the target channel is any one of a plurality of channels, and the grouping module is configured to group the target channel into a channel group corresponding to the target antenna according to the signal quality of the target channel received signal by each antenna; the signal quality of the target antenna based on the target channel received signal is larger than the signal quality of the residual antenna based on the target channel received signal, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
In one possible implementation, the apparatus further includes a determining module configured to determine an available channel from a plurality of channels; wherein the available channels are that at least one antenna in all antennas receives signals with signal quality greater than a preset signal quality threshold value based on the available channels;
and the grouping module is used for dividing the available channels into N groups according to the signal quality of the received signals of each antenna in the at least two antennas based on the available channels, wherein each group of available channels corresponds to one antenna.
In one possible implementation, the signal quality of the antenna received signal is determined based on the RSSI or signal to interference plus noise ratio of the antenna based on the channel received signal.
In one possible implementation manner, the detection module is configured to detect, according to a preset antenna switching period, a signal quality of each antenna based on a received signal of each channel;
And updating the channel group corresponding to each antenna according to the signal quality.
In one possible implementation manner, the detection module is configured to detect signal quality of all antennas based on a channel received signal to be updated according to a preset antenna switching period; wherein the channel to be updated is at least one channel of a plurality of channels;
And the updating module is used for updating the channel to be updated into the channel group corresponding to the target antenna according to the signal quality of the channel received signal to be updated, wherein the signal quality of the target antenna based on the channel received signal to be updated is larger than the signal quality of the residual antenna based on the channel received signal to be updated, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
The embodiment of the application also provides another antenna switching device which is applied to wireless frequency hopping communication equipment, wherein the wireless frequency hopping communication equipment comprises at least two antennas and is used for wireless communication based on a plurality of channels, and the device comprises:
The detection module is used for detecting the signal quality of the signal received by each antenna of the at least two antennas based on the target channel respectively; the target channel is one of a plurality of channels;
the grouping module is used for grouping the target channels into channel groups corresponding to one antenna of the at least two antennas according to the signal quality;
the number of the channel groups is N, wherein each channel group corresponds to one antenna respectively, and each antenna receives or transmits wireless signals based on the channels in the corresponding channel group; the channels in the channel group are all channels in a plurality of channels, N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
And the antenna switching module is used for selecting a corresponding target antenna according to the channel group where the target channel is located when the wireless frequency hopping communication equipment communicates based on the target channel, so that the target antenna can be used for receiving or transmitting wireless signals based on the target channel.
In some embodiments, a grouping module 802 is configured to group the target channels into channel groups corresponding to the target antennas according to signal quality of the target channel received signals by each antenna, respectively; the signal quality of the target antenna based on the target channel received signal is larger than the signal quality of the residual antenna based on the target channel received signal, the target antenna is one of at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
In some embodiments, the apparatus further comprises a determining module for determining whether the target channel is an available channel; wherein the available channels are that at least one antenna of all antennas receives a signal with a signal quality greater than a preset signal quality threshold based on the target channel.
And the grouping module is used for grouping the target channel into a channel group corresponding to one antenna of the at least two antennas when the target channel is an available channel.
It will be appreciated that when the target channel is an unavailable channel, then the target channel is not grouped. If the target channel already exists in a certain channel packet, the target channel is removed from the channel packet.
In addition, in combination with the above embodiment, the embodiment of the present application further provides a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the antenna switching methods of the above embodiments.
The functional blocks shown in the above block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, or other programmable processor to produce a machine, such that the instructions, which execute via the computer or other programmable processor, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.
Claims (15)
1. An antenna switching method applied to a wireless frequency hopping communication device that includes at least two antennas and that wirelessly communicates based on a plurality of channels, the method comprising:
detecting a signal quality of a received signal for each of the at least two antennas based on each of the plurality of channels, respectively;
And dividing the plurality of channels into N groups according to the signal quality, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not more than the number of the antennas in the wireless frequency hopping communication equipment.
2. The method according to claim 1, wherein the method further comprises: when the wireless frequency hopping communication equipment communicates based on a target channel, a corresponding target antenna is selected according to a channel group where the target channel is located, and the target antenna is used for receiving or transmitting wireless signals based on the target channel.
3. The method according to claim 1 or 2, wherein the target channel is any one of the plurality of channels, and said dividing the plurality of channels into N groups according to the signal quality comprises:
Grouping the target channels into channel groups corresponding to the target antennas according to the signal quality of the target channel received signals by each antenna; the signal quality of the target antenna based on the target channel received signal is greater than the signal quality of the target antenna based on the target channel received signal, the target antenna is one of the at least two antennas, and the remaining antennas are antennas of the at least two antennas except for the target antenna.
4. The method of claim 1, wherein after detecting the signal quality of the received signal for each of the at least two antennas based on each of the plurality of channels, respectively, the method further comprises:
determining an available channel from the plurality of channels; wherein the available channels are that at least one antenna in all antennas receives signals based on the available channels, and the signal quality of the signals is larger than a preset signal quality threshold;
Said dividing said plurality of channels into N groups according to said signal quality, comprising:
And dividing the available channels into N groups according to the signal quality of the received signals of each antenna in the at least two antennas based on the available channels, wherein each group of available channels corresponds to one antenna.
5. The method of claim 1, wherein the signal quality of the antenna received signal is determined based on the RSSI or signal to interference plus noise ratio of the antenna based on the channel received signal.
6. The method according to claim 1, wherein the method further comprises:
detecting the signal quality of each antenna based on each channel received signal according to a preset antenna switching period;
And updating the channel group corresponding to each antenna according to the signal quality.
7. The method according to claim 1, wherein the method further comprises:
Detecting signal quality of all antennas based on the channel received signals to be updated according to a preset antenna switching period; wherein the channel to be updated is at least one channel of the plurality of channels;
Updating the channel to be updated into a channel group corresponding to a target antenna according to the signal quality of the channel received signal to be updated, wherein the signal quality of the channel received signal to be updated is larger than the signal quality of the channel received signal to be updated based on the residual antenna, the target antenna is one of the at least two antennas, and the residual antenna is one of the at least two antennas except the target antenna.
8. An antenna switching method applied to a wireless frequency hopping communication device that includes at least two antennas and that wirelessly communicates based on a plurality of channels, the method comprising:
detecting signal quality of each of the at least two antennas based on a target channel received signal, respectively; the target channel is one of the plurality of channels;
According to the signal quality, grouping the target channel into a channel group corresponding to one antenna of the at least two antennas;
The number of the channel groups is N, wherein each channel group corresponds to one antenna respectively, and each antenna receives or transmits wireless signals based on channels in the corresponding channel group; the channels in the channel group are all channels in the plurality of channels, wherein N is a positive integer, and N is not greater than the number of antennas in the wireless frequency hopping communication device.
9. An antenna switching apparatus for use in a wireless frequency hopping communication device that includes at least two antennas and that wirelessly communicates based on a plurality of channels, the apparatus comprising:
a detection module for detecting a signal quality of a received signal of each of the at least two antennas based on each of the plurality of channels, respectively;
And the grouping module is used for dividing the plurality of channels into N groups according to the signal quality, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not more than the number of the antennas in the wireless frequency hopping communication equipment.
10. A wireless frequency hopping communication device, characterized by being arranged to perform the method according to any of claims 1-7 or claim 8.
11. The device of claim 10, wherein the wireless frequency hopping communication device comprises a bluetooth device.
12. The device of claim 10, wherein the wireless frequency hopping communication device comprises a classical bluetooth audio device or a BLE audio device.
13. The device of claim 10, wherein the wireless frequency hopping communication device comprises a BLE audio headset device employing dual antennas.
14. A wireless frequency hopping communications device comprising a baseband and protocol processor and at least two antennas; the wireless frequency hopping communication device wirelessly communicates based on a plurality of channels;
The baseband and protocol processor is configured to detect a signal quality of a received signal of each of the at least two antennas based on each of the plurality of channels, respectively; and dividing the plurality of channels into N groups according to the signal quality, so that each group of channels corresponds to one antenna, each antenna receives or transmits wireless signals based on the channels in the corresponding channel group, N is a positive integer, and N is not more than the number of the antennas in the wireless frequency hopping communication equipment.
15. The apparatus of claim 14, further comprising a radio frequency unit and an antenna switching unit;
The baseband and protocol processor is further configured to select, when the wireless frequency hopping communication device communicates based on a target channel, a corresponding target antenna according to a channel packet in which the target channel is located, and send an antenna switching signal to the antenna switching unit;
The antenna switching unit is configured to connect a target antenna with the radio frequency unit according to the antenna switching signal, and disconnect an antenna other than the target antenna from the radio frequency unit in the at least two antennas, so that the target antenna receives or transmits a wireless signal based on the target channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970912.1A CN113691296B (en) | 2021-08-23 | 2021-08-23 | Antenna switching method and device and wireless frequency hopping communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970912.1A CN113691296B (en) | 2021-08-23 | 2021-08-23 | Antenna switching method and device and wireless frequency hopping communication equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113691296A CN113691296A (en) | 2021-11-23 |
CN113691296B true CN113691296B (en) | 2024-08-20 |
Family
ID=78581609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110970912.1A Active CN113691296B (en) | 2021-08-23 | 2021-08-23 | Antenna switching method and device and wireless frequency hopping communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113691296B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114900205B (en) * | 2022-03-28 | 2023-06-02 | 安克创新科技股份有限公司 | Adaptive frequency hopping method and device, storage medium and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7573851B2 (en) * | 2004-12-07 | 2009-08-11 | Adaptix, Inc. | Method and system for switching antenna and channel assignments in broadband wireless networks |
US20070165754A1 (en) * | 2006-01-17 | 2007-07-19 | Niko Kiukkonen | Method for avoiding interference from a cellular transmitter to the 2.4/5GHz ISM band |
WO2013183939A1 (en) * | 2012-06-07 | 2013-12-12 | Lg Electronics Inc. | Method and apparatus for transmitting uplink signal in wireless communication system |
US9344180B2 (en) * | 2014-08-29 | 2016-05-17 | Freescale Semiconductor, Inc. | Antenna-diversity receiver and method of operating an antenna-diversity receiver and a transmitter in a frequency-hopping communication system |
-
2021
- 2021-08-23 CN CN202110970912.1A patent/CN113691296B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113691296A (en) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101227305B1 (en) | Method, apparatus, and storage medium for association and re-association in a wireless network | |
JP5096576B2 (en) | Technology for selecting and broadcasting a receive beamforming vector in a peer-to-peer (P2P) network | |
JP5048061B2 (en) | Radio apparatus and method using directional antennas for peer-to-peer networks in millimeter waves for adaptive beam manipulation | |
KR101124720B1 (en) | Techniques for receiver beamforming and yielding-threshold adjustments in peer-to-peer networks | |
US20130237294A1 (en) | Auxiliary Antenna Array Attachment for Wireless Devices | |
US8238832B1 (en) | Antenna optimum beam forming for multiple protocol coexistence on a wireless device | |
US20080111748A1 (en) | Antenna system having plural selectable antenna feed points and method of operation thereof | |
US20080080455A1 (en) | Method and system for utilizing polarized antennas in coexistence systems | |
CN107078775B (en) | Method and system for beam alignment over directional wireless links | |
JP2010516172A (en) | Scanning available wireless device services in a multi-radio technology communication system | |
JP2009532936A (en) | Wireless terminal and method for performing diversity reception path measurement in transmission gap | |
WO2001091328A1 (en) | Array antenna base station device and radio transmission method | |
JP2009033605A (en) | Radio communication terminal, radio communication system and communication method of radio communication terminal | |
CN113691296B (en) | Antenna switching method and device and wireless frequency hopping communication equipment | |
JP4194553B2 (en) | Wireless communication device | |
US10091742B2 (en) | Wireless communication device | |
JP2011114768A (en) | Composite radio device | |
EP1937023B1 (en) | Wireless communication connection destination selecting method and device | |
US20100061279A1 (en) | Transmitting and Receiving Wireless Signals Via Dual Antennas | |
WO2005013631A1 (en) | Radio communication terminal | |
JP2005217590A (en) | Wireless communication apparatus, wireless communication system, and antenna switching method | |
JP2012105124A (en) | Portable terminal device, and antenna switching method | |
KR20210103311A (en) | Communication method and communication apparatus of vehicle | |
JP2013009251A (en) | Wireless communication device and wireless access control method | |
CN114759963A (en) | SRS polling method, radio frequency circuit and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |