Device, method and chip for transmitting audio data

By using the first processing core and the second processing core to establish transmission links respectively in the device for transmitting audio data, the problem of insufficient audio data transmission capability in the prior art is solved, and high-speed and stable transmission of high-definition lossless audio data is achieved.

CN119629772AActive Publication Date: 2025-03-14GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311193459.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-14
Publication Date
2025-03-14
Estimated Expiration
2043-09-14

AI Technical Summary

Technical Problem

In the prior art, the transmission capability of the device transmitting audio data is limited, and it is difficult to achieve high-speed and stable transmission of high-definition lossless audio data, resulting in poor playback quality of the audio playback device.

Method used

A device for transmitting audio data is provided, including a first processing core and a second processing core, and a first transmission link and a second transmission link are established based on the first physical layer and the second physical layer respectively, for transmitting the first channel audio data and the second channel audio data respectively.

Benefits of technology

By transmitting audio data through two transmission links at the same time, the transmission bandwidth and rate of audio data are improved, playback lag is avoided, and high-speed and stable transmission of high-definition lossless audio data is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629772A_ABST
    Figure CN119629772A_ABST
Patent Text Reader

Abstract

The invention provides a device and method for transmitting audio data and a chip. A first processing core and a second processing core in the device for transmitting the audio data can establish a first transmission link and a second transmission link based on a first physical layer and a second physical layer respectively, the first transmission link is used for transmitting the first sound channel audio data between the device for transmitting the audio data and a first playing component in the audio playing device, and the second transmission link is used for transmitting the second sound channel audio data between the device for transmitting the audio data and a second playing component in the audio playing device. According to the invention, the first sound channel audio data and the second sound channel audio data can be transmitted to the first playing part and the second playing part through the two transmission links at the same moment, so that the transmission bandwidth and the transmission rate of the audio data are improved; the phenomenon of playing lagging caused by slow transmission rate of the high-definition lossless audio data is effectively avoided, and high-speed stable transmission of the high-definition lossless audio data is ensured.
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 a device, method and chip for transmitting audio data. Background Art

[0002] With the development of wireless technology, consumers have higher and higher requirements for the playback quality of wireless audio playback devices. Generally speaking, the playback quality of wireless audio playback devices (such as Bluetooth headsets) depends on the transmission quality of audio data between the device that transmits audio data (such as a mobile phone) and the audio playback device.

[0003] In the related art, the transmission capacity of the equipment for transmitting audio data is limited, and it is difficult to achieve high-speed and stable transmission of high-definition lossless audio data. Summary of the invention

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

[0005] In a first aspect, a device for inputting audio data is provided, wherein the audio data includes first-channel audio data and second-channel audio data, and the device for transmitting audio data includes: a first processing core, the first processing core is communicatively connected to a first physical layer, the first processing core is configured to establish a first transmission link based on the first physical layer, the first transmission link is used to connect the device for transmitting audio data and a first playback component in an audio playback device, and the first transmission link is used to transmit the first channel audio data; a second processing core, the second processing core is communicatively connected to a second physical layer, the second processing core is configured to establish a second transmission link based on the second physical layer, the second transmission link is used to connect the device for transmitting audio data and a second playback component in the audio playback device, and the second transmission link is used to transmit the second channel audio data.

[0006] In a second aspect, a method for transmitting audio data is provided, wherein the audio data includes first channel audio data and second channel audio data, and the method is applied to a device for transmitting audio data, wherein the device for transmitting audio data includes a first processing core, a first physical layer, a second processing core, and a second physical layer, and the method includes: utilizing the first processing core to communicate with the first physical layer to establish a first transmission link; utilizing the first transmission link to transmit the first channel audio data between the device for transmitting audio data and a first playback component in an audio playback device; utilizing the second processing core to communicate with the second physical layer to establish a second transmission link; utilizing the second transmission link to transmit the second channel audio data between the device for transmitting audio data and a second playback component in the audio playback device.

[0007] In a third aspect, a chip is provided, wherein the chip is arranged in a device for transmitting audio data, and the chip comprises: a processor for calling and running a computer program from a memory, so that the device for transmitting audio data executes the method described in the second aspect.

[0008] The device for transmitting audio data provided in the embodiment of the present application has a first processing core and a second processing core, and the first processing core and the second processing core can respectively establish a first transmission link and a second transmission link based on the first physical layer and the second physical layer, wherein the first transmission link is used to transmit the first channel audio data between the device for transmitting audio data and the first playback component in the audio playback device, and the second transmission link is used to transmit the second channel audio data between the device for transmitting audio data and the second playback component in the audio playback device. The device for transmitting audio data can transmit the first channel audio data and the second channel audio data to the first playback component and the second playback component via two transmission links at the same time, thereby improving the transmission bandwidth and rate of the audio data, effectively avoiding the phenomenon of playback jamming caused by the slow transmission rate of high-definition lossless audio data, and ensuring the high-speed and stable transmission of high-definition lossless audio data. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a structural diagram of an audio data transmission system in the related art.

[0010] Figure 2 A schematic diagram of the structure of an audio data transmission system provided in an embodiment of the present application.

[0011] Figure 3 A schematic diagram of a device for transmitting audio data and its application scenarios provided in an embodiment of the present application.

[0012] Figure 4 A schematic diagram of the structure of a device for transmitting audio data provided in yet another embodiment of the present application.

[0013] Figure 5 A schematic diagram of a device for transmitting audio data and its application scenario provided in yet another embodiment of the present application.

[0014] Figure 6 A schematic diagram of a device for transmitting audio data and its application scenario provided in yet another embodiment of the present application.

