Audio playing device, method for receiving audio data and chip

By setting a processing nuclear in the first and second played parts of the audio playback equipment, and using the second transmission link to repost the audio data, the problem of the first played parts in the wireless audio playback device obtain the failure of audio data, improved the data, and improved the data. Transmission success rate and ability to adapt to high -width requirements.

CN119383754APending Publication Date: 2025-01-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310930235.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-26
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In the wireless audio playback device, when the first playback component fails to acquire audio data, the prior art may easily lead to data transmission failure and audio lag, and it is difficult to apply to scenarios with high broadband requirements.

Method used

Design a audio playback device, including the first played parts and the second playback component, each has a processing nuclear. For audio data obtained by the third processing link to the third transmission link, ensure that the first playback component can receive audio data in the case of failure, and simultaneously use another set of processing nuclear nuclear requests to re -transmit or receive new audio data.

Benefits of technology

The success rate of the first playback component receiving audio data is improved, and the data transmission failure and audio stuck are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383754A_ABST
    Figure CN119383754A_ABST
Patent Text Reader

Abstract

The invention provides audio playing equipment, a method for receiving audio data and a chip. The audio playing device comprises a first playing component and a second playing component, the first playing component comprises a first processing core and a second processing core, the second playing component comprises a third processing core and a fourth processing core, and the first processing core and the third processing core are both configured to acquire audio data from a first transmission link and transmit the audio data to a second transmission link. The first transmission link is used for connecting the audio playing device and the electronic device, the second processing core is configured to establish a second transmission link with the fourth processing core, and the audio playing device is configured to respond to the failure of the first processing core to acquire the audio data and the success of the third processing core to acquire the audio data. The fourth processing core is used for forwarding the audio data acquired by the third processing core to the second processing core through the second transmission link, so that the success rate of receiving the audio data by the first playing component is improved, the phenomenon of audio lagging caused by data transmission failure is effectively avoided, and the method and the device are suitable for scenes with high broadband requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and more specifically, to an audio playback device, a method for receiving audio data, and a chip. Background Art

[0002] With the popularity of wireless audio playback devices, consumers have higher and higher requirements for the playback quality of devices. Wireless audio playback devices usually include a first playback component and a second playback component, which need to obtain audio data of the electronic device and play the audio data at the same time to provide users with audio playback functions.

[0003] However, in the process of using the wireless audio playback device, the first playback component often fails to obtain audio data. The solution to the failure of the first playback component to obtain audio data in the related art has disadvantages, and data transmission failure and audio freeze are still prone to occur. Summary of the invention

[0004] The present application provides an audio playback device, a method for receiving audio data, and a chip. The following introduces various aspects involved in the embodiments of the present application.

[0005] In a first aspect, an audio playback device is provided, comprising: a first playback component and a second playback component, wherein the first playback component and the second playback component are both used to obtain audio data of an electronic device and play the audio data; wherein the first playback component comprises a first processing core and a second processing core, the second playback component comprises a third processing core and a fourth processing core, the first processing core and the third processing core are both configured to obtain the audio data from a first transmission link, the first transmission link is used to connect the audio playback device and the electronic device, the second processing core is configured to establish a second transmission link with the fourth processing core, and the audio playback device is configured to: in response to the first processing core failing to obtain the audio data and the third processing core succeeding in obtaining the audio data, use the fourth processing core to forward the audio data obtained by the third processing core to the second processing core via the second transmission link.

[0006] In a second aspect, a method for receiving audio data is provided, the method being applied to an audio playback device, the audio playback device comprising a first playback component and a second playback component, the first playback component comprising a first processing core and a second processing core, the second playback component comprising a third processing core and a fourth processing core, the method comprising: respectively acquiring the audio data from a first transmission link using the first processing core and the third processing core, the first transmission link being used to connect the audio playback device and the electronic device; in response to a failure of the first processing core to acquire the audio data and a success of the third processing core to acquire the audio data, utilizing the fourth processing core to forward the audio data acquired by the third processing core to the second processing core via the second transmission link.

[0007] In a third aspect, a chip is provided, the chip being arranged in an audio playback device, the chip comprising: a processor, configured to call and run a computer program from a memory, so that the audio playback device executes the method described in the second aspect.

[0008] The first playback component in the audio playback device provided by the embodiment of the present application has a first processing core and a second processing core, and the second playback component has a third processing core and a fourth processing core, wherein the first processing core and the third processing core are both configured to obtain audio data from a first transmission link connecting the audio playback device and the electronic device, and the second processing core is configured to establish a second transmission link with the fourth processing core, and the audio playback device can respond to the failure of the first processing core to obtain audio data and the success of the third processing core to obtain audio data, and use the fourth processing core to forward the audio data obtained by the third processing core to the second processing core via the second transmission link. This method can receive the audio data forwarded by the second playback component after the first playback component fails to receive audio data, improves the success rate of the first playback component receiving audio data, effectively avoids the phenomenon of data transmission failure and audio freeze, and is suitable for scenarios with high bandwidth requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A schematic diagram of an audio playback device and its application scenarios in the related art.

[0010] Figure 2 The diagram is a schematic diagram of another audio playback device and its application scenario in the related art.

[0011] Figure 3 This is a schematic diagram of an audio playback device and its application scenario in an embodiment of the present application.

[0012] Figure 4 A schematic diagram of an audio playback device and its application scenarios provided in an embodiment of the present application.

[0013] Figure 5A schematic diagram of an audio playback device and its application scenario provided in yet another embodiment of the present application.

[0014] Figure 6 A schematic diagram of the interactive process of transmitting audio data by an audio playback device provided in an embodiment of the present application.

[0015] Figure 7 A flowchart of a method for receiving audio data provided in an embodiment of the present application.

