Wireless communication method, device, communication equipment and readable storage medium
By evaluating and updating channel quality and selecting high-quality channels for communication in Bluetooth low-power audio communication, data error problems caused by channel quality changes are solved, and communication reliability and audio quality are improved.
Patent Information
- Application Number
- CN202211383409.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In the prior art, Bluetooth low-power audio communication based on limited retransmission is difficult to ensure audio quality in severe interference and fading environments, especially data errors or loss problems caused by channel quality changes.
By evaluating the communication quality of alternative channels during the current channel update cycle, updating the available channel set, selecting channels with communication quality above the threshold for communication, ensuring the quality of the channel set used in the next channel update cycle, and improving anti-interference and anti-fading performance .
Effectively improves the communication reliability of specific communication types, reduces audio data errors or losses, and ensures audio quality, especially in BLE Audio communication.
Smart Images

Figure CN115884300B_ABST
Abstract
Description
[0001] This invention is a divisional application of the Chinese invention patent application with the application date of December 31, 2020, patent application number: 202011620927.7, and invention name: "Wireless Communication Method, Device, Communication Equipment and Readable Storage Medium". Technical Field
[0002] Embodiments of the present invention relate to the field of communication technology, and in particular, to a wireless communication method, apparatus, communication equipment, and readable storage medium. Background Art
[0003] Wireless audio technology brings people the freedom to talk or enjoy music without any restrictions, and has won wide popularity. In particular, Bluetooth Low Energy (BLE) audio technology based on the Connected Isochronous Stream (CIS) protocol and the Broadcast Isochronous Stream (BIS) protocol will bring people wireless audio services with lower power consumption, lower cost and higher quality. However, the CIS and BIS protocols use limited retransmission to ensure the real-time or low-latency performance of BLE Audio. In severe interference and fading environments, limited retransmission and the existing Adaptive Frequency Hopping (AFH) technology can hardly guarantee the communication performance of BLE Audio.
[0004] The existing AFH usually evaluates the quality of the channel by the performance during the channel use process. The channel with low error rate is a high-quality channel, and the channel with low error rate is a low-quality channel. AFH selects high-quality channels as available channels, uses available channels for communication or data transmission, and does not use low-quality channels. However, as the wireless channel changes over time, low-quality channels may become high-quality channels, and high-quality channels may become low-quality channels. Therefore, the quality of all channels needs to be re-evaluated after a certain period. In order to evaluate the channel quality, the originally evaluated low-quality channels will be reused periodically for communication, and whether these channels are high-quality channels will be judged again during the communication process. The problem is that if the channel that was evaluated as low-quality in the previous cycle is still a low-quality channel in the current cycle, more data errors or losses will be caused during the channel quality evaluation process. In particular, for BLE Audio, which ensures real-time communication through limited retransmission, it is inevitable that audio data errors or losses will be caused due to the reuse of low-quality channels, and audio quality cannot be guaranteed. Summary of the invention
[0005] The embodiments of the present invention provide a wireless communication method, apparatus, communication equipment and readable storage medium, which solve the problem in the prior art that real-time communication through limited retransmission cannot guarantee audio quality.
[0006] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0007] In a first aspect, an embodiment of the present invention provides a wireless communication method, which is applied to at least two service types, where the at least two service types include a first service type and a second service type, and the method includes:
[0008] In a current channel update period, selecting a channel from a first available channel set for communication of a first service type, wherein the first available channel set includes a plurality of channels;
[0009] In the current channel update period, selecting a channel from a second available channel set for communication of a second service type, wherein the second available channel set includes a plurality of channels;
[0010] Updating the second available channel set within the current channel update cycle includes: evaluating the communication quality of the channels in the alternative channel set within the current channel update cycle to obtain high-quality channels and low-quality channels of the second type of links, and updating the high-quality channels of the second type of links evaluated within the current channel update cycle to the updated second available channel set, wherein the alternative channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels, and the updated second available channel set is used for the next channel update cycle.
[0011] Optionally, selecting a channel from the first available channel set to perform communication of the first service type includes:
[0012] Selecting a channel from a first available channel set based on an adaptive frequency hopping method to perform communication of a first service type;
[0013] The selecting a channel from the second available channel set to perform communication of the second service type comprises:
[0014] Selecting a channel from a second available channel set based on an adaptive frequency hopping method to perform communication of a second service type;
[0015] The first available channel set is established based on a first preset rule, and the second available channel set is established based on a second preset rule.
[0016] Optionally, the first available channel set and the second available channel set share part or all of the channels; wherein the shared part or all of the channels include time-division multiplexing part or all of the channels.
[0017] Optionally, the wireless communication method is a Bluetooth low energy wireless communication method;
[0018] The first service type is an asynchronous connection flow;
[0019] The second service type is a connection isochronous flow or a broadcast isochronous flow.
[0020] Optionally, updating the second available channel set within a current channel update period includes:
[0021] Evaluate the communication quality of channels in the candidate channel set within the current channel update period; wherein the candidate channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels;
[0022] A channel in the candidate channel set whose communication quality value is lower than a second threshold is selected as a target channel to obtain an updated second available channel set; the updated second available channel set is composed of the target channel.
[0023] Optionally, after selecting a channel from the first available channel set to perform communication of the first service type, the method further includes:
[0024] The first available channel set is updated; the updated first available channel set is used for the next channel update cycle.
[0025] Optionally, a channel whose communication quality value is lower than a first threshold is recorded as an available channel of the first service type; a channel whose communication quality value is higher than the first threshold is recorded as an unavailable channel of the first service type; and the unavailable channel of the first service type becomes an available channel of the first service type after a channel recovery period.
[0026] When the first available channel set is an available channel of the first service type, updating the second available channel set within a current channel update period includes:
[0027] A channel in the first available channel set whose communication quality value is lower than a second threshold is selected as a target channel to obtain an updated second available channel set; the updated second available channel set is composed of the target channel.
[0028] Optionally, the channel recovery period is a positive integer multiple of the channel update period.
[0029] Optionally, the communication quality value is a communication error probability of a channel, and the first threshold is a communication error probability threshold of a first service type;
[0030] The second threshold is a communication error probability threshold of a second service type;
[0031] The second threshold is smaller than the first threshold.
[0032] In a second aspect, an embodiment of the present invention further provides a wireless communication device, which is applied to at least two service types, where the at least two service types include a first service type and a second service type, including:
[0033] A communication module, configured to select a channel from a first available channel set for communication of a first service type within a current channel update period, wherein the first available channel set includes a plurality of channels; the communication module is further configured to select a channel from a second available channel set for communication of a second service type within the current channel update period, wherein the second available channel set includes a plurality of channels;
[0034] An updating module, used to update the second available channel set in the current channel update cycle, including: evaluating the communication quality of the channels in the alternative channel set in the current channel update cycle to obtain high-quality channels and low-quality channels of the second type of links, and updating the high-quality channels of the second type of links evaluated in the current channel update cycle to the updated second available channel set, wherein the alternative channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels, and the updated second available channel set is used for the next channel update cycle.
[0035] In a third aspect, an embodiment of the present invention further provides a communication device, comprising: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the wireless communication method as described in any one of the first aspects.
[0036] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps in the wireless communication method as described in any one of the first aspects.
[0037] In an embodiment of the present invention, service types are divided into at least two categories. In the current channel update cycle, different service types select corresponding available channel sets to communicate the corresponding service types. The second available channel set is updated in the current channel update cycle, and the updated second available channel set is used for the communication of the second service type in the next channel update cycle. This realizes the use of a specific available channel set for wireless communication transmission for a specific type of communication link, and the available channel set is updated with the channel update cycle, thereby improving the anti-interference and anti-fading performance of the specific communication type, thereby improving the communication reliability of the specific type of communication link. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0039] Figure 1 It is one of the flowcharts of the wireless communication method provided by an embodiment of the present invention;
[0040] Figure 2 It is one of the structural schematic diagrams of the wireless communication device provided by the embodiment of the present invention;
[0041] Figure 3 This is one of the structural diagrams of the communication device provided in the embodiment of the present invention. DETAILED DESCRIPTION
[0042] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0043] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.
[0044] Adaptive frequency hopping technology is a technology that combines frequency adaptation and power adaptive control based on automatic channel quality analysis. It enables the frequency hopping communication process to automatically avoid interfered frequency hopping points, and achieve the purpose of maintaining high-quality communication for a long time on interference-free frequency hopping channels with the minimum transmission power and the lowest probability of being intercepted. Bluetooth uses AFH to detect and classify interference, avoid interference by editing the frequency hopping algorithm, inform other members of the network of allocation changes, and periodically maintain the frequency hopping channel set.
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] Please refer to Figure 1 , Figure 1 It is one of the flowcharts of the wireless communication method provided by an embodiment of the present invention;
[0047] An embodiment of the present invention provides a wireless communication method, which is applied to at least two service types, where the at least two service types include a first service type and a second service type. The method includes:
[0048] Step 11: In the current channel update period, select a channel from a first available channel set for communication of a first service type, wherein the first available channel set includes a plurality of channels;
[0049] Step 12: In the current channel update period, select a channel from a second available channel set for communication of a second service type, wherein the second available channel set includes a plurality of channels;
[0050] Step 13: Update the second available channel set in the current channel update cycle, and the updated second available channel set is used in the next channel update cycle.
[0051] In an embodiment of the present invention, service types are divided into at least two categories. In the current channel update cycle, different service types select corresponding available channel sets to communicate the corresponding service types. The second available channel set is updated in the current channel update cycle, and the updated second available channel set is used for the communication of the second service type in the next channel update cycle. This realizes the use of a specific available channel set for wireless communication transmission for a specific type of communication link, and the available channel set is updated with the channel update cycle, thereby improving the anti-interference and anti-fading performance of the specific communication type, thereby improving the communication reliability of the specific type of communication link.
[0052] In some embodiments of the present invention, optionally, the first available channel set is established based on the first service type's own attributes or artificially preset rules, and the second available channel set is established based on the second service type's own attributes or artificially preset rules. The service type's own attributes may be specific requirements of a specific service for a channel, and the artificially preset rules may be established based on the channel attributes; communication quality or communication error probability is one of the indicators for evaluating channel attributes.
[0053] In some embodiments of the present invention, optionally, the establishment rules of the first channel set and the second channel set are associated. Then, in the current channel update cycle, the channel selection of different service types is more refined, the channel utilization rate is higher, and the channel selection is more in line with the communication needs of multiple related service types in the same channel update cycle.
[0054] In some embodiments of the present invention, optionally, the first channel set may be updated or not according to actual needs, so that the updated first channel set is used for communication of the first service type in the next channel update period.
[0055] In some embodiments of the present invention, optionally, selecting a channel from the first available channel set to perform communication of the first service type includes:
[0056] Selecting a channel from a first available channel set based on an adaptive frequency hopping method to perform communication of a first service type;
[0057] The selecting a channel from the second available channel set to perform communication of the second service type comprises:
[0058] Selecting a channel from a second available channel set based on an adaptive frequency hopping method to perform communication of a second service type;
[0059] The first available channel set is established based on a first preset rule, and the second available channel set is established based on a second preset rule.
[0060] In the embodiment of the present invention, a channel is selected from a corresponding available channel set based on an adaptive frequency hopping method to carry out communication of a corresponding service type, thereby realizing communication of various service types based on adaptive frequency hopping, with high communication reliability and good anti-interference and anti-fading performance.
[0061] In some embodiments of the present invention, optionally, the first available channel set and the second available channel set share part or all of the channels; wherein the shared part or all of the channels include time-division multiplexing part or all of the channels.
[0062] In an embodiment of the present invention, the first available channel set and the second available channel set share part or all of the channels, and the channel sharing method is time-division multiplexing; the communication of the first service type and the communication of the second service type time-division multiplexing the available channels in the first available channel set and the second available channel set within a channel update cycle, thereby improving the utilization rate of the channels in the communication process.
[0063] In some embodiments of the present invention, optionally, the wireless communication method is a Bluetooth low energy wireless communication method;
[0064] The first service type is an asynchronous connection flow;
[0065] The second service type is a connection isochronous flow or a broadcast isochronous flow.
[0066] In an embodiment of the present invention, when the wireless communication method is a Bluetooth low energy wireless communication method, the first service type is an asynchronous connection flow, and the second service type is a connection isochronous flow or a broadcast isochronous flow, the mixed communication of multiple service types has high reliability, good anti-interference and anti-fading performance, and effectively solves the problem that BLE Audio cannot guarantee audio quality.
[0067] In some embodiments of the present invention, optionally, updating the second available channel set within a current channel update period includes:
[0068] Evaluate the communication quality of channels in the candidate channel set within the current channel update period; wherein the candidate channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels;
[0069] A channel in the candidate channel set whose communication quality value is lower than a second threshold is selected as a target channel to obtain an updated second available channel set; the updated second available channel set is composed of the target channel.
[0070] In an embodiment of the present invention, the second available channel set is determined based on the communication quality of the channels in the alternative channel set evaluated within the current channel update cycle and the second threshold; the second available channel set updated according to this scheme not only meets the communication quality requirements of the second service type, but also realizes the on-demand selection of the target channel based on the source of the alternative channel set.
[0071] In some embodiments of the present invention, optionally, after selecting a channel from the first available channel set to perform communication of the first service type, the method further includes:
[0072] The first available channel set is updated; the updated first available channel set is used for the next channel update cycle.
[0073] In the embodiment of the present invention, after selecting a channel from the first available channel set for communication of the first service type, the first available channel set is updated, thereby further satisfying the detailed requirements of communication of different service types for channels.
[0074] In some embodiments of the present invention, optionally, a channel whose communication quality value is lower than a first threshold is recorded as an available channel of the first service type; a channel whose communication quality value is higher than the first threshold is recorded as an unavailable channel of the first service type; and the unavailable channel of the first service type becomes an available channel of the first service type after a channel recovery period;
[0075] When the first available channel set is an available channel of the first service type, updating the second available channel set within a current channel update period includes:
[0076] A channel in the first available channel set whose communication quality value is lower than a second threshold is selected as a target channel to obtain an updated second available channel set; the updated second available channel set is composed of the target channel.
[0077] In an embodiment of the present invention, the second available channel set is determined based on the communication quality of the available channels of the first service type and a second threshold; the second available channel set updated according to this scheme effectively realizes the update of the second available channel set based on the relationship between the first service type and the second service type.
[0078] In some embodiments of the present invention, optionally, the channel recovery period is a positive integer multiple of the channel update period.
[0079] In the embodiment of the present invention, when the channel recovery period is a positive integer multiple of the channel update period, an unavailable channel that meets the channel recovery period can become an available channel again as the channel update period changes, and participate in channel quality assessment.
[0080] In some embodiments of the present invention, optionally, the communication quality value is a communication error probability of a channel, and the first threshold is a communication error probability threshold of a first service type;
[0081] The second threshold is a communication error probability threshold of a second service type;
[0082] The second threshold is smaller than the first threshold.
[0083] In an embodiment of the present invention, communication links are divided into multiple categories, different types of communication links have different communication error probability thresholds, and communication equipment performs wireless communication based on different communication error probability thresholds; by calculating the communication error probability of the channel in the current channel update cycle, a communication error probability threshold is set for a specific type of communication link, and the channel communication error probability is compared with the communication error probability threshold of the specific type of communication link to obtain an available channel for the specific type of communication link, and the available channel is used for signal transmission of the specific type of communication link in the next channel update cycle; a specific available channel set and an available channel set update method are adopted for a specific type of communication link, thereby improving the anti-interference and anti-fading performance of the specific communication type, thereby improving the communication reliability of the specific type of communication link.
[0084] In an embodiment of the present invention, when the communication error probability of a channel is selected as a communication quality value to measure the communication quality of the channel, the first threshold is reflected as the communication error probability threshold of the first service type; the second threshold is reflected as the communication error probability threshold of the second service type; when the second available channel set is updated based on the first available channel set, the second threshold is less than the first threshold.
[0085] In some embodiments of the present invention, optionally, when the first service type is an asynchronous connection flow, a first type of link (i.e., an ACL link) is established; when the second service type is a connection isochronous flow or a broadcast isochronous flow, a second type of link (i.e., a BIS / CIS link, hereinafter referred to as the CIS link) is established, and the connection interval of the ACL link is 40ms, the channel update period is 0.8s, and the number of Bluetooth low energy data channels is 37; for the CIS link, a channel error probability of less than 10% is defined as a high-quality channel, and an error probability greater than 10% is defined as a low-quality channel. When the Bluetooth low energy (BLE) master and slave devices transmit audio signals, the ACL link can be established first, and then the CIS link can be established. Based on the above parameters, two specific application examples are introduced below.
[0086] The first application example: the ACL link selects all channels for communication, that is, the first available channel set is all channels; in the previous channel update cycle of establishing the CIS link, if 20 channels are evaluated as high-quality channels of the CIS link, these 20 high-quality channels constitute the second available channel set, and 17 channels are evaluated as low channel quality of the CIS link, then the second type of link, that is, the CIS link, uses 20 high-quality channels to transmit Bluetooth low-power audio data packets in the current channel update cycle. Calculate the communication error probability of all channels in the current channel update cycle, and evaluate that the CIS link and the ACL link have a total of 23 high-quality channels and 14 channels with low channel quality according to the total communication results of the ACL and CIS links in the current channel update cycle. Then, in the next channel update cycle, the CIS link uses the 23 high-quality channels evaluated in the current channel update cycle, and these 23 high-quality channels are updated to the new second available channel set. In this embodiment, the second available channel set (all channels with communication quality values lower than the second threshold) is selected from the first available channel set (all channels).
[0087] The second application example: first use the traditional AFH channel evaluation and selection method to obtain the high-quality channels of the ACL link: define the channel error probability less than 20% as the high-quality channel of the ACL link, and the error probability greater than 20% as the low-quality channel of the ACL link. The ACL link initially uses all 37 channels for communication, and then selects the high-quality channels of the ACL link as available channels based on the channel communication quality within each channel update cycle. Among them, if the channel recovery period M = 10 channel update cycles, the low-quality channel becomes an available channel again after 1 channel recovery cycle and participates in the channel evaluation, that is, the first available channel set is the available channel of the ACL link. The second type of link, namely the CIS link, defines the channel error probability less than 10% as a high-quality channel, and the error probability greater than 10% as a low-quality channel. In the previous channel update cycle before establishing the CIS link, if 25 channels are evaluated as high-quality channels of the ACL link, 6 channels are evaluated as low-quality channels of the ACL link, and 3 low-quality channels in the previous M=10th cycle need to be reused, then the ACL link can use 28 channels in the current channel update cycle, and the other 9 channels are not used, that is, these 28 channels constitute the first available channel set. If in the previous channel update cycle before establishing the CIS link, 20 channels are evaluated as high-quality channels of the CIS link, 11 channels are evaluated as low-quality channels of the CIS link, and 6 are unused channels of the ACL link, then the second type of link, that is, the CIS link, uses 20 high-quality channels to transmit BLE Audio data packets in the current channel update cycle, and does not use the other 17 channels, that is, these 20 high-quality channels constitute the second available channel set. Calculate the communication error probability of the available channels of all ACL links in the current channel update cycle. If it is evaluated based on the total communication results of the ACL and CIS links in the current cycle, the CIS link has 23 high-quality channels and 14 channels with low channel quality. Then, in the next cycle, the CIS link uses the 23 high-quality channels evaluated in the current cycle, and these 23 high-quality channels are updated to form a new second set of available channels. It can be seen that the quality standard of the available channels of the communication link of the second service type (such as setting the error probability of the CIS link channel to be lower than 10%) can be different from and higher than the quality standard of the available channels of the communication link of the first service type (such as setting the error probability of the ACL link channel to be lower than 20%), making the communication of the communication link of the second service type more reliable. In this embodiment, the second set of available channels (the first set of available channels whose communication quality values are lower than the second threshold) is selected from the first set of available channels.
[0088] In this way, the channels in the second available channel set used for the CIS link in the above two application examples are all high-quality channels evaluated in the previous channel update cycle, which can improve the communication quality of the CIS link, especially for this kind of communication that ensures real-time through limited retransmission, and can avoid audio data errors or losses due to reuse of low-quality channels, thereby ensuring audio quality.
[0089] See also Figure 2 , Figure 2 It is one of the structural schematic diagrams of the wireless communication device 20 provided in an embodiment of the present invention;
[0090] The embodiment of the present invention further provides a wireless communication device 20, which is applied to at least two service types, wherein the at least two service types include a first service type and a second service type, including:
[0091] A communication module 21, configured to select a channel from a first available channel set for communication of a first service type within a current channel update period, wherein the first available channel set includes a plurality of channels;
[0092] The communication module 21 is further configured to select a channel from a second available channel set to perform communication of a second service type within a current channel update period, wherein the second available channel set includes a plurality of channels;
[0093] The updating module 22 is used to update the second available channel set in a current channel update period, and the updated second available channel set is used in a next channel update period.
[0094] In an embodiment of the present invention, the wireless communication device divides the service types into at least two categories. In the current channel update cycle, different service types select corresponding available channel sets to communicate the corresponding service types. The second available channel set is updated in the current channel update cycle, and the updated second available channel set is used for the communication of the second service type in the next channel update cycle. The wireless communication transmission is realized by using a specific available channel set for a specific type of communication link, and the available channel set is updated with the channel update cycle, thereby improving the anti-interference and anti-fading performance of the specific communication type, thereby improving the communication reliability of the specific type of communication link.
[0095] In some embodiments of the present invention, optionally, the first available channel set is established based on the first service type's own attributes or artificially preset rules, and the second available channel set is established based on the second service type's own attributes or artificially preset rules. The service type's own attributes may be specific requirements of a specific service for a channel, and the artificially preset rules may be established based on the channel attributes; communication quality or communication error probability is one of the indicators for evaluating channel attributes.
[0096] In some embodiments of the present invention, optionally, the first channel set is associated with the establishment rule of the second channel set. In the current channel update cycle, the channel selection of different service types is more refined, the channel utilization rate is higher, and the channel selection is more in line with the communication needs of multiple related service types in the same channel update cycle.
[0097] In some embodiments of the present invention, optionally, the first channel set may be updated or not according to actual needs, so that the updated first channel set is used for communication of the first service type in the next channel update period.
[0098] In some embodiments of the present invention, optionally, the communication module 21 is further configured to select a channel from the first available channel set based on an adaptive frequency hopping method to perform communication of the first service type;
[0099] The communication module 21 is also used to select a channel from the second available channel set based on an adaptive frequency hopping method to perform communication of the second service type;
[0100] The first available channel set is established based on a first preset rule, and the second available channel set is established based on a second preset rule.
[0101] In the embodiment of the present invention, a channel is selected from a corresponding available channel set based on an adaptive frequency hopping method to carry out communication of a corresponding service type, thereby realizing communication of various service types based on adaptive frequency hopping, with high communication reliability and good anti-interference and anti-fading performance.
[0102] In some embodiments of the present invention, optionally, the first available channel set and the second available channel set share part or all of the channels.
[0103] In an embodiment of the present invention, the first available channel set and the second available channel set share part or all of the channels, and the channel sharing method is time-division multiplexing; the communication of the first service type and the communication of the second service type time-division multiplexing the available channels in the first available channel set and the second available channel set within a channel update cycle, thereby improving the utilization rate of the channels in the communication process.
[0104] In some embodiments of the present invention, optionally, the wireless communication device is applied to Bluetooth low energy wireless communication;
[0105] The first service type is an asynchronous connection flow;
[0106] The second service type is a connection isochronous flow or a broadcast isochronous flow.
[0107] In an embodiment of the present invention, the wireless communication device is applied to Bluetooth low energy wireless communication, the first service type is an asynchronous connection flow, and the second service type is a connection isochronous flow or a broadcast isochronous flow. The communication reliability of multiple service types is high, and the anti-interference and anti-fading performance are good; the problem that BLE Audio cannot guarantee audio quality is effectively solved.
[0108] In some embodiments of the present invention, optionally, the updating module 22 is further used to evaluate the communication quality of channels in the candidate channel set within the current channel update period; wherein the candidate channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels;
[0109] The updating module 22 is further configured to select a channel in the candidate channel set whose communication quality value is lower than a second threshold as a target channel to obtain an updated second available channel set; the updated second available channel set is composed of the target channel.
[0110] In an embodiment of the present invention, the second available channel set is determined based on the communication quality of the channels in the alternative channel set evaluated within the current channel update cycle and the second threshold; the second available channel set updated according to this scheme not only meets the communication quality requirements of the second service type, but also realizes the on-demand selection of the target channel based on the source of the alternative channel set.
[0111] In some embodiments of the present invention, optionally, the updating module 22 is further used to update the first available channel set after selecting a channel from the first available channel set for communication of the first service type; the updated first available channel set is used for the next channel update cycle.
[0112] In the embodiment of the present invention, after selecting a channel from the first available channel set for communication of the first service type, the first available channel set is updated, thereby further satisfying the detailed requirements of communication of different service types for channels.
[0113] In some embodiments of the present invention, optionally, a channel whose communication quality value is lower than a first threshold is recorded as an available channel of the first service type; a channel whose communication quality value is higher than the first threshold is recorded as an unavailable channel of the first service type; and the unavailable channel of the first service type becomes an available channel of the first service type after a channel recovery period;
[0114] When the first available channel set is an available channel of the first service type, the update module 22 is further used to select a channel in the first available channel set whose communication quality value is lower than a second threshold as a target channel to obtain an updated second available channel set; the updated second available channel set is composed of the target channel.
[0115] In an embodiment of the present invention, the second available channel set is determined based on the communication quality of the available channels of the first service type and a second threshold; the second available channel set updated according to this scheme effectively realizes the update of the second available channel set based on the relationship between the first service type and the second service type.
[0116] In some embodiments of the present invention, optionally, the channel recovery period is a positive integer multiple of the channel update period.
[0117] In the embodiment of the present invention, when the channel recovery period is a positive integer multiple of the channel update period, an unavailable channel that meets the channel recovery period can become an available channel again as the channel update period changes, and participate in channel quality assessment.
[0118] In some embodiments of the present invention, optionally, the communication quality value is a communication error probability of a channel, and the first threshold is a communication error probability threshold of a first service type;
[0119] The second threshold is a communication error probability threshold of a second service type;
[0120] The second threshold is smaller than the first threshold.
[0121] In an embodiment of the present invention, communication links are divided into multiple categories, different types of communication links have different communication error probability thresholds, and communication equipment performs wireless communication based on different communication error probability thresholds; by calculating the communication error probability of the channel in the current channel update cycle, a communication error probability threshold is set for a specific type of communication link, and the channel communication error probability is compared with the communication error probability threshold of the specific type of communication link to obtain an available channel for the specific type of communication link, and the available channel is used for signal transmission of the specific type of communication link in the next channel update cycle; a specific available channel set and an available channel set update method are adopted for a specific type of communication link, thereby improving the anti-interference and anti-fading performance of the specific communication type, thereby improving the communication reliability of the specific type of communication link.
[0122] See also Figure 3 , Figure 3 It is one of the structural diagrams of the communication device 30 provided in the embodiment of the present invention;
[0123] An embodiment of the present invention also provides a communication device 30, comprising: a transceiver 31, a memory 32, a processor 33, and a program stored in the memory 32 and executable on the processor 33; the processor 33 is used to read the program in the memory 32 to implement the various processes of the wireless communication method embodiment as described above.
[0124] In an embodiment of the present invention, a communication device divides service types into at least two categories. In a current channel update cycle, different service types perform communications of corresponding service types by selecting corresponding available channel sets. A second available channel set is updated in the current channel update cycle, and the updated second available channel set is used for communications of the second service type in the next channel update cycle. This implements wireless communication transmission using a specific available channel set for a specific type of communication link, and the available channel set is updated with the channel update cycle, thereby improving the anti-interference and anti-fading performance of the specific communication type, thereby improving the communication reliability of the specific type of communication link.
[0125] The embodiment of the present invention also provides a readable storage medium for storing a program, which, when executed by a processor, implements the various processes of the wireless communication method embodiment described above, and can achieve the same technical effect. To avoid repetition, it is not repeated here. The readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD)), etc.
[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute the methods described in each embodiment of the present invention.
[0128] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A wireless communication method, It is characterized in that Applied to at least two business types, the at least two business types include a first business type and a second business type, the method comprising: In a current channel update period, selecting a channel from a first available channel set for communication of a first service type, wherein the first available channel set includes a plurality of channels; In the current channel update period, selecting a channel from a second available channel set for communication of a second service type, wherein the second available channel set includes a plurality of channels; The second available channel set is updated within the current channel update cycle, including: evaluating the communication quality of the channels in the alternative channel set within the current channel update cycle, obtaining the high-quality channels and low-quality channels of the second type of link established when the second service type communication is performed, and updating the high-quality channels of the second type of link evaluated within the current channel update cycle to the updated second available channel set, wherein the alternative channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels, and the updated second available channel set is used for the next channel update cycle.
2. The wireless communication method according to claim 1, It is characterized in that The selecting a channel from the first available channel set to perform communication of the first service type comprises: Selecting a channel from a first available channel set based on an adaptive frequency hopping method to perform communication of a first service type; The selecting a channel from the second available channel set to perform communication of the second service type comprises: Selecting a channel from a second available channel set based on an adaptive frequency hopping method to perform communication of a second service type; The first available channel set is established based on a first preset rule, and the second available channel set is established based on a second preset rule.
3. The wireless communication method according to claim 1, It is characterized in that The first available channel set and the second available channel set share part or all of the channels; wherein the shared part or all of the channels include time-division multiplexing part or all of the channels.
4. The wireless communication method according to claim 1, It is characterized in that The wireless communication method is a Bluetooth low energy wireless communication method; The first service type is an asynchronous connection flow; The second service type is a connection isochronous flow or a broadcast isochronous flow.
5. The wireless communication method according to claim 1, It is characterized in that The channels in the candidate channel set whose communication quality values are lower than the second threshold are high-quality channels of the second type of link, and the channels in the candidate channel set whose communication quality values are higher than the second threshold are low-quality channels of the second type of link.
6. The wireless communication method according to claim 1, It is characterized in that The quality standard of the available channels of the second service type is different and higher than the quality standard of the available channels of the communication link of the first service type, The first available channel set includes all channels; or After selecting a channel from the first available channel set to perform communication of the first service type, the method further includes: The first available channel set is updated; the updated first available channel set is used for the next channel update cycle.
7. The wireless communication method according to claim 6, It is characterized in that The high-quality channels and low-quality channels of the first-category link are evaluated according to the channel communication quality in each channel update period, and the high-quality channels of the first-category link are used as the updated first available channel set.
8. The wireless communication method according to claim 5, It is characterized in that Channels whose communication quality values are lower than the first threshold are recorded as available channels of the first service type; channels whose communication quality values are higher than the first threshold are recorded as unavailable channels of the first service type; and unavailable channels of the first service type become available channels of the first service type after a channel recovery period.
9. The wireless communication method according to claim 8, It is characterized in that The channel recovery period is a positive integer multiple of the channel update period.
10. The wireless communication method according to claim 8, It is characterized in that The communication quality value is a communication error probability of a channel, and the first threshold is a communication error probability threshold of a first service type; The second threshold is a communication error probability threshold of a second service type; The second threshold is smaller than the first threshold.
11. A wireless communication device, It is characterized in that Applicable to at least two business types, the at least two business types including a first business type and a second business type, including: A communication module, configured to select a channel from a first available channel set for communication of a first service type within a current channel update period, wherein the first available channel set includes a plurality of channels; the communication module is further configured to select a channel from a second available channel set for communication of a second service type within the current channel update period, wherein the second available channel set includes a plurality of channels; An updating module, used to update the second available channel set in the current channel update cycle, including: evaluating the communication quality of the channels in the alternative channel set in the current channel update cycle, obtaining the high-quality channels and low-quality channels of the second type of link established when the second service type communication is performed, and updating the high-quality channels of the second type of link evaluated in the current channel update cycle to the updated second available channel set, wherein the alternative channel set is one of the first available channel set, the second available channel set, the first available channel set and the second available channel set, and a third channel set including all channels, and the updated second available channel set is used for the next channel update cycle.
12. A communication device, include: A transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the wireless communication method as described in any one of claims 1 to 10.
13. A readable storage medium for storing a program, It is characterized in that When the program is executed by a processor, the steps in the wireless communication method according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Method and equipment for updating frequency hopping frequency set
CN112104391A
Enhancements in channel reliability in scenarios operating on shared band
US20120264440A1
Dynamic configuration of stream parameters based on modulation scheme
US20200336520A1
Systems and methods for obtaining available channels for fast channel switching
US9622161B1
Method and apparatus for searching for device by using bluetooth low energy (LE) technology
WO2018169379A1