[0015] Figure 7 A schematic diagram of a data transmission process provided in an embodiment of the present application.

[0016] Figure 8 A schematic diagram of a data transmission process provided for yet another embodiment of the present application.

[0017] Fig. 9 A schematic diagram of the data transmission process in a synchronous transmission scenario provided in an embodiment of the present application.

[0018] Fig.10 A schematic diagram of the data transmission process in an asynchronous transmission scenario provided in an embodiment of the present application.

[0019] Fig.11 A flowchart of a method for transmitting audio data provided in an embodiment of the present application.

[0020] Fig.12 A schematic diagram of the structure of the chip provided in the embodiment of the present application. DETAILED DESCRIPTION

[0021] 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.

[0022] With the development of wireless technology, consumers have higher and higher requirements for the playback quality of wireless audio playback devices. The wireless audio playback device may refer to an audio playback device including at least a first playback component and a second playback component. The first playback component and the second playback component may receive audio data from a device that transmits audio data and convert the audio data into an electro-acoustic transducer of sound.

[0023] For example, the audio playback device may be a Bluetooth headset. The Bluetooth headset may be, for example, an in-ear headset or a headphone. One of the first playback component and the second playback component is a master headset in the Bluetooth headset, and the other is a slave headset in the Bluetooth headset. For another example, the audio playback device may be a Bluetooth speaker, and one of the first playback component and the second playback component is a first speaker in the Bluetooth speaker, and the other is a second speaker in the Bluetooth speaker.

[0024] Since the wireless audio playback device does not require a physical connection with the device that transmits audio data, 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.

[0025] 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 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.

[0026] The device for transmitting audio data can be implemented as any of the following electronic devices: 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 wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, and an MP4 playback terminal.

[0027] Generally speaking, the playback quality of an audio playback device depends on the transmission quality of audio data between the device for transmitting audio data and the audio playback device. However, in the related art, due to the limited transmission capacity of the device for transmitting audio data, when the device for transmitting audio data is used to transmit audio data to an audio playback component including at least two playback components, it is difficult to achieve high-speed and stable transmission of high-definition lossless audio data, resulting in poor playback quality of the audio playback device.

[0028] For ease of understanding, the following Figure 1 The audio data transmission system 1 in the related art is introduced in detail. Figure 1 As shown, the audio data transmission system 1 includes a device 10 for transmitting audio data and an audio playback device 20 .

[0029] like Figure 1 As shown, the device 10 for transmitting audio data can establish a wireless transmission link 110 with the audio playback device 20 based on a wireless communication protocol to transmit the audio data through the wireless transmission link 110. The wireless communication protocol can be, for example, a Bluetooth communication protocol. In some embodiments, the wireless communication protocol can also be a WiFi communication protocol.

[0030] The audio data may be sent from the device 10 for transmitting audio data to the audio playback device 20. In this case, the device 10 for transmitting audio data is an audio source, and the audio playback device 20 is an audio sink. In this way, the second audio device 20 may convert the received audio data into sound, so that the user wearing the audio playback device 20 may hear the sound.

[0031] In some embodiments, the audio data may also be sent by the audio playback device 20 to the device 10 for transmitting audio data. In this case, the role of the audio playback device 20 is an audio source, and the role of the device 10 for transmitting audio data is an audio sink. For example, the audio playback device 20 may be configured with a sound collector such as a receiver or a microphone. The audio playback device 20 may convert the collected sound into audio data and send it to the device 10 for transmitting audio data via a wireless transmission link, so that the device 10 for transmitting audio data may perform subsequent processing on the audio data. Subsequent processing may, for example, be sending the audio data to other electronic devices or saving the audio data.

[0032] As mentioned above, the audio playback device 20 includes at least a first playback component 210 and a second playback component 220. Among them, one of the first playback component 210 and the second playback component 220 is a master playback component, and the other is a slave playback component. Since the audio playback device 20 includes at least two playback components, in order to ensure that the at least two playback components are played based on audio data, the at least two playback components need to be able to obtain audio data.

[0033] However, in some communication standards, the standard stipulates that the device 10 for transmitting audio data can only establish a wireless transmission link 110 with one playback component (main playback component) in the audio playback device 20 including multiple playback components. The remaining playback components can obtain audio data by monitoring the wireless transmission link.

[0034] Taking the Bluetooth standard as an example, Figure 1 In the embodiment, the first playback component 210 is a master playback component, and the second playback component 220 is a slave playback component. The device 10 for transmitting audio data can only establish a Bluetooth transmission link 110 with the first playback component 210, and the second playback component 220 can only obtain the audio data on the transmission link by monitoring. In addition, the audio data transmitted to the first playback component 210 and the second playback component 220 through a single Bluetooth transmission link 110 is often dual-channel mixed data, so the data volume is large.

[0035] Monitoring can be understood as the second playback component 220, after learning the relevant parameters of the Bluetooth transmission link 110, can pretend to be the first playback component 210 to receive the audio data on the Bluetooth transmission link 110. In this way, the second playback component 220 can obtain the audio data transmitted to the first playback component 210 by the device 10 transmitting audio data on the wireless transmission link without establishing a wireless transmission link with the device 10 transmitting audio data.