[0016] Figure 8 A schematic diagram of the structure of the chip provided in the embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to facilitate understanding of the present application, the present application is described in more detail below based on exemplary embodiments and in conjunction with the accompanying drawings. The same or similar reference numerals are used in the accompanying drawings to represent the same or similar modules. It should be understood that the accompanying drawings are only exemplary and the scope of protection of the present application is not limited thereto.

[0018] With the development of technology, the application of wireless audio playback devices is becoming more and more widespread. A wireless audio playback device may refer to an audio playback device including a first playback component and a second playback component. The first playback component and the second playback component may respectively obtain audio data of an electronic device and play audio at the same time to provide an audio playback function for the user. For example, the wireless audio playback device may be a Bluetooth headset or a Bluetooth speaker. Since the wireless audio playback device does not require a physical connection with the electronic device, the user experience is very good, especially when the wireless audio playback device is a Bluetooth headset, the user can listen to audio while avoiding the trouble caused by the entanglement of the physical connection.

[0019] The embodiment of the present application does not specifically limit the type of electronic device, as long as the electronic device has a wireless communication function and has the need to play audio. The electronic device can be, for example, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, an MP4 player terminal, an MP5 player terminal, a learning machine or an electronic dictionary and a smart watch and other terminal devices.

[0020] The first playback component and the second playback component can usually be used in pairs. Taking the wireless audio playback device as a Bluetooth headset as an example, the Bluetooth headset generally includes a pair of left earphones and right earphones. Among them, the left earphone and the right earphone are the first playback component and the second playback component mentioned above. Preferably, the wireless audio playback device can be a true wireless Bluetooth headset (truewireless studio, TWS). Since TWS headsets have high delay-related performance, good noise reduction performance and easy portability, they can be widely used in complex scenes such as subways, buses, airports, outdoors, offices, etc. and ensure the quality of games, music and calls.

[0021] Usually, one of the first playback component and the second playback component is a master playback component that establishes a wireless transmission link with the electronic device, and the other is a slave playback component. That is, when the first playback component is the master playback component, the second playback component is the slave playback component, and when the first playback component is the slave playback component, the second playback component is the master playback component.

[0022] Combine the following Figure 1 The audio playback device 10 in the related art and the method for the audio playback device 10 to obtain audio data are described in detail.

[0023] like Figure 1 As shown, the audio playback device 10 includes a main playback component (when the audio playback device is a Bluetooth headset, it can also be called a main headset) 11 and a slave playback component (when the audio playback device is a Bluetooth headset, it can also be called a slave headset) 12. The main playback component 11 in the audio playback device 10 is used to obtain and play audio data of the electronic device 20 through a wireless transmission link 110.

[0024] like Figure 2 As shown, the main playback component 11 generally has a processing core 111 (the processing core 111 may be marked as core0) for wireless communication and a transceiver 112. The processing core 111 may be used to establish a wireless transmission link 110 with the electronic device 20. The wireless transmission link 110 is used to transmit audio data of the electronic device 20. The transceiver 112 is used to receive audio data sent by the electronic device 20 from the wireless transmission link 110.

[0025] In order to enable the playback component 12 to synchronously obtain audio data, such as Figure 1As shown, the slave playback component 12 may also include a processing core 121 (the processing core 121 may also be marked as core0) and a transceiver 122. The master playback component 11 may transmit the relevant parameters of the wireless transmission link 110 to the slave playback component 12 through the wireless transmission link 120, so that the slave playback component 12 may monitor the wireless transmission link 110 through the processing core 121 using the relevant parameters of the wireless transmission link 110 and receive the monitored audio data through the transceiver 122.

[0026] In some embodiments, the processing core 111 and the processing core 121 may be Bluetooth cores, and the wireless transmission link 110 may be a Bluetooth transmission link. The Bluetooth transmission link may be used to transmit high-definition audio data at a lower power consumption, and is therefore very suitable for the transmission of audio data. The relevant parameters of the wireless transmission link 110 may be the Bluetooth address of the wireless transmission link 110, the encryption parameter information of the Bluetooth link of the wireless transmission link 110, the communication clock, etc.

[0027] The embodiment of the present application does not specifically limit the form of the wireless transmission link 120. For example, the wireless transmission link 120 may be a Bluetooth transmission link or a WiFi transmission link. The wireless transmission link 120 may be used only to transmit indication information or a response message. It should be noted that when the wireless transmission link 120 is a Bluetooth transmission link, the processing core 111 needs to disconnect the wireless transmission link 110 when establishing the wireless transmission link 120 with the processing core 121.

[0028] In the embodiment of the present application, the processing core 121 can be configured the same as the processing core 111. When the processing core 121 receives the relevant parameters of the wireless transmission link 110, it can disguise itself as the processing core 111 to receive the audio data on the wireless transmission link 110. The act of obtaining data by disguise is called monitoring. In this way, the slave playback component 12 can obtain the audio data transmitted from the electronic device 20 to the master playback component 11 on the wireless transmission link 110 without establishing a wireless transmission link with the electronic device 20.

[0029] When the slave playback component 12 successfully monitors the audio data, the slave playback component 12 may send confirmation information (the confirmation information may be a confirmation packet) to the main playback component 11 in the first time period to indicate that the slave playback component 12 has successfully received the audio data. The first time period may be between the end time of receiving the audio data from the main playback component 11 and the start time of replying to the electronic device 20. When the main playback component 11 successfully receives the audio data and receives the confirmation information sent by the slave playback component 12, the main playback component 11 may reply an ACK message to the electronic device 20, and the ACK message is used to indicate that both the main playback component 11 and the slave playback component 12 have successfully obtained the audio data. When the electronic device 20 receives the ACK message, the electronic device 20 does not need to retransmit the current audio data but is ready to send the next packet of audio data.

[0030] During the use of the wireless audio playback device, the first playback component (the first playback component can be the above-mentioned main playback component 11 or the slave playback component 12) often encounters the situation where the first playback component (the first playback component can be the above-mentioned main playback component 11 or the slave playback component 12) fails to obtain audio data. For example, when the wireless transmission link 110 is a Bluetooth transmission link, the Bluetooth wireless communication technology is easily interfered by other electromagnetic wave signals around. In particular, when Bluetooth uses the unlicensed ISM 2.4G frequency band, many devices also work in this frequency band, such as microwave ovens, cordless phones, infrared, wireless cameras, etc. Therefore, the Bluetooth signal on the wireless transmission link 110 at this time is easily interfered by surrounding signals. This interference will cause the first playback component to fail to obtain audio data. Or, due to the long distance between the electronic device 20 and the first playback component, the signal of the first playback component is weak, which causes the first playback component to fail to obtain audio data.

[0031] In the related art, the failure of the first playback component to obtain audio data can be manifested as the main playback component 11 replying a NAK message to the electronic device 20 or not replying any message. As an example, when the first playback component is the main playback component 11, the first playback component can directly reply a NAK message to the electronic device 20 after failing to obtain audio data through the above-mentioned wireless transmission link 110. As another example, when the first playback component is the slave playback component 12, after the first playback component fails to monitor the audio data of the above-mentioned wireless transmission link 110, the first playback component may not send the above-mentioned confirmation message to the second playback component (this time, the main playback component 11), and when the second playback component does not receive the confirmation message, it may reply a NAK message to the electronic device 20.

[0032] In an embodiment of the present application, the failure to obtain audio data may refer to the failure to receive audio data or the failure to successfully parse the original data from the audio data after the audio data is received. In some embodiments, the method of parsing the original data from the audio data may be to verify the received audio data by checking the received audio data to verify whether the received audio data is completely and correctly received. The verification method may be, for example, a cyclic redundancy check (CRC).

[0033] In order to enable the first playback component that failed to obtain audio data to successfully receive the audio data, in the related art, the electronic device 20 usually retransmits the audio data to the wireless transmission link 110 after receiving the NAK message, so that the first playback component continues to obtain the audio data from the wireless transmission link 110. The retransmission behavior will end until the electronic device 20 receives the ACK message replied by the audio playback device 10.

