CN115996217A - Wireless communication method for transmitting and/or receiving audio information and storage medium - Google Patents

Wireless communication method for transmitting and/or receiving audio information and storage medium Download PDF

Info

Publication number
CN115996217A
CN115996217A CN202211524886.0A CN202211524886A CN115996217A CN 115996217 A CN115996217 A CN 115996217A CN 202211524886 A CN202211524886 A CN 202211524886A CN 115996217 A CN115996217 A CN 115996217A
Authority
CN
China
Prior art keywords
code rate
wireless communication
audio information
cis
condition
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.)
Pending
Application number
CN202211524886.0A
Other languages
Chinese (zh)
Inventor
任浩业
张永雄
吴天煦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bestechnic Shanghai Co Ltd
Original Assignee
Bestechnic Shanghai Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Bestechnic Shanghai Co Ltd filed Critical Bestechnic Shanghai Co Ltd
Priority to CN202211524886.0A priority Critical patent/CN115996217A/en
Publication of CN115996217A publication Critical patent/CN115996217A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a wireless communication method and a storage medium for transmitting and/or receiving audio information. The method comprises the steps that available sets of code rate items supported by two parties are obtained through interaction of a low-power consumption Bluetooth connection and a wireless communication device at an opposite end, each code rate item is configured with air transmission parameters for CIS, when the transmission condition of audio information of the CIS meets a deterioration condition, an updating code rate item with a code rate lower than that of the current code rate item is selected in the available sets of the code rate items, the audio information is transmitted by adjusting PDU (protocol data unit) of the sent and/or received CIS to enable the air transmission parameters of the updating code rate item at a valid time point, and the wireless communication device at the opposite end is informed of the valid time point and the air transmission parameters of the updating code rate item. Therefore, when the transmission condition of the audio information meets the deterioration condition, the audio stream does not need to be paused, and the real-time self-adaptive dynamic adjustment of the code rate can be realized so as to improve the use experience of users.

Description