[0036] Due to the limited bandwidth of a single Bluetooth transmission link 110, the transmission rate of a single Bluetooth transmission link is not high (generally 2Mbps-3Mbps at most), and the amount of dual-channel mixed data that needs to be transmitted by a single Bluetooth transmission link is large. Figure 1 The audio data transmission device 10 in the transmission of audio data will transmit audio data slowly, which will cause the first playback component 210 and the second playback component 220 to wait for a long time before receiving the audio data, so there will be a phenomenon of lag during the playback. Since the data volume of high-definition lossless audio data is larger than that of ordinary sound quality audio data, if you continue to use Figure 1 If the device 10 for transmitting audio data is used to transmit high-definition lossless audio data, it will cause more jamming in the audio playback device 20. Therefore, it is difficult for the device 10 for transmitting audio data in the related art to achieve fast and stable transmission of high-definition lossless audio data.

[0037] In order to solve the above problems, as a possible implementation method, Figure 2 As shown, the device 10 for transmitting audio data can use time-division multiplexing to transmit two channels of audio data to the first playback component 210 and the second playback component 220 respectively. Specifically, the audio data can be split into first channel data and second channel data. The device 10 for transmitting audio data can establish a first transmission link 110 with the first playback component 210 at time T0, and transmit the first channel data to the first playback component 210 based on the first transmission link 110. And, the device 10 for transmitting audio data can establish a second transmission link 120 with the second playback component 210 at time T1, and transmit the second channel data to the second playback component 210 based on the second transmission link 120. It should be noted that the first transmission link 110 and the second transmission link 120 cannot exist at the same time.

[0038] By using time-division multiplexing to transmit mono audio data, compared to Figure 1The above method can reduce the amount of data that needs to be transmitted by a single transmission link, thus improving the transmission speed of audio data to a certain extent. However, since only one transmission link (the first transmission link 110 or the second transmission link 120) is transmitting audio data at the same time, and the fastest rate of a transmission link is only 2Mbps-3Mbps, Figure 2 The device 10 for transmitting audio data also cannot meet the requirements for fast and stable transmission of high-definition lossless audio data.

[0039] In summary, the transmission capacity of the device 10 for transmitting audio data in the related art is limited, and it is difficult to achieve high-speed and stable transmission of high-definition lossless audio data.

[0040] In order to solve the above problems, an embodiment of the present application proposes a device for transmitting audio data, wherein the device for transmitting audio data has a first processing core and a second processing core, and the first processing core and the second processing core can respectively establish a first transmission link and a second transmission link based on the first processing core and the second processing core, wherein the first transmission link and the second transmission link are respectively used to transmit the first channel audio data between the device for transmitting audio data and the first playback component in the audio playback device and to transmit the second channel audio data between the device for transmitting audio data and the second playback component in the audio playback device. The device for transmitting audio data can transmit the first channel audio data and the second channel audio data to the first playback component and the second playback component via two transmission links at the same time, thereby improving the transmission bandwidth and rate of the audio data, effectively avoiding the phenomenon of playback jamming caused by the slow transmission rate of high-definition lossless audio data, and ensuring the high-speed and stable transmission of high-definition lossless audio data.

[0041] Combine the following Figure 3 and Figure 4 , the device 30 for transmitting audio data provided in the embodiment of the present application is described in detail. It should be noted that the device for transmitting audio data in the embodiment of the present application is used to transmit the audio data described above. The audio data may include high-definition lossless audio data. The audio data may include first channel audio data and second channel audio data.

[0042] like Figure 3 As shown, the device 30 for transmitting audio data includes a first processing core core0, a first processing core core1, a first physical layer PHY0 and a second physical layer PHY1.

[0043] The first processing core core0 and the first processing core core1 can both be processors or controllers responsible for establishing a wireless transmission link. A communication protocol can be defined in the first processing core core0 and the first processing core core1, and the first processing core core0 and the first processing core core1 can perform data transmission according to the communication protocol defined by themselves. In the embodiment of the present application, the first processing core core0 and the second processing core core1 can work independently without affecting each other.

[0044] For example, the first processing core core0 and the first processing core core1 can both be Bluetooth cores, and the Bluetooth core can be provided with a Bluetooth Core protocol, so the first processing core core0 and the second processing core core1 can be transmitted based on the Bluetooth Core protocol respectively. Optionally, the first processing core core0 and the second processing core core1 can be transmitted based on different Bluetooth Core protocols. In some embodiments, the first processing core core0 and the first processing core core1 can also be used to define hardware-specific specifications such as radio frequency and baseband.

[0045] The Bluetooth core protocol can be, for example, any one of the Bluetooth core protocol 2.0 specifications - Bluetooth core protocol 5.0 specifications. Among them, the Bluetooth technology specified by the Bluetooth core protocol mainly includes two forms of systems: basic rate (BR) and low energy (LE). Both forms of systems include device discovery, connection establishment and connection mechanism. The basic rate BR can include an optional enhanced data rate (EDR), and alternate media access control layer and physical layer extensions (AMP). The low power LE system includes some features that are designed to implement products that require lower power consumption, lower complexity and lower cost than BR / EDR.

[0046] Among them, Figure 3 As shown, the first processing core core0 is in communication connection with the first physical layer PHY0, and the first processing core core0 is configured to establish a first transmission link 310 based on the first physical layer PHY0. The first transmission link 310 is used to connect the device 30 for transmitting audio data and the first playback component 210 in the audio playback device 20, and the first transmission link 310 is used to transmit the first channel audio data.

[0047] The second processing core core1 is in communication connection with the second physical layer PHY1, and the second processing core core1 is configured to establish a second transmission link 320 based on the second physical layer PHY1. The second transmission link 320 is used to connect the device 30 for transmitting audio data and the second playback component 220 in the audio playback device 20, and the second transmission link 320 is used to transmit the second channel audio data.