[0034] However, the disadvantage of using this method is that after the first playback component fails to receive the audio data, the audio data can only be retransmitted through the wireless transmission link 110 between the electronic device 20 and the main playback component. If the signal of the first playback component is relatively weak (for example, the electronic device 20 is located on one side of the user's body, and the first playback component is located on the opposite side), multiple retransmission requests will be required and the first playback component will fail to receive the audio data from the wireless transmission link 110 multiple times, which will cause repeated packet loss and retransmission and cause playback jams.

[0035] In order to solve the above problems, Figure 3 As shown, one feasible way is that after the first playback component fails to obtain the audio data and the second playback component succeeds in obtaining the audio data, the second playback component can be used to forward the audio data to the first playback component via the wireless transmission link 120. It should be understood that the wireless transmission link 120 and Figure 1 The wireless transmission link 120 is the same as that in FIG. Figure 3 The wireless transmission link 120 in the communication channel can transmit not only indication information or response messages, but also audio data.

[0036] As an example, when the first playback component is a slave playback component 12 and fails to monitor audio data, the second playback component serves as the master playback component 11 and can forward the audio data to the first playback component after successfully receiving the audio data. When the first playback component successfully receives the audio data forwarded by the second playback component, the first playback component can reply an ACK message to the second playback component, and after the second playback component receives the ACK message, it can reply an ACK message to the electronic device 20.

[0037] However, there are still disadvantages in using this method. Since both the main playback component 11 and the slave playback component 12 include a processing core, when using the wireless transmission link 120 to forward audio data to the first playback component, it is necessary to stop the wireless transmission link 110 between the electronic device 20 and the second playback component, and instead establish a wireless transmission link 120 between the second playback component and the first playback component. It sacrifices the air interface resources of the main playback component 11 to ensure the reception success rate of the slave playback component 12. This results in the main playback component 11 being unable to receive new audio data sent by the electronic device 20 when forwarding audio data to the slave playback component 12, and thus cannot be applied to scenarios with high bandwidth requirements, which is not conducive to high sound quality, high quality, or even lossless audio playback.

[0038] In addition, since this method relies on the signal of the second playback component, if the signal of the second playback component is poor, for example, the second playback component and the electronic device 20 are located on different sides of the user, then the audio data forwarded by the second playback component is still not easily received by the first playback component. Therefore, it will also cause the second playback component to frequently forward audio data and cause playback jams.

[0039] In summary, the solution to the failure of the first playback component to obtain audio data in the related art has disadvantages, cannot be used in scenarios with high bandwidth requirements, and is still prone to data transmission failure and audio freeze.

[0040] In order to solve the above problems, the embodiment of the present application proposes an audio playback device, which has two sets of processing cores in the audio playback device. The two sets of processing cores can work independently without interfering with each other. Therefore, when the first playback component fails to receive audio data and the second playback component receives successfully, one of the processing cores can be used to forward the successfully received audio data. In addition, the other set of processing cores can also be used to request retransmission of audio data or receive new audio data. This method can be applied to scenarios with high bandwidth requirements and can improve the success rate of the first playback component receiving audio data, effectively avoiding the phenomenon of data transmission failure and audio freeze.

[0041] Combine the following Figure 4 and Figure 5 , the audio playback device 40 provided in an embodiment of the present application is described in detail.

[0042] like Figure 4 and Figure 5 As shown, the audio playback device 40 includes a first playback component 41 and a second playback component 42. The first playback component 41 and the second playback component 42 are both used to obtain audio data of the electronic device 20 and can play the audio data simultaneously. Among them, one of the first playback component 41 and the second playback component 42 is a main playback component, and the other is a slave playback component. For example, in Figure 4 In the embodiment, the first playback component 41 is a slave playback component, and the second playback component 42 is a master playback component. Figure 5 In the embodiment, the first playback component 41 is a master playback component, and the second playback component 42 is a slave playback component.

[0043] The main playback component may refer to a playback component that directly establishes the first transmission link 410 with the electronic device 20. In other words, the first transmission link 410 is used to connect the main playback component and the electronic device 20. The slave playback component may refer to a playback component that can monitor the first transmission link 410 without directly establishing a transmission link with the electronic device 20.

[0044] like Figure 4 and Figure 5 As shown, the first playback component 41 may include a first processing core 411 and a second processing core 412. The first processing core 411 and the second processing core 412 may both be processors responsible for establishing a wireless link, for example, the first processing core 411 and the second processing core 412 may both be Bluetooth cores. In some embodiments, the first processing core 411 and the second processing core 412 may be transmitted based on different Bluetooth protocols, so the first processing core 411 and the second processing core 412 may work independently without affecting each other.

[0045] In some embodiments, the first playback component 41 may further include a first controller 413, a first transceiver terminal 414, and a second transceiver terminal 415. The first processing core 411 is connected to the first controller 413 and the first transceiver terminal 414, respectively, and the second processing core 415 is connected to the first controller 414 and the second transceiver terminal 415, respectively. The first controller 413 is used to control the clock frequency synchronization of the first processing core 411 and the second processing core 412.

[0046] In order to facilitate the cooperation between the second playback component 42 and the first playback component 41 , the second playback component 42 may include a third processing core 421 and a fourth processing core 422 .

[0047] Among them, the third processing core 421 can work with the first processing core 411 based on the first communication protocol, and the third processing core 421 and the first processing core 411 are both configured to obtain audio data from the first transmission link 410. Specifically, one of the first processing core 411 and the third processing core 421 is configured to establish the first transmission link 410 with the electronic device 20 to obtain audio data. And the other of the first processing core 411 and the third processing core 421 is configured to obtain audio data by monitoring the first transmission link 410. As to which one of the first processing core 411 and the third processing core 421 is configured to establish the first transmission link 410 with the electronic device 20 depends on whether the main playback component is the first playback component 41 or the second playback component 42. Among them, the first processing core 411 and the third processing core 421 can both be marked as core0.

[0048] The fourth processing core 422 can work with the second processing core 412 based on the second communication protocol. The first communication protocol and the second communication protocol can be, for example, Bluetooth protocols. Specifically, one of the second processing core 412 and the fourth processing core 422 is configured to establish a second transmission link 420 with the other based on the second communication protocol to connect the first playback component 41 and the second playback component 42.

[0049] The audio playback device 40 can be configured to respond to the failure of the first playback component 41 to obtain audio data and the success of the second playback component 42 to obtain audio data (specifically, it can be in response to the failure of the first processing core 411 to obtain audio data and the success of the third processing core 421 to obtain audio data), and can use the fourth processing core 422 to forward the audio data obtained by the third processing core 421 to the second processing core 412 via the second transmission link 420.

[0050] In some embodiments, the audio playback device 40 may also be configured to, in response to the failure of the first playback component 41 to obtain audio data and the success of the second playback component 42 to obtain audio data, request the electronic device 20 to send audio data through the first transmission link 410 using the first processing core 411 or the third processing core 421. The audio data sent by the electronic device 20 through the first transmission link 410 may be the audio data lost by the first playback component 41 and retransmitted by the electronic device 20. Alternatively, in other embodiments, the audio data sent by the electronic device 20 through the first transmission link 410 may also be new audio data sent by the electronic device 20.

[0051] The first transmission link 410 and the second transmission link 420 are independent transmission links. The first transmission link 410 is used to connect the audio playback device 40 and the electronic device 20 , and the second transmission link 420 is used to connect the first playback component 41 and the second playback component 42 .

[0052] Preferably, in response to the failure of the first processing core 411 to obtain audio data and the success of the third processing core 421 to obtain audio data, the fourth processing core 422 can be used to obtain the retransmitted audio data from the first transmission link 410 to the first processing core 411 via the second transmission link 420, and the second processing core 412 can be used to receive the audio data forwarded by the fourth processing core 422. By increasing the way for the first playback device 41 to obtain audio data, the success rate of the first playback device 41 in obtaining audio data can be improved.

[0053] As an example, Figure 4 As shown, when the first playback component 41 is a slave playback component and the second playback component 42 is a master playback component, the second playback component 42 is used to establish a first transmission link with the electronic device 20 and a second transmission link 420 with the first playback component 41, so as to forward the audio data to the second processing core 412 through the second transmission link 420. Specifically, the third processing core 421 is configured to establish a first transmission link 410 with the electronic device 20 and the third processing core 421 receives the audio data sent by the electronic device 20 through the first transmission link 410. The fourth processing core 422 is configured to establish a second transmission link 420 with the second processing core 412. The first processing core 411 is configured to monitor the first transmission link 410 and obtain the audio data on the first transmission link 410 through monitoring. If the monitoring is successful, the first processing core 411 can send a confirmation packet (for example, the confirmation packet can be a page packet) to the third processing core 421.

[0054] As another example, Figure 5 As shown, when the first playback component 41 is the main playback component and the second playback component 42 is the slave playback component, the first processing core 411 is configured to establish a first transmission link 410 with the electronic device 20 and obtain audio data from the first transmission link 410. The second processing core 412 is configured to establish a second transmission link 420 with the fourth processing core 422. The third processing core 421 is configured to monitor the first transmission link 410 and obtain audio data on the first transmission link 410 through monitoring. If the monitoring is successful, the third processing core 421 can send a confirmation packet to the first processing core 411 (for example, the confirmation packet can be a page packet).

[0055] In the embodiment of the present application, in order to avoid interference between the first transmission link 410 and the second transmission link 420, the transmission frequency band of the first transmission link is a first frequency band, and the transmission frequency band of the second transmission link is a second frequency band, and the first frequency band is different from the second frequency band.

[0056] As an example, the first transmission link 410 and the second transmission link 420 can both be independent Bluetooth transmission links, the difference being that the transmission frequency band of the first transmission link 410 is the first frequency band in the Bluetooth frequency band, the transmission frequency band of the second transmission link 420 is the second frequency band in the Bluetooth frequency band, and the first frequency band and the second frequency band are different. The Bluetooth frequency band can specifically be 2.4-2.5 GHz. The first frequency band and the second frequency band can be different frequency bands taken from 2.4-2.5 GHz.

[0057] As another example, the first transmission link 410 may be a Bluetooth transmission link, whose transmission frequency band is a first frequency band, for example, any frequency band in the range of 2.4-2.5 GHz. The second transmission link 420 is a non-Bluetooth transmission frequency band different from the first frequency band. The non-Bluetooth transmission frequency band may be any frequency band other than 2.4-2.5 GHz. For example, the non-Bluetooth transmission frequency band may be any one of the following wireless transmission links: a wireless fidelity network transmission link, a wireless local area network transmission link, and a peer-to-peer network transmission link. In some embodiments, the non-Bluetooth frequency band may be lower than 1 GHz, for example, the non-Bluetooth frequency band is 800 MHz.

[0058] In some embodiments, the non-Bluetooth transmission frequency band of the second transmission link 420 may be converted through a Bluetooth frequency band. For example, a frequency conversion unit may be provided in the first playback component and / or the second playback component. The frequency conversion unit is configured to convert the second frequency band from a Bluetooth frequency band to a non-Bluetooth frequency band. For example, the frequency conversion unit may be a frequency generating unit (Frequency Generate Unit, FGU). Using the frequency generating unit, the transmission frequency band of the second transmission link 420 may be converted from a Bluetooth frequency band to a non-Bluetooth frequency band while continuing to use the second processing core 412 and the fourth processing core 422 as Bluetooth cores.

[0059] In some embodiments, Figure 4-5 As shown, the second playback component 42 may further include a second controller 423, a third transceiver terminal 424, and a fourth transceiver terminal 425. The third processing core 421 is connected to the second controller 423 and the third transceiver terminal 424, respectively, and the fourth processing core 422 is connected to the second controller 423 and the fourth transceiver terminal 425, respectively. The second controller 423 is used to control the clock frequency synchronization of the third processing core 421 and the fourth processing core 422. In the embodiment of the present application, the first controller 413 and / or the second controller 423 may be a microcontroller unit (MCU).

[0060] Furthermore, the first controller 413 and the second controller 423 are configured to control the clock frequency synchronization of the first processing core 411, the second processing core 412, the third processing core 421 and the fourth processing core 425. By providing two sets of processing cores working in pairs in the first playback component 41 and the second playback component 42 and two controllers for controlling the two sets of processing cores, the clock frequency synchronization of each processing core can be achieved more easily, thereby avoiding the delay in the data transmission process.

[0061] It should be noted that, since the first processing core 411 and the second processing core 412 are both in the first playback component 41, the first processing core 411 and the second processing core 412 can interact with each other. Similarly, the third processing core 421 and the fourth processing core 422 can also interact with each other. For example, the first processing core 411 and the second processing core 412 can interact with each other through the controller 413, and the third processing core 421 and the fourth processing core 422 can interact with each other through the controller 423.

[0062] The audio playback device 40 in the embodiment of the present application can obtain audio data for the first playback component 41 through two channels at the same time after its first playback component 41 fails to obtain audio data. Therefore, the success rate of the first playback component in receiving audio data is improved, and the phenomenon of data transmission failure and audio freeze is effectively avoided.

[0063] The embodiment of the present application does not specifically limit the interaction process among the first playback component 41, the second playback component 42 and the electronic device 20, as long as it is possible to send audio data to the first playback component 41 through the second playback component 42 and the electronic device 20 simultaneously after the first playback component 41 fails to obtain audio data.

[0064] In addition, as described above, one of the first playback component 41 and the second playback component 42 in the embodiment of the present application is a master playback component, and the other is a slave playback component. In order to facilitate understanding of the interaction process between the first playback component 41 and the second playback component 42 and the electronic device 20, the interaction process is exemplarily described below from the perspective of the master playback component and the slave playback component.

[0065] It should be noted that the main playback component includes processing core 0 (or core0) and processing core 1 (or core1), and the slave playback component also includes processing core 0 (or core0) and processing core 1 (or core1). When the first playback component 41 is the main playback component, the processing core 0 of the main playback component is the first processing core 411, the processing core 1 of the main playback component is the second processing core 412, the processing core 0 of the slave playback component is the third processing core 421, and the processing core 1 of the slave playback component is the fourth processing core 422. When the first playback component 42 is the slave playback component, the processing core 0 of the main playback component is the third processing core 421, the processing core 1 of the main playback component is the fourth processing core 422, the processing core 0 of the slave playback component is the first processing core 411, and the processing core 1 of the slave playback component is the second processing core 412.

[0066] Combine the following Figure 6 The interaction process between the main playback component, the slave playback component and the electronic device is exemplarily described.

[0067] like Figure 6 As shown, the interaction process when both the main playback component and the slave playback component successfully obtain the audio data P0 is as follows:

[0068] 1. The electronic device sends through the transmitting port TX (the sending behavior is Figure 6 Marked as T) audio data P0 is given to the main playback component.

[0069] 2. The processing core 0 of the main playback component opens the receiving end RX window at the agreed time point to receive (the receiving behavior is Figure 6 At the same time, the processing core 0 of the slave playback component opens the receiving end RX window at the same agreed time point to monitor (the monitoring behavior is in Figure 6 The electronic device (marked as M) sends audio data P0 to the main playback component.

[0070] 3. After successfully monitoring the audio data P0, the processing core 0 of the slave playback component sends a page packet before the next transmission time slot of the transmitting end TX of the audio playback device 40 ( Figure 6 Marked as P) to the main playback component.

[0071] 4. When the main playback component receives the page packet from the processing core 0 and successfully demodulates the audio data P0 sent by the electronic device, the main playback component replies to the electronic device with an ACK message in the transmission time slot of the transmitter TX ( Figure 6 When the ACK message is received by the electronic device, it indicates that a successful audio data P0 transmission / interaction has been completed.

[0072] Continue to see Figure 6The interaction process when the main playback component successfully receives the audio data P1 and the slave playback component fails to monitor the audio data P1 is as follows:

[0073] 1. Failed to listen from the processing core 0 of the playback component (failed to listen in Figure 6 If the page packet is marked with a cross in the M, the page packet will not be sent (the behavior of not sending is in Figure 6 The box marked with dotted lines in the figure) is given to the processing core 0 of the main playback component.

[0074] 2. After the processing core 0 of the main playback component successfully receives the audio data P1 but fails to receive the page packet, it will use the processing core 0 of the main playback component to reply a NAK message to the electronic device in the next time slot of the transmitter TX of the main playback component ( Figure 6 Marked as N), and at the same time forwarding the audio data P1 to the processing core 1 of the slave playback component through the processing core 1 of the master playback component.

[0075] 3. After the electronic device successfully receives the NAK message sent by the processing core 0 of the main playback component, it can retransmit the audio data P1 to the processing core 0 of the main playback component in the next time slot of the transmitter TX of the electronic device, so that the processing core 0 of the slave playback component can continue to monitor the audio data P1.

[0076] 4. If the processing core 0 of the slave playback component successfully monitors the retransmitted audio data P1, the processing core 0 of the slave playback component can send a page packet to the processing core 0 of the main playback component. If the processing core 1 of the slave playback component successfully receives the audio data P1 forwarded by the processing core 1 of the main playback component, the processing core 1 of the slave playback component can send an ACK message to the processing core 1 of the main playback component. When the main playback component receives any one of the page packet and the ACK message, the processing core 0 of the main playback component can reply to the electronic device with an ACK message in the transmission time slot of the transmitter TX. However, if the main playback component does not receive the page packet and the ACK message, the processing core 0 of the main playback component can reply to the electronic device with a NAK message in the transmission time slot of the transmitter TX.

[0077] When the acquisition of audio data from the playback component in the embodiment of the present application fails and the acquisition of audio data by the main playback component succeeds, the audio data retransmitted by the electronic device can be continuously monitored by the processing core 0 of the playback component and the audio data forwarded by the main playback component can be received by the processing core 1 of the playback component. As long as any one of the ways can make the reception of the slave playback component successful, the electronic device can stop retransmitting. In addition, since the main playback component has successfully received the audio data during the first transmission of the audio data, even in the scenario where the electronic device retransmits the audio data after the failure of the slave playback component to monitor, even if the main playback component does not successfully receive the retransmitted audio data, as long as the slave playback component successfully receives the audio data, the electronic device does not need to retransmit again. Therefore, the success rate of receiving audio data from the playback component is improved, and the phenomenon of data transmission failure and audio jamming is effectively avoided.

[0078] Continue to see Figure 6 , the interaction process when the main playback component fails to receive the audio data P2 and the slave playback component successfully monitors the audio data P2 is as follows:

[0079] 1. The processing core 0 of the main playback component fails to receive audio data P2 ( Figure 6 (marked with a cross in P).

[0080] 2. After the processing core 0 of the slave playback component successfully monitors the audio data P2 on the first transmission link, it sends a page packet to the processing core 0 of the master playback component before the next transmission time slot of the transmitter TX of the audio playback device 40.

[0081] 3. After the processing core 0 of the main playback component receives the page packet, the processing core 0 of the main playback component replies a NAK message to the electronic device. At the same time, the processing core 1 of the main playback component sends a request forwarding message to the processing core 1 of the slave playback component (for example, Figure 6 The request forwarding message in may be, for example, a poll packet. Figure 6 Marked as po in the figure).

[0082] 4. After the electronic device successfully receives the NAK message sent by the processing core 0 of the main playback component, it can retransmit the audio data P2 on the first transmission link in the next time slot of the transmitter TX of the electronic device, so that the processing core 0 of the main playback component receives the audio data P2. At the same time, after the processing core 1 of the slave playback component receives the forwarding request message, the processing core 1 of the slave playback component can forward the audio data P2 to the processing core 1 of the main playback component through the second transmission link in the next time slot.

[0083] 5. When the main playback component receives the audio data P2 in any of the two ways (the audio data P2 forwarded by the processing core 1 of the main playback component and the audio data P2 retransmitted by the electronic device received by the processing core 0 of the main playback component), the processing core 0 of the main playback component can reply an ACK message to the electronic device to indicate that the audio data P2 is received successfully.

[0084] When the main playback component in the embodiment of the present application fails to obtain audio data and successfully obtains audio data from the playback component, the main playback component processing core 0 can simultaneously request retransmission and receive the retransmitted audio data from the electronic device, and the main playback component processing core 1 can request forwarding of audio data from the playback component processing core 1. As long as any one of these approaches can enable the main playback component to receive successfully, the electronic device can stop retransmission.

[0085] Continue to see Figure 6 The interaction process when the main playback component fails to receive the audio data P3 and the slave playback component fails to monitor the audio data P3 is as follows:

[0086] 1. The processing core 0 of the main playback component fails to receive the audio data P3 and the processing core 0 of the slave playback component fails to monitor the audio data P3, and the processing core 0 of the slave playback component does not send the page packet to the processing core 0. At this time, there will be no forwarding process between the main playback component and the slave playback component.

[0087] 2. The processing core 0 of the main playback component replies a NAK message to the electronic device.

[0088] 3. After receiving the NAK message, the electronic device retransmits the audio data P3 to the first transmission link.

[0089] 4. The processing core 0 of the main playback component receives the audio data P3, and the processing core 0 of the slave playback component monitors the audio data P3. The process of audio data P0, audio data P1, audio data P2 or audio data P3 is repeated according to the results of receiving and monitoring.

[0090] It should be understood that the processing core 0 of the main playback component mentioned above replies to the NAK message to the electronic device based on the fact that the audio playback device 40 can receive the message about the audio data from the electronic device, but the reception is incomplete or erroneous, resulting in a CRC check error, thereby triggering the reply of the NAK message to the electronic device.

[0091] In some embodiments, due to strong interference or long distance, the signal at the audio playback device 40 end is extremely weak. At this time, the audio playback device 40 may not be able to receive any information at all, and thus cannot reply to the NAK message of the electronic device 20. In order to ensure that the audio playback device 40 can receive the audio data, the electronic device 20 can automatically trigger the process of retransmitting the audio data after not receiving any message from the audio playback device 40 within a preset time.

[0092] By using the audio playback device in the embodiment of the present application, after the main playback device or the slave playback device fails to obtain audio data, the audio data forwarded by the playback device on the opposite side can be received while the audio data retransmitted by the electronic device can be received, which effectively improves the success rate of data transmission and solves the problem of audio data failure and audio freeze caused by the difference in signal between the playback devices on both sides during actual use. In particular, when the electronic device and one earphone are on the same side of the user, and the other earphone is on the opposite side of the user, the use of the audio playback device in the embodiment of the present application can effectively avoid the problem of signal attenuation of the other earphone caused by the user's body.

[0093] In some embodiments, since the audio playback device 40 in the embodiment of the present application has two sets of processing cores, the main playback component or one of the slave playback components in the audio playback device 40 can receive new audio data from the electronic device 20 while receiving audio data forwarded by the other.

[0094] For example, in the scheme described above in which the audio data retransmitted by the electronic device and the audio data forwarded by the opposite-side playback component are simultaneously received after the playback component on one side fails to receive the audio data, if the audio playback device 40 determines that the forwarded audio data is successfully received after multiple retransmissions or the forwarded audio data can be received after multiple retransmissions within a preset time, then when the playback component on one side fails to receive the audio data, only the playback component on the opposite side can be used to forward the audio data, and the electronic device can be used to transmit the new audio data. In this way, the air interface resources and time from the electronic device 20 to the audio playback device 40 can be effectively utilized, and the utilization rate of the broadband can be improved. It is particularly suitable for the transmission of high-quality audio.

[0095] Combination of the above Figures 1 to 6 , describes in detail the device embodiment of the present application. Figure 7 , the method embodiment of the present application is described in detail. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the parts not described in detail can refer to the previous device embodiment.

[0096] Figure 7 A flowchart of a method for receiving audio data provided in an embodiment of the present application. Figure 7The method can be performed by any audio device described above. The audio playback device includes a first playback component and a second playback component, the first playback component includes a first processing core and a second processing core, and the second playback component includes a third processing core and a fourth processing core.

[0097] See Figure 7 , the method 700 for receiving audio data includes step S710 and step S720.

[0098] In step S710: the first processing core and the third processing core are used to obtain the audio data from a first transmission link respectively. The first transmission link is used to connect the audio playback device and the electronic device.

[0099] In step S720: in response to the first processing core failing to acquire the audio data and the third processing core succeeding in acquiring the audio data, the fourth processing core is used to forward the audio data acquired by the third processing core to the second processing core via the second transmission link.

[0100] Optionally, the method further includes: in response to the first processing core failing to acquire the audio data and the third processing core successfully acquiring the audio data, using the first processing core or the third processing core to request the electronic device to send audio data through the first transmission link.

[0101] Optionally, the transmission frequency band of the first transmission link is a first frequency band, the transmission frequency band of the second transmission link is a second frequency band, and the first frequency band is different from the second frequency band.

[0102] Optionally, the method further includes: utilizing one of the first processing core and the third processing core to establish the first transmission link with the electronic device; utilizing the other of the first processing core and the third processing core to monitor the first transmission link.

[0103] Optionally, the first playback component includes a first controller, the second playback component includes a second controller, and the method further includes: using the first controller to connect to the first processing core and the second processing core; using the second controller to connect to the third processing core and the fourth processing core; using the first controller and the second controller to cooperate in controlling the clock frequency synchronization of the first processing core, the second processing core, the third processing core and the fourth processing core.

[0104] Optionally, the first playback component and / or the second playback component comprises a frequency conversion unit, and the method further comprises: using the frequency conversion unit to convert the second frequency band from a Bluetooth frequency band to a non-Bluetooth frequency band.

[0105] Optionally, the first transmission link is a Bluetooth transmission link, and / or the second transmission link is any one of the following wireless transmission links: a Bluetooth transmission link, a wireless fidelity network transmission link, a wireless local area network transmission link, and a peer-to-peer network transmission link.

[0106] Optionally, the audio playback device is a Bluetooth headset, one of the first playback component and the second playback component is a master headset, and the other is a slave headset.

[0107] like Figure 8 As shown, a chip 800 is also provided in the embodiment of the present application. The chip 800 is arranged in the audio playback device 40. The chip 800 includes a processor 810. The processor 810 can be used to call and run a computer program from a memory, so that the audio playback device 40 performs the method described in the above method embodiment. It can be understood that the processor can be any type of processor mentioned above. It can be understood that the memory can be independent of the chip or integrated in the chip.

[0108] The embodiment of the present application also provides a machine-readable storage medium for storing a program, and the program enables a computer to execute the method in each embodiment of the present application.

[0109] The embodiment of the present application also provides a computer program product. The computer program product includes a program. The program enables a computer to execute the method in each embodiment of the present application.

[0110] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0111] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0112] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0115] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)) or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0116] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An audio playback device, characterized in that: include: A first playing component and a second playing component, wherein the first playing component and the second playing component are both used to obtain audio data of the electronic device and play the audio data; Among them, the first playback component includes a first processing core and a second processing core, the second playback component includes a third processing core and a fourth processing core, the first processing core and the third processing core are both configured to obtain the audio data from a first transmission link, the first transmission link is used to connect the audio playback device and the electronic device, the second processing core is configured to establish a second transmission link with the fourth processing core, and the audio playback device is configured to: in response to the failure of the first processing core to obtain the audio data and the success of the third processing core to obtain the audio data, use the fourth processing core to forward the audio data obtained by the third processing core to the second processing core via the second transmission link.

