CN113678481A - Wireless audio system, audio communication method and equipment - Google Patents
Wireless audio system, audio communication method and equipment Download PDFInfo
- Publication number
- CN113678481A CN113678481A CN201880100565.3A CN201880100565A CN113678481A CN 113678481 A CN113678481 A CN 113678481A CN 201880100565 A CN201880100565 A CN 201880100565A CN 113678481 A CN113678481 A CN 113678481A
- Authority
- CN
- China
- Prior art keywords
- audio
- receiving device
- audio receiving
- wireless link
- data packet
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 169
- 230000006854 communication Effects 0.000 title claims abstract description 169
- 238000000034 method Methods 0.000 title claims abstract description 96
- 230000005540 biological transmission Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 8
- 230000002457 bidirectional effect Effects 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 35
- 230000006870 function Effects 0.000 description 33
- 239000010410 layer Substances 0.000 description 26
- 238000007726 management method Methods 0.000 description 20
- 238000013507 mapping Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 16
- 238000004590 computer program Methods 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 12
- 230000005236 sound signal Effects 0.000 description 11
- 210000000988 bone and bone Anatomy 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 10
- 230000003993 interaction Effects 0.000 description 9
- 238000009877 rendering Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 239000010985 leather Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- JLGLQAWTXXGVEM-UHFFFAOYSA-N triethylene glycol monomethyl ether Chemical compound COCCOCCOCCO JLGLQAWTXXGVEM-UHFFFAOYSA-N 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application relates to a wireless audio system, an audio communication method and a device, a bidirectional wireless link can be established between a first audio receiving device (such as a left earphone) and an electronic device (such as a mobile phone), the wireless link can be used for the electronic device (such as the mobile phone) to transmit audio data to the first audio receiving device (such as the left earphone), and can be used for the first audio receiving device (such as the left earphone) to feed back ACK (acknowledgement character) to the electronic device (such as the mobile phone) after the first audio receiving device (such as the left earphone) successfully receives the audio data. An atypical wireless link may be established between the second audio receiving device (e.g., the right earpiece) and the electronic device (e.g., the handset) that may only be used for the second audio receiving device (e.g., the right earpiece) to feed back an ACK to the electronic device (e.g., the handset) after successfully listening to the audio data. The scheme can save the power consumption of the first audio receiving device (such as a left earphone) and ensure that the second audio receiving device (such as a right earphone) can completely receive the audio data.
Description
The present application relates to the field of wireless technologies, and in particular, to a wireless audio system, an audio communication method, and an apparatus.
In a conventional wireless audio device, wireless communication is generally adopted between an audio source (audio source) and an audio sink (audio sink), and a left audio sink and a right audio sink (such as a left loudspeaker and a right loudspeaker of a bluetooth headset) need to be connected through wires. The advent of true wireless bluetooth stereo (TWS) technology has made wire connections between left and right audio receiving devices (e.g., left and right speakers of a bluetooth headset) unnecessary. In the TWS audio device, the left and right audio receiving devices employ wireless communication. Thus avoiding the problems of earphone wire winding and the like,
fig. 1 shows a prior art TWS audio scheme (described in patent application document US 2012/0058727 a 1). As shown in fig. 1, the audio source transmits stereo data including two channels (CH1 and CH2) to the audio receiving device Sink 1. The audio receiving apparatus Sink1 extracts audio data of the channel CH1 from the stereo data of the two channels (CH1 and CH2), and forwards the audio data of the channel CH2 to the audio receiving apparatus Sink 2. The audio source and audio Sink1 are in the same sub-network 1(piconet 1) and the audio Sink1 and audio Sink2 are in another sub-network 2(piconet 2). Subnetworks 1 and 2 may employ, but are not limited to, wireless fidelity (Wi-Fi), Bluetooth (BT), and other wireless communication technologies.
In the TWS audio scheme shown in fig. 1, the audio receiving device Sink1 is responsible for forwarding audio data of the channel CH2 for the audio receiving device Sink 2. However, this forwarding causes a large power consumption of the audio receiving apparatus Sink 1.
Disclosure of Invention
The application provides a wireless audio system, an audio communication method and audio communication equipment, which can save the power consumption of audio receiving equipment and ensure that the audio receiving equipment can completely receive audio data.
In a first aspect, the present application provides a wireless audio system that may include an audio source, a first audio receiving device, and a second audio receiving device. A first wireless link may be established between the first audio receiving device and the second audio receiving device. A second wireless link may be established between the first audio receiving device and the audio source. No wireless link is established between the second audio receiving device and the audio source for transmitting audio data, and the second audio receiving device listens to audio data transmitted by the audio source over the second wireless link to the first audio receiving device to receive the audio data. A third wireless link may be established between the second audio receiving device and the audio source for limited communication. In some embodiments, the third wireless link may be used only for the second audio receiving device to feed back ACK/NACK to the audio source to tell whether or not the audio data was successfully listened to.
Wherein,
the audio source may be operable to transmit audio data packets to the first audio receiving device over the second wireless link.
Accordingly, the first audio receiving device may be operable to receive audio data packets transmitted by the audio source over the second wireless link. The first audio receiving device may also be operable to determine whether audio data packets transmitted by the audio source are successfully received over the second wireless link. The first audio receiving device may be further configured to feed back an ACK to the audio source over the second wireless link if the audio data packet transmitted by the audio source is successfully received; otherwise, the first audio receiving device may also be configured to feed back a NACK to the audio source over the second wireless link.
Accordingly, the second audio receiving device may be configured to listen for audio packets transmitted by an audio source to the first audio receiving device over the second wireless link. The second audio receiving device may also be operable to determine whether audio data packets transmitted by the audio source were successfully intercepted. The second audio receiving device may be further configured to feed back an ACK for the audio data packet to the audio source over the third wireless link if the audio data packet transmitted by the audio source is successfully heard; otherwise, the second audio receiving device may be further operable to feed back a NACK for the audio data packet to the audio source over the third wireless link.
The audio source may also be configured to receive ACK/NACK fed back by the first audio receiving device over the second wireless link and to receive ACK/NACK fed back by the second audio receiving device over the third wireless link. If the first audio receiving device and the second audio receiving device both feed back the ACK, the audio source continues to transmit the next audio data packet; otherwise the audio source retransmits the audio data packet.
In conjunction with the first aspect, in some embodiments, the first audio receiving device may also be configured to send communication information to the second audio receiving device over the first wireless link. The communication information is usable for the first audio receiving device to listen to audio data packets N transmitted by an audio source to the first audio receiving device over the second wireless link. For bluetooth, the communication information may specifically include, but is not limited to, one or more of the following communication parameters: the bluetooth device address (BD _ ADDR) of the audio source, the local Clock (CLKN), the logical transport address (LT _ ADDR) of the first audio receiving device, the clock offset (clock offset), and the encryption parameters of the second wireless link, such as the link key (link key).
In connection with the first aspect, in some embodiments, audio packets transmitted by an audio source may contain stereo audio information, which may be compressed or uncompressed stereo samples. The stereo audio information may comprise stereo audio information for a first audio channel and stereo audio information for a second audio channel, e.g., stereo audio information for a left channel and a right channel.
With reference to the first aspect, in some embodiments, the first audio receiving device may be configured to, after successfully receiving the audio data packet, extract stereo audio information of a first channel (e.g., a left channel) from the audio data packet N, and perform audio rendering and playing according to the stereo audio information of the first channel. The second audio receiving device may be configured to extract stereo audio information of a second channel from the audio data packet N after successfully detecting the audio data packet, and perform audio rendering and playing according to the stereo audio information of the second channel (e.g., a right channel). In this way, the first audio receiving device and the second audio receiving device may present a stereo playback experience.
In combination with the first aspect, in some embodiments, an audio source may transmit audio data packets in a first time slot. The first audio receiving device and the second audio receiving device may feed back ACK/NACK to the audio source in the second time slot. The first time slot and the second time slot are consecutive, and the second time slot may be a first time slot after the first time slot. The second time slot may also be referred to as the next time slot of the first time slot.
In conjunction with the first aspect, in some embodiments, the first audio receiving device may be operable to transmit identification information (e.g., BD _ ADDR) of the second audio receiving device to the audio source over the second wireless link. The identification information of the second audio receiving device may be sent by the second audio receiving device to the first audio receiving device through the first wireless link. The audio source may be configured to establish a mapping relationship between the identification information of the second audio receiving device and the identification information of the first audio receiving device, and store the mapping relationship. The mapping may indicate that the second audio receiving device and the first audio receiving device are a pair of audio receiving devices of stereo audio information, such as a pair of left and right headphones. Wherein the identification information of the first audio receiving device may be transmitted by the first audio receiving device to the audio source when the second wireless link is established with the audio source.
In combination with the first aspect, in some embodiments, the audio source may be configured to assign LT _ ADDR to the first audio receiving device and the second audio receiving device, and there is a mapping relationship between LT _ ADDR of the first audio receiving device and LT _ ADDR of the second audio receiving device. The mapping may indicate that the first audio receiving device and the second audio receiving device are a pair of recipients of the stereo information.
With reference to the first aspect, in some embodiments, identification information such as BD _ ADDR, LT _ ADRR and the like may be carried in ACK/NACK fed back by the first audio receiving device, and identification information such as BD _ ADDR, LT _ ADRR and the like may also be carried in ACK/NACK fed back by the second audio receiving device.
The audio source can be used for judging whether the first audio receiving device and the second audio receiving device are a pair of audio receiving devices according to the identification information such as BD _ ADDR carried in the ACK/NACK. The audio source may be configured to determine that a pair of receivers of the stereo information successfully receives the stereo information if it is determined that the first audio receiving device and the second audio receiving device are a pair of audio receiving devices and both the first audio receiving device and the second audio receiving device feed back ACK, and may continue to transmit a next audio data packet.
Implementing the wireless audio system described in the first aspect, the second audio receiving device may save power consumption of the first audio receiving device by listening to receive audio data packets transmitted by the audio source, instead of receiving audio data packets forwarded via the first audio receiving device. Moreover, because the second audio receiving device directly feeds back the ACK/NACK to the audio source through the atypical wireless link instead of feeding back the ACK/NACK through the first audio receiving device, the second audio receiving device and the first audio receiving device do not need to complete message interaction in a short idle time, and the requirement on the performance of a chip is reduced. Also, the second audio receiving apparatus feeds back ACK/NACK independently of the first wireless link between it and the first audio receiving apparatus, and can normally feed back ACK/NACK to the audio source even if the first wireless link is disconnected.
In a second aspect, the present application provides an audio communication method based on a wireless audio system, which is applied to an audio source side. The wireless audio system may be the wireless audio system described in the first aspect. The method can comprise the following steps: the audio source may transmit audio data packets to the first audio receiving device over the second wireless link. Then, the audio source may receive ACK/NACK for the audio data packet fed back by the first audio receiving device through the second wireless link, and may also receive ACK/NACK for the audio data packet fed back by the second audio receiving device through the third wireless link. The audio source may retransmit the audio data packet to the first audio receiving device over the second wireless link if a NACK for the audio data packet fed back by the first audio receiving device is received over the second wireless link and/or a NACK for the audio data packet fed back by the second audio receiving device is received over the third wireless link.
In addition, if an ACK for an audio data packet fed back by the first audio receiving device is received through the second wireless link and an ACK for an audio data packet fed back by the second audio receiving device is received through the third wireless link, the audio source may transmit a next audio data packet of the audio data packet to the first audio receiving device through the second wireless link.
In a third aspect, the present application provides an audio communication method based on a wireless audio system, which is applied to a first audio receiving device side. The wireless audio system may be the wireless audio system described in the first aspect. The method can comprise the following steps: the first audio receiving device may receive audio data packets transmitted by the audio source over the second wireless link. If the audio data packet transmitted by the audio source is successfully received through the second wireless link, the first audio receiving device may feed back an ACK for the audio data packet to the audio source through the second wireless link. If the audio data packet transmitted by the audio source is not successfully received through the second wireless link, the first audio receiving device may feed back a NACK for the audio data packet to the audio source through the second wireless link.
In a fourth aspect, the present application provides an audio communication method based on a wireless audio system, which is applied to a second audio receiving device side. The wireless audio system may be the wireless audio system described in the first aspect. The method can comprise the following steps: the second audio receiving device may listen for audio packets transmitted by an audio source to the first audio receiving device over the second wireless link. The second audio receiving device determines whether the audio data packet is successfully intercepted, and if the audio data packet is successfully intercepted, the second audio receiving device can feed back ACK aiming at the audio data packet to the audio source through the third wireless link; otherwise the second audio receiving device may feed back a NACK for the audio data packet to the audio source over the third wireless link.
Implementing the methods described in the second to fourth aspects may save power consumption of the first audio receiving device. Moreover, because the second audio receiving device directly feeds back the ACK/NACK to the audio source through the atypical wireless link instead of feeding back the ACK/NACK through the first audio receiving device, the second audio receiving device and the first audio receiving device do not need to complete message interaction in a short idle time, and the requirement on the performance of a chip is reduced.
With reference to any one of the second to fourth aspects, in some optional embodiments, the first audio receiving device may further send communication information to the second audio receiving device over the first wireless link. Accordingly, the second audio receiving device may receive the communication information over the first wireless link. The communication information is usable for the first audio receiving device to listen to audio data packets N transmitted by an audio source to the first audio receiving device over the second wireless link. For bluetooth, the communication information may specifically include, but is not limited to, one or more of the following communication parameters: the bluetooth device address (BD _ ADDR) of the audio source, the local Clock (CLKN), the logical transport address (LT _ ADDR) of the first audio receiving device, the clock offset (clock offset), and the encryption parameters of the second wireless link, such as the link key (link key).
With reference to any one of the second to fourth aspects, in some alternative embodiments, the audio data packets transmitted by the audio source may contain stereo audio information, which may be compressed or uncompressed stereo samples. The stereo audio information may comprise stereo audio information for a first audio channel and stereo audio information for a second audio channel, e.g., stereo audio information for a left channel and a right channel.
With reference to any one of the second to fourth aspects, in some optional embodiments, after successfully receiving the audio data packet, the first audio receiving device may extract stereo audio information of a first channel (e.g., a left channel) from the audio data packet N, and may perform audio rendering and playing according to the stereo audio information of the first channel. The second audio receiving device may extract stereo audio information of the second channel from the audio data packet N after successfully detecting the audio data packet, and may perform audio rendering and playing according to the stereo audio information of the second channel (e.g., the right channel). In this way, the first audio receiving device and the second audio receiving device may present a stereo playback experience.
With reference to any one of the second to fourth aspects, in some alternative embodiments, the first audio receiving device may transmit the identification information (e.g., BD _ ADDR) of the second audio receiving device to the audio source via the second wireless link. The identification information of the second audio receiving device may be sent by the second audio receiving device to the first audio receiving device through the first wireless link. The audio source may establish a mapping relationship between the identification information of the second audio receiving device and the identification information of the first audio receiving device and store the mapping relationship. The mapping may indicate that the second audio receiving device and the first audio receiving device are a pair of audio receiving devices of stereo audio information, such as a pair of left and right headphones. Wherein the identification information of the first audio receiving device may be transmitted by the first audio receiving device to the audio source when the second wireless link is established with the audio source.
In combination with any one of the second to fourth aspects, in some alternative embodiments, the audio source may assign LT _ ADDR to the first audio receiving device and the second audio receiving device, and there is a mapping relationship between LT _ ADDR of the first audio receiving device and LT _ ADDR of the second audio receiving device. The mapping may indicate that the first audio receiving device and the second audio receiving device are a pair of recipients of the stereo information. Specifically, the audio source may transmit the LT _ ADDR assigned to the first audio receiving device and the LT _ ADDR assigned to the second audio receiving device to the first audio receiving device through the second wireless link, and then the first audio receiving device may transmit the LT _ ADDR assigned to the second audio receiving device by the audio source to the second audio receiving device through the first wireless link. In this way, the first audio receiving device, the second audio receiving device may carry the respective LT _ ADDR in the feedback ACK/NACK to the audio source.
With reference to any one of the second aspect to the fourth aspect, in some optional embodiments, identification information such as BD _ ADDR, LT _ ADRR and the like may be carried in the ACK/NACK fed back by the first audio receiving device, and identification information such as BD _ ADDR, LT _ ADRR and the like may also be carried in the ACK/NACK fed back by the second audio receiving device.
The audio source may determine whether the first audio receiving device and the second audio receiving device are a pair of audio receiving devices according to identification information such as BD _ ADDR carried in the ACK/NACK. If the first audio receiving device and the second audio receiving device are judged to be a pair of audio receiving devices and the first audio receiving device and the second audio receiving device both feed back the ACK, the audio source can determine that both the pair of receiving sides of the stereo information successfully receive the stereo information and can continue to transmit the next audio data packet.
In a fifth aspect, an electronic device is provided for executing the audio communication method described in the second aspect. The electronic device may include: a memory and a processor, a transmitter, and a receiver coupled with the memory, wherein: the transmitter is used for transmitting audio data to the audio receiving device, the receiver is used for receiving the data transmitted by the audio receiving device, such as ACK/NACK, the memory is used for storing implementation codes of the audio communication method described in the second aspect, and the processor is used for executing the program codes stored in the memory, namely executing the audio communication method described in the second aspect.
In a sixth aspect, an electronic device is provided, which may have a function of implementing the audio communication method described in the second aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a seventh aspect, a computer device is provided, which may include a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to enable the computer device to implement the audio communication method as described in the second aspect.
In an eighth aspect, an audio receiving apparatus for performing the audio communication method described in the third aspect is provided. The electronic device may include: a memory and a processor, a transmitter, and a receiver coupled with the memory, wherein: the transmitter is used for transmitting data to other audio receiving devices or audio sources, the receiver is used for receiving data transmitted by other audio receiving devices or audio sources, such as audio data, the memory is used for storing implementation codes of the audio communication method described in the third aspect, and the processor is used for executing the program codes stored in the memory, namely executing the audio communication method described in the third aspect.
In a ninth aspect, there is provided an audio receiving apparatus that may have a function of implementing the audio communication method described in the third aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
A tenth aspect provides a computer device, which may include a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to cause the computer device to implement the audio communication method as described in the third aspect.
In an eleventh aspect, an audio receiving apparatus is provided for performing the audio communication method described in the fourth aspect. The electronic device may include: a memory and a processor, a transmitter, and a receiver coupled with the memory, wherein: the transmitter is configured to transmit data to another audio receiving device or audio source, the receiver is configured to receive data, such as audio data, transmitted by the other audio receiving device or audio source, the memory is configured to store implementation codes of the audio communication method described in the fourth aspect, and the processor is configured to execute the program codes stored in the memory, that is, execute the audio communication method described in the fourth aspect.
In a twelfth aspect, an audio receiving apparatus is provided, which may have a function of implementing the audio communication method described in the fourth aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a thirteenth aspect, a computer device is provided, which may include a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to enable the computer device to implement the audio communication method as described in the fourth aspect.
In a fourteenth aspect, a communication system is provided, which includes: a first audio receiving device and a second audio receiving device, wherein: the first audio receiving device may be the audio receiving device described in the eighth aspect or the ninth aspect or the tenth aspect. The first audio receiving device may be the audio receiving device described in the eleventh or twelfth aspect or thirteenth aspect.
In a fifteenth aspect, a communication system is provided, the communication system comprising: an audio source, a first audio receiving device and a second audio receiving device, wherein: the audio source may be the electronic device described in the fifth or sixth or seventh aspect. The first audio receiving device may be the audio receiving device described in the eighth aspect or the ninth aspect or the tenth invention. The first audio receiving device may be the audio receiving device described in the eleventh or twelfth aspect or thirteenth aspect.
In a sixteenth aspect, there is provided a computer-readable storage medium having stored thereon instructions which, when run on a computer, cause the computer to perform the audio communication method described in the second or third or fourth aspect.
In connection with the twelfth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the audio communication method described in the second aspect or the third aspect or the fourth aspect.
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1 is a schematic diagram of a conventional true wireless audio communication scheme;
FIG. 2 is a schematic diagram of an architecture of a wireless audio system to which the present application relates;
3A-3C are schematic diagrams of a conventional audio communication scheme in the wireless audio system shown in FIG. 2;
FIG. 4 is an architectural diagram of a wireless audio system provided by one embodiment of the present application;
FIG. 5 is a schematic flow chart of an audio communication method provided herein;
FIGS. 6A-6D are timing diagrams of several transmission scenarios of the audio communication method provided herein;
fig. 7A is a schematic hardware architecture diagram of an electronic device according to an embodiment of the present application;
FIG. 7B is a diagram illustrating a software architecture implemented on the electronic device shown in FIG. 7A;
fig. 8 is a schematic hardware architecture diagram of an audio receiving device provided by an embodiment of the present application;
fig. 9 is a schematic diagram of an architecture of a wireless audio system and related devices according to an embodiment of the present application.
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
Fig. 2 illustrates a wireless audio system 10 to which the present application relates. As shown in fig. 2, the wireless audio system 10 may include the following devices: an audio source (audio source)101, a first audio sink (audio sink)102 and a second audio sink (audio sink) 103. The audio source 101 may be implemented as any one of the following electronic devices: mobile phones, portable game machines, portable media playback devices, personal computers, in-vehicle media playback devices, and the like. The first audio receiving device 102 and the second audio receiving device 103 may be configured as any type of electro-acoustic transducer(s) for converting audio data into sound, such as speakers, in-ear headphones, headsets, etc. The physical forms and sizes of the audio source 101, the first audio receiving device 102 and the second audio receiving device 103 may also be different from each other, which is not limited in the present application.
The audio source 101, the first audio receiving device 102 and the second audio receiving device 103 may each be configured with a wireless transceiver, which may be used to transmit and receive wireless signals.
The audio source 101 may transmit an audio stereo stream in the form of one or more data packets. The packet may be referred to as an audio packet. Each audio data packet may contain stereo audio information, which may be compressed or uncompressed stereo samples. The stereo audio information may include stereo samples of a first audio channel and stereo samples of a second audio channel, e.g., stereo samples of a left channel and a right channel.
A second wireless link 106 may be established between the audio source 101 and the first audio receiving device 102, which may communicate over the second wireless link 106. Wherein the audio source 101 may transmit audio data packets to the first audio receiving device 102 over the second wireless link 106 in a transmission direction of the audio source 101 to the first audio receiving device 102. Such that the first audio receiving device 102 can convert the received audio data into sound so that the user wearing the first audio receiving device 102 can hear the sound.
There is no wire connection between the first audio receiving device 102 and the second audio receiving device 103. The two may communicate via the first wireless link 105 rather than a wired communication link. The first audio receiving device 102 may send communication information (one or more communication parameters) to the second audio receiving device 103 over the first wireless link 105, so that the second audio receiving device 103 may listen according to the communication information for audio data transmitted by the audio source 101 to the first audio receiving device 102 over the second wireless link 106. For bluetooth, the communication information (one or more communication parameters) may include, but is not limited to: the bluetooth device address (BD _ ADDR) of the audio source 101, the local Clock (CLKN), the logical transport address (LT _ ADDR) of the first audio receiving device 102, the clock offset (clock offset), and the encryption parameters of the second wireless link 106, such as the link key (link key). As understood by those of ordinary skill in the art, wireless communication from the audio source 101 has an omni-directional (omni-directional) characteristic, and thus, both the first audio receiving device 102 and the second audio receiving device 103 may receive wireless energy transmission from the audio source 101.
No wireless link is established between the audio source 101 and the second audio receiving device 102 for the audio source 101 to transmit audio data to the second audio receiving device 102. The second audio receiving device 103 may listen to the wireless link 106 based on the communication information sent by the first audio receiving device 102 (e.g., BD _ ADDR, CLKN of the audio source 101, LT _ ADDR, clock offset of the first audio receiving device 102, etc.) to receive audio data transmitted by the audio source 101 over the wireless link 106 to the first audio receiving device 102. For receiving audio data transmitted by the audio source 101, the first audio receiving device 102 may act as a participant (participant) and the second audio receiving device 102 may act as an observer (observer).
It can be seen that in the wireless audio system shown in fig. 2, the second audio receiving device 102 receives audio data from the audio source 101 by listening, instead of forwarding the audio data by the first audio receiving device 101, the power consumption of the first audio receiving device 101 can be greatly reduced to provide a longer endurance.
In one possible case, the first audio receiving device 102 may be configured with a sound collecting device such as a receiver/microphone. In this case, in the transmission direction of the first audio receiving device 102 to the audio source 101, the first audio receiving device 102 may convert the collected sound into audio data and transmit the audio data to the audio source 101 through the second wireless link 106. The audio source 101 may then process the received audio data, such as sending the audio data to other electronic devices (in a voice call scenario), storing the audio data (in a recording scenario).
In addition to audio data, the audio source 101 and the first audio receiving device 102 may also interact with play control (e.g., previous, next, etc.) messages, call control (e.g., listen, hang up) messages, volume control messages (e.g., volume up, volume down), etc. over the second wireless link 106. Specifically, the audio source 101 may send a play control message and a call control message to the first audio receiving device 102 through the second wireless link 106, so that play control and call control may be performed on the audio source 101 side. Specifically, the first audio receiving device 102 may send a play control message and a call control message to the audio source 101 through the second wireless link 106, so that play control and call control may be performed on the first audio receiving device 102 side.
The wireless audio system 10 shown in fig. 2 may be a wireless audio system implemented based on the bluetooth protocol. I.e., devices in the wireless audio system 10 may employ bluetooth communication techniques for receiving or transmitting data. To support stereo audio applications, the devices in the wireless audio system 10 may implement some profiles of the bluetooth protocol, such as advanced audio distribution profile (A2 DP), Audio Video Remote Control Profile (AVRCP), Hands Free Profile (HFP). The wireless audio system 10 may also use wireless fidelity (Wi-Fi) or Zigbee (wireless fidelity, bluetooth) wireless communication technology, not limited to the bluetooth communication technology.
The following discusses how to solve the problem of audio packet loss requiring retransmission in the wireless audio system 10 shown in fig. 2.
One prior art approach to this problem is shown in fig. 3A-3C.
As shown in fig. 3A, the second audio receiving device 103 (observer) does not directly feed back an Acknowledgement (ACK) or a negative-acknowledgement (NACK) to the audio source 101. When successfully hearing an audio data packet transmitted by the audio source 101 to the first audio receiving device 102 (participant) over the second wireless link 106, the second audio receiving device 103 (observer) may feed back an ACK to the first audio receiving device 102 (participant) over the first wireless link 105 to indicate that the audio data packet was successfully heard. When an audio data packet transmitted by the audio source 101 to the first audio receiving device 102 (participant) over the second wireless link 106 is not successfully sensed, the second audio receiving device 103 (observer) may feed back a NACK to the first audio receiving device 102 (participant) over the first wireless link 105 to indicate that the audio data packet was not successfully sensed.
As shown in fig. 3B-3C, the slots (slot (n +1) to slot (n +5)) used for transmitting audio data include two parts: audio data transfer time and idle time (idle period). During an idle period (idle period) after the audio data is transmitted, the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) perform a message interaction. Where "POLL" indicates that the participant asks the watcher whether the watcher successfully listened to the audio packet, and ACK/NACK indicates that the watcher returned a reply to the participant (whether the reply successfully listened to the audio packet).
Fig. 3B shows the case: the audio source 101 transmits audio frame N, which is successfully received by the participants and successfully heard by the observers. Audio frame N is audio data packet N. In the case shown in fig. 3B, the first audio receiving device 102 (participant) may send an ACK to the audio source 101 in the next slot (slo (N +6))) to indicate that both the participant and the observer successfully received audio frame N. Fig. 3C shows the case: the audio source 101 transmits audio frame N, which the participant successfully received, but which the observer did not successfully listen to. In the case shown in fig. 3C, the first audio receiving device 102 (participant) may send a NACK to the audio source 101 at the next time slot (slo (N +6))) to trigger the audio source 101 to retransmit the audio frame N.
The prior art shown in fig. 3A-3C requires that the participants and the observers complete message interaction within a relatively short idle time (idle period), especially when bluetooth technology is used, the interaction between the participants and the observers needs to be completed within 200us, and the performance requirement on the bluetooth chip is high.
To address the problem of audio packet loss requiring retransmission, the present application provides another solution, which can be referred to the wireless audio system 20 shown in fig. 4.
Unlike the wireless audio system shown in fig. 2, in the wireless audio system 20 shown in fig. 4, an atypical third wireless link 107 may be established between the audio source 101 and the second audio receiving device 103 (observer). The third wireless link 107 may be used for limited interaction between the audio source 101 and the second audio receiving device 103 (observer). In some embodiments, the third wireless link 107 may be used only for the second audio receiving device 103 (observer) to feed back ACK/NACK for the audio data packets to the audio source 101. In distinction to the second wireless link 106, the third wireless link 107 is not used for the audio source 101 to transmit audio data to the second audio receiving device 103 (observer). The second audio receiving device 103 (the observer) can listen on the basis of this communication information to the audio data transmitted by the audio source 101 to the first audio receiving device 102 over the second wireless link 106.
In the wireless audio system 20 shown in fig. 4, for one audio data packet transmitted by the audio source 101, if both the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) feed back ACK for the audio data packet, the audio source 101 may continue to transmit the next audio data packet; if any one of an audio receiving device 102 (participant) and a second audio receiving device 103 (observer) feeds back NACK, the audio source 101 retransmits the audio data packet.
Since the second audio receiving device 103 (observer) directly feeds back ACK/NACK to the audio source 101 through the atypical wireless link 107 instead of feeding back ACK/NACK via the first audio receiving device 102 (participant), the second audio receiving device 103 (observer) and the first audio receiving device 102 (participant) do not need to complete message interaction within the relatively short idle time shown in fig. 3B-3C. Also, the second audio receiving apparatus 103 (observer) feeds back ACK/NACK independently of the first wireless link 105 between it and the first audio receiving apparatus 102 (participant), and even if the first wireless link 105 is disconnected, the second audio receiving apparatus 103 (observer) can normally feed back ACK/NACK to the audio source 101.
To simplify the description, the first audio receiving device 102 (participant) may be referred to as SNK-1, the second audio receiving device 103 (observer) may be referred to as SNK-2, and the audio source 101 may be referred to as SRC.
In the wireless audio system 20 shown in fig. 4, SNK-1 may send the identification information of SNK-2 (e.g., BD _ ADDR of SNK-2) to the SRC over the second wireless link 106. Wherein the identification information of SNK-2 may be that SNK-2 is transmitted to SNK-1 through the first wireless link 105. Thus, SRC can establish the mapping relation between the identification information of SNK-2 and the identification information of SNK-1 and store the mapping relation. The mapping may indicate that SNK-2 and SNK-1 are a pair of audio receiving devices, such as a pair of left and right headphones, for stereo audio information. The identification information of SNK-1 may be sent by SNK-1 to the SRC when the second radio link 106 is established with the SRC.
After receiving ACK/NACK from SNK-1 (in which identification information of SNK-1 may be carried) and ACK/NACK from SNK-2 (in which identification information of SNK-2 may be carried), the SRC may determine whether SNK-1 and SNK-2 are a pair of audio receiving apparatuses according to the identification information carried in the ACK/NACK. If the SNK-1 and SNK-2 are judged to be a pair of audio receiving devices, and both SNK-1 and SNK-2 feed back ACK, the SRC can determine that both the pair of receiving sides of the stereo information successfully receive the stereo information, and can continue to transmit the next audio data packet.
Based on the wireless audio system 20 shown in fig. 4, the present application provides an audio communication method.
The main inventive idea can include: a third wireless link 107 may be established between the audio source 101 and the second audio receiving device 103 (observer). The third wireless link 107 may be used for limited communication between the audio source 101 and the second audio receiving device 103 (observer), as may only be used for the second audio receiving device 103 (observer) to feed back ACK/NACK to the audio source 101. Thus, the observer does not need to feed back ACK/NACK via the participants. After transmitting one audio data packet, if the first audio receiving device 102 (participant) and/or the second audio receiving device 103 (observer) feeds back ACK, the audio source 101 retransmits the audio data packet.
Fig. 5 illustrates an audio communication method provided by the present application. The audio communication method shown in fig. 5 is applied to the wireless audio system 20 shown in fig. 4. Wherein the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) can communicate with each other via a first wireless link 105, and the first audio receiving device 102 (participant) and the audio source 101 can communicate with each other via a second wireless link 106. A third wireless link 107 may be established between the second audio receiving device 103 (the observer) and the audio source 101. The third wireless link 107 may be used for limited communication between the second audio receiving device 103 (observer) and the audio source 101, e.g. only for the second audio receiving device 103 (observer) to feed back an ACK or NACK to the audio source 101. The third wireless link 107 may be a unidirectional link. The wireless audio system 20 shown in fig. 4 may employ bluetooth communication technology, and in this case, the first wireless link 105, the second wireless link 106, and the third wireless link 107 may be links established based on bluetooth protocol. The method shown in fig. 5 is developed as follows:
stage 1 (S101): the first audio receiving device 102 (participant) may send communication information to the second audio receiving device 103 (observer) over the first wireless link 105.
This communication information is available for the first audio receiving device 102 (participant) to listen to the audio data packet N transmitted by the audio source 101 to the first audio receiving device 102 (participant) over the second wireless link 106. N is a positive integer. The audio packet N may be any one of audio packets in an audio stream (audio stream) transmitted by the audio source 101.
When the wireless audio system 20 shown in fig. 4 employs bluetooth communication technology, the communication information may specifically include, but is not limited to, one or more of the following communication parameters: the bluetooth device address (BD _ ADDR) of the audio source 101, the local Clock (CLKN), the logical transport address (LT _ ADDR) of the first audio receiving device 102, the clock offset (clock offset), and the encryption parameters of the second wireless link 106, such as the link key (link key).
Stage 2(S102, S105, S109, S113): the audio source 101 transmits audio data packets N.
In particular, the audio source 101 may transmit an audio data packet N to the first audio receiving device 102 (participant) over the second wireless link 106. The audio data packet N may contain stereo audio information, which may be compressed or uncompressed stereo samples. The stereo audio information may comprise stereo audio information for a first audio channel and stereo audio information for a second audio channel, e.g., stereo audio information for a left channel and a right channel.
Accordingly, the first audio receiving device 102 (participant) may receive the audio data packet N transmitted by the audio source 101 via the second wireless link 106, which is specifically referred to as S102-A, S105-A, S109-A, S113-a. The second audio receiving device 103 (the observer) may listen, based on the aforementioned communication information, to the audio data packet N transmitted by the audio source 101 to the first audio receiving device 102 (the participant) over the second wireless link 106, as referred to in particular S102-B, S105-B, S109-B, S113-B.
After successfully receiving the audio data packet N, the first audio receiving device 102 (participant) may extract stereo audio information of a first channel (e.g., a left channel) from the audio data packet N, and may perform audio rendering and playing according to the stereo audio information of the first channel. After successfully detecting the audio data packet N, the second audio receiving device 103 (observer) may extract stereo audio information of a second channel from the audio data packet N, and may perform audio rendering and playing according to the stereo audio information of the second channel (e.g., a right channel). In this way, the first audio receiving device 102 (participant) and the second audio receiving device 103 (viewer) may present a stereo playback experience.
Stage 3(S103-S104, S106-S107, S110-S111, S114-S115): and the participants and the observers feed back ACK/NACK.
Participants and observers can feedback on the audio data packets N transmitted by the audio source 101.
Specifically, upon successfully receiving the audio data packet N transmitted by the audio source 101 through the second wireless link 106, the first audio receiving device 102 may return an AC for the audio data packet N to the audio source 101 through the second wireless link 106). When the audio data packet N transmitted by the audio source 101 is not successfully received over the second wireless link 106, the first audio receiving device 102 may return a NACK for the audio data packet N to the audio source 101 over the second wireless link 106.
Specifically, upon successfully listening to the audio data packet N transmitted by the audio source 101 according to the aforementioned communication information, the second audio receiving device 103 (observer) may return an AC for the audio data packet N to the audio source 101 through the third wireless link 107). When the audio data packet N transmitted by the audio source 101 is not successfully listened to according to the aforementioned communication information, the second audio receiving device 103 (observer) may return NACK for the audio data packet N to the audio source 101 through the third wireless link 107.
Stage 4(S108, S112, S116): and determining whether to retransmit according to the feedback of the participants and the observer.
If both the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) feed back an ACK, the audio source 101 may determine that both a pair of recipients of the stereo information successfully received the stereo information and may proceed to transmit the next audio data packet. If the first audio receiving device 102 (participant) and/or the second audio receiving device 103 (observer) feeds back a NACK, the audio source 101 may determine that a pair of recipients of the stereo information did not both successfully receive the stereo information, retransmitting the audio data packet N, which may be referred to as S108, S112, or S116. Therefore, the audio receiving equipment can be ensured to receive complete audio data, and the blockage caused by data loss is avoided.
The following explains 4 cases of transmitting the audio data packet N shown in fig. 5 in conjunction with the timing charts shown in fig. 6A to 6D. As shown in fig. 6A-6D, audio source 101 transmits audio data packet N within slots (N +1) to (N + 5). The first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) can feed back ACK/NACK to the audio source 101 at slot (n + 6). Here, slot (n +1) to slot (n +5) may be referred to as a first slot, and slot (n +6) may be referred to as a second slot. The first time slot and the second time slot are consecutive, and the second time slot may be a first time slot after the first time slot. Not limited to the 5 slots indicated by slot (n +1) to slot (n +5) in fig. 6A, the time length of the first slot may also be other values, for example, 3 slots, etc., which is not limited herein. These 4 cases may specifically include:
1. case 1 (S102-S104): the audio source 101 transmits the audio data packet N, the participant 102 successfully receives the audio data packet N through the second wireless link 105 (refer to S102-a), and the observer 103 successfully senses the audio data packet N (refer to S102-B).
Fig. 6A is an operation timing diagram of each device in the wireless communication system in case 1. As shown in fig. 6A, after successfully receiving the audio data packet N in the first time slot, the first audio receiving device 102 (participant) may send an ACK to the audio source 101 over the second wireless link 105 in the second time slot to indicate successful reception of the audio data packet N. As shown in fig. 6A, after successfully hearing the audio data packet N in the first time slot, the second audio receiving device 103 (observer) may send an ACK to the audio source 101 through the third wireless link 107 in the second time slot to indicate that the audio data packet N was successfully heard.
In case 1, the audio source 101 may determine that both of the pair of recipients of the stereo information successfully received the stereo information and may continue to transmit the next audio packet (e.g., audio packet N +1) in a time slot after the second time slot.
2. Case 2(S105 to S108): the audio source 101 transmits the audio data packet N, the participant 102 successfully receives the audio data packet N through the second wireless link 105 (refer to S105-a), and the observer 103 does not successfully hear the audio data packet N (refer to S105-B).
Fig. 6B is a timing diagram illustrating operations of devices in the wireless communication system in case 2. As shown in fig. 6B, after successfully receiving the audio data packet N in the first time slot, the first audio receiving device 102 (participant) may send an ACK to the audio source 101 over the second wireless link 105 in the second time slot to indicate successful reception of the audio data packet N. As shown in fig. 6B, after unsuccessfully hearing the audio data packet N in the first time slot, the second audio receiving device 103 (observer) may transmit NACK to the audio source 101 through the third wireless link 107 in the second time slot to indicate unsuccessfully hearing the audio data packet N.
In case 2, as shown in S108, the audio source 101 may determine that the second audio receiving device 103 (observer) has not successfully listened to the audio data packet N, i.e., that both of a pair of receivers of the stereo information have not successfully received the stereo information, and the audio source 101 may retransmit the audio data packet N in a time slot after the second time slot.
3. Case 3(S109 to S112): the audio source 101 transmits the audio data packet N, the participant 102 does not successfully receive the audio data packet N through the second wireless link 105 (refer to S109-a), and the observer 103 does not successfully hear the audio data packet N (refer to S109-B).
Fig. 6C is an operation timing diagram of each device in the wireless communication system in case 3. As shown in fig. 6C, after the audio data packet N is not successfully received in the first time slot, the first audio receiving device 102 (participant) may send a NACK to the audio source 101 over the second wireless link 105 in the second time slot to indicate that the audio data packet N was not successfully received. As shown in fig. 6C, after unsuccessfully hearing the audio data packet N in the first time slot, the second audio receiving device 103 (observer) may transmit NACK to the audio source 101 through the third wireless link 107 in the second time slot to indicate unsuccessfully hearing the audio data packet N.
In case 3, as shown in S112, the audio source 101 may determine that neither the first audio receiving device 102 (participant) nor the second audio receiving device 103 (observer) has successfully received the audio data packet N, i.e., neither of a pair of receivers of stereo information has successfully received the stereo information, and the audio source 101 may retransmit the audio data packet N in a time slot after the second time slot.
4. Case 4(S113 to S116): the audio source 101 transmits the audio data packet N, the participant 102 does not successfully receive the audio data packet N through the second wireless link 105 (refer to S113-a), and the observer 103 successfully senses the audio data packet N (refer to S113-B).
Fig. 6D is an operation timing diagram of each device in the wireless communication system in case 4. As shown in fig. 6D, after the audio data packet N is not successfully received in the first time slot, the first audio receiving device 102 (participant) may send a NACK to the audio source 101 over the second wireless link 105 in the second time slot to indicate that the audio data packet N was not successfully received. As shown in fig. 6D, after successfully hearing the audio data packet N in the first time slot, the second audio receiving device 103 (observer) may send an ACK to the audio source 101 through the third wireless link 107 in the second time slot to indicate that the audio data packet N was successfully heard.
In case 4, as shown in S116, the audio source 101 may determine that the first audio receiving device 102 (participant) did not successfully receive the audio data packet N, i.e., that both of a pair of receivers of stereo information did not successfully receive stereo information, and the audio source 101 may retransmit the audio data packet N in a time slot after the second time slot.
In several cases described in the above cases 1 to 4, the first audio receiving device 102 (participant), the second audio receiving device 103 (observer) may perform ACK/NACK feedback one or more times in the second slot.
In some embodiments, the audio source 101 may determine that the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) are a pair of recipients of stereo information in several ways.
Upon receiving ACK/NACK from the first audio receiving device 102 (participant), in which identification information such as BD _ ADDR of the first audio receiving device 102 (participant) can be carried, and ACK/NACK from the second audio receiving device 103 (observer), in which identification information such as BD _ ADDR of the second audio receiving device 103 (observer) can be carried, the audio source 101 can determine whether the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) are a pair of audio receiving devices, based on the identification information such as BD _ ADDR carried in the ACK/NACK. If it is determined that the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) are a pair of audio receiving devices and both the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) feed back ACK, the audio source 101 may determine that both the pair of receivers of the stereo information successfully received the stereo information and may continue to transmit the next audio data packet.
After receiving ACK/NACK from the first audio receiving device 102 (participant), in which LT _ ADDR of the first audio receiving device 102 (participant) can be carried, and ACK/NACK from the second audio receiving device 103 (observer), in which LT _ ADDR of the second audio receiving device 103 (observer) can be carried, the audio source 101 can determine whether the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) are a pair of audio receiving devices according to LT _ ADDR carried in the ACK/NACK. If it is determined that the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) are a pair of audio receiving devices and both the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) feed back ACK, the audio source 101 may determine that both the pair of receivers of the stereo information successfully received the stereo information and may continue to transmit the next audio data packet.
Without being limited to the above-described manner 1 and manner 2, the audio source 101 may also determine that the first audio receiving device 102 (participant) and the second audio receiving device 103 (observer) are a pair of recipients of stereo information in other manners. For example, the ACK/NACK feedback from both the participant and the watcher carry the same field indicating the device name. This is not limited by the present application.
The audio communication method described in fig. 5 is applied to the wireless audio system 20 shown in fig. 4, and the second audio receiving device 103 (observer) can save the power consumption of the first audio receiving device 102 (participant) by listening to receive the audio data packets transmitted by the audio source 101 instead of receiving the audio data packets forwarded via the first audio receiving device 102 (participant). Moreover, since the second audio receiving device 103 (observer) directly feeds back ACK/NACK to the audio source 101 through the atypical wireless link 107 instead of feeding back ACK/NACK via the first audio receiving device 102 (participant), the second audio receiving device 103 (observer) and the first audio receiving device 102 (participant) do not need to complete message interaction within a short idle time, reducing the requirements on chip performance. Also, the second audio receiving apparatus 103 (observer) feeds back ACK/NACK independently of the first wireless link 105 between it and the first audio receiving apparatus 102 (participant), and even if the first wireless link 105 is disconnected, the second audio receiving apparatus 103 (observer) can normally feed back ACK/NACK to the audio source 101.
An exemplary electronic device 100 provided in embodiments of the present application is described below. The electronic device 100 may be implemented as the first audio receiving device mentioned in the above embodiments, which may be the first audio receiving device 101 in the wireless audio system 10 shown in fig. 1. The electronic device 100 may be generally used as an audio source (audio source), such as a mobile phone, a tablet computer, etc., and may transmit audio data to other audio sink (audio sink), such as an earphone, a sound box, etc., so that the other audio sink may convert the audio data into sound. In some scenarios, the electronic device 100 may also be used as an audio sink (audio sink) to receive audio data (e.g., audio data captured by a headset into which a user's spoken voice is converted) transmitted by another device audio source (e.g., a headset with a microphone).
Fig. 7A shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the electronic device 100.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110. The mobile communication module 150 may be implemented as one or more transceivers.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 may receive electromagnetic waves via the antenna 2, frequency modulate and filter the electromagnetic wave signal, and transmit the processed signal to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves. Illustratively, the wireless communication module 160 may include a Bluetooth module, a Wi-Fi module, and the like. The wireless communication module 160 may be implemented as one or more transceivers.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 may implement display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute instructions to generate or change display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) -1, MPEG-2, MPEG-3, MPEG-4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data such as music, photos, video, etc. are stored in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 100 to perform the data sharing method provided in some embodiments of the present application, and various functional applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage area may also store one or more application programs (e.g., gallery, contacts, etc.), etc. The storage data area may store data (e.g., photos, contacts, etc.) created during use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
Touch sensor 180K, which may also be referred to as a touch panel or touch sensitive surface. The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be attached to and detached from the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out from the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The electronic device 100 exemplarily illustrated in fig. 7A may display various user interfaces described in various embodiments below through the display screen 194. The electronic device 100 may detect a touch operation in each user interface through the touch sensor 180K, such as a click operation in each user interface (e.g., a touch operation on an icon, a double-click operation), an upward or downward sliding operation in each user interface, or an operation of performing a circle-making gesture, and so on. In some embodiments, the electronic device 100 may detect a motion gesture performed by the user holding the electronic device 100, such as shaking the electronic device, through the gyroscope sensor 180B, the acceleration sensor 180E, and so on. In some embodiments, the electronic device 100 may detect non-touch gesture operations through the camera 193 (e.g., 3D camera, depth camera).
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 7B is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in FIG. 7B, the application packages may include games, voice assistants, music players, video players, mailboxes, conversations, navigation, file browsers, and like applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 7B, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch operation, and taking a control corresponding to the touch operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer to start the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video by using the camera 193.
An exemplary audio receiving apparatus 300 provided in the embodiment of the present application is described below. The audio receiving apparatus 300 may be implemented as the first audio receiving apparatus or the second audio receiving apparatus mentioned in the above embodiments, and may be the first audio receiving apparatus 102 or the second audio receiving apparatus 103 in the wireless audio system 20 shown in fig. 4. The audio receiving apparatus 300 may be generally used as an audio sink (e.g., a headphone, a speaker), may transmit audio data to other audio sources (e.g., a mobile phone, a tablet computer, etc.), and may convert the received audio data into sound. In some scenarios, if a sound collection device such as a microphone/receiver is configured, the audio receiving apparatus 300 may also be used as an audio source (audio source) to transmit audio data (e.g., audio data converted from a user's speech collected by a headset) to an audio sink (e.g., a mobile phone) of another device.
Fig. 8 schematically shows a structure of an audio receiving apparatus 300 provided in the present application.
As shown in fig. 8, the audio receiving apparatus 300 may include a processor 302, a memory 303, a bluetooth communication processing module 304, a power supply 305, a wear detector 306, a microphone 307, and an electric/acoustic transducer 308. These components may be connected by a bus. Wherein:
processor 302 may be used to read and execute computer readable instructions. In particular implementations, processor 302 may primarily include a controller, an operator, and registers. The controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for executing fixed-point or floating-point arithmetic operation, shift operation, logic operation and the like, and can also execute address operation and conversion. The register is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In a Specific implementation, the hardware architecture of the processor 302 may be an Application Specific Integrated Circuits (ASIC) architecture, an MIPS architecture, an ARM architecture, or an NP architecture, for example.
In some embodiments, the processor 302 may be configured to parse signals received by the bluetooth communication processing module 304, such as signals encapsulating audio data, content control messages, flow control messages, and so forth. The processor 302 may be configured to perform corresponding processing operations according to the parsing result, such as driving the electric/acoustic converter 308 to start or pause or stop converting the audio data into sound, and so on.
In some embodiments, the processor 302 may also be configured to generate signals sent out by the bluetooth communication processing module 304, such as bluetooth broadcast signals, beacon signals, and audio data converted from collected sounds.
Memory 303 is coupled to processor 302 for storing various software programs and/or sets of instructions. In particular implementations, memory 303 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid state storage devices. The memory 303 may store an operating system, such as an embedded operating system like uCOS, VxWorks, RTLinux, etc. The memory 303 may also store communication programs that may be used to communicate with the electronic device 100, one or more servers, or additional devices.
The Bluetooth (BT) communication processing module 304 may receive signals transmitted by other devices, such as the electronic device 100, such as scanning signals, broadcast signals, signals encapsulating audio data, content control messages, flow control messages, and so forth. The Bluetooth (BT) communication processing module 304 may also transmit signals such as broadcast signals, scanning signals, signals encapsulating audio data, content control messages, flow control messages, and the like.
The power supply 305 may be used to power the processor 302, memory 303, bluetooth communication processing module 304, wear detector 306, electric/acoustic transducer 308, and other internal components.
The wear detector 306 may be used to detect a state in which the audio receiving device 300 is worn by the user, such as an unworn state, a worn state, and may even include a state of tightness of wear. In some embodiments, wear detector 306 may be implemented by one or more of a distance sensor, a pressure sensor, and the like. The wear detector 306 may transmit the detected wear status to the processor 302 so that the processor 302 may power up when the audio receiving device 300 is worn by the user and power down when the audio receiving device 300 is not worn by the user to save power consumption.
The microphone 307 may be used to collect sounds, such as the voice of a user speaking, and may output the collected sounds to the electric/acoustic transducer 308, so that the electric/acoustic transducer 308 may convert the sounds collected by the microphone 307 into audio data.
The electric/acoustic transducer 308 may be used to convert sound into an electrical signal (audio data), for example, convert sound collected by the microphone 307 into audio data, and may transmit the audio data to the processor 302. In this way, the processor 302 may trigger the Bluetooth (BT) communication processing module 304 to transmit the audio data. The electric/acoustic transducer 308 may also be used to convert electrical signals (audio data) into sound, for example, audio data output by the processor 302 into sound. The audio data output by the processor 302 may be received by a Bluetooth (BT) communication processing module 304.
It is to be understood that the configuration illustrated in fig. 8 does not constitute a specific limitation of the audio receiving apparatus 300. In other embodiments of the present application, the audio receiving device 300 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a wireless audio system provided by an embodiment of the present application. As shown in fig. 9, the wireless audio system 50 may include: an electronic device 51, a first audio receiving device 53 and a second audio receiving device 55. The electronic device 51 may be the audio source 101 mentioned in the various embodiments above. The first audio receiving device 53 and the second audio receiving device 55 may be a first audio receiving device 102 (participant), a second audio receiving device 103 (observer), respectively, in the wireless audio system 20 shown in fig. 4. The first audio receiving device 53 and the second audio receiving device 55 may be implemented as left and right earphones (or audio receiving devices such as a speaker), respectively.
A first wireless link 52 may be established between the first audio receiving device 53 and the second audio receiving device 55. A second wireless link 54 may be established between the first audio receiving device 53 and the electronic device 51. The first wireless link 52 and the second wireless link 54 may refer to the first wireless link 105 and the second wireless link 106 mentioned in the foregoing embodiments, respectively. No wireless link for transmitting audio data is established between the second audio receiving apparatus 55 and the electronic apparatus 51, and the second audio receiving apparatus 55 listens to the audio data transmitted by the electronic apparatus 51 to the first audio receiving apparatus 53 over the second wireless link 54 to receive the audio data. A third wireless link 56 for limited communication may be established between the second audio receiving device 55 and the electronic device 51. In some embodiments, the third wireless link 56 may be used only for the second audio receiving device 55 to feed back ACK/NACK to the electronic device 51 to tell whether or not audio data was successfully listened to. The third wireless link 56 may refer to the third wireless link 107 mentioned in the foregoing embodiment.
Wherein,
the electronic device 51 is operable to transmit audio data packets to the first audio receiving device 53 over the second wireless link 54.
Accordingly, the first audio receiving device 53 is operable to receive audio data packets transmitted by the electronic device 51 via the second wireless link 54. The first audio receiving device 53 may also be used to determine whether audio data packets transmitted by the electronic device 51 are successfully received over the second wireless link 54. The first audio receiving device 53 is further configured to feed back an ACK to the electronic device 51 through the second wireless link 54 if the audio data packet transmitted by the electronic device 51 is successfully received; otherwise, the first audio receiving device 53 may also be used to feed back a NACK to the electronic device 51 over the second wireless link 54.
Accordingly, the second audio receiving device 55 is operable to listen for audio data packets transmitted by the electronic device 51 over the second wireless link 54 to the first audio receiving device 53. The second audio receiving device 55 may also be used to determine whether or not the audio data packets transmitted by the electronic device 51 were successfully intercepted. The second audio receiving device 55 is further configured to feed back ACK for the audio data packet to the electronic device 51 through the third wireless link 56 if the audio data packet transmitted by the electronic device 51 is successfully intercepted; otherwise, the second audio receiving device 55 may also be configured to feed back a NACK for the audio data packet to the electronic device 51 over the third wireless link 56.
The electronic device 51 may also be configured to receive ACK/NACK fed back by the first audio receiving device 53 via the second wireless link 54 and to receive ACK/NACK fed back by the second audio receiving device 55 via the third wireless link 56. If the first audio receiving device 53 and the second audio receiving device 55 both feed back the ACK, the electronic device 51 continues to transmit the next audio data packet; otherwise the electronic device 51 retransmits the audio data packet.
The present embodiment may perform the division of the functional modules for the electronic device 51, the first audio receiving device 53, and the second audio receiving device 55 according to the above method examples, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
As shown in fig. 9, the electronic device 51 may include: a processing module 511 and a communication module 513. Wherein:
the communication module 513 may be configured to transmit the audio data packets to the first audio receiving device 53 via the second wireless link 54.
The communication module 513 may also be configured to receive ACK/NACK fed back by the first audio receiving device 53 through the second wireless link 54, and receive ACK/NACK fed back by the second audio receiving device 55 through the third wireless link 56.
The processing module 511 may be configured to determine whether the audio data packet is successfully received by the second wireless link 54 and the second audio receiving device 55 according to the feedback received by the communication module 513, and if the audio data packet is not successfully received, may be configured to retransmit the audio data packet through the communication module 513.
For specific implementation of each functional module included in the electronic device 51, reference may also be made to the foregoing method embodiments, and details are not described here again.
As shown in fig. 9, the first audio receiving apparatus 53 may include: a processing module 531 and a communication module 533. Wherein:
the communication module 513 may be configured to receive the audio data packets transmitted by the electronic device 51 through the second wireless link 54.
The processing module 531 may be configured to determine whether the audio data packet transmitted by the electronic device 51 is successfully received.
The communication module 513 may also be configured to feed back ACK/NACK to the electronic device 51 over the second wireless link 54. Specifically, if the audio data packet is successfully received, the communication module 513 may be configured to feed back an ACK to the electronic device 51 through the second wireless link 54; otherwise, the communication module 513 may be configured to feed back a NACK to the electronic device 51 over the second wireless link 54.
In some embodiments, the communication module 513 may also be configured to send communication information to the second audio receiving device 55 over the first wireless link 52. The communication information may be used for the second audio receiving device 55 to listen to audio data packets transmitted by the electronic device 51. For the specific implementation of the communication information, reference may be made to the foregoing method embodiments, which are not described herein again.
For specific implementation of each functional module included in the first audio receiving device 53, reference may also be made to the foregoing method embodiments, and details are not described here again.
As shown in fig. 9, the second audio receiving apparatus 55 may include: a processing module 551 and a communication module 553. Wherein:
the communication module 553 may be used to listen for audio data packets transmitted by the electronic device 51 to the first audio receiving device 53 over the second wireless link 54.
The processing module 531 may be configured to determine whether the audio data packet transmitted by the electronic device 51 is successfully intercepted.
The communication module 553 may also be configured to feed back the ACK/NACK to the electronic device 51 over the third wireless link 56. Specifically, if the audio data packet is successfully sensed, the communication module 513 may be configured to feed back an ACK to the electronic device 51 through the third wireless link 56; otherwise, the communication module 513 may be configured to feed back a NACK to the electronic device 51 over the third wireless link 56.
In some embodiments, the communication module 513 may also be configured to receive communication information sent by the second audio receiving device 55 over the first wireless link 52. The communication module 553 is specifically configured to listen to the audio data packet transmitted by the electronic device 51 according to the communication information. For the specific implementation of the communication information, reference may be made to the foregoing method embodiments, which are not described herein again.
For specific implementation of each functional module included in the second audio receiving device 55, reference may also be made to the foregoing method embodiments, and details are not described here again.
In the electronic device 51, the first audio receiving device 53, and the second audio receiving device 55, the processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 51 according to this embodiment may be a mobile phone, and the first audio receiving device 53 and the second audio receiving device 55 may be a left earphone and a right earphone, respectively.
Embodiments of the present application further provide a computer storage medium, where computer instructions are stored, and when the computer instructions are executed on an electronic device, the electronic device executes the above related method steps to implement the audio communication method described in fig. 5. An embodiment of the present application further provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on the first audio receiving device, the first audio receiving device executes the above related method steps to implement the audio communication method described in fig. 5. An embodiment of the present application further provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on a second audio receiving device, the second audio receiving device executes the above related method steps to implement the audio communication method described in fig. 5.
Embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the audio communication method described in fig. 5 executed by the electronic device in the above embodiments. Embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the audio communication method described in fig. 5 executed by the first audio receiving device in the above embodiments. Embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the audio communication method described in fig. 5 executed by the second audio receiving device in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to enable the chip to execute the audio communication method described in fig. 5, which is executed by the electronic device in the above-mentioned embodiments of the methods. Embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to enable the chip to execute the audio communication method described in fig. 5, which is executed by the first audio receiving device in the above-mentioned embodiments of the methods. Embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to enable the chip to execute the audio communication method described in fig. 5, which is executed by the second audio receiving device in the above-mentioned embodiments of the methods.
In this embodiment, various devices (the electronic device, the first audio receiving device, and the second audio receiving device), computer storage media, computer program products, or chips provided in this embodiment are all used to execute the corresponding methods provided in the foregoing, and therefore, the beneficial effects that can be achieved by the devices can refer to the beneficial effects in the corresponding methods provided in the foregoing, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Claims (24)
- The audio communication method based on the wireless audio system is characterized in that the wireless audio system comprises an audio source, a first audio receiving device and a second audio receiving device; the first audio receiving device and the second audio receiving device communicate with each other through a first wireless link, the first audio receiving device and the audio source communicate with each other through a second wireless link, and the second audio receiving device feeds back Acknowledgement (ACK) or non-acknowledgement (NACK) aiming at audio data packets to the audio source through a third wireless link; the method comprises the following steps:the second audio receiving device listens for audio data packets transmitted by the audio source to the first audio receiving device over the second wireless link;the second audio receiving device determining whether the audio data packet was successfully intercepted;if the audio data packet is successfully sensed, the second audio receiving device feeds back ACK aiming at the audio data packet to the audio source through the third wireless link; otherwise the second audio receiving device feeds back a NACK for the audio data packet to the audio source over the third wireless link.
- The method of claim 1, further comprising: and the second audio receiving device receives communication information sent by the first audio receiving device through the first wireless link, wherein the communication information is used for the second audio receiving device to listen to an audio data packet transmitted by the audio source to the first audio receiving device through the second wireless link.
- The method of claim 2, wherein the communication information comprises one or more of: the audio source comprises a Bluetooth device address BD _ ADDR and a local clock CLKN of the audio source, a logic transmission address LT _ ADDR and a clock offset of the second audio receiving device, and an encryption parameter of the second wireless link.
- The method of any of claims 1-3, wherein the audio data packet is transmitted in a first time slot, wherein the ACK/NACK for the audio data packet is transmitted in a second time slot, wherein the second time slot is consecutive with the first time slot, and wherein the second time slot is a first time slot after the first time slot.
- The method of any of claims 1-3, wherein the audio data packet includes stereo audio information for a first audio channel and stereo audio information for a second audio channel.
- The method of claim 5, further comprising: and if the audio data packet is successfully sensed, the second audio receiving device extracts the second audio channel data from the audio data packet.
- The method of any of claims 1-6, wherein the NACK for the audio data packet that the second audio receiving device feeds back to the audio source over the third wireless link carries identification information of the second audio receiving device.
- The audio communication method based on the wireless audio system is characterized in that the wireless audio system comprises an audio source, a first audio receiving device and a second audio receiving device; the first audio receiving device and the second audio receiving device communicate with each other through a first wireless link, the first audio receiving device and the audio source communicate with each other through a second wireless link, and the second audio receiving device feeds back Acknowledgement (ACK) or non-acknowledgement (NACK) aiming at audio data packets to the audio source through a third wireless link; the method comprises the following steps:the first audio receiving device receives audio data packets transmitted by the audio source through the second wireless link;if the audio data packet transmitted by the audio source is successfully received through the second wireless link, the first audio receiving device feeds back ACK aiming at the audio data packet to the audio source through the second wireless link;if the audio data packet transmitted by the audio source is not successfully received through the second wireless link, the first audio receiving device feeds back NACK for the audio data packet to the audio source through the second wireless link.
- The method of claim 8, further comprising: and the first audio receiving device sends communication information to the second audio receiving device through the first wireless link, wherein the communication information is used for the second audio receiving device to listen the audio data packet transmitted by the audio source to the first audio receiving device through the second wireless link.
- The method of claim 9, wherein the communication information comprises one or more of: the audio source comprises a Bluetooth device address BD _ ADDR and a local clock CLKN of the audio source, a logic transmission address LT _ ADDR and a clock offset of the second audio receiving device, and an encryption parameter of the second wireless link.
- The method of any of claims 8-10, wherein the audio data packet is transmitted in a first time slot, wherein the ACK/NACK transmission for the audio data packet is in a second time slot, wherein the second time slot is consecutive to the first time slot, and wherein the second time slot is a first time slot after the first time slot.
- The method of any of claims 8-11, wherein the audio data packet includes stereo audio information for a first audio channel and stereo audio information for a second audio channel.
- The method of claim 12, further comprising: if the audio data packet is successfully sensed, the first audio receiving device extracts the first audio channel data from the audio data packet.
- The method of any of claims 8-13, wherein the NACK for the audio data packet fed back by the first audio receiving device to the audio source over the second wireless link carries identification information of the first audio receiving device.
- The audio communication method based on the wireless audio system is characterized in that the wireless audio system comprises an audio source, a first audio receiving device and a second audio receiving device; the first audio receiving device and the second audio receiving device communicate with each other through a first wireless link, the first audio receiving device and the audio source communicate with each other through a second wireless link, and the second audio receiving device feeds back Acknowledgement (ACK) or non-acknowledgement (NACK) aiming at audio data packets to the audio source through a third wireless link; the method comprises the following steps:the audio source transmitting audio data packets to the first audio receiving device over the second wireless link;the audio source receives ACK/NACK for the audio data packet fed back by the first audio receiving device through the second wireless link;the audio source receives ACK/NACK for the audio data packet fed back by the second audio receiving equipment through the third wireless link;and if the NACK fed back by the first audio receiving equipment and aiming at the audio data packet is received through the second wireless link and/or the NACK fed back by the second audio receiving equipment and aiming at the audio data packet is received through the third wireless link, the audio source retransmits the audio data packet to the first audio receiving equipment through the second wireless link.
- The method of claim 15, wherein the audio data packet is transmitted in a first time slot, wherein the ACK/NACK transmission for the audio data packet is in a second time slot, wherein the second time slot is consecutive to the first time slot, and wherein the second time slot is a first time slot after the first time slot.
- The method of claim 15 or 16, wherein the audio data packet comprises stereo audio information for a first audio channel and stereo audio information for a second audio channel.
- The method of any one of claims 15-17, further comprising: and if the ACK fed back by the first audio receiving equipment and aiming at the audio data packet is received through the second wireless link and the ACK fed back by the second audio receiving equipment and aiming at the audio data packet is received through the third wireless link, the audio source transmits the next audio data packet of the audio data packet to the first audio receiving equipment through the second wireless link.
- The method of claim 18, further comprising: before transmitting a next audio data packet of the audio data packet to the first audio receiving device through the second wireless link, the audio source determines that the first audio receiving device and the second audio receiving device are a pair of audio receiving devices of the stereo audio information according to the identification information of the first audio receiving device carried in the ACK for the audio data packet fed back by the first audio receiving device and the identification information of the second audio receiving device carried in the ACK for the audio data packet fed back by the second audio receiving device.
- An electronic device, comprising: a transmitter and a receiver, a memory for storing instructions executable by the processor, and a processor coupled to the memory for invoking the instructions in the memory to perform the method of any one of claims 15-19.
- An audio receiving apparatus, comprising: a transmitter and a receiver, a memory for storing instructions executable by the processor, and a processor coupled to the memory for invoking the instructions in the memory to perform the method of any one of claims 1-7.
- An audio receiving apparatus, comprising: a transmitter and a receiver, a memory for storing instructions executable by the processor, and a processor coupled to the memory for invoking the instructions in the memory to perform the method of any one of claims 8-14.
- A communication system, comprising: a first audio receiving device and a second audio receiving device, wherein:the first audio receiving apparatus is the audio receiving apparatus of claim 22, and the second audio receiving apparatus is the audio receiving apparatus of claim 21.
- A communication system, comprising: an audio source, a first audio receiving device and a second audio receiving device, wherein:the audio source is the electronic device of claim 20, the first audio receiving device is the audio receiving device of claim 22, and the second audio receiving device is the audio receiving device of claim 21.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/126065 WO2020140186A1 (en) | 2018-12-31 | 2018-12-31 | Wireless audio system, and audio communication method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113678481A true CN113678481A (en) | 2021-11-19 |
CN113678481B CN113678481B (en) | 2023-12-15 |
Family
ID=71406503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880100565.3A Active CN113678481B (en) | 2018-12-31 | 2018-12-31 | Wireless audio system, audio communication method and equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113678481B (en) |
WO (1) | WO2020140186A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079537B (en) * | 2021-07-22 | 2023-09-12 | 珠海市杰理科技股份有限公司 | Audio packet loss data receiving method, device, audio playing equipment and system |
CN114915878A (en) * | 2022-04-28 | 2022-08-16 | 泰凌微电子(上海)股份有限公司 | Earphone communication method, system, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120058727A1 (en) * | 2010-09-02 | 2012-03-08 | Passif Semiconductor Corp. | Un-tethered wireless stereo speaker system |
CN108337074A (en) * | 2018-06-22 | 2018-07-27 | 恒玄科技(上海)有限公司 | The bluetooth headset wireless communications method of high reliability |
CN108419228A (en) * | 2018-02-09 | 2018-08-17 | 恒玄科技(上海)有限公司 | A kind of wireless communications method suitable for bluetooth headset |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015164287A1 (en) * | 2014-04-21 | 2015-10-29 | Uqmartyne Management Llc | Wireless earphone |
WO2018057524A1 (en) * | 2016-09-21 | 2018-03-29 | Apple Inc. | Real-time relay of wireless communications |
CN108901004A (en) * | 2018-08-08 | 2018-11-27 | 易兆微电子(杭州)有限公司 | A kind of method of synchronous transfer bluetooth headset |
-
2018
- 2018-12-31 WO PCT/CN2018/126065 patent/WO2020140186A1/en active Application Filing
- 2018-12-31 CN CN201880100565.3A patent/CN113678481B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120058727A1 (en) * | 2010-09-02 | 2012-03-08 | Passif Semiconductor Corp. | Un-tethered wireless stereo speaker system |
CN108419228A (en) * | 2018-02-09 | 2018-08-17 | 恒玄科技(上海)有限公司 | A kind of wireless communications method suitable for bluetooth headset |
CN108337074A (en) * | 2018-06-22 | 2018-07-27 | 恒玄科技(上海)有限公司 | The bluetooth headset wireless communications method of high reliability |
Also Published As
Publication number | Publication date |
---|---|
WO2020140186A1 (en) | 2020-07-09 |
CN113678481B (en) | 2023-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113228701B (en) | Audio data synchronization method and device | |
CN113169760B (en) | Wireless short-distance audio sharing method and electronic equipment | |
CN113169915B (en) | Wireless audio system, audio communication method and equipment | |
CN112399390B (en) | Bluetooth connection method and related device | |
CN112119641B (en) | Method and device for realizing automatic translation through multiple TWS (time and frequency) earphones connected in forwarding mode | |
WO2021129521A1 (en) | Bluetooth communication method and apparatus | |
CN111628916B (en) | Method for cooperation of intelligent sound box and electronic equipment | |
WO2021000817A1 (en) | Ambient sound processing method and related device | |
US20230189366A1 (en) | Bluetooth Communication Method, Terminal Device, and Computer-Readable Storage Medium | |
CN112740728B (en) | Bluetooth communication method and electronic equipment | |
CN110602312B (en) | Call method, electronic device and computer readable storage medium | |
KR20210019105A (en) | Data transmission method and electronic device | |
CN114398020A (en) | Audio playing method and related equipment | |
CN112469012A (en) | Bluetooth communication method and related device | |
WO2022257563A1 (en) | Volume adjustment method, and electronic device and system | |
CN111372329B (en) | Connection establishing method and terminal equipment | |
CN113678481B (en) | Wireless audio system, audio communication method and equipment | |
CN113132959B (en) | Wireless audio system, wireless communication method and device | |
CN114827098A (en) | Method and device for close shooting, electronic equipment and readable storage medium | |
WO2022267917A1 (en) | Bluetooth communication method and system | |
CN118057858A (en) | Data processing method, device and system | |
CN115712368A (en) | Volume display method, electronic device and storage medium | |
CN113973152A (en) | Unread message quick reply method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |