Communication method and device, electronic equipment and storage medium
By feeding back signal quality parameters from the receiving end, the sending end adjusts the Bluetooth broadcast audio sending strategy, solving the problems of low communication efficiency and high power consumption caused by redundant data transmission, and achieving more efficient communication and lower power consumption.
Patent Information
- Application Number
- CN202410299219.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2025-09-16
AI Technical Summary
In the prior art, data transmission of Bluetooth broadcast audio involves redundant data transmission, resulting in low communication efficiency. This is especially true in situations where electromagnetic interference is severe or the receiving end has poor receiving capability, leading to high Bluetooth bandwidth occupancy and increased power consumption.
The receiving end obtains signal quality parameters and feeds them back to the transmitting end. The transmitting end adjusts the transmission strategy based on the feedback information, including adjusting the transmission channel, transmission power, link transmission parameters and code rate to reduce redundant data transmission.
It improves communication efficiency, reduces Bluetooth power consumption, enhances the coexistence performance of Bluetooth and Wi-Fi, and improves problems in the Bluetooth audio broadcast process.
Smart Images

Figure CN120659096A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a communication method, device, electronic device, and storage medium. Background Art
[0002] With the development of Bluetooth technology, Bluetooth broadcast audio is in a stage of continuous development and gradual improvement. Since the broadcast audio of low-power Bluetooth audio (LE Audio) has the broadcast attribute characteristics, the data transmission of the audio stream is based on the synchronous broadcast stream (Broadcast Isochronous Stream, BIS) of the connectionless ISO (Isochronous) channel.
[0003] In related technologies, to increase the probability of receiving data packets at the receiving end, the sending end typically repeatedly transmits the same audio stream data segment, thereby reducing the chance of the receiving end missing BIS data due to environmental interference or missing the receiving end. However, this approach results in redundant data transmission and low communication efficiency. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides a communication method, device, electronic device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a communication method is provided, the method comprising:
[0006] receiving a broadcast audio signal sent by a first device;
[0007] Acquire a signal quality parameter of the second device, where the signal quality parameter is used to characterize an ability of the second device to receive signals;
[0008] determining feedback information based on the signal quality parameter;
[0009] Feedback information is sent to the first device, where the feedback information is used to adjust a sending strategy of the first device for the broadcast audio signal.
[0010] In some embodiments, determining feedback information based on the signal quality parameter includes:
[0011] determining a signal reception status based on the signal quality parameter;
[0012] The feedback information is determined based on the signal reception status.
[0013] In some embodiments, obtaining the signal quality parameter of the second device includes:
[0014] Obtaining the signal strength of the broadcast audio signal;
[0015] The determining the signal reception status based on the signal quality parameter includes:
[0016] When the signal strength is less than a first threshold, determining that the second device is in a first state;
[0017] When the signal strength is greater than or equal to the first threshold, it is determined that the second device is in a second state.
[0018] In some embodiments, obtaining the signal quality parameter of the second device includes:
[0019] Acquire an available channel of the second device;
[0020] The determining the signal reception status based on the signal quality parameter includes:
[0021] When the number of available channels is less than a second threshold, determining that the second device is in the first state;
[0022] When the number of available channels is greater than or equal to the second threshold, it is determined that the second device is in the second state.
[0023] In some embodiments, obtaining the signal quality parameter of the second device includes:
[0024] Obtaining an error rate of the broadcast audio signal, where the error rate includes a packet loss rate or a bit error rate;
[0025] The determining the signal reception status based on the signal quality parameter includes:
[0026] When the error rate is greater than a third threshold, determining that the second device is in the first state;
[0027] When the error rate is less than or equal to the third threshold, it is determined that the second device is in the second state.
[0028] In some embodiments, obtaining the signal quality parameter of the second device includes:
[0029] obtaining a decoding capability of the second device for the broadcast audio signal;
[0030] The determining the signal reception status based on the signal quality parameter includes:
[0031] When the decoding capability is less than a fourth threshold, determining that the second device is in the first state;
[0032] When the decoding capability is greater than or equal to the fourth threshold, it is determined that the second device is in the second state.
[0033] In some embodiments, determining feedback information based on the signal reception status includes:
[0034] When the signal reception state is a first state, determining first feedback information based on the first state, where the first feedback information includes the signal quality parameter;
[0035] When the signal reception state is the second state, second feedback information is determined based on the second state, where the second feedback information includes description information for describing the second state.
[0036] In some embodiments, after sending the feedback information to the first device, the method further includes:
[0037] Receive indication information sent by the first device, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and link transmission parameters, the first identifier being used to indicate that the second device receives a broadcast audio signal based on the link transmission parameters, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives a broadcast audio signal based on the frequency hopping channel information.
[0038] According to a second aspect of an embodiment of the present disclosure, a communication method is provided, the method comprising:
[0039] receiving feedback information sent by the second device, where the feedback information is used to indicate an ability of the second device to receive signals;
[0040] adjusting a sending strategy of the broadcast audio signal based on the feedback information;
[0041] Based on the adjusted sending strategy, the broadcast audio signal is sent to the second device.
[0042] In some embodiments, adjusting the transmission strategy of the broadcast audio signal based on the feedback information includes at least one of the following:
[0043] adjusting a transmission channel of a broadcast audio signal of the first device based on the feedback information;
[0044] adjusting the transmit power of the first device based on the feedback information;
[0045] adjusting, based on the feedback information, a link transmission parameter of the broadcast audio signal of the first device;
[0046] Based on the feedback information, a bit rate of the broadcast audio signal of the first device is adjusted.
[0047] In some embodiments, the feedback information includes an available channel of the second device; and adjusting the available frequency hopping channel for sending the broadcast audio signal based on the feedback information includes:
[0048] When there is a difference between the available channel and the transmission channel of the first device, the broadcast audio signal is sent to the second device based on the available channel.
[0049] In some embodiments, the feedback information includes an error rate and a signal strength of the broadcast audio signal; and adjusting the transmit power of the first device based on the feedback information includes:
[0050] When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, increasing the transmit power of the first device;
[0051] When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, the transmit power of the first device is reduced.
[0052] In some embodiments, the feedback information includes an error rate and a signal strength of the broadcast audio signal; and adjusting a link transmission parameter of the broadcast audio signal of the first device based on the feedback information includes:
[0053] When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, updating link transmission parameters to increase the number of retransmissions of the broadcast audio signal;
[0054] When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, link transmission parameters are updated to reduce the number of retransmissions of the broadcast audio signal.
[0055] In some embodiments, the feedback information includes a decoding capability of the second device; and adjusting the bit rate of the broadcast audio signal of the first device based on the feedback information includes:
[0056] When the decoding capability is less than a ninth threshold, audio encoding parameters and / or link transmission parameters are updated to reduce a bit rate of the broadcast audio signal.
[0057] In some embodiments, the method further comprises:
[0058] According to the adjusted sending strategy, the indication information is updated to the second device, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and link transmission parameters, the first identifier being used to indicate that the second device receives the broadcast audio signal based on the link transmission parameters, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives the broadcast audio signal based on the frequency hopping channel information.
[0059] According to a third aspect of an embodiment of the present disclosure, a communication device is provided, the device including:
[0060] a signal receiving module, configured to receive a broadcast audio signal sent by a first device;
[0061] a parameter acquisition module, configured to acquire a signal quality parameter of the second device, where the signal quality parameter is used to characterize an ability of the second device to receive signals;
[0062] a feedback information determining module, configured to determine feedback information based on the signal quality parameter;
[0063] The feedback information sending module is configured to send feedback information to the first device, where the feedback information is used to adjust a sending strategy of the first device for the broadcast audio signal.
[0064] In some embodiments, the feedback information determination module is configured to:
[0065] determining a signal reception status based on the signal quality parameter;
[0066] The feedback information is determined based on the signal reception status.
[0067] In some embodiments, the parameter acquisition module is configured to obtain the signal strength of the broadcast audio signal;
[0068] The feedback information determination module is configured to:
[0069] When the signal strength is less than a first threshold, determining that the second device is in a first state;
[0070] When the signal strength is greater than or equal to the first threshold, it is determined that the second device is in a second state.
[0071] In some embodiments, the parameter acquisition module is configured to acquire an available channel of the second device;
[0072] The feedback information determination module is configured to:
[0073] When the number of available channels is less than a second threshold, determining that the second device is in the first state;
[0074] When the number of available channels is greater than or equal to the second threshold, it is determined that the second device is in the second state.
[0075] In some embodiments, the parameter acquisition module is configured to acquire an error rate of the broadcast audio signal, where the error rate includes a packet loss rate or a bit error rate;
[0076] The feedback information determination module is configured to:
[0077] When the error rate is greater than a third threshold, determining that the second device is in the first state;
[0078] When the error rate is less than or equal to the third threshold, it is determined that the second device is in the second state.
[0079] In some embodiments, the parameter acquisition module is configured to acquire the decoding capability of the second device for the broadcast audio signal;
[0080] The feedback information determination module is configured to:
[0081] When the decoding capability is less than a fourth threshold, determining that the second device is in the first state;
[0082] When the decoding capability is greater than or equal to the fourth threshold, it is determined that the second device is in the second state.
[0083] In some embodiments, the feedback information determination module is configured to:
[0084] When the signal reception state is a first state, determining first feedback information based on the first state, where the first feedback information includes the signal quality parameter;
[0085] When the signal reception state is the second state, second feedback information is determined based on the second state, where the second feedback information includes description information for describing the second state.
[0086] In some embodiments, the apparatus further comprises:
[0087] An indication information receiving module is configured to receive indication information sent by the first device, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and a link transmission parameter, the first identifier being used to indicate that the second device receives a broadcast audio signal based on the link transmission parameter, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives a broadcast audio signal based on the frequency hopping channel information.
[0088] According to a fourth aspect of an embodiment of the present disclosure, a communication device is provided, the device including:
[0089] a feedback information receiving module, configured to receive feedback information sent by a second device, where the feedback information is used to indicate an ability of the second device to receive signals;
[0090] a sending strategy adjustment module, configured to adjust the sending strategy of the broadcast audio signal based on the feedback information;
[0091] The signal sending module is configured to send the broadcast audio signal to the second device based on the adjusted sending strategy.
[0092] In some embodiments, the sending strategy adjustment module is configured to perform at least one of the following:
[0093] adjusting a transmission channel of a broadcast audio signal of the first device based on the feedback information;
[0094] adjusting the transmit power of the first device based on the feedback information;
[0095] adjusting, based on the feedback information, a link transmission parameter of the broadcast audio signal of the first device;
[0096] Based on the feedback information, a bit rate of the broadcast audio signal of the first device is adjusted.
[0097] In some embodiments, the feedback information includes an available channel of the second device; and the sending strategy adjustment module is configured to send the broadcast audio signal to the second device based on the available channel when there is a difference between the available channel and the transmission channel of the first device.
[0098] In some embodiments, the feedback information includes an error rate and a signal strength of the broadcast audio signal; and the sending strategy adjustment module is configured to:
[0099] When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, increasing the transmit power of the first device;
[0100] When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, the transmit power of the first device is reduced.
[0101] In some embodiments, the feedback information includes an error rate and a signal strength of the broadcast audio signal; and the sending strategy adjustment module is configured to:
[0102] When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, updating link transmission parameters to increase the number of retransmissions of the broadcast audio signal;
[0103] When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, link transmission parameters are updated to reduce the number of retransmissions of the broadcast audio signal.
[0104] In some embodiments, the sending strategy adjustment module is configured to update audio encoding parameters and / or link transmission parameters to reduce the bit rate of the broadcast audio signal when the decoding capability is less than a ninth threshold.
[0105] In some embodiments, the apparatus further comprises:
[0106] The indication information sending module is configured to send indication information to the second device according to the adjusted sending strategy, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and a link transmission parameter, the first identifier being used to indicate that the second device receives a broadcast audio signal based on the link transmission parameter, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives a broadcast audio signal based on the frequency hopping channel information.
[0107] According to a fifth aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0108] processor;
[0109] a memory for storing processor-executable instructions;
[0110] The processor is configured to execute the method as described in the first aspect or the second aspect of the embodiment of this disclosure.
[0111] According to the sixth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the method described in the first aspect or the second aspect of the embodiment of the present disclosure.
[0112] The above method of the present disclosure has the following beneficial effects:
[0113] In the method provided by the embodiment of the present disclosure, during the process of a first device sending a broadcast audio signal to a second device, the second device sends feedback information to the first device after receiving the broadcast audio signal, so that the first device understands the current signal receiving capability of the second device. The first device adjusts the sending strategy for the broadcast audio signal based on the received feedback information. Through interaction, the first device and the second device reduce redundant data retransmission and improve communication efficiency.
[0114] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0115] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0116] Figure 1 is a flow chart showing a communication method according to an exemplary embodiment;
[0117] Figure 2 is a flow chart showing a communication method according to an exemplary embodiment;
[0118] Figure 3 is a flow chart showing a communication method according to an exemplary embodiment;
[0119] Figure 4 is a schematic diagram illustrating interaction between a first device and a second device according to an exemplary embodiment;
[0120] Figure 5 is a schematic diagram showing an audio data frame transmission according to an exemplary embodiment;
[0121] Figure 6 is a flowchart showing a process for determining a signal reception status according to an exemplary embodiment;
[0122] Figure 7 is a flowchart showing a process of sending feedback information according to an exemplary embodiment;
[0123] Figure 8 is a flowchart illustrating a feedback information receiving process according to an exemplary embodiment;
[0124] Figure 9 is a flowchart showing a sending strategy adjustment process according to an exemplary embodiment;
[0125] Figure 10 is a flowchart showing a process of processing indication information according to an exemplary embodiment;
[0126] Figure 11 is a block diagram of a communication device according to an exemplary embodiment;
[0127] Figure 12 is a block diagram of a communication device according to an exemplary embodiment;
[0128] Figure 13 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0129] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0130] In related technologies, to increase the probability of receiving data packets at the receiving end, the transmitting end typically repeatedly transmits the same audio stream data segment, thereby reducing the chance of the receiving end missing BIS data due to environmental interference or missing the receiving end. However, this approach suffers from redundant data retransmission and low communication efficiency. Furthermore, the need to transmit redundant data increases the bandwidth utilization of the 2.4 GHz band, significantly impacting electronic devices with Bluetooth (BT) and Wi-Fi (Wireless Fidelity) capabilities.
[0131] In one example, using Bluetooth audio broadcast in an environment with minimal 2.4GHz electromagnetic interference, according to the BIS transmission strategy used by Core_Spec (Bluetooth version), under the fixed BIS transmission strategy, even if the receiver can normally receive the broadcast audio signal with good strength and the data packets containing the broadcast audio signal are rarely damaged or lost, the transmitter will still continue to retransmit the same broadcast audio signal multiple times. If the receiver has already received the audio data in the initial reception, the subsequent redundant retransmission strategy is undoubtedly redundant and wasteful, resulting in inefficient Bluetooth bandwidth utilization and increased power consumption. To a certain extent, this consumption is unnecessary.
[0132] In one example, Bluetooth audio broadcast is used in a busy office. Because the office is home to numerous Wi-Fi routers, Wi-Fi projectors, Bluetooth mice, Bluetooth headsets, and other devices, 2.4GHz electromagnetic wave interference is relatively severe. At this time, the broadcast audio will be affected to varying degrees by signal interference or wall obstruction, resulting in unstable or stuck broadcast audio quality. This may be due to a weak RSSI (Received Signal Strength Indication) from the BIS audio source, or a blocked Bluetooth channel that hinders wireless transmission and makes it difficult to receive the broadcast audio signal, or the receiver may miss the opportunity to receive the broadcast audio signal despite multiple retransmissions from the sender.
[0133] The above two examples are common problems existing in Bluetooth audio broadcasting scenarios. The method provided by the embodiments of the present disclosure enables the receiving end and the sending end to interact, reduces redundant data retransmission, improves communication efficiency, and at the same time reduces Bluetooth power consumption and enhances the coexistence performance of BT and Wi-Fi, which can effectively improve the problems in the Bluetooth audio broadcasting process.
[0134] The method provided by the embodiment of the present disclosure is applied to the scenario of Bluetooth broadcast audio. The method provided by the embodiment of the present disclosure can be used for Bluetooth broadcast audio in any scenario, for example, it can be applied to scenarios such as audio access of TV and cinema users, announcement broadcasting in public places, audio sharing, etc.
[0135] The method provided in the embodiment of the present disclosure is executed by a first device and a second device. The first device and the second device are wirelessly connected via Bluetooth. The first device and the second device can be mobile phones, tablet computers, laptops, Bluetooth headsets, wearable devices, vehicle-mounted terminals, smart home devices, and other devices with Bluetooth functions.
[0136] During the communication process, the first device can be a transmitter or a receiver, and the second device can be a transmitter or a receiver. The embodiment of the present disclosure takes the first device as the transmitter of the broadcast audio signal and the second device as the receiver of the broadcast audio signal as an example to illustrate the communication process.
[0137] Figure 1 is a flow chart showing a communication method according to an exemplary embodiment, which is executed by the second device. Figure 1 , the method comprises the following steps:
[0138] Step S101: receiving a broadcast audio signal sent by a first device.
[0139] The broadcast audio signal may be any audio signal. The embodiment of the present disclosure does not limit the content of the broadcast audio signal, and the broadcast audio signal may be sent in the form of audio data frames or other forms.
[0140] Step S102: Acquire a signal quality parameter of the second device, where the signal quality parameter is used to characterize the ability of the second device to receive signals.
[0141] After receiving the broadcast audio signal, a signal quality parameter is obtained. The signal quality parameter is used to characterize the ability of the second device to receive the signal. The signal quality parameter can be at least one of the signal strength of the broadcast audio signal, the available channel of the second device, the packet loss rate of the broadcast audio signal, the bit error rate, and the decoding ability of the second device for the broadcast audio signal.
[0142] Among them, the signal strength is used to characterize the strength of the broadcast audio signal itself, the available channel is the communication channel that can be used by the second device, the packet loss rate and bit error rate are used to characterize the error situation during the transmission process of the broadcast audio signal, and the decoding capability of the broadcast audio signal is used to characterize the situation of the second device decoding the broadcast audio signal.
[0143] Step S103: Determine feedback information based on the signal quality parameter.
[0144] After determining the signal quality parameter, feedback information is determined, where the feedback information is used to characterize the ability of the second device to receive signals. Optionally, the feedback information may directly include the signal quality parameter, or descriptive information describing the signal quality information may be summarized based on the signal quality parameter, and the feedback information includes the descriptive information.
[0145] Step S104: Send feedback information to the first device, where the feedback information is used to adjust a sending strategy of the first device for the broadcast audio signal.
[0146] The feedback information is sent to the first device, so that the first device can understand the signal receiving capability of the second device after receiving the feedback information, and adjust the sending strategy of the first device for the broadcast audio signal based on the feedback information.
[0147] In the method provided by the embodiment of the present disclosure, during the process of a first device sending a broadcast audio signal to a second device, the second device sends feedback information to the first device after receiving the broadcast audio signal, so that the first device understands the current signal receiving capability of the second device. The first device adjusts the sending strategy for the broadcast audio signal based on the received feedback information. Through interaction, the first device and the second device reduce redundant data retransmission and improve communication efficiency.
[0148] Figure 2is a flow chart showing a communication method according to an exemplary embodiment, which is executed by a first device, see Figure 2 , the method comprises the following steps:
[0149] Step S201: receiving feedback information sent by a second device, where the feedback information is used to represent the ability of the second device to receive signals.
[0150] Step S202: adjusting the sending strategy of the broadcast audio signal based on the feedback information.
[0151] Since the feedback information represents the ability of the second device to receive signals, the first device adjusts the sending strategy based on the ability of the second device to receive signals. For example, when the feedback information indicates that the ability of the second device to receive signals is relatively poor, in order to enable the second device to normally receive the broadcast audio signal, the transmission power can be enhanced, the number of times the broadcast audio signal is sent can be increased, etc.; when the feedback information indicates that the ability of the second device to receive signals is relatively good, in order to save power consumption, the transmission power can be reduced, the number of times the broadcast audio signal is sent can be reduced, etc.
[0152] Step S203: Send the broadcast audio signal to the second device based on the adjusted sending strategy.
[0153] In the method provided by the embodiment of the present disclosure, during the process of a first device sending a broadcast audio signal to a second device, the second device sends feedback information to the first device after receiving the broadcast audio signal, so that the first device understands the current signal receiving capability of the second device. The first device adjusts the sending strategy for the broadcast audio signal based on the received feedback information. Through interaction, the first device and the second device reduce redundant data retransmission and improve communication efficiency.
[0154] Figure 3 is a flow chart showing a communication method according to an exemplary embodiment, which is executed by a first device and a second device. Figure 3 , the method comprises the following steps:
[0155] Step S301: A first device sends a broadcast audio signal to a second device.
[0156] Step S302: The second device receives the broadcast audio signal sent by the first device.
[0157] Step S303: The second device obtains a signal quality parameter.
[0158] In some embodiments, the signal strength of the broadcast audio signal is obtained. The signal strength is used to represent the signal strength of the broadcast audio signal itself. A stronger signal strength indicates that the broadcast audio signal is at a strong signal level and is easily received. A weaker signal strength indicates that the broadcast audio signal is at a weak signal level and is not easily received.
[0159] Optionally, after receiving the broadcast audio signal, the second device measures the signal strength, which may be RSSI or other parameters representing signal strength. Optionally, the second device may use a wireless network card or other module to measure the signal strength.
[0160] In some embodiments, an available channel of the second device is obtained, wherein the available channel is a communication channel that can be used by the second device. Optionally, the second device monitors the communication channel and determines the monitored available communication channel as the available channel.
[0161] In some embodiments, an error rate of the broadcast audio signal is obtained. The error rate includes a packet loss rate or a bit error rate, which are used to characterize errors in the transmission of the broadcast audio signal. A higher packet loss rate or bit error rate indicates worse signal reception, while a lower packet loss rate or bit error rate indicates better signal reception.
[0162] In some embodiments, a decoding capability of the second device for the broadcast audio signal is obtained. The decoding capability is used to represent the performance of the second device in decoding the broadcast audio signal. A smoother and faster decoding operation indicates that the second device can decode the broadcast audio signal more easily, while a longer decoding operation indicates that the second device cannot decode the broadcast audio signal more easily.
[0163] Optionally, the second device determines the MCU (Micro Control Unit) computing power or the DSP (Digital Singnal Processor) computing power based on the system operation status and the audio stream decoding status, and determines the MCU computing power or the DSP computing power as the decoding capability.
[0164] It should be noted that when obtaining the signal quality parameter, at least one of signal strength, available channels, error rate and decoding capability may be obtained.
[0165] Step S304: The second device determines a signal reception status based on the signal quality parameter.
[0166] In some embodiments, when the signal quality parameter includes signal strength, determining the signal reception state includes: determining that the second device is in a first state when the signal strength is less than a first threshold; and determining that the second device is in a second state when the signal strength is greater than or equal to the first threshold. The first threshold is a preset value, the first state indicates that the signal reception capability of the second device is relatively poor, and the second state indicates that the signal reception capability of the second device is relatively good.
[0167] Optionally, the signal strength of a broadcast audio signal may occur accidentally. In order to avoid misleading by accidental situations, the signal quality parameter may include the signal strength of multiple consecutive broadcast audio signals to determine the signal reception status, including: determining the average of the signal strengths of the multiple broadcast audio signals, when the average is less than a first threshold, determining that the second device is in the first state; when the average is greater than or equal to the first threshold, determining that the second device is in the second state.
[0168] In some embodiments, when the signal quality parameter includes available channels, determining the signal reception state includes: determining that the second device is in the first state when the number of available channels is less than a second threshold; and determining that the second device is in the second state when the number of available channels is greater than or equal to the second threshold, wherein the second threshold is a preset value.
[0169] In some embodiments, when the signal quality parameter includes an error rate, determining the signal reception state includes: determining that the second device is in the first state when the error rate is greater than a third threshold; and determining that the second device is in the second state when the error rate is less than or equal to the third threshold. The third threshold is a preset value.
[0170] In some embodiments, when the signal quality parameter includes decoding capability, determining the signal reception state includes: determining that the second device is in the first state when the decoding capability is less than a fourth threshold; and determining that the second device is in the second state when the decoding capability is greater than or equal to the fourth threshold, wherein the fourth threshold is a preset value.
[0171] It should be noted that the above-mentioned determination of the signal reception status is based on the example that the signal quality parameters include one of signal strength, available channels, error rate and decoding capability. In some embodiments, when the signal quality parameters include multiple items of signal strength, available channels, error rate and decoding capability, when the states determined based on all items are the second state, it is determined that the second device is in the second state; otherwise, it is determined that the second device is in the first state; that is, when the state determined based on any one of them is the first state, it is determined that the second device is in the first state.
[0172] Step S305: The second device determines feedback information based on the signal reception status.
[0173] In the disclosed embodiment, when the signal reception state is the first state, it indicates that the second device's current signal reception capability is relatively poor. In this case, it is necessary to send relatively detailed feedback information to the first device so that the first device can more accurately understand the reasons for the second device's relatively poor reception of the broadcast audio signal and thus more accurately adjust the transmission strategy. When the signal reception state is the second state, it indicates that the second device's current signal reception capability is relatively good. In this case, the first device may not need to adjust the transmission strategy and does not need to send detailed feedback information to the first device. The feedback information that needs to be sent in these two states is different.
[0174] In some embodiments, when the signal reception state is a first state, first feedback information is determined based on the first state, and the first feedback information includes a signal quality parameter; when the signal reception state is a second state, second feedback information is determined based on the second state, and the second feedback information includes descriptive information describing the second state. The first feedback information is more detailed than the second feedback information.
[0175] Optionally, the first feedback information may include all signal quality parameters, and the description information included in the second feedback information may be summarized description information describing the second state, or may be signal strength and error rate.
[0176] Step S306: The second device sends feedback information to the first device.
[0177] In some embodiments, a Bluetooth broadcast packet is created, feedback information is added to the Bluetooth broadcast packet, and the Bluetooth broadcast packet is sent to the first device. The form of the broadcast packet may include but is not limited to ordinary broadcast (LE Advertising) or periodic advertising with responses (PAwR).
[0178] Optionally, in order to ensure that the first device performs processing based on the feedback information, a device identifier of the first device is added to the Bluetooth broadcast packet to indicate that the feedback information is sent to the first device.
[0179] Step S307: The first device receives feedback information sent by the second device.
[0180] In some embodiments, a Bluetooth broadcast packet is received, the Bluetooth broadcast packet is parsed, and a device identifier in the Bluetooth broadcast packet is obtained. When the device identifier is the device identifier of the first device, feedback information in the Bluetooth broadcast packet continues to be obtained; when the device identifier is not the device identifier of the first device, subsequent processing is no longer performed.
[0181] Step S308: The first device adjusts a sending strategy of the broadcast audio signal based on the feedback information.
[0182] In some embodiments, based on the feedback information, the transmission channel for transmitting the broadcast audio signal of the first device is adjusted; based on the feedback information, the transmission power of the first device is adjusted; based on the feedback information, the link transmission parameters of the broadcast audio signal of the first device are adjusted; and based on the feedback information, the bit rate of the broadcast audio signal of the first device is adjusted. The transmission channel, transmission power, link transmission parameters, and bit rate all constitute a transmission strategy.
[0183] Optionally, when the feedback information includes an available channel of the second device, adjusting the transmission channel of the broadcast audio signal of the first device based on the feedback information includes: when the available channel differs from the transmission channel of the first device, sending the broadcast audio signal to the second device based on the available channel. In other words, when the transmission channel of the first device differs significantly from the available channel of the second device, to avoid the second device being unable to receive the broadcast audio signal based on the transmission channel of the first device, the broadcast audio signal is sent using the available channel of the first device.
[0184] For example, when the number of different channels between the available channels and the transmission channels is greater than a preset number, it is determined that there is a difference between the available channels and the transmission channels.
[0185] Optionally, when the feedback information includes the error rate and signal strength of the broadcast audio signal, the transmission power of the first device is adjusted based on the feedback information, including: when the signal strength is less than the fifth threshold and the error rate is greater than the sixth threshold, the transmission power of the first device is increased; when the signal strength is greater than the seventh threshold and the error rate is less than the eighth threshold, the transmission power of the first device is reduced. Based on the feedback information, the link transmission parameters of the broadcast audio signal of the first device are adjusted, including: when the signal strength is less than the fifth threshold and the error rate is greater than the sixth threshold, the link transmission parameters are updated to increase the number of retransmissions of the broadcast audio signal; when the signal strength is greater than the seventh threshold and the error rate is less than the eighth threshold, the link transmission parameters are updated to reduce the number of retransmissions of the broadcast audio signal. The fifth threshold, the sixth threshold, the seventh threshold and the eighth threshold are pre-set values, and the seventh threshold is greater than the fifth threshold, and the eighth threshold is less than the sixth threshold.
[0186] The link transmission parameters may include the number of retransmissions, and increasing or decreasing the number of retransmissions may be achieved by adjusting the NSE (Number of SubEvents) or BN (Burst Number) parameter combination.
[0187] Optionally, when the feedback information includes the decoding capability of the second device, adjusting the bit rate of the broadcast audio signal of the first device based on the feedback information includes: when the decoding capability is less than a ninth threshold, updating audio encoding parameters and / or link transmission parameters to reduce the bit rate of the broadcast audio signal. The ninth threshold is a preset value. For example, MAX_SDU is selected to reduce the bit rate. By reducing the bit rate, decoding becomes easier for the second device, thereby achieving smoother audio playback.
[0188] Step S309: The first device sends indication information to the second device according to the adjusted sending strategy.
[0189] The indication information includes first indication information and / or second indication information, the first indication information includes a first identifier and link transmission parameters, the first identifier is used to indicate that the second device receives the broadcast audio signal based on the link transmission parameters, and the second indication information includes a second identifier and frequency hopping channel information, the second identifier is used to indicate that the second device receives the broadcast audio signal based on the frequency hopping channel information.
[0190] Methods for sending the indication information include but are not limited to periodic advertising, periodic advertising with responses (PAwR), and BIS.
[0191] The first device sends the indication information to the second device, so that the second device can adjust the receiving strategy of the broadcast audio signal according to the received indication information, so as to receive the broadcast audio signal based on the latest link transmission parameters and / or frequency hopping channel information.
[0192] Step S310: The second device receives the indication information sent by the first device.
[0193] Step S311: The first device sends a broadcast audio signal to the second device based on the adjusted sending strategy.
[0194] Based on the adjusted sending strategy, the broadcast audio signal is sent to the second device, including at least one of the following: based on the available channel, the broadcast audio signal is sent to the second device; based on the adjusted transmission power and / or link transmission parameters, the broadcast audio signal is sent to the second device; based on the adjusted bit rate, the broadcast audio signal is encoded, and the encoded broadcast audio signal is sent to the second device.
[0195] Step S312: The second device receives the broadcast audio signal sent by the first device based on the instruction information.
[0196] The second device receives the broadcast audio signal at an appropriate time based on the received link transmission parameter, or the second device receives the broadcast audio signal through a corresponding available frequency hopping channel based on the received frequency hopping channel information.
[0197] In the method provided by the embodiments of the present disclosure, when a first device transmits a broadcast audio signal to a second device, the second device, upon receiving the broadcast audio signal, sends feedback information to the first device to inform it of its current signal reception capabilities. Based on the received feedback information, the first device adjusts its transmission strategy for the broadcast audio signal. Through interaction between the first and second devices, redundant data transmission is reduced, thereby improving communication efficiency. Furthermore, by adjusting the transmission strategy, the second device can better receive the broadcast audio signal, reducing the probability of audio freezes and improving audio playback quality.
[0198] Furthermore, compared to related technologies where the transmission scheme cannot be changed, the method provided in the embodiments of the present disclosure supports dynamic adjustment of the transmission strategy, making the transmission scheme changeable. Based on this, link transmission parameters, frequency hopping map (available channels), transmit power, bit rate, etc. can all be adjusted during the communication process.
[0199] Furthermore, when the signal reception status of the second device is relatively good, the sending strategy can be adjusted to reduce power consumption while ensuring normal transmission of the broadcast audio signal.
[0200] In some embodiments, see Figure 4 The diagram shows the interaction between a first device and a second device. When the first device acts as a sink, it includes a signal receiving module 4101, a channel interference measurement module 4102, a data packet decoding module 4103, a signal quality arbitration module 4104, a signal quality parameter integration module 4105, and a signal transmission module 4106. When the second device acts as a transmitter, it includes a signal receiving module 4201, a signal quality statistics module 4202, a dynamic broadcast audio parameter algorithm module 4203, a broadcast audio parameter module 4204, an adaptive power module 4205, and a signal transmission module 4206.
[0201] See also Figure 4 For the receiving end, the receiving end receives the broadcast audio signal frame 43 through the signal receiving module 4101, and obtains the signal quality parameters through the signal receiving module 4101, the channel interference measurement module 4102, and the data packet decoding module 4103. The signal quality parameters are further processed by the signal quality arbitration module 4104 and the signal quality parameter integration module 4105, and finally the signal reception status of the receiving end is fed back to the sending end through the signal transmission module 4106, that is, the Bluetooth broadcast frame 44 is sent.
[0202] For the sending end, the sending end receives the Bluetooth broadcast frame 44 through the signal receiving module 4201, and then adjusts the sending strategy through the signal quality statistics module 4202, the dynamic broadcast audio parameter algorithm module 4203, the broadcast audio parameter module 4204, and the adaptive power module 4205. Finally, the signal transmission module 4206 first sends the PA (Periodic Advertisement, periodic broadcast) frame 45 to the receiving end to enable the receiving end to understand the updated link transmission strategy of the sending end, and then sends the updated Control Subevent (control sub-event, BIS subframe) frame and broadcast audio signal frame 43 to the receiving end through the signal transmission module 4206.
[0203] The communication process in the embodiment of the present disclosure can be divided into six stages. Figure 5-10 The embodiment shown illustrates six stages respectively:
[0204] Phase 1
[0205] See also Figure 5 The schematic diagram of audio data frame transmission shown in FIG. 4 shows that the transmitting end sends standard audio data frames to the receiving end according to the standard process of broadcast audio. The transmitting end sends the audio data frames through the signal transmitting module 4206, and the receiving end receives the audio data frames through the signal receiving module 4101.
[0206] Phase II
[0207] See also Figure 6 As shown in the flowchart of the signal reception status determination process, the receiving end receives the audio data frame through the signal receiving module 4101 and measures the RSSI, measures the available channel through the channel interference measurement module 4102, calculates the bit error rate and packet loss rate through the data packet decoding module 4103, and records the decoding capability, and then arbitrates the RSSI, available channel, bit error rate, packet loss rate and decoding capability through the signal quality parameter arbitration module 4104 to determine the signal reception status.
[0208] When RSSI is low, when available channels are few, when packet loss rate and bit error rate are high, or when decoding capability is weak, the signal reception state is determined to be poor. The implementation of determining the signal reception state is described in step S304 above and will not be repeated here.
[0209] Phase 3
[0210] See also Figure 7The flowchart of the feedback information sending process shown in FIG4 shows a process of creating a Bluetooth broadcast packet through the signal quality parameter integration module 4105, filling in the sender identification field, RSSI average field, available channel field, bit error rate / packet loss rate field, decoding capability field, etc. in the Bluetooth broadcast packet, and then sending the Bluetooth broadcast packet through the signal transmission module 4106. The Bluetooth broadcast packet is the above-mentioned feedback information.
[0211] Stage 4
[0212] See also Figure 8 The flowchart of the feedback information receiving process shown in the figure receives the Bluetooth broadcast packet through the signal receiving module 4201, and parses the Bluetooth broadcast packet to determine whether the sender identifier included in the Bluetooth broadcast packet is the current sender identifier. If not, the process ends. If so, the mobile phone RSSI mean information, available channel information, bit error rate / packet loss rate information and decoding capability information are obtained through the signal quality statistics module 4202.
[0213] It should be noted that Figure 7 and Figure 8 It is merely taken as an example that the feedback information includes all signal quality parameters. In other embodiments, the feedback information may include part of the signal quality parameters or no signal quality parameters.
[0214] Stage 5
[0215] See also Figure 9 The flowchart of the transmission strategy adjustment process shown in FIG4 shows that the dynamic broadcast audio parameter algorithm module 4203 compares the available channels of the transmitter and receiver to determine whether the difference in the available channels is large. If the difference is large, the Bluetooth frequency hopping map is adjusted; if the difference is small, the process ends. The dynamic broadcast audio parameter algorithm module 4203 can also determine whether the received RSSI is relatively weak. If so, the transmit power is increased; if not, the transmit power is reduced. The dynamic broadcast audio parameter algorithm module 4203 can also determine whether the bit error rate / packet loss rate is relatively high. If so, the number of retransmissions is increased; if so, the number of retransmissions is reduced. The dynamic broadcast audio parameter algorithm module 4203 can also determine whether the decoding capability is relatively poor. If so, the bit rate is reduced; if so, the process ends. The implementation method of adjusting the transmission strategy is described in step S308 above and will not be repeated here.
[0216] Stage 6
[0217] See also Figure 10The flowchart of the indication information processing process shown in the figure determines the adjusted sending strategy through the dynamic broadcast audio parameter algorithm module 4203, and then increases or decreases the transmission power according to the adjusted sending strategy through the adaptive power module 4205. The broadcast audio parameter module 4204 calculates and switches to the appropriate BIS parameters, which include NSE, BN, SDU, etc. NSE and BN represent the broadcast audio link transmission parameters, and SDU represents the parameters affecting the actual bit rate. Then, the BIGInfo parameters of the PA are updated, and the Control Subevent frame is filled. Finally, the PA and Control Subevent frames are transmitted through the signal transmission module 4206. After receiving the PA and Control Subevent frames, the receiving end parses the information of the PA and Control Subevent frames, and then receives the broadcast audio signal of the new strategy based on the parsed relevant information.
[0218] Figure 11 is a block diagram of a communication device according to an exemplary embodiment, which is configured in the second device. Figure 11 , the device comprises:
[0219] The signal receiving module 1101 is configured to receive a broadcast audio signal sent by a first device;
[0220] The parameter acquisition module 1102 is configured to acquire a signal quality parameter of the second device, where the signal quality parameter is used to characterize an ability of the second device to receive signals;
[0221] The feedback information determination module 1103 is configured to determine feedback information based on the signal quality parameter;
[0222] The feedback information sending module 1104 is configured to send feedback information to the first device, where the feedback information is used to adjust the first device's sending strategy for the broadcast audio signal.
[0223] In some embodiments, the feedback information determination module 1103 is configured to:
[0224] determining a signal reception status based on the signal quality parameter;
[0225] Based on the signal reception status, feedback information is determined.
[0226] In some embodiments, the parameter acquisition module 1102 is configured to obtain the signal strength of the broadcast audio signal;
[0227] The feedback information determination module 1103 is configured to:
[0228] When the signal strength is less than a first threshold, determining that the second device is in a first state;
[0229] When the signal strength is greater than or equal to the first threshold, it is determined that the second device is in the second state.
[0230] In some embodiments, the parameter acquisition module 1102 is configured to acquire an available channel of the second device;
[0231] The feedback information determination module 1103 is configured to:
[0232] When the number of available channels is less than a second threshold, determining that the second device is in the first state;
[0233] When the number of available channels is greater than or equal to a second threshold, it is determined that the second device is in the second state.
[0234] In some embodiments, the parameter acquisition module 1102 is configured to acquire an error rate of the broadcast audio signal, where the error rate includes a packet loss rate or a bit error rate;
[0235] The feedback information determination module 1103 is configured to:
[0236] When the error rate is greater than a third threshold, determining that the second device is in the first state;
[0237] When the error rate is less than or equal to the third threshold, it is determined that the second device is in the second state.
[0238] In some embodiments, the parameter acquisition module 1102 is configured to obtain the decoding capability of the second device for the broadcast audio signal;
[0239] The feedback information determination module 1103 is configured to:
[0240] When the decoding capability is less than a fourth threshold, determining that the second device is in the first state;
[0241] When the decoding capability is greater than or equal to a fourth threshold, it is determined that the second device is in the second state.
[0242] In some embodiments, the feedback information determination module 1103 is configured to:
[0243] When the signal reception state is a first state, determining first feedback information based on the first state, where the first feedback information includes a signal quality parameter;
[0244] When the signal receiving state is the second state, second feedback information is determined based on the second state, and the second feedback information includes description information for describing the second state.
[0245] In some embodiments, the apparatus further comprises:
[0246] The indication information receiving module is configured to receive indication information sent by the first device, the indication information includes first indication information and / or second indication information, the first indication information includes a first identifier and a link transmission parameter, the first identifier is used to indicate that the second device receives a broadcast audio signal based on the link transmission parameter, the second indication information includes a second identifier and frequency hopping channel information, the second identifier is used to indicate that the second device receives a broadcast audio signal based on the frequency hopping channel information.
[0247] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0248] Figure 12 is a block diagram of a communication device according to an exemplary embodiment, which is configured in a first device. Figure 12 , the device comprises:
[0249] The feedback information receiving module 1201 is configured to receive feedback information sent by the second device, where the feedback information is used to indicate the ability of the second device to receive signals;
[0250] The sending strategy adjustment module 1202 is configured to adjust the sending strategy of the broadcast audio signal based on the feedback information;
[0251] The signal sending module 1203 is configured to send the broadcast audio signal to the second device based on the adjusted sending strategy.
[0252] In some embodiments, the sending strategy adjustment module 1202 is configured to perform at least one of the following:
[0253] adjusting a transmission channel of a broadcast audio signal of the first device based on the feedback information;
[0254] adjusting the transmit power of the first device based on the feedback information;
[0255] adjusting, based on the feedback information, a link transmission parameter of the broadcast audio signal of the first device;
[0256] Based on the feedback information, a bit rate of the broadcast audio signal of the first device is adjusted.
[0257] In some embodiments, the feedback information includes an available channel of the second device; and the transmission strategy adjustment module 1202 is configured to transmit the broadcast audio signal to the second device based on the available channel when the available channel differs from the transmission channel of the first device.
[0258] In some embodiments, the feedback information includes the error rate and signal strength of the broadcast audio signal; the sending strategy adjustment module 1202 is configured to:
[0259] When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, increasing the transmit power of the first device;
[0260] When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, the transmit power of the first device is reduced.
[0261] In some embodiments, the feedback information includes an error rate and a signal strength of the broadcast audio signal; and the sending strategy adjustment module is configured to:
[0262] When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, updating the link transmission parameters to increase the number of retransmissions of the broadcast audio signal;
[0263] When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, the link transmission parameters are updated to reduce the number of retransmissions of the broadcast audio signal.
[0264] In some embodiments, the sending strategy adjustment module 1202 is configured to update the audio encoding parameters and / or link transmission parameters to reduce the bit rate of the broadcast audio signal when the decoding capability is less than a ninth threshold.
[0265] In some embodiments, the apparatus further comprises:
[0266] The indication information sending module is configured to send indication information to the second device according to the adjusted sending strategy, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and a link transmission parameter, the first identifier being used to indicate that the second device receives the broadcast audio signal based on the link transmission parameter, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives the broadcast audio signal based on the frequency hopping channel information.
[0267] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0268] An embodiment of the present disclosure further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the communication method in the above embodiment.
[0269] Figure 13 is a block diagram of an electronic device 1300 according to an exemplary embodiment.
[0270] Reference Figure 13, the electronic device 1300 may include one or more of the following components: a processing component 1302 , a memory 1304 , a power component 1306 , a multimedia component 1308 , an audio component 1310 , an input / output (I / O) interface 1312 , a sensor component 1314 , and a communication component 1316 .
[0271] Processing component 1302 generally controls the overall operation of electronic device 1300, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. Processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the above-described method. In addition, processing component 1302 may include one or more modules to facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
[0272] The memory 1304 is configured to store various types of data to support operations on the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phone book data, messages, pictures, videos, etc. The memory 1304 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0273] The power supply component 1306 provides power to the various components of the electronic device 1300. The power supply component 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1300.
[0274] The multimedia component 1308 includes a screen that provides an output interface between the electronic device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front camera and / or a rear camera. When the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0275] The audio component 1310 is configured to output and / or input audio signals. For example, the audio component 1310 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 1300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
[0276] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.
[0277] The sensor assembly 1314 includes one or more sensors for providing various aspects of the status assessment of the electronic device 1300. For example, the sensor assembly 1314 can detect the open / closed state of the electronic device 1300, the relative positioning of components, such as the display and keypad of the electronic device 1300. The sensor assembly 1314 can also detect changes in the position of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, the orientation or acceleration / deceleration of the electronic device 1300, and changes in the temperature of the electronic device 1300. The sensor assembly 1314 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1314 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 can also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0278] The communication component 1316 is configured to facilitate wired or wireless communication between the electronic device 1300 and other devices. The electronic device 1300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0279] In an exemplary embodiment, the electronic device 1300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.
[0280] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, which can be executed by the processor 1320 of the electronic device 1300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0281] The embodiments of the present disclosure further provide a non-transitory computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the communication method in the above embodiments.
[0282] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0283] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A communication method, characterized in that: The method comprises: receiving a broadcast audio signal sent by a first device; Acquire a signal quality parameter of the second device, where the signal quality parameter is used to characterize an ability of the second device to receive signals; determining feedback information based on the signal quality parameter; Feedback information is sent to the first device, where the feedback information is used to adjust a sending strategy of the first device for the broadcast audio signal.
2. The method according to claim 1, characterized in that The determining feedback information based on the signal quality parameter includes: determining a signal reception status based on the signal quality parameter; The feedback information is determined based on the signal reception status.
3. The method according to claim 2, characterized in that The obtaining of the signal quality parameter of the second device includes: Obtaining the signal strength of the broadcast audio signal; The determining the signal reception status based on the signal quality parameter includes: When the signal strength is less than a first threshold, determining that the second device is in a first state; When the signal strength is greater than or equal to the first threshold, it is determined that the second device is in a second state.
4. The method according to claim 2, characterized in that The obtaining of the signal quality parameter of the second device includes: Acquire an available channel of the second device; The determining the signal reception status based on the signal quality parameter includes: When the number of available channels is less than a second threshold, determining that the second device is in a first state; When the number of available channels is greater than or equal to the second threshold, it is determined that the second device is in a second state.
5. The method according to claim 2, characterized in that The obtaining of the signal quality parameter of the second device includes: Obtaining an error rate of the broadcast audio signal, where the error rate includes a packet loss rate or a bit error rate; The determining the signal reception status based on the signal quality parameter includes: When the error rate is greater than a third threshold, determining that the second device is in a first state; When the error rate is less than or equal to the third threshold, it is determined that the second device is in the second state.
6. The method according to claim 2, characterized in that The obtaining of the signal quality parameter of the second device includes: obtaining a decoding capability of the second device for the broadcast audio signal; The determining the signal reception status based on the signal quality parameter includes: When the decoding capability is less than a fourth threshold, determining that the second device is in a first state; When the decoding capability is greater than or equal to the fourth threshold, it is determined that the second device is in the second state.
7. The method according to any one of claims 2 to 6, characterized in that: The determining feedback information based on the signal reception state includes: When the signal reception state is a first state, determining first feedback information based on the first state, where the first feedback information includes the signal quality parameter; When the signal reception state is the second state, second feedback information is determined based on the second state, where the second feedback information includes description information for describing the second state.
8. The method according to claim 1, characterized in that After sending the feedback information to the first device, the method further includes: Receive indication information sent by the first device, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and link transmission parameters, the first identifier being used to indicate that the second device receives a broadcast audio signal based on the link transmission parameters, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives a broadcast audio signal based on the frequency hopping channel information.
9. A communication method, characterized in that: The method comprises: receiving feedback information sent by the second device, where the feedback information is used to indicate an ability of the second device to receive signals; adjusting a sending strategy of the broadcast audio signal based on the feedback information; Based on the adjusted sending strategy, the broadcast audio signal is sent to the second device.
10. The method according to claim 9, characterized in that The adjusting the transmission strategy of the broadcast audio signal based on the feedback information includes at least one of the following: adjusting a transmission channel of a broadcast audio signal of the first device based on the feedback information; adjusting the transmit power of the first device based on the feedback information; adjusting, based on the feedback information, a link transmission parameter of the broadcast audio signal of the first device; Based on the feedback information, a bit rate of the broadcast audio signal of the first device is adjusted.
11. The method according to claim 10, characterized in that The feedback information includes an available channel of the second device; and adjusting the transmission channel for sending the broadcast audio signal based on the feedback information includes: When there is a difference between the available channel and the transmission channel of the first device, the broadcast audio signal is sent to the second device based on the available channel.
12. The method according to claim 10, characterized in that The feedback information includes an error rate and a signal strength of the broadcast audio signal; and adjusting the transmit power of the first device based on the feedback information includes: When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, increasing the transmit power of the first device; When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, the transmit power of the first device is reduced.
13. The method according to claim 10, characterized in that The feedback information includes the error rate and signal strength of the broadcast audio signal; Adjusting, based on the feedback information, a link transmission parameter of the broadcast audio signal of the first device, includes: When the signal strength is less than a fifth threshold and the error rate is greater than a sixth threshold, updating link transmission parameters to increase the number of retransmissions of the broadcast audio signal; When the signal strength is greater than a seventh threshold and the error rate is less than an eighth threshold, link transmission parameters are updated to reduce the number of retransmissions of the broadcast audio signal.
14. The method according to claim 10, characterized in that The feedback information includes a decoding capability of the second device; and adjusting a bit rate of the broadcast audio signal of the first device based on the feedback information includes: When the decoding capability is less than a ninth threshold, audio encoding parameters and / or link transmission parameters are updated to reduce a bit rate of the broadcast audio signal.
15. The method according to claim 10, characterized in that The method further comprises: According to the adjusted sending strategy, indication information is sent to the second device, the indication information including first indication information and / or second indication information, the first indication information including a first identifier and link transmission parameters, the first identifier being used to indicate that the second device receives the broadcast audio signal based on the link transmission parameters, the second indication information including a second identifier and frequency hopping channel information, the second identifier being used to indicate that the second device receives the broadcast audio signal based on the frequency hopping channel information.
16. A communication device, characterized in that: The device comprises: a signal receiving module, configured to receive a broadcast audio signal sent by a first device; a parameter acquisition module, configured to acquire a signal quality parameter of the second device, where the signal quality parameter is used to characterize an ability of the second device to receive signals; a feedback information determining module, configured to determine feedback information based on the signal quality parameter; The feedback information sending module is configured to send feedback information to the first device, where the feedback information is used to adjust a sending strategy of the first device for the broadcast audio signal.
17. A communication device, characterized in that: The device comprises: a feedback information receiving module, configured to receive feedback information sent by a second device, where the feedback information is used to indicate an ability of the second device to receive signals; a sending strategy adjustment module, configured to adjust the sending strategy of the broadcast audio signal based on the feedback information; The signal sending module is configured to send the broadcast audio signal to the second device based on the adjusted sending strategy.
18. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 8, or the processor is configured to execute the method according to any one of claims 9 to 15.
19. A non-transitory computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 8, or the electronic device is enabled to execute the method according to any one of claims 9 to 15.
Citation Information
Cited By
Data interaction method based on adaptive redundancy transmission and related equipment
CN121239357A