2. The playback device according to claim 1, characterized in that The audio playback device is further configured to: in response to the first processing core failing to acquire the audio data and the third processing core succeeding in acquiring the audio data, utilize the first processing core or the third processing core to request the electronic device to send audio data through the first transmission link.

3. The audio playback device according to claim 1, characterized in that: The transmission frequency band of the first transmission link is a first frequency band, the transmission frequency band of the second transmission link is a second frequency band, and the first frequency band is different from the second frequency band.

4. The audio playback device according to claim 1, characterized in that: One of the first processing core and the third processing core is configured to establish the first transmission link with the electronic device, and the other of the first processing core and the third processing core is configured to monitor the first transmission link.

5. The audio playback device according to claim 1, characterized in that: The first playback component includes a first controller, which is connected to the first processing core and the second processing core. The second playback component includes a second controller, which is connected to the third processing core and the fourth processing core. The first controller and the second controller are configured to control the clock frequency synchronization of the first processing core, the second processing core, the third processing core and the fourth processing core.

6. The audio playback device according to claim 3, characterized in that: The first playing component and / or the second playing component comprises a frequency conversion unit, and the frequency conversion unit is configured to convert the second frequency band from a Bluetooth frequency band to a non-Bluetooth frequency band.

7. The audio playback device according to claim 1, characterized in that: The first transmission link is a Bluetooth transmission link, and / or the second transmission link is any one of the following wireless transmission links: a Bluetooth transmission link, a Wireless Fidelity network transmission link, a Wireless Local Area Network transmission link, and a Peer-to-Peer network transmission link.