[0048] As an implementation, the first transmission link 310 or the second transmission link 320 may be a Bluetooth transmission link. For example, the first transmission link 310 or the second transmission link 320 may be a connectionless asynchronous (Asynchronous Connectionless, ACL) link, a synchronous connection oriented (Synchronous Connection Oriented, SCO) or an extended SCO (Extended SCO, eSCO) link. In some embodiments, the first transmission link 310 or the second transmission link 320 may also be a WiFi transmission link.

[0049] Among them, the first physical layer PHY0 and the second physical layer PHY1 are both physical layers (Physical Layer, PHY). The physical layer is used to provide a physical channel (physical channel) that constitutes a transmission link (for example, the first transmission link 310 or the second transmission link 320). The physical channel can be understood as an air interface physical channel between the device 30 for transmitting audio data and the audio playback device 20. The physical layer bearer channel marked by the time domain, frequency domain, and air domain includes the concepts of frequency hopping, time slots, events, and access codes. The physical channel is also called a channel and is used for data transmission. The channel can generally include a control channel, a data channel, a voice channel, etc. For example, when the physical layer is used to constitute a Bluetooth channel, the physical layer uses the 2.4GHz frequency band.

[0050] In the embodiment of the present application, the first physical layer PHY0 is used to provide a first channel constituting a first transmission link 310, and the first transmission link 310 transmits first channel audio data based on the first channel. The second physical layer PHY1 is used to provide a second channel constituting a second transmission link 320, and the second transmission link 320 transmits second channel audio data based on the second channel.

[0051] Among them, the working frequency band (or bandwidth) of the first channel is different from the working frequency band of the second channel. And, the difference between the frequency of the first channel and the frequency of the second channel is not less than the preset value. Among them, the frequency can be understood as the center frequency of the working frequency band. In other words, the frequency of the first channel and the frequency of the second channel must have an interval greater than the preset value. By separating the frequency of the first channel and the frequency of the second channel, it is possible to avoid mutual interference between the first channel data and the second channel data when they are respectively received by the first playback component 210 and the second playback component 220. The embodiment of the present application does not specifically limit the preset value, and the preset value can be set as needed. For example, the preset value can be 100MHz. For another example, the preset value can also be 200MHz.

[0052] Combination Figure 4 As shown, the processing core (for example, the first processing core core0 or the second processing core core1) includes a link layer (Link Layer, LL) and a host controller interface (Host Controller Interface, HCI). The link layer can provide a logical transmission channel (or logical link) constituting a transmission link on the basis of the physical layer. The link layer can be used to control the radio frequency state of the device 30 for transmitting audio data. The radio frequency state can include, for example, any one of the following: waiting, broadcasting, scanning, initialization, and connection. In some embodiments, the link layer may include the management modules of the above-mentioned ACL link and SCO link to construct the transmission link (the first transmission link or the second transmission link) described above.

[0053] As mentioned above, the communication protocol is defined in both the first processing core core0 and the first processing core core1. Therefore, in some embodiments, the first processing core core0 is further configured to perform protocol encapsulation on the first channel data according to the communication protocol therein, so as to encapsulate the first channel data into the first protocol data. And / or, the first processing core core1 is further configured to perform protocol encapsulation on the second channel data according to the communication protocol therein, so as to encapsulate the second channel data into the second protocol data.

[0054] In some embodiments, Figure 3 As shown, the first physical layer PHY0 can be connected to the first processing core core0 and the first transceiver 330 respectively, and the second physical layer PHY0 can be connected to the second physical layer PHY1 and the second transceiver 340 respectively. The first physical layer PHY0 can also be configured to re-encapsulate and modulate / demodulate the first protocol data. And / or, the second physical layer PHY1 can also be configured to re-encapsulate and modulate the second protocol data.

[0055] In an embodiment of the present application, the first processing core core0 and the first physical layer PHY0 may belong to the same first Bluetooth chip. Or the first processing core core0 belongs to the first Bluetooth chip, and the first physical layer PHY0 belongs to other communication chips. For example, the other communication chip may be a WIFI communication chip. Similarly, the first processing core core1 and the second physical layer PHY1 may belong to the same second Bluetooth chip, or the first processing core core1 belongs to the second Bluetooth chip, and the second physical layer PHY1 belongs to other communication chips. Alternatively, the first processing core core0, the first processing core core1, the first physical layer PHY0 and the second physical layer PHY1 all belong to the same Bluetooth chip, the difference being that the first processing core core0 works in pairs with the first physical layer PHY0, the first processing core core1 works in pairs with the second physical layer PHY1, and the first processing core core0 and the first processing core core1 are isolated, and the two work independently of each other without interfering with each other.

[0056] The embodiment of the present application does not specifically limit the synchronization of data transmission on the first transmission link 310 and the second transmission link 320. In some embodiments, Figure 3 As shown, the device 30 for transmitting audio data may further include a communication host (HOST) 350. The communication host 350 may be communicatively connected to both the first processing core core0 and the first processing core core1. For example, the communication host 350 may be connected to the HCI interface of the first processing core core0 and the HCI interface of the first processing core core1 through the first HCI interface and the second HCI interface, respectively. The communication host 350 may control the synchronization or asynchrony of the clock of the first processing core core0 and the clock of the first processing core core1 based on the communication protocol, which is ultimately reflected in the synchronization or asynchrony of data transmission on the first transmission link 310 and the second transmission link 320.