Wireless communication method for transmitting and/or receiving audio information and storage medium
Technical Field
The present disclosure relates to the field of audio data processing technologies, and in particular, to a wireless communication method and a storage medium for transmitting and/or receiving audio information.
Background
Bluetooth communicates using 2.4G technology, but there are a large number of signals, e.g., WIFI signals, on the 2.4G channel. When the channel interference is serious, the data transmission is affected, and in order to solve the problem of the channel interference, the bluetooth technology alliance sets a frequency hopping technology, namely, selects a channel which is not interfered for transmission when data interaction is carried out. The frequency of low-power consumption Bluetooth (LE) is 2400-2483.5MHz, 40 channels are total, each channel is 2MHz, and the data of LE Audio is frequency-hopped on 37 channels so as to reduce the interference of other signals. However, in some densely populated places, such as airports, malls, etc., where there are a large number of 2.4G devices, bluetooth transmissions are still affected. The existing method for solving the problem of channel interference in the transmission process of bluetooth is to suspend the audio data stream being transmitted, for example, suspend the transmission of the mobile phone and the earphone, then negotiate a low code rate and continue the transmission at the low code rate. Although this approach can reduce signal interference, it is desirable to pause the audio data stream so that the user can perceive that the audio is stopped and that the music is stopped, greatly reducing the user experience.
Disclosure of Invention
Provided are a wireless communication method and a storage medium for transmitting and/or receiving audio information, which can realize adaptive dynamic adjustment of a code rate when a transmission condition of audio information is deteriorated, so as to improve a user experience.
According to a first aspect of the present application, there is provided a wireless communication method of transmitting and/or receiving Audio information, the wireless communication method being performed via a wireless communication apparatus supporting an LE Audio communication mode, comprising: transmitting and/or continuously receiving the audio information to and/or from the peer wireless communication device via the LE connection synchronization data stream; the method comprises the steps that available sets of code rate entries supported by both parties are obtained through interaction between a low-power consumption Bluetooth connection and an opposite-end wireless communication device, wherein each code rate entry is configured with an air transmission parameter for CIS, and the air transmission parameter comprises a label, a code rate, PDU, NSE and Sub interval of the code rate entry; wherein in the case where the audio information is continuously transmitted to and/or received from the counterpart wireless communication device via the CIS, when a transmission condition of the audio information of the CIS satisfies a deterioration condition, an updated code rate entry having a lower code rate than a current code rate entry is selected from an available set of code rate entries; and transmitting the audio information by adjusting the transmitted and/or received PDUs of the CIS to enable the over-the-air transmission parameters of the updated code rate entry at the time point of validity, and informing the peer wireless communications device of the time point of validity and the over-the-air transmission parameters of the updated code rate entry.
According to a second aspect of the present application, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the wireless communication method described in the various embodiments of the present application.
Compared with the prior art, the beneficial effects of the embodiment of the application are that:
according to the wireless communication method for sending and/or receiving Audio information, which is provided by the embodiment of the application, synchronous data stream (CIS) is connected through an LE, the Audio information is sent to and/or continuously received from a wireless communication device at the opposite end, and the available set of code rate entries supported by both sides is obtained by interaction with the wireless communication device at the opposite end through a Bluetooth Low Energy (LE) connection. The code rate entries are configured with air transmission parameters for the CIS, wherein the air transmission parameters comprise the label of the code rate entries, the code rate, the PDU, NSE and the Sub interval, and the mode similar to numbering the code rates is beneficial to realizing the self-adaptive dynamic adjustment of the code rates. Based on the obtained available set of code rate entries, when the transmission condition of the audio information meets the deterioration condition, selecting an updated code rate entry with a lower code rate than the current code rate entry from the available set of code rate entries so as to realize the transmission of the audio information by using the lower code rate. Meanwhile, the audio information needs to be transmitted by adjusting the PDU of the CIS transmitted and/or received to enable the air transmission parameters of the updated code rate entry at the effective time point, and notifying the air transmission parameters of the effective time point and the first updated code rate entry to the counterpart wireless communication device. By setting the effective time point, the two-party equipment can start the air transmission parameters in the updated code rate entries at the same time to transmit the audio information, so that the two-party wireless communication devices can simultaneously perform self-adaptive code rate adjustment, and the consistency of the audio information transmission is improved. Thus, when the transmission channel of the audio information is interfered, the adaptive dynamic adjustment of the code rate can be realized by replacing the applicable code rate item without stopping the playing audio stream. Meanwhile, by setting the effective time point, the anti-jamming capability of the audio information transmission is facilitated, and the use experience of a user is improved.
The foregoing general description and the following detailed description are exemplary and explanatory only and are not intended to limit the claimed invention.
Drawings
In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. Like reference numerals with letter suffixes or different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, and not by way of limitation, various embodiments, and together with the description and claims serve to explain the disclosed embodiments. Such embodiments are illustrative and exemplary, and are not intended to be exhaustive or exclusive embodiments of the present methods, apparatus, systems, or non-transitory computer readable media having instructions for implementing the methods.
Fig. 1 (a) shows a schematic diagram of a bluetooth Low Energy (LE) protocol stack.
Fig. 1 (b) shows a flowchart of a wireless communication method of transmitting and/or receiving audio information according to an embodiment of the present application.
Fig. 1 (c) shows a flowchart of interaction between a wireless communication device and a counterpart wireless communication device in a wireless method of transmitting and/or receiving audio information according to an embodiment of the present application.
Fig. 1 (d) shows a schematic diagram of air transmission parameters used in a wireless communication method for transmitting and/or receiving audio information according to an embodiment of the present application.
Fig. 2 shows a timing chart of adaptive code rate adjustment when the wireless communication method according to an embodiment of the present application determines that the transmission condition of audio information of CIS satisfies a degradation condition based on a host.
Fig. 3 shows a timing chart of adaptive code rate adjustment when the wireless communication method according to an embodiment of the present application determines that the transmission condition of audio information of CIS satisfies a degradation condition based on the controller.
Fig. 4 shows a high-rate to low-rate switching null packet transceiving diagram of a wireless communication method according to an embodiment of the present application.
Fig. 5 shows a low-code rate to high-code rate switching null packet transmission and reception diagram of a wireless communication method according to an embodiment of the present application.
Fig. 6 illustrates a null packet transceiving diagram of reestablishing CIS according to a wireless communication method according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions of the present application, the following detailed description of the present application is provided with reference to the accompanying drawings and the specific embodiments. Embodiments of the present application will now be described in further detail with reference to the accompanying drawings and specific examples, but are not intended to be limiting of the present application.
The terms "first," "second," and the like, as used herein, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises" and the like means that elements preceding the word encompass the elements recited after the word, and not exclude the possibility of also encompassing other elements.
In the present application, the arrows shown in the figures of the respective steps are merely examples of the execution sequence, and the technical solution of the present application is not limited to the execution sequence described in the embodiments, and the respective steps in the execution sequence may be performed in a combined manner, may be performed in a split manner, and may be exchanged in order as long as the logical relationship of the execution content is not affected.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
Fig. 1 (a) shows a schematic diagram of a bluetooth Low Energy (LE) protocol stack, and fig. 1 (b) shows a flowchart of a wireless communication method for transmitting and/or receiving Audio information, which is performed via a wireless communication device supporting an LE Audio communication mode, according to an embodiment of the present application. The wireless communication device for sending the audio information can be an intelligent device, such as a mobile phone, an iPad, a computer and the like. The wireless communication device receiving audio information may be a wireless audio playing component, such as a truly wireless ear phone as an example of a wireless audio playing component, which may include two headphones, such as a left ear headphone and a right ear headphone. It should be appreciated that other implementations of the wireless audio playback assembly may be employed, such as, but not limited to, a wireless speaker assembly, which may include at least two or even more wireless speakers, to achieve a desired multi-channel playback effect. Each wireless earphone or wireless sound box can play audio signals in corresponding sound channels. For example, a left earphone plays an audio signal of a left channel and a right earphone plays an audio signal of a right channel.
For convenience of description, the same type of wireless audio playback assembly that is worn by (or owned by) a single user is taken as an example, and left and right ear-true wireless headphones for a single user are illustrated, but not by way of limitation. In fact, the audio playing devices of different types worn or owned by several users may be grouped according to needs to form the wireless audio playing assembly, for example, the assembly may include a wireless earphone and a wireless speaker, which are not described herein.
The wireless communication device includes a low power Audio (LE Audio) communication module such that the wireless communication device supports an LE Audio communication mode. Note that the components herein, such as the LE Audio communication module and possibly the codec, etc., may be implemented by an SOC (system on a chip), for example, various RISC (reduced instruction set computer) processors IP purchased from ARM company, etc., may be utilized as processors of the SOC to perform corresponding functions, and may be implemented as an embedded system. In particular, there are many modules on the commercially available modules (IP), such as, but not limited to, memory, various communication modules, codecs, buffers, and the like. Other devices such as an antenna and speaker may be external to the chip. Users can implement various communication modules, codecs, etc. by constructing ASICs (application specific integrated circuits) based on purchased IPs or self-developed modules in order to reduce power consumption and cost. For example, a user may also implement various communication modules using an FPGA (field programmable gate array), and the like, and may be used to verify the stability of the hardware design. A buffer is usually provided for various communication modules and the like, and data generated during processing is temporarily stored.
The low-power consumption Bluetooth protocol stack is a bridge for connecting the chip and the application and is a code for realizing the low-power consumption Bluetooth protocol. The Bluetooth protocol specifies two levels of protocols, bluetooth Core and Bluetooth application layer protocols (Bluetooth Application), respectively. As shown in fig. 1 (a), the bluetooth core protocol includes a Host (Host) 101 and a Controller (Controller) 102. The Host (Host) 101 includes a generic access profile GAP, a generic attribute profile GATT, an attribute protocol ATT, a security management SM, a logical link control and adaptation protocol L2CAP, and a Host control interface HCl, and the Controller (Controller) 102 includes a link layer LL, a physical layer PHY, and a Host control interface HCl. Most of the development work is usually performed at the host 101, and the work of the controller 102 is mainly performed by a special bluetooth chip manufacturer. For convenience of description, the Host 101 will be directly replaced with Host and the Controller 102 will be replaced with Controller. The Host and the Controller can independently operate on two different chips or even systems, and are connected and communicated through a hardware communication port (serial port, USB) by using an HCl protocol, so that the Host and the Controller can be replaced and upgraded conveniently. For example, for a computer without bluetooth function, a USB bluetooth receiver can be purchased and plugged into the computer, so that the bluetooth function can be supported. In addition, both Host and Controller can be placed on a single chip, but basically the hierarchy is followed, with the HCl protocol being changed from a hardware communication port to a software port.
To support multi-stream Audio, LE Audio introduces a synchronization connection group (Connected Isochronous Group, CIG) and synchronization connection stream (Connected Isochronous Stream, CIS). Adjacent CIG events are spaced apart by CIG event intervals, and a CIG event may include a plurality of CIS events for supporting a master multi-slave multi-connection data stream transport, wherein each CIS event may be referred to as a CIS instance. The synchronous connection stream CIS is a point-to-point data transmission stream between a master and a specific Slave (Link Layer), and is a bi-directional communication protocol with acknowledgements. In addition, one CIS Event (CIS Event) is composed of a plurality of CIS Sub events (Sub events), that is, NSE (number Sub Event). These CIS sub-events are periods during which the master and a particular slave exchange data packets using a particular synchronous connection PDU, and each CIS sub-event corresponds to a timing table indicating whether each time slot is a transmit time slot or a receive time slot. The Interval between two consecutive subevents is sub_interval, so a cis=nse_interval, each subevent can be used to transmit a PDU, if only one PDU needs to be transmitted in an ISO Interval, the first subevent is used to transmit a PDU, and the following NSE-1 is used to retransmit the PDU (in case of retransmission).
As in fig. 1 (b), in step S101, the audio information is transmitted to and/or continuously received from the counterpart wireless communication device via the LE connection synchronization data stream (CIS). Specifically, the transmission of audio information from a cell phone to a truly wireless pair of ear phones is taken as an example. When the wireless communication device is a wireless communication device for transmitting audio information, for example, the wireless communication device for transmitting audio information is a mobile phone, the mobile phone establishes CIS connection with each earphone in the real wireless pair earphone, and the mobile phone transmits audio information to each earphone in the real wireless pair earphone through CIS connection. When the wireless communication device is a wireless communication device that receives audio information, for example, the wireless communication device that receives audio information is any one of real wireless pair of ear phones, and the ear phones continuously receive audio information transmitted by the mobile phone through CIS connection.
In step S102, an available set of code rate entries supported by both parties is obtained by interacting with a peer wireless communication device via a bluetooth Low Energy (LE) connection, wherein each code rate entry is configured with an air transmission parameter for CIS, and the air transmission parameter includes a label of the code rate entry, a code rate, a PDU, NSE, and a Sub interval. In this way, it is possible to confirm whether or not both wireless communication apparatuses support the adaptive code rate and which code rate entries are supported. In this embodiment, after the master device connects with the slave device, either the master device or the slave device may initiate a feature interaction flow that is present and only once. Specifically, taking the wireless communication device initiating the feature interaction as a, and taking the opposite-end wireless communication device as B as an example, as shown in fig. 1 (c), in the feature interaction flow initiated by any party, all code rate entries supported by the current device are carried. For example, the wireless communication apparatus a initiates feature interaction with the wireless communication apparatus B, the Host-a in the wireless communication apparatus a sends a feature interaction request to the LL-a (step S105), the process continues to step S106, the request of the Host-a is transmitted from the LL-a to the LL-B, the LL-B transmits the received request of the opposite terminal to the Host-B process (step S107), and after the Host-B processes, the reply of the feature interaction request is sent to the LL-B (step S108). At this time, through the characteristic interaction of the two devices of the wireless communication apparatus a and B, for example, the initiating terminal is that the wireless communication apparatus a supports four code rate entries of 124Kbps, 96Kbps, 64Kbps and 80Kbps, and the opposite terminal is that the wireless communication apparatus B supports three code rate entries of 124Kbps, 96Kbps and 80Kbps, when the Host-B processes, the code rate entry carried in the request of the initiating terminal wireless communication apparatus a and the code rate entry supported by the opposite terminal wireless communication apparatus B are subjected to an and operation, so as to obtain the code rate entry commonly supported by the two devices (the code rates supported by both devices are 124Kbps, 96Kbps and 80Kbps in this example) and fill the reply of the characteristic interaction request and feed back to the wireless communication apparatus a, that is, step S109 is executed, the reply of the Host-B is transmitted from the LL-B to the LL-a, and the received reply of the opposite terminal is transmitted to the Host-a for processing (step S110). When the initiating wireless communication device A receives a reply of the characteristic interaction request from the opposite device wireless communication device B and the adaptive code rate entry is not null, the two devices can use the adaptive code rate entry to carry out subsequent operations,
If the initiating terminal wireless communication device A finds that the opposite terminal equipment wireless communication device B does not reply or replies other data packets which are not the characteristic interaction requests after overtime, the initiating terminal wireless communication device A indicates that the opposite terminal equipment wireless communication device B does not support the adaptive code rate, and if the opposite terminal equipment wireless communication device B replies the characteristic interaction requests, the carried code rate item is empty, and also indicates that the opposite terminal equipment wireless communication device B does not support any adaptive code rate item requested by the initiating terminal wireless communication device A.
The code rate items supported by the two parties can be mutually exchanged after the two parties are connected through the characteristic interaction, so that a set of code rate items is obtained, and the specific content of the exchanged code rate items is used for describing air transmission parameters which are supposed to be used by the CIS under the scene of the application of the code rate items. As shown in fig. 1 (d), each code rate entry is configured with an air transmission parameter for CIS, which includes a reference numeral 103, a code rate 104, a PDU105, NSE106, and a Sub interval107 of the code rate entry. In the process of feature exchange of the two-party equipment, the reference numeral 103 of the code rate item of the two parties is obtained, and the reference numeral 103 of the code rate item is used for identifying the code number of the code rate item. Code rate 104 refers to the actual code rate at which the code rate entry transmits data using the CIS link in the scene. When CIS transmission is performed, the maximum transmission unit PDU105 of the payload (payload) carried by one transmission event directly affects the size of the transmission code rate. Of course, in CIS transmission, the number of transmission window events (NSE 106) can be performed in one ISO interval, which together with PDU105 affects the size of the transmission code rate. NSE106 specifies the number of transmission events of an ISO interval, while Sub interval107 specifies the period of transmission events in an ISO interval, which directly affects the second transmission event synchronization point after the code rate entry update (NSE >1 case). Wherein, ISO Interval is unchanged, when Sub Interval107 is reduced, NSE106 is correspondingly strained, and when Sub Interval107 is increased, corresponding NSE106 is also reduced.
Returning to fig. 1 (b), in step S103, in the case where the audio information is continuously transmitted to and/or received from the counterpart wireless communication device via the CIS, when the transmission condition of the audio information of the CIS satisfies the deterioration condition, an updated code rate entry having a lower code rate than the current code rate entry is selected among the available sets of code rate entries. Specifically, such as when audio information is sent to a true wireless pair of ear phones with a cell phone, an audio stream is continuously sent from the cell phone to the true wireless pair of ear phones via the CIS. When the transmission channel of the audio information of the CIS is interfered by other WIFI, and the transmission condition of the audio information is deteriorated, for example, when the code rate is 124kbps, the difference between the number of two consecutive retransmission packets of the mobile phone is greater than a set threshold, which indicates that the transmission condition of the audio information is deteriorated. At this time, when the mobile phone continuously transmits audio information to the real wireless pair ear phone, that is, without suspending transmission of the audio stream on the CIS, the mobile phone or the real wireless pair ear phone can select an updated code rate entry with a code rate lower than that of the current code rate entry from the available set of code rate entries, so as to realize adaptive dynamic adjustment of the code rate. For example, taking LE Audio48K sampling rate as an example, the code rate supports 80Kbps to 124Kbps, the high code rate is 124Kbps, the low code rate is 80Kbps, and other sampling rates refer to LE Audio specifications. When subject to channel interference, adjusts adaptively at 80Kbps to 124Kbps (as in table 1). In case that the transmission condition of the audio information is deteriorated, the code rate in the current code rate entry a is 124kbps, and then an updated code rate entry b having a code rate lower than the code rate entry a of the current 124kbps code rate needs to be selected from the available set of code rate entries, for example, the code rate in the updated code rate entry b may be 96kbps.
Figure BDA0003972681510000081
Table 1 adaptive code rate adjustment.
In step S104, the audio information is transmitted by adjusting the PDU of the CIS transmitted and/or received to enable the over-the-air transmission parameter of the updated code rate entry at the time point of validity, and notifying the peer wireless communications device of the time point of validity and the over-the-air transmission parameter of the updated code rate entry. Specifically, for example, in the case where the mobile phone (master device) transmits audio information to the true wireless pair ear phone (slave device), the mobile phone automatically initiates transmission of the audio information at a lower code rate by monitoring the number of retransmissions of the audio data packet and determining that the transmission condition of the audio information has reached a deteriorated condition. At this time, the mobile phone will select the update code rate entry b with a lower code rate, that is, the air transmission parameters in the update code rate entry b are enabled to transmit the audio information at the next time point of lifetime. Wherein a lower PDU and a lower code rate are specified in the update code rate entry b. At the set effective time point, the mobile phone can realize the starting of the air transmission parameters in the updated code rate item b by reducing the PDU size of the CIS sent to the true wireless pair earphone, and the starting mode is simple and accurate. In addition, the mobile phone needs to notify the effective time point and the air transmission parameters of the update code rate item b to the true wireless pair earphone at the same time, so that the true wireless pair earphone can start the air transmission parameters in the same update code rate item b at the effective time point with the mobile phone at the same time, thereby improving the smoothness of audio information transmission, avoiding the problem of jamming and improving the anti-jamming capability of audio stream playing.
According to some embodiments of the present application, the method for determining that the transmission condition of the audio information of the CIS satisfies the degradation condition includes determining that the transmission condition of the audio information of the CIS satisfies the degradation condition when a difference in the number of data packets transmitted to and/or continuously received from the counterpart wireless communication device in two adjacent first preset time periods is greater than a first threshold. Specifically, for example, when a mobile phone is used as an initiating terminal and a true wireless pair-ear earphone is used as an opposite terminal, the initiating terminal starts a timer to periodically read the ISO link quality, and after the signal quality is read, the size relation between the difference value of the number of data packets sent to the opposite terminal wireless communication device in two adjacent first preset time periods and a first threshold value is determined. In addition, the Controller (as shown in fig. 1 (a)) at the initiating terminal may report the CIS link quality, and after the Host receives the information reported by the Controller, the magnitude relation between the difference value of the numbers of the data packets sent to the opposite-terminal wireless communication device in two adjacent first preset time periods and the first threshold value may be determined. Assuming that the first preset time period is 60 seconds, the number of data packets sent by the mobile phone to the real wireless pair ear phone is 40 in the time period of 100 th to 160 th seconds after the judgment, the number of data packets sent by the mobile phone to the real wireless pair ear phone is 10 in the time period of 160 th to 220 th seconds, at this time, when the difference between the numbers of data packets sent to the opposite wireless communication device in two adjacent 60 second time periods is 30 (assuming that the first threshold is 10), the transmission condition of the audio information of the CIS is judged to satisfy the deterioration condition, and the adaptive dynamic code rate adjustment is started to be triggered.
In some embodiments of the present application, determining that the transmission condition of the audio information of the CIS satisfies the degradation condition further includes determining that the transmission condition of the audio information of the CIS satisfies the degradation condition when the number of data packets buffered in a buffer in the wireless communication device is less than a second threshold in a second preset period of time. For example, in the case where the wireless communication device is a true wireless pair of ear phones, the true wireless pair of ear phones continuously receives audio information from a smart device (e.g., a mobile phone, an iPad, a computer), and during this process, the audio information received by the true wireless pair of ear phones is stored in a buffer to wait for playing. And for monitoring the transmission condition of the audio information of the CIS, the real wireless pair of ear phones can judge whether the degradation condition is met by actively reading the number of the data packets cached in the buffer. For example, the second preset time period is 60 seconds, and the number of the data packets buffered in the buffer is 20 and less than the second threshold 40 by monitoring the second preset time period, so that it can be known that the transmission condition of the audio information of the CIS is poor, for example, the transmission channel of the audio information of the CIS is interfered by other signals, so that the transmission condition of the audio information of the CIS is deteriorated, and the adaptive dynamic code rate adjustment is triggered.
In some embodiments of the present application, when the transmission condition of the audio information of the CIS satisfies a degradation condition, if an update code rate entry having a lower code rate than a current code rate entry is selected in an available set of code rate entries, sending a code rate entry replacement instruction to the peer wireless communication device, where the code rate entry replacement instruction includes a CIG-ID, a CIS-ID, a label of the update code rate entry, and an effective time point; and enabling the over-the-air transmission parameters in the updated code rate entry to transmit the audio information concurrently with the peer wireless communications device at the point in time of effectiveness. Specifically, when the master device prepares to change the code rate entry, for example, when the currently used code rate entry a needs to be changed to the code rate entry with the reference number b, a code rate entry change instruction is sent to the opposite-end wireless communication device, and the opposite-end wireless communication device is informed to start changing the CIS transmission parameters to the parameters specified by the required code rate entry b at the preset effective time point. The content carried by the code rate item replacement instruction comprises CIG_ID, CIS_ID, code number of the updated code rate item and effective time points selected by the main equipment according to the current situation, so that the opposite-end wireless communication device can acquire air transmission parameters corresponding to the code rate item code numbers according to the received content of the code rate item replacement instruction, and update the air transmission parameters by using the air transmission parameters to CIS in CIG appointed at the effective time points, thereby completing the update of the code rate item.
Fig. 2 shows a timing chart of adaptive code rate adjustment when the wireless communication method according to an embodiment of the present application determines that the transmission condition of audio information of CIS satisfies a degradation condition based on a host. The master device A is an initiating terminal, and the slave device B is a receiving terminal. In step S201, an LE connection is established between a and B based on the LE Audio communication module, and step S202 is executed via the LE connection, and the feature interaction flow is completed by using a and B. Through characteristic interaction, the two parties of equipment A and B obtain an available set of code rate entries, wherein the set of code rate entries at least comprises code rate entry a and code rate entry B, and the code rate contained in the code rate entry B is lower than the code rate contained in the code rate entry a. Through the characteristic interaction flow of a and B, the master Host-a is set using the code rate entry a in step S202 (step S203). Based on the LE Audio communication module, a and B establish CIS connection (step S204) and use CIS over-the-air transmission parameters of the code rate entry a (step S205), so that a and B both use CIS packets of the code rate entry a (step S206). A continuously sends audio information to B via CIS while Host-a pair reads the isochronous stream link quality and generates an isochronous stream quality report. When the channel interference is received, step S207 is executed, and Host-a reads the difference value of the numbers of data packets sent to B in two adjacent first preset time periods, compares the difference value with a first threshold value, and triggers a code rate adjustment flow according to the set first threshold value N, for example, if the difference value is greater than the first threshold value N, host-a starts adaptive code rate adjustment, and executes step S208, and Host-a sends a request of < code rate change to B items > to LL-a. LL-a sends a < code rate change to B entry > to LL-B (step S209), where the code rate entry change instruction sent by a to B carries an effective time such as instant=n+5. After receiving the code rate entry changing instruction of < code rate change to B entry >, LL-B notifies Host-B of the code rate update negotiation content (step S210), and LL-a also notifies Host-a of the code rate update negotiation content (step S211). In this process, a continuously transmits the audio data stream to B without suspension and interruption of the audio stream. The negotiated contents of A and B include the air transmission parameters in the code rate bar code B with lower code rate used in the effective time. As in step S212, the CIS starts over-the-air transmission using the code rate entry B at instant=n+5, and thus, the time points at which the code rate entries B are enabled for a and B are set to instant=n+5, and the CIS over-the-air transmission using the code rate entry B at instant=n+5 (step S213). Finally, step S214 and step S215 are performed, and both a and B use CIS packets of the code rate entry B to implement adaptive adjustment of the code rate.
Fig. 3 shows a timing chart of adaptive code rate adjustment when the wireless communication method according to an embodiment of the present application determines that the transmission condition of audio information of CIS satisfies a degradation condition based on the controller. Wherein, similar to fig. 2, the master device a is the initiator, and the slave device B is the receiver. In step S301, LE connection is established between a and B based on the LE Audio communication module, step S302 is executed via the LE connection, and the feature interaction flow is completed by using a and B. Through characteristic interaction, the two parties of equipment A and B obtain an available set of code rate entries, wherein the set of code rate entries at least comprises code rate entry a and code rate entry B, and the code rate contained in the code rate entry B is lower than the code rate contained in the code rate entry a. The master Host-a is set using the code rate entry a in step S302 (step S303). Based on the LE Audio communication module, a and B establish CIS connection (step S304), and transmit in air using CIS of the code rate entry a (step S305), so that a and B each use CIS packets of the code rate entry a (step S306). A continuously sends audio information to B through CIS, at the same time, the Controller monitors the receiving and sending packet condition, the Controller reports channel quality information to Host, when the transmission condition of the audio information of CIS is deteriorated, A is informed to start adjusting code rate. When it is interfered by a channel, step S307 is performed, and Host-a sends a request of < code rate change to b entry > to LL-a. In step S308, LL-A sends a rate modification request to LL-B for negotiation. LL-B processes the request from the peer and replies to LL-a (step S309), wherein the rate entry modification instruction sent by a to B carries an effective time such as instant=n+5. After receiving the code rate entry changing instruction of < code rate change to B entry >, LL-B notifies Host-B of the code rate update negotiation content (step S310), and LL-a also notifies Host-a of the code rate update negotiation content (step S311). In this process, a continuously transmits the audio data stream to B without suspension and interruption of the audio stream. The negotiated contents of A and B include the air transmission parameters in the code rate bar code B with lower code rate used in the effective time. As in step S312, at instant=n+5, the CIS starts over-the-air transmission using the code rate entry B, and thus, the time points at which the code rate entries B are enabled for a and B are set to instant=n+5. Finally, step S313 is performed, and both a and B use CIS packets of the code rate entry B to implement adaptive adjustment of the code rate.
Fig. 4 shows a high-rate to low-rate switching null packet transceiving diagram of a wireless communication method according to an embodiment of the present application. The master a designates that the parameters of CIS Audio are started to be adjusted at a certain effective Time point (Instant Time) using the designated code rate, and starts to be adjusted when the effective Time point is reached, the parameters of CIS are adjusted from a high code rate to a low code rate, PDU becomes smaller, sub Interval is also smaller, and because ISO Interval, BN is unchanged, NSE becomes larger here, and the number of retransmissions increases. The bluetooth controller needs to adjust the receiving time point of the Sub Event when receiving the packet, which corresponds to the adjustment time of fig. 4.
Fig. 5 shows a low-code rate to high-code rate switching null packet transmission and reception diagram of a wireless communication method according to an embodiment of the present application. When the low code rate is converted to the high code rate, the PDU becomes larger, the Sub Interval becomes larger, the corresponding NSE becomes smaller, and the retransmission times become smaller. When the Bluetooth controller receives the packet, the offset address of the corresponding Sub Event is also changed.
In some embodiments of the present application, when the wireless communication device and the peer wireless communication device simultaneously enable the air transmission parameters in the updated code rate entry to transmit the audio information at the effective time point, continuously monitoring the transmission status of the audio information of the CIS, and when the transmission status of the audio information of the CIS meets the normal condition in at least two consecutive third preset time periods, selecting an updated code rate entry with a code rate higher than that of the current code rate entry from the available set of code rate entries. That is, when it is monitored that the transmission condition of the audio information of the current CIS satisfies the degradation condition, an updated code rate entry lower than the current code rate is selected from the available set of code rate entries. Under the condition that both parties of equipment simultaneously start up the air transmission parameters in the updated code rate entries to transmit the audio information at the time point of generating efficiency, the transmission condition of the audio information of the CIS needs to be continuously monitored, if the transmission condition of the audio information of the current CIS still meets the deterioration condition, the code rate needs to be further reduced, the air transmission parameters of the code rate entries with lower code rate are started, and if the transmission condition of the audio information of the current CIS is continuously under the deterioration condition, the code rate is continuously reduced until the code rate is reduced to the minimum. And under the condition that the transmission condition of the audio information of the CIS is continuously deteriorated, using the air transmission parameters in the code rate entry with the lowest code rate to transmit the audio stream. In the process of continuously monitoring the transmission condition of the audio information of the CIS, if the transmission condition of the audio information of the CIS meets the normal condition in at least two continuous third preset time periods, the interference on the audio stream transmission is reduced or eliminated, at the moment, an updated code rate item with a code rate higher than the current code rate item is selected from the available set of code rate items, and the air transmission parameters of the updated code rate item with the higher code rate are simultaneously started at the set effective time point. In this process, the third preset time period may be set custom, such as monitoring every 60 seconds. After continuous monitoring, if the transmission condition of the audio information of the CIS continuously meets the normal condition, the code rate is continuously increased until the code rate is switched to the original code rate and then is not adjusted.
In some embodiments of the present application, where the audio information is continuously transmitted to and/or received from the peer wireless communications device via at least two CIS, the CIS is re-established with the peer wireless communications device using the over-the-air transmission parameters of the latest code rate entry of the CIS being communicated with the peer wireless communications device with one of the CIS connected to the peer wireless communications device disconnected. Taking the case that the mobile phone transmits audio information to the true wireless pair-ear earphone, the main equipment mobile phone respectively establishes a first CIS connection and a second CIS connection with the left earphone and the right earphone, when the first CIS connection is added again after abnormal disconnection, the CIS needs to be re-established by using the air transmission parameters of the latest code rate item which is being used by the second CIS connection so as to keep the code rates of the left earphone and the right earphone consistent.
Specifically, as shown in fig. 6, the master device a is an initiator, and the slave device B is a receiver. In step S601, an LE connection is established between A, B and C based on the LE Audio communication module, step S602 is executed via the LE connection, and the feature interaction flow is completed by using a, B, and C. Through the feature interaction flow, the master Host-a is set using the code rate entry a in step S602 (step S603). Based on the LE Audio communication module, a and B and C establish CIS connection (step S604), and then a and B use CIS over-the-air transmission of code rate entry a (step S605), and a and B use CIS over-the-air transmission of code rate entry a (step S606). Possibly due to channel interference, the LE connection of a and C is lost and the CIS is disconnected (step S607). In the case of the disconnection of the CIS, a and B are updated to the code rate entry B for CIS transmission (step S608), and at this time, B uses CIS over-the-air transmission of the code rate entry B (step S609), and based on the latest code rate entry B currently used by B, a and C are reconnected to LE (step S610), a and C use CIS over-the-air transmission of the code rate entry B (step S611), so that the code rates of B and C remain identical.
In some embodiments of the present application, the wireless communication device includes a wireless ear piece that receives audio information from a smart device that is a peer wireless communication device; a plurality of speakers, which may be speaker groups, receive audio information from a smart device as a counterpart wireless communication device for multi-channel playback. Or an intelligent device which communicates with the audio playing device and transmits audio information, such as a mobile phone, an iPad, a computer and other intelligent devices.
The present application describes various operations or functions that may be implemented or defined as software code or instructions. Such content may be source code or differential code ("delta" or "patch" code) ("object" or "executable" form) that may be executed directly. The software code or instructions may be stored in a computer readable storage medium and, when executed, may cause a machine to perform the functions or operations described and include any mechanism that stores information in a form accessible by a machine (e.g., computing device, electronic system, etc.), such as recordable or non-recordable media (e.g., read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media, optical storage media, flash memory devices, etc.).
The exemplary methods described herein may be implemented at least in part by a machine or computer. In some embodiments, a computer readable storage medium has stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the wireless communication methods described in the various embodiments of the present application. Implementations of such methods may include software code, such as microcode, assembly language code, higher-level language code, or the like. Various software programming techniques may be used to create various programs or program modules. For example, program portions or program modules may be designed in or with the aid of Java, python, C, C ++, assembly language, or any known programming language. One or more of such software portions or modules may be integrated into a computer system and/or computer readable medium. Such software code may include computer readable instructions for performing various methods. The software code may form part of a computer program product or a computer program module. Furthermore, in examples, the software code may be tangibly stored on one or more volatile, non-transitory, or non-volatile tangible computer-readable media, such as during execution or at other times. Examples of such tangible computer-readable media may include, but are not limited to, hard disks, removable magnetic disks, removable optical disks (e.g., optical disks and digital video disks), magnetic cassettes, memory cards or sticks, random Access Memories (RAMs), read Only Memories (ROMs), and the like.
Various modifications and changes may be made to the methods, apparatus and systems of the present application. Other embodiments may be derived by those skilled in the art from the description and practice of the disclosed system and related methods. The various claims of the present application are to be understood as separate embodiments and any combination thereof is also intended as an embodiment of the present application and these embodiments are to be considered as included in the present application.
The examples are to be considered as illustrative only, with a true scope being indicated by the following claims and their equivalents.