8. The audio playback device according to claim 1, characterized in that: The audio playback device is a Bluetooth headset, one of the first playback component and the second playback component is a master headset, and the other is a slave headset.

9. A method for receiving audio data, characterized in that: The method is applied to an audio playback device, the audio playback device includes a first playback component and a second playback component, the first playback component includes a first processing core and a second processing core, the second playback component includes a third processing core and a fourth processing core, the method includes: respectively using the first processing core and the third processing core to obtain the audio data from a first transmission link, where the first transmission link is used to connect the audio playback device and the electronic device; In response to the first processing core failing to acquire the audio data and the third processing core succeeding in acquiring the audio data, the fourth processing core is used to forward the audio data acquired by the third processing core to the second processing core via the second transmission link.

10. The method according to claim 9, characterized in that The method further comprises: In response to the first processing core failing to acquire the audio data and the third processing core succeeding in acquiring the audio data, the first processing core or the third processing core is used to request the electronic device to send the audio data through the first transmission link.

11. The method according to claim 9, characterized in that The transmission frequency band of the first transmission link is a first frequency band, the transmission frequency band of the second transmission link is a second frequency band, and the first frequency band is different from the second frequency band.

12. The method according to claim 9, characterized in that The method further comprises: Using one of the first processing core and the third processing core to establish the first transmission link with the electronic device; The first transmission link is monitored using the other of the first processing core and the third processing core.

13. The method according to claim 9, characterized in that The first playback component includes a first controller, the second playback component includes a second controller, and the method further includes: Using the first controller to connect with the first processing core and the second processing core; Using the second controller to connect with the third processing core and the fourth processing core; The first controller and the second controller cooperate to control the clock frequency synchronization of the first processing core, the second processing core, the third processing core, and the fourth processing core.

14. The method according to claim 11, characterized in that The first playback component and / or the second playback component comprises a frequency conversion unit, and the method further comprises: The frequency conversion unit is used to convert the second frequency band from a Bluetooth frequency band to a non-Bluetooth frequency band.

15. A chip, characterized in that: The chip is arranged in an audio playing device, and the chip comprises: A processor, configured to call and run a computer program from a memory, so that the audio playback device executes the method as described in any one of claims 9 to 14.