[0057] As an implementation, the data transmission on the first transmission link 310 and the second transmission link 320 can be synchronized. That is, the communication host 350 can control the clock of the first processing core core0 to be synchronized with the clock of the first processing core core1, and the clock of the first physical layer PHY0 to be synchronized with the clock of the second physical layer PHY1, so as to achieve the synchronous transmission of the first channel data and the second channel data. By setting the synchronous transmission, the interference between the first playback component 210 and the second playback component 220 at the audio playback device 20 when receiving the first channel data and the second channel data respectively can be guaranteed.

[0058] As another implementation, the data transmission on the first transmission link 310 and the second transmission link 320 can be asynchronous. That is, the communication host 350 can control the clock of the first processing core core0 and the clock of the first processing core core1 to be asynchronous, and the clock of the first physical layer PHY0 and the clock of the second physical layer PHY1 to be synchronous, so as to realize the asynchronous transmission of the first channel data and the second channel data. By setting the asynchronous transmission, it can be avoided that when the data on one of the transmission links needs to be retransmitted, the other transmission link must perform the same retransmission action or waiting action, thereby improving the transmission rate of the overall audio data.

[0059] The present application embodiment does not specifically limit the structure of the communication host 350. As an implementation method, in combination with Figure 4 As shown, the communication host 350 may include a generic access profile (GAP) module, a logical link control and adaptation protocol (L2CAP) module, a security management (SM) module, an attribute protocol (ATT) module, and a generic attribute profile (GATT) module.

[0060] Among them, the GAP module is configured to parse the valid data packet (payload) of the link layer. The GAP module can simply perform some specifications and definitions on the valid data packet, which is mainly used for broadcasting, scanning and initiating connections. The L2CAP module is configured to manage the logical link provided by the logical layer. Based on this protocol, different applications can share the same logical link. In some embodiments, the L2CAP module can also provide a multiplexed role. The SM module is configured to manage the encryption and security of the transmission link. The ATT module is configured to define user commands and user operation data. The GATT module is configured to standardize the grouping of data content of various applications.

[0061] The present application embodiment does not specifically limit the source of the audio data. As an implementation method, Figure 4As shown, the upper layer of the communication host 350 may also be provided with an application module 360. The device 30 for transmitting audio data may also include an audio module (audio) 361. The audio module 361 is configured to generate the audio data described above. The audio module 361 may be located at the application module 360 ​​of the upper layer of the communication host 350. The audio module 361 may, for example, be a module for implementing the following audio services: voice, music, game, video, voice assistant, email prompt tone, alarm, prompt tone, navigation tone, etc. It should be understood that the audio data generated by the audio module may be dual-channel mixed data.

[0062] The audio module 361 can be connected to the communication host 350 for communication. For example, the audio module 361 can be connected to the communication host 350 via an HCI interface or an API interface. The communication host 350 can be configured to obtain audio data in a dual-channel mixed form from the audio module 361 and split the mixed audio data into first channel audio data and second channel audio data. In addition, the communication host 350 can also perform relevant protocol unpacking on the split first channel audio data and second channel audio data to form a data stream of the first channel audio data and a data stream of the second channel audio data, and transmit the two data streams to the first processing core core0 and the second processing core core1, respectively. One of the first channel audio data and the second channel audio data split by the communication host 350 is left channel audio data, and the other is channel audio data.

[0063] In order to further avoid mutual interference between the first transmission link 310 and the second transmission link 320 during data transmission. Figure 5 As shown, the device 30 for transmitting audio data may further include a first filter 370 and a second filter 380 .

[0064] The first filter 370 and the second filter 380 can be understood as a bandpass filter with high out-of-band suppression. The first filter 370 is respectively connected to the first physical layer PHY0 and the first transceiver 330. The first filter 370 has a first preset passband bandwidth range and the first filter 370 is configured to allow signals within the first preset passband range to be transmitted from the first channel provided by the first physical layer PHY0.

[0065] The second filter 380 is respectively connected to the second physical layer PHY1 and the second transceiver 340. The second filter 380 has a second preset passband bandwidth range and is configured to allow signals within the second preset passband range to be transmitted from the second channel provided by the second physical layer PHY0.

[0066] The first preset passband range is related to the communication type of the first channel. The second preset passband range is related to the communication type and bandwidth of the second channel. Taking the first channel as a Bluetooth channel as an example, when the bandwidth of the first channel is M1, the corresponding first preset passband range should be f c1 -N1 to f c1 +N1, where f c1 is the center frequency band of the first filter 370, and N1 is greater than M1. Similarly, when the bandwidth of the second channel is M2, the corresponding second preset passband range should be f c2 -N2 to f c2 +N2, where f c2 is the center frequency band of the second filter 380, and N2 is greater than M2. Based on this, the difference between the frequency of the first channel and the frequency of the second channel mentioned above should be greater than N1 and N2.

[0067] By setting the first filter 370 and the second filter 380, the isolation between the first transmission link 310 and the second transmission link 320 can be further improved, thereby avoiding interference during data transmission between the first transmission link 310 and the second transmission link 320. In particular, in a scenario where the first transmission link 310 and the second transmission link 320 are not synchronized, the mutual influence of the two paths receiving and transmitting at different times can be effectively avoided.

[0068] In some embodiments, Figure 6 As shown, the first processing core core0 is further configured to establish a third transmission link 311 based on the first physical layer PHY0, and the third transmission link 311 is used to connect the device 30 for transmitting audio data and the second playback component 220. The second processing core core1 is further configured to establish a fourth transmission link 321 based on the second physical layer PHY1, and the fourth transmission link 321 is used to connect the device 30 for transmitting audio data and the first playback component 210. The third transmission link 311 can be established simultaneously with the first transmission link 310. The fourth transmission link 321 and the second transmission link 320 can be established simultaneously.