Claims (8)

1. A wireless communication method of transmitting and/or receiving Audio information, the wireless communication method being performed via a wireless communication apparatus supporting an LE Audio communication mode, comprising:
transmitting and/or continuously receiving the audio information to and/or from the peer wireless communication device via the LE connection synchronization data stream;
the method comprises the steps that available sets of code rate entries supported by both parties are obtained through interaction between a low-power consumption Bluetooth connection and an opposite-end wireless communication device, wherein each code rate entry is configured with an air transmission parameter for CIS, and the air transmission parameter comprises a label, a code rate, PDU, NSE and Sub interval of the code rate entry;
Wherein in the case where the audio information is continuously transmitted to and/or received from the counterpart wireless communication device via the CIS,
when the transmission condition of the audio information of the CIS meets a deterioration condition, selecting an updated code rate item with a code rate lower than that of the current code rate item from an available set of the code rate items; and is also provided with
The audio information is transmitted by adjusting the transmitted and/or received PDUs of the CIS to enable the over-the-air transmission parameters of the updated code rate entry at the time point of validity, and informing the peer wireless communications device of the time point of validity and the over-the-air transmission parameters of the updated code rate entry.
2. The wireless communication method according to claim 1, wherein determining that the transmission condition of the audio information of the CIS satisfies a deterioration condition specifically comprises:
and if the difference between the numbers of data packets sent to and/or continuously received from the opposite-end wireless communication device in two adjacent first preset time periods is greater than a first threshold value, judging that the transmission condition of the audio information of the CIS meets the deterioration condition.
3. The wireless communication method according to claim 1, wherein determining that the transmission condition of the audio information of the CIS satisfies a deterioration condition further comprises:
And in a second preset time period, under the condition that the number of data packets cached in a cache in the wireless communication device is smaller than a second threshold value, judging that the transmission condition of the audio information of the CIS meets a deterioration condition.
4. The wireless communication method according to claim 1, wherein, in case that an updated code rate entry having a lower code rate than a current code rate entry is selected from the available set of code rate entries when the transmission condition of the audio information of the CIS satisfies a deterioration condition,
sending a code rate item replacement instruction to the opposite-end wireless communication device, wherein the code rate item replacement instruction comprises CIG-ID, CIS-ID, a mark for updating the code rate item and an effective time point;
and enabling the over-the-air transmission parameters in the updated code rate entry to transmit the audio information concurrently with the peer wireless communications device at the point in time of effectiveness.
5. The wireless communication method of claim 4, wherein, in the case where the wireless communication device and the counterpart wireless communication device simultaneously enable updating the over-the-air transmission parameters in the code rate entry at the effective time point to transmit the audio information,
continuously monitoring the transmission condition of the audio information of the CIS;
And in at least two continuous third preset time periods, when the transmission condition of the audio information of the CIS meets the normal condition, selecting an updated code rate item with higher code rate than the current code rate item from the available set of the code rate items.
6. The wireless communication method according to claim 1, wherein in the case where the audio information is continuously transmitted to and/or received from the counterpart wireless communication device via at least two CIS,
in the event that one of the CIS's connected to the peer wireless communications device is disconnected, the CIS is re-established with the peer wireless communications device using the over-the-air transmission parameters of the latest code rate entry of the CIS being communicated.
7. The wireless communication method according to any one of claims 1 to 6, wherein the wireless communication apparatus includes:
a wireless ear phone that receives audio information from a smart device as a counterpart wireless communication device;
a plurality of sound boxes for receiving audio information from an intelligent device serving as a wireless communication device at the opposite end to play the audio information in a plurality of channels; or (b)
An intelligent device which communicates with the audio playing device and transmits audio information.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, cause the processor to perform the wireless communication method according to any of claims 1-7.
CN202211524886.0A 2022-11-30 2022-11-30 Wireless communication method for transmitting and/or receiving audio information and storage medium Pending CN115996217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211524886.0A CN115996217A (en) 2022-11-30 2022-11-30 Wireless communication method for transmitting and/or receiving audio information and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211524886.0A CN115996217A (en) 2022-11-30 2022-11-30 Wireless communication method for transmitting and/or receiving audio information and storage medium