[0069] The device 30 for transmitting audio data is also configured to: in response to the transmission quality of the second transmission link 320 being higher than or equal to the transmission quality of the third transmission link 311, transmit the second channel audio data based on the second transmission link 320; in response to the transmission quality of the second transmission link 320 being lower than the transmission quality of the third transmission link 311, switch to transmitting the second channel audio data based on the third transmission link 311.

[0070] The device 30 for transmitting audio data is also configured to: in response to the transmission quality of the first transmission link 310 being higher than or equal to the transmission quality of the fourth transmission link 321, transmit the first channel audio data based on the first transmission link 310; in response to the transmission quality of the first transmission link 310 being lower than the transmission quality of the fourth transmission link 321, switch to transmitting the first channel audio data based on the fourth transmission link 321.

[0071] The embodiment of the present application does not specifically limit the evaluation method of transmission quality. For example, it can be characterized by the received signal strength (RSSI) or packet error rate (PER) of the audio playback device 20.

[0072] That is to say, the scheme in the embodiment of the present application can realize dynamic switching of transmission links according to signal quality. Specifically, the first transmission link 310 and the third transmission link 311 can be established with the first playback component 210 and the second playback component 220 respectively at the same time through the first processing core core0 and the first physical layer PHY0, and the second transmission link 320 and the fourth transmission link 321 can be established with the first playback component 210 and the second playback component 220 respectively at the same time through the second processing core core1 and the second physical layer PHY1, and the transmission link with the best transmission quality is selected from the first transmission link 310 and the fourth transmission link 321 as the target transmission link connecting the device 30 for transmitting audio data and the first playback component 210, and the transmission link with the best transmission quality is selected from the second transmission link 320 and the third transmission link 311 as the target transmission link connecting the device 30 for transmitting audio data and the second playback component 220.

[0073] For example, at time T0, core0 and PHY0 have the best signal quality for the first playback component 210, and core1 and PHY1 have the best signal quality for earphone 1. Figure 7 As shown, data 0 between the first playback component 210 and the device 30 for transmitting audio data is transmitted via a first transmission link 310 established by core0 and PHY0. Data 1 between the second playback component 220 and the device 30 for transmitting audio data is transmitted via a second transmission link 320 established by core1 and PHY1.

[0074] At time T1, core0 and PHY0 have the best signal quality for the second playback component 220, and core1 and PHY1 have the best signal quality for the first playback component 210. Figure 8As shown, data 0 between the first playback component 210 and the device 30 for transmitting audio data is transmitted via the fourth transmission link 321 established by core1 and PHY1. Data 1 between the second playback component 220 and the device 30 for transmitting audio data is transmitted via the third transmission link 311 established by core0 and PHY0.

[0075] Based on this, the optimal transmission link can be selected for the first playback component 210 and the second playback component 220 to transmit audio data at different times, thereby avoiding the restart caused by poor transmission quality of the transmission link in the mode of using a fixed transmission link, and further improving the transmission rate.

[0076] Combine the following Figure 9-10 The processes of synchronous transmission and asynchronous transmission mentioned in the embodiments of the present application are exemplarily described.

[0077] Establishing a connection: Core0 establishes a first transmission link 310 with the first playback component 210 through PHY0. Core1 establishes a second transmission link 320 with the second playback component 220 through PHY1. The first transmission link 310 and the second transmission link 320 each use their own frequency hopping channel MAP. The frequency hopping channel used by the first transmission link 310 is the first channel, and the frequency hopping channel used by the second transmission link 320 is the second channel.

[0078] Get audio data: The audio module (Audio) generates dual-channel data. The communication host Host splits the dual-channel data into two mono data: first channel data (marked as data 0) and second channel data (marked as data 1). At the same time, the Host also splits data 0 and data 1 into data streams including multiple frames. Among them, the data stream of data 0 includes: data 0_N1, data 0_N2, data 0_N3...data 0_NX; the data stream of data 1 includes: data 1_N1, data 1_N2, data 1_N3...data 1_NX.

[0079] Synchronous transmission

[0080] The host controls the complete clock synchronization of Core0 and Core1, and PHY0 and PHY1 are completely synchronized at all times, with a synchronization accuracy of the us level. The host synchronously transmits the data stream of data 0 and the data stream of data 1 to core0 and core1. core0 and core1 respectively split / aggregate and encapsulate the data stream of data 0 and the data stream of data 1 to generate the first protocol data and the second protocol data. The first protocol data and the second protocol data are also data streams. core0 and core1 transmit the first protocol data and the second protocol data to PHY0 and PHY1 respectively. After PHY0 and PHY1 complete encapsulation and modulation, PHY0 and PHY1 send the data out at the same time at the time agreed by the host or core.

[0081] For example, Fig. 9 As shown, in a synchronous scenario, PHY0 and PHY1 can transmit data 0_N1 and data 1_N1 to the first playback component 210 and the second playback component 220 via the first transmission link 310 and the second transmission link 320, respectively, at time T1. At the next time T1, PHY0 and PHY1 can transmit data 0_N2 and data 1_N2 to the first playback component 210 and the second playback component 220, respectively, via the first transmission link 310 and the second transmission link 320. Fig. 9 At the first time T0, the first channel used by the first transmission link 310 is channel-0-x, and the second transmission link 320 uses the second channel channel-1-y. At the second time T1, the first channel used by the first transmission link 310 is channel-0-N, and the second transmission link 320 uses the second channel channel-1-N. The frequency interval between channel-0-x and channel-1-y and the frequency interval between channel-0-N and channel-1-N should be greater than the preset value.

[0082] Synchronous transmission can form the concurrent transmission capability of two Bluetooth channels, transmitting two data streams at the same time, and doubling the transmission rate.

[0083] Asynchronous transmission

[0084] PHY0 and PHY1 send corresponding data streams through the first transmission link 310 and the second transmission link 320 respectively without time synchronization, or PHY0 and PHY1 receive data through the first transmission link 310 and the second transmission link 320 asynchronously.

[0085] For example, Fig.10As shown, in the asynchronous scenario, PHY0 can transmit data 0_N1 to the first playback component 210 via the first transmission link 310 at time T0, and PHY1 can receive data 1_N1 sent by the second playback component 220 via the second transmission link 320 at the same time T0. At the next time T1, PHY0 can receive data 0_N2 sent by the first playback component 210 via the first transmission link 310, and PHY1 can send data 1_N2 to the second playback component 220 via the second transmission link 320.

[0086] It should be noted that, in an asynchronous scenario, since the first transmission link 310 and the second transmission link 320 can be an uplink transmission link and a downlink transmission link respectively, out-of-band suppression can be performed by the first filter and the second filter mentioned above, so that the frequency interval of the channels used by PHY0 and PHY1 at the same time should be greater than half of the bandwidth of the filter.

[0087] For example, the bandwidth of the filter is f c -N to f c +N in Fig.10 At the first time T0, the first channel used by the first transmission link 310 is channel-0-x, and the second transmission link 320 uses the second channel channel-1-y. The frequency interval between channel-0-x and channel-1-y should be greater than N. At the second time T1, the first channel used by the first transmission link 310 is channel-0-N, and the second transmission link 320 uses the second channel channel-1-N. The frequency interval between channel-0-N and channel-1-N should also be greater than N.

[0088] Through Fig.10 The asynchronous transmission shown forms a Bluetooth dual-channel data stream transmission capability, transmitting two data streams at the same time, and doubling the transmission rate.

[0089] It should be understood that in the embodiment of the present application, the audio playback device 20 may further include a third playback component and a fourth playback component, etc., and accordingly, the device 30 for transmitting audio data may further include a third processing core, a third physical layer, a fourth processing core, and a fourth physical layer. The specific number of processing cores and the number of physical layers may be set according to the playback components in the audio playback device 20.

[0090] Combination of the above Figures 1 to 10 , describes in detail the device embodiment of the present application. Fig.11 , 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.

[0091] Fig.11 A flowchart of a method for transmitting audio data provided in an embodiment of the present application. Fig.11 The method can be performed by any of the above-mentioned devices 30 for transmitting audio data. The device for transmitting audio data includes a first processing core, a first physical layer, a second processing core, and a second physical layer.

[0092] See Fig.11 , the method 1100 for transmitting audio data includes step S1110 and step S1140.

[0093] In step S1110: utilize the first processing core to communicate with the first physical layer to establish a first transmission link.

[0094] In step S1120: first channel audio data is transmitted between the device for transmitting audio data and a first playing component in the audio playing device by using a first transmission link.

[0095] In step S1130: a second transmission link is established by using the second processing core and the second physical layer communication connection.

[0096] In step S1140: the second channel audio data is transmitted between the device for transmitting audio data and the second playing component in the audio playing device by using the second transmission link.

[0097] Optionally, the device for transmitting audio data also includes: a communication host, and the method also includes: using the communication host to communicate with the first processing core and the second processing core respectively to transmit the first channel audio data and the second channel audio data to the first processing core and the second processing core respectively, and using the communication host to control the synchronization or asynchrony of the clock of the first processing core and the clock of the second processing core based on the communication protocol.

[0098] Optionally, the first transmission link transmits first channel audio data based on a first channel, the second transmission link transmits second channel audio data based on a second channel, and a difference between a frequency of the first channel and a frequency of the second channel is not less than a preset value.

[0099] Optionally, the device for transmitting audio data also includes a first filter and a second filter, the first filter has a first preset bandpass bandwidth range, the first filter is communicatively connected to the first physical layer, the second filter has a second preset bandpass bandwidth range, the second filter is communicatively connected to the second physical layer, and the method also includes: using the first filter to allow signals within the first preset bandpass bandwidth range to be transmitted from the first channel; using the second filter to allow signals within the second preset bandpass bandwidth range to be transmitted from the second channel.

[0100] Optionally, the device for transmitting audio data also includes an audio module, and the method includes: utilizing the audio module to communicate with a communication host; utilizing the audio module to generate audio data, utilizing the communication host to obtain the audio data and splitting the audio data into the first channel audio data and the second channel audio data.

[0101] Optionally, the method also includes: using the first processing core to establish a third transmission link based on the first physical layer, the third transmission link is used to connect the device for transmitting audio data and the second playback component; using the second processing core to establish a fourth transmission link based on the second physical layer, the fourth transmission link is used to connect the device for transmitting audio data and the first playback component, in response to the transmission quality of the second transmission link being higher than or equal to the transmission quality of the third transmission link, transmitting the second channel audio data based on the second transmission link; in response to the transmission quality of the second transmission link being lower than the transmission quality of the third transmission link, switching to transmitting the second channel audio data based on the third transmission link; in response to the transmission quality of the first transmission link being higher than or equal to the transmission quality of the fourth transmission link, transmitting the first channel audio data based on the first transmission link; in response to the transmission quality of the first transmission link being lower than the transmission quality of the fourth transmission link, switching to transmitting the first channel audio data based on the fourth transmission link.