Publications (1)

Publication Number Publication Date
CN115996217A true CN115996217A (en) 2023-04-21

Family

ID=85994568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211524886.0A Pending CN115996217A (en) 2022-11-30 2022-11-30 Wireless communication method for transmitting and/or receiving audio information and storage medium

Country Status (1)

Country Link
CN (1) CN115996217A (en)

Similar Documents

Publication Publication Date Title
CN112313977B (en) Low latency audio streaming with communication coexistence
US10148453B2 (en) Using update slot to synchronize to Bluetooth LE isochronous channel and communicate state changes
US8831508B2 (en) Short range, uni-directional wireless link
US11323889B2 (en) Communication device using two wireless protocols
CN111343526B (en) Wireless communication method of sound box assembly and sound box assembly for wireless communication
CN110830973B (en) Method for transmitting audio information by using wireless earphone
EP4057565A1 (en) Method, apparatus, and computer program for setting encryption key in wireless communication system, and recording medium for same
CN110719651A (en) Data transmission method and device
CN115996217A (en) Wireless communication method for transmitting and/or receiving audio information and storage medium
EP4142359A1 (en) Method, device, and computer program for selecting channel in wireless communication system, and recording medium therefor
EP3624356B1 (en) Wireless headset and signal transmission method for the same
US11445457B2 (en) Content distribution system
EP3900285B1 (en) Operating more than one wireless communication protocol with a coexistence window
EP3903460B1 (en) Operating more than one wireless communication protocol with a hearing device
JP2004350010A (en) Radio communication device
EP4114036A1 (en) Method and system for transmitting audio data wirelessly

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