[0102] Optionally, the first processing core is further configured to encapsulate the first channel data into first protocol data according to a communication protocol, and / or the second processing core is further configured to encapsulate the second channel data into second protocol data according to a communication protocol.

[0103] Optionally, the first transmission link or the second transmission link is a Bluetooth transmission link.

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

[0105] like Fig.12 As shown, a chip 1200 is also provided in the embodiment of the present application. The chip 1200 is arranged in the device 30 for transmitting audio data. The chip 1200 includes a processor 1210. The processor 1210 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.

[0106] 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.

[0107] 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.

[0108] 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.

[0109] 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.

[0110] 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.

[0111] 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.

[0112] 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.

[0113] 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.

[0114] 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. A device for transmitting audio data, characterized in that: The audio data includes first channel audio data and second channel audio data, and the device for transmitting audio data includes: a first processing core, the first processing core being communicatively connected to a first physical layer, the first processing core being configured to establish a first transmission link based on the first physical layer, the first transmission link being used to connect the device for transmitting audio data and a first playback component in an audio playback device, and the first transmission link being used to transmit first channel audio data; A second processing core, the second processing core is communicatively connected to a second physical layer, the second processing core is configured to establish a second transmission link based on the second physical layer, the second transmission link is used to connect the device for transmitting audio data and the second playback component in the audio playback device, and the second transmission link is used to transmit second channel audio data.

2. The device for transmitting audio data according to claim 1, characterized in that: The device for transmitting audio data also includes: A communication host, wherein the communication host is communicatively connected to the first processing core and the second processing core respectively, and the communication host is configured to transmit the first channel audio data and the second channel audio data to the first processing core and the second processing core respectively, and to control the synchronization or asynchrony of the clock of the first processing core and the clock of the second processing core based on a communication protocol.

3. The device for transmitting audio data according to claim 1, characterized in that: The first transmission link transmits first channel audio data based on a first channel, the second transmission link transmits second channel audio data based on a second channel, and a difference between a frequency of the first channel and a frequency of the second channel is not less than a preset value.

4. The device for transmitting audio data according to claim 3, characterized in that: The device for transmitting audio data also includes: a first filter having a first preset passband bandwidth range, the first filter being communicatively connected to the first physical layer, and the first filter being configured to allow signals within the first preset passband bandwidth range to be transmitted from the first channel; The second filter has a second preset passband bandwidth range, the second filter is communicatively connected to the second physical layer, and the second filter is configured to allow signals within the second preset passband bandwidth range to be transmitted from the second channel.

5. The device for transmitting audio data according to claim 2, characterized in that: Also includes: An audio module is communicatively connected to the communication host, the audio module is configured to generate the audio data, and the communication host is further configured to obtain the audio data and split the audio data into the first channel audio data and the second channel audio data.

6. The device for transmitting audio data according to claim 1, characterized in that: The first processing core is further configured to establish a third transmission link based on the first physical layer, the third transmission link is used to connect the device for transmitting audio data and the second playback component, the second processing core is further configured to establish a fourth transmission link based on the second physical layer, the fourth transmission link is used to connect the device for transmitting audio data and the first playback component, The device configuration for transmitting audio data is: In response to the transmission quality of the second transmission link being higher than or equal to the transmission quality of the third transmission link, transmitting the second channel audio data based on the second transmission link; In response to the transmission quality of the second transmission link being lower than the transmission quality of the third transmission link, switching to transmitting the second channel audio data based on the third transmission link; In response to a transmission quality of the first transmission link being higher than or equal to a transmission quality of the fourth transmission link, transmitting the first channel audio data based on the first transmission link; In response to the transmission quality of the first transmission link being lower than the transmission quality of the fourth transmission link, switching to transmitting the first channel audio data based on the fourth transmission link.

7. The device for transmitting audio data according to claim 1, characterized in that: The first processing core is further configured to encapsulate the first channel data into first protocol data according to a communication protocol, and / or the second processing core is further configured to encapsulate the second channel data into second protocol data according to a communication protocol.

8. The audio playback device according to claim 1, characterized in that: The first transmission link or the second transmission link is a Bluetooth transmission link.

9. 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 in the Bluetooth headset, and the other is a slave headset in the Bluetooth headset.

10. A method for transmitting audio data, characterized in that: The audio data includes first channel audio data and second channel audio data, the method is applied to a device for transmitting audio data, the device for transmitting audio data includes a first processing core, a first physical layer, a second processing core and a second physical layer, and the method includes: Utilizing the first processing core to communicate with the first physical layer to establish a first transmission link; Transmitting first channel audio data between the device for transmitting audio data and a first playback component in the audio playback device by using the first transmission link; Using the second processing core and the second physical layer to communicate and connect to establish a second transmission link; The second channel audio data is transmitted between the device for transmitting audio data and a second playing component in the audio playing device by using the second transmission link.

11. A chip, characterized in that: The chip is arranged in a device for transmitting audio data, and the chip comprises: A processor, configured to call and run a computer program from a memory, so that the device for transmitting audio data executes the method as claimed in claim 10.

Citation Information

Patent Citations

  • Audio transmission method and electronic equipment

    CN113223539A

  • Data transmission method, wireless earphone and computer storage medium

    CN114697794A

  • Communication chip, Bluetooth communication device and data transmission method

    CN114745705A

  • Bluetooth equipment system

    CN115499814A

  • Audio transmission device, audio playing device and audio transmission and synchronization system

    CN115567086A