Audio data transmission method and device and audio processing system
By establishing multiple links in the audio processing system and transmitting audio data according to preset time slot allocation rules, the problem of poor call noise reduction effect in noisy environments is solved, and higher call quality is achieved.
Patent Information
- Application Number
- CN202510347562.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-06-27
AI Technical Summary
In noisy environments, the traditional noise reduction solution has poor call noise reduction effect, making it difficult to effectively improve call quality.
By establishing a plurality of links in the audio processing system, including a communication link between the first headset and the charging device, a Bluetooth connection between the first headset and the second headset, and a transmission link between the charging device or the first headset and the terminal device, the transmission of multiple audio data and monitoring of audio data packets sent by the terminal device are carried out in accordance with the preset time slot allocation rules.
It effectively improves the noise reduction effect of call, improves call quality, and solves the problem of charging equipment collecting multiple audio data and receiving audio packets sent by the headphone terminal.
Smart Images

Figure CN120224079A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio processing, and particularly to an audio data transmission method, apparatus, and audio processing system. Background Art
[0002] Current earphones all have the ability to cancel environmental noise. For example, ENC (Environmental Noise Cancellation) is used for call noise cancellation. However, in a noisy environment, the call noise cancellation effect of traditional noise cancellation solutions is poor. Summary of the Invention
[0003] Based on this, in view of the above technical problems, it is necessary to provide an audio data transmission method, apparatus, and audio processing system that can improve the call noise cancellation effect.
[0004] In a first aspect, the present application provides an audio data transmission method, which is applied to an audio processing system. The audio processing system includes a terminal device, an earphone set, and a charging device. The charging device has a plurality of microphone modules for collecting multiple channels of audio data. The method includes:
[0005] When entering the call noise cancellation mode, establish a communication link between the first earphone in the earphone set and the charging device, a Bluetooth connection between the first earphone and the second earphone in the earphone set, and a transmission link between the first target device and the terminal device; wherein, the first target device is the charging device or the first earphone;
[0006] Send the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device, so that the second target device establishes a listening link with the terminal device; the second target device includes at least the second earphone;
[0007] Transmit the multiple channels of audio data obtained by the first target device to the terminal device via the transmission link according to the transmission time slots allocated by the preset time slot allocation rule, and the second target device receives the audio data packets sent by the terminal device through the listening link according to the listening time slots allocated by the preset time slot allocation rule.
[0008] In one embodiment, sending the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device includes:
[0009] Send the communication link information to the second earphone through the Bluetooth connection.
[0010] In one embodiment, when the first target device is the charging device, sending the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device includes:
[0011] The charging device sends the communication link information to the first earphone via the communication link;
[0012] The first earphone sends the communication link information to the second earphone via Bluetooth connection.
[0013] In one embodiment, when the first target device is the charging device, sending the communication link information of the terminal device obtained by the first target device via the transmission link to the second target device includes:
[0014] Establish a Bluetooth link between the second earphone and the charging device;
[0015] Send the communication link information to the second earphone via the Bluetooth link.
[0016] In one embodiment, the second target device further includes the first earphone; the method further includes:
[0017] Send the communication link information to the first earphone via the communication link.
[0018] In one embodiment, the number of second earphones is multiple; the first earphone and the multiple second earphones establish a Bluetooth connection in series; wherein, the first second earphone establishes a Bluetooth connection with the first earphone, the second second earphone establishes a Bluetooth connection with the first earphone, until the Nth second earphone establishes a Bluetooth connection with the (N - 1)th second earphone; when the first target device is the charging device, the second target device further includes the first earphone;
[0019] When the first target device is the charging device, sending the communication link information of the terminal device obtained by the first target device via the transmission link to the second target device includes:
[0020] Transmit the communication link information to the first earphone via the communication link;
[0021] When the first second earphone that establishes a Bluetooth connection with the first earphone receives the communication link information from the first earphone, sequentially transfer the communication link information to the corresponding second earphones based on the series connection method.
[0022] In one embodiment, the first earphone is the master earphone and the second earphone is the slave earphone.
[0023] In one embodiment, the communication link information is Bluetooth information; the Bluetooth information includes at least one of a Bluetooth clock, a Bluetooth address, and a hopping table.
[0024] In one embodiment, when the first target device is the charging device, the listening time slots and the transmission time slots are distributed at intervals in the preset time slot allocation rule.
[0025] In one embodiment, in the preset time slot allocation rule, the listening time slots and the transmission time slots are distributed at intervals in turn, and the first time slot is a listening time slot.
[0026] In one embodiment, the listening link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; the method further includes:
[0027] In the current transmission time slot, if the multiplexed audio data transmitted to the terminal device carries the target reception status information, then in the listening time slot adjacent to the current transmission time slot, the audio data packet of the previous listening time slot is transmitted to the second target device; wherein, the maximum number of times of repeated transmission of the audio data packet is the maximum number of transmissions of the enhanced synchronous connection-oriented link defined by the Bluetooth protocol.
[0028] In one embodiment, when the first target device is the first earphone, the method further includes:
[0029] Transmitting the multiplexed audio data acquired by the charging device to the first earphone via the communication link according to the communication time slots allocated by the preset time slot allocation rule;
[0030] Wherein, in the preset time slot allocation rule, the synchronization time slots and the communication time slots are distributed at intervals; the synchronization time slots include listening time slots and transmission time slots.
[0031] In one embodiment, in the preset time slot allocation rule, the first number of synchronization time slots and the second number of communication time slots are distributed at intervals, and the first time slot is a synchronization time slot; the ratio of the first number to the second number is determined according to the transmission error rate.
[0032] In one embodiment, the listening link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; the communication link includes one of a connection-oriented asynchronous transmission ACL link and a Bluetooth low energy BLE link;
[0033] The first number is 3, and the second number is 3; or, the first number is 4, and the second number is 2.
[0034] In a second aspect, the present application further provides an audio data transmission device, which is applied to an audio processing system. The audio processing system includes a terminal device, a headphone set, and a charging device. The charging device has a plurality of microphone modules for collecting multiplexed audio data. The device includes:
[0035] A link establishment module, configured to establish a communication link between the first earphone in the headphone set and the charging device, a Bluetooth connection between the first earphone and the second earphone in the headphone set, and a transmission link between the first target device and the terminal device when entering the call noise reduction mode; wherein, the first target device is the charging device or the first earphone;
[0036] An information sending module, configured to send the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device, so that the second target device establishes a listening link with the terminal device; the second target device includes at least a second earphone.
[0037] An audio transmission module, configured to transmit the multiplexed audio data obtained by the first target device to the terminal device via the transmission link according to the transmission time slots allocated by the preset time slot allocation rule, and according to the listening time slots allocated by the preset time slot allocation rule, the second target device receives the audio data packets sent by the terminal device through the listening link.
[0038] In a third aspect, the present application further provides an audio processing system, including a terminal device, a headset group, and a charging device. The charging device has a plurality of microphone modules for collecting multiplexed audio data.
[0039] The audio processing system is configured to execute the steps of the above method.
[0040] In a fourth aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.
[0041] In a fifth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0042] In a sixth aspect, the present application further provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the above method are implemented.
[0043] For the above audio data transmission method, device, and audio processing system, when entering the call noise reduction mode, in the case where the communication link between the first earphone and the charging device in the headset group, the Bluetooth connection between the first earphone and the second earphone in the headset group, and the transmission link between the charging device or the first earphone and the terminal device are established, the communication link information of the terminal device can be sent at least to the second earphone in the headset group to establish a listening link, and then, according to the transmission time slots allocated by the preset time slot allocation rule, the multiplexed audio data obtained by the first target device is transmitted to the terminal device via the transmission link, and according to the listening time slots allocated by the preset time slot allocation rule, the second target device can receive the audio data packets sent by the terminal device through the listening link. Through the establishment of the above various links and the time slot allocation rule, the present application solves the transmission problem of collecting multiplexed audio data by the charging device and receiving the audio data packets sent by the terminal device at the earphone end, effectively supports the call scenario, can further improve the call noise reduction effect, and improve the call quality. Description of the Drawings
[0044] To more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0045] Figure 1 It is an application environment diagram of the audio data transmission method in an embodiment;
[0046] Figure 2 It is a schematic flowchart of the audio data transmission method in an embodiment;
[0047] Figure 3 It is a first schematic diagram of the link of the audio data processing system in an embodiment;
[0048] Figure 4 It is a second schematic diagram of the link of the audio data processing system in an embodiment;
[0049] Figure 5 It is a third schematic diagram of the link of the audio data processing system in an embodiment;
[0050] Figure 6 It is a fourth schematic diagram of the link of the audio data processing system in an embodiment;
[0051] Figure 7 It is a first schematic diagram of time slot allocation in an embodiment;
[0052] Figure 8 It is a second schematic diagram of time slot allocation in an embodiment;
[0053] Figure 9 It is a first schematic diagram of the information interaction process of the audio data transmission method in an embodiment;
[0054] Figure 10 It is a second schematic diagram of the information interaction process of the audio data transmission method in an embodiment;
[0055] Figure 11 It is a third schematic diagram of time slot allocation in an embodiment;
[0056] Figure 12 It is a fourth schematic diagram of time slot allocation in an embodiment;
[0057] Figure 13 It is a third schematic diagram of the information interaction process of the audio data transmission method in an embodiment;
[0058] Figure 14The fourth schematic diagram of the information interaction process of the audio data transmission method in an embodiment;
[0059] Figure 15 The fifth schematic diagram of time slot allocation in an embodiment;
[0060] Figure 16 The sixth schematic diagram of time slot allocation in an embodiment;
[0061] Figure 17 The fifth schematic diagram of the information interaction process of the audio data transmission method in an embodiment;
[0062] Figure 18 The structural block diagram of the audio data transmission device in an embodiment. Detailed implementation manners
[0063] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0064] It can be understood that terms such as "first" and "second" in the present application are only used to distinguish similar objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. It should be noted that terms such as "connection", "link", "communication link", "transmission link", "monitoring link", "Bluetooth link" and "Bluetooth connection" in the present application should be understood as "communication connection", which describes that there is data transfer between the connected circuits, modules, units, devices, etc.
[0065] It can be understood that "at least one" means one or more, and "a plurality" means two or more.
[0066] When used herein, the singular forms of "a", "an" and "the" may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the existence of the stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the existence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the related listed items.
[0067] Currently, for TWS (True wireless Stereo) or OWS (Open Wearable Stereo) headphones, call noise reduction generally uses ENC noise reduction technology. Since there is a certain physical distance between the microphone and the sound source emitted by the speaker's lips in TWS or OWS headphones, the ENC noise reduction effect will be greatly reduced in a noisy environment. Although the AI (Artificial Intelligence) ENC noise reduction technology has been introduced in recent years, it can suppress environmental noise to a certain extent. However, in a noisy environment, since the signal-to-noise ratio (SNR, Signal Noise Ratio) of the sound source data collected by the microphone has deteriorated, the call noise reduction effect is still not ideal.
[0068] The audio data transmission method provided by the embodiments of the present application can be applied to an application environment as Figure 1 shown. Among them, the audio processing system may include a charging device 10, a terminal device 20, and a headset group 30. The terminal device 20 can communicate with the headset group 30. The charging device 10 can be used to charge the headset group 30. A plurality of microphone modules 102 are arranged on the charging device 10 for collecting multi-channel audio data.
[0069] Exemplarily, the charging device 10 can be a charging case, such as a Bluetooth charging case. Optionally, the Bluetooth charging case has a Bluetooth module, a charging module, and a plurality of microphone modules. Among them, the plurality of microphone modules are placed on the Bluetooth charging case. In actual applications, the user can hold the charging case, and the microphone module is close to the speaker's lips, greatly shortening the distance between the microphone module and the sound source in physical space. Further, the plurality of microphone modules collect multi-channel audio data, and the embodiments of the present application perform noise reduction processing on these data to improve the signal-to-noise ratio of audio data collection and improve call quality.
[0070] Optionally, the terminal device 20 can be but is not limited to various personal computers, laptop computers, smartphones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The headset group 30 can include a first headset and can also include a second headset. Among them, the first headset can be the main headset, and the second headset can be the slave headset. Exemplarily, the number of the second headsets can be multiple. Optionally, the headsets in the headset group 30 can be Bluetooth headsets, such as TWS headsets or OWS headsets, etc.
[0071] It should be noted that the beneficial effects brought about by the embodiments of the present application or the technical problems to be solved are not limited to this one, and there may be other implicit or related problems. For specific details, please refer to the descriptions of the following embodiments.
[0072] The following will specifically describe the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems with specific embodiments. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0073] In an exemplary embodiment, as Figure 2 shown, an audio data transmission method is provided. Taking the case where this method is applied to the Figure 1 audio processing system shown as an example, the audio processing system includes a terminal device, a headset group, and a charging device. The charging device has multiple microphone modules for collecting multiple channels of audio data. The method includes the following steps 202 to 206. Among them:
[0074] Step 202, when entering the call noise reduction mode, establish a communication link between the first headset in the headset group and the charging device, a Bluetooth connection between the first headset and the second headset in the headset group, and a transmission link between the first target device and the terminal device; where the first target device is the charging device or the first headset.
[0075] Among them, when the audio processing system enters the call noise reduction mode, for example, the application scenario is a headset, it can be operated by the user; exemplarily, based on the embodiments of the present application, the audio processing system entering or being in the call noise reduction mode may refer to the audio processing system entering or being in the enhanced call noise reduction mode.
[0076] Specifically, in the call noise reduction mode, a communication link between the first headset in the headset group and the charging device can be established. For example, the first headset and the charging device establish a communication link. Optionally, taking the charging device as a Bluetooth charging case as an example, the first headset and the Bluetooth charging case establish a communication link, and this communication link can be a Bluetooth two-way link. Further, the charging device can collect multiple channels of audio data through multiple microphone modules. The multiple channels of audio data in the embodiments of the present application may refer to microphone data.
[0077] In the call noise reduction mode, a transmission link can also be established between the first target device and the terminal device. Here, the first target device is a charging device or the first earphone. That is, in the call noise reduction mode of the embodiments of the present application, a transmission link is established between the charging device and the terminal device, or a transmission link is established between the first earphone and the terminal device. For example, taking the Bluetooth charging case as the charging device, by pressing the button of the Bluetooth charging case, a transmission link is established between the Bluetooth charging case and the terminal device, and this transmission link can be a Bluetooth connection. Another example is that a transmission link is established between the first earphone and the terminal device, and this transmission link can be a Bluetooth connection. In addition, in the call noise reduction mode, a Bluetooth connection can also be established between the first earphone and the second earphone in the earphone group.
[0078] Based on the establishment of the above link, when the charging device, as the first target device, establishes a transmission link with the terminal device, the charging device can transmit the collected multiplexed audio data to the terminal device through the transmission link, and the charging device can also obtain the communication link information of the terminal device. When the first earphone, as the first target device, establishes a transmission link with the terminal device, the first earphone can obtain the audio data packet sent by the terminal device through the transmission link, and the first earphone can also obtain the communication link information of the terminal device. It can be understood that the communication link information can refer to the information used to establish a link with the terminal device, such as the terminal link information, or the Bluetooth connection information (abbreviated as Bluetooth information), etc. The present application has no limitation on this.
[0079] The embodiments of the present application propose to establish a transmission link between the charging device or the first earphone and the terminal device, so as to obtain the communication link information of the terminal device. Based on this communication link information, the earphones in the earphone group can subsequently establish a monitoring link with the terminal device to obtain the audio data packet for playback; at the same time, the multiplexed audio data collected by multiple microphone modules on the charging device can also be transmitted to the terminal device, solving the problem of transmitting the multiplexed audio data collected by the charging device, and effectively supporting the call scenario.
[0080] Step 204: Send the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device, so that the second target device establishes a monitoring link with the terminal device; the second target device includes at least the second earphone.
[0081] Specifically, in the case of establishing a transmission link, the first target device can obtain the communication link information of the terminal device through this transmission link, and then by sending the communication link information to the second target device, the second target device can establish a monitoring link with the terminal device, where the second target device includes at least the second earphone.
[0082] It can be understood that when the first target device is a charging device, the second target device may further include a first earphone. That is, the first earphone and the second earphone can receive the audio data packets sent by the terminal device through their respective listening links with the terminal device and play the audio data packets. When the first target device is the first earphone, the first earphone can send the communication link information of the terminal device to the second earphone so that the second earphone can establish a listening link with the terminal device.
[0083] Through the above links, each earphone in the earphone group in the embodiments of the present application can obtain the communication link information of the terminal device, and then establish a listening link with the terminal device, solving the transmission problem of receiving the audio data packets sent by the terminal device at the earphone end, and effectively supporting the call scenario.
[0084] Step 206: Transmit the multiplexed audio data obtained by the first target device to the terminal device via the transmission link according to the transmission time slots allocated by the preset time slot allocation rule, and the second target device receives the audio data packets sent by the terminal device through the listening link according to the listening time slots allocated by the preset time slot allocation rule.
[0085] Specifically, the present application proposes to perform the transmission of multiplexed audio data and audio data packets according to the preset time slot allocation rule, which can achieve noise reduction processing of the data, improve the signal-to-noise ratio of audio data acquisition, and thus improve the call quality. Exemplarily, the multiplexed audio data obtained by the first target device can be transmitted to the terminal device via the transmission link according to the transmission time slots allocated by the preset time slot allocation rule, and the second target device receives the audio data packets sent by the terminal device through the listening link according to the listening time slots allocated by the preset time slot allocation rule.
[0086] Among them, the transmission time slot may refer to the time slot required to transmit the multiplexed audio data to the terminal device via the transmission link, and the listening time slot may refer to the time slot required to transmit the audio data packets to the second target device via the listening link; it can be understood that the preset time slot allocation rule can be used to characterize the relationship between the transmission time slot and the listening time slot, for example, the time slot distribution of the transmission time slot and the listening time slot, whether the transmission time slot and the listening time slot are adjacent, etc. Through the preset time slot allocation rule, the embodiments of the present application solve the transmission problems of multiplexed audio data and audio data packets, can effectively support the call scenario, improve the receiving performance of the link, and enhance the call noise reduction effect.
[0087] The above audio data transmission method, through the establishment of the above links and the time slot allocation rule, solves the transmission problems of collecting multiplexed audio data by the charging device and receiving the audio data packets sent by the terminal device at the earphone end, effectively supports the call scenario, can further enhance the call noise reduction effect, and improve the call quality.
[0088] In an exemplary embodiment, sending the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device includes:
[0089] Sending the communication link information to the second earphone through a Bluetooth connection.
[0090] Specifically, the first earphone and the second earphone can establish a Bluetooth connection. Optionally, the Bluetooth connection can be a pair - ear link.
[0091] Wherein, when the charging device is the first target device, the first earphone can obtain the communication link information of the terminal device through the communication link with the charging device, and then send the communication link information to the second earphone through a Bluetooth connection. As Figure 3 shown, taking the first earphone as the master earphone (abbreviated as master ear), the second earphone as the slave earphone (abbreviated as slave ear), and the charging device as the Bluetooth charging case as an example, the first earphone establishes a Bluetooth connection with the terminal device, which is called the first link (i.e., the transmission link). It can be understood that this first link can also be used as the monitoring link between the first earphone and the total - segment device. The first earphone establishes a second link (i.e., the communication link) with the Bluetooth charging case; the first earphone establishes a third link (i.e., the Bluetooth connection) with the second earphone. The first earphone sends the communication link information of the terminal device (such as Bluetooth connection information) to the second earphone, and the second earphone establishes a monitoring link with the terminal device, which is called the fourth link. Among them, the first link, the second link, and the third link are all two - way links, and the fourth link is a one - way link.
[0092] Further, in some embodiments, when the first target device is the charging device, sending the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device includes:
[0093] The charging device sends the communication link information to the first earphone through the communication link;
[0094] The first earphone sends the communication link information to the second earphone through a Bluetooth connection.
[0095] Specifically, when the first earphone is the first target device, the first earphone can obtain the communication link information of the terminal device through the transmission link with the terminal device, and then send the communication link information to the second earphone through a Bluetooth connection, so as to realize synchronous playback of the audio data packets sent by the terminal device by the first earphone and the second earphone.
[0096] As Figure 4As shown in the figure, taking the first earphone as the master earphone (abbreviated as the master ear), the second earphone as the slave earphone (abbreviated as the slave ear), and the charging device as the Bluetooth charging case as an example, the Bluetooth charging case establishes a Bluetooth connection with the terminal device, which is called the first link (i.e., the transmission link); the first earphone establishes a second link (i.e., the communication link) with the Bluetooth charging case, the first earphone and the second earphone establish a third link (the paired ear link), and the first earphone sends the communication link information (such as Bluetooth information) of the terminal device to the second earphone; the first earphone and the second earphone respectively establish a listening link with the terminal device, that is, the fourth link and the fifth link. Among them, the first link, the second link, and the third link are all two-way links.
[0097] Based on the above method, the first earphone can be used as a forwarding device for communication link information, so that the second earphone can synchronously obtain the communication link information and ensure the transmission quality of the communication link information.
[0098] In addition, since the first earphone can be used as a forwarding device for communication link information, the present application can also expand multiple earphones in a "cascading" manner; in a possible implementation, the number of second earphones is multiple; the first earphone and multiple second earphones establish a Bluetooth connection in series; among them, the first second earphone establishes a Bluetooth connection with the first earphone, the second second earphone establishes a Bluetooth connection with the first earphone, until the Nth second earphone establishes a Bluetooth connection with the (N - 1)th second earphone; when the first target device is the charging device, the second target device also includes the first earphone;
[0099] When the first target device is the charging device, sending the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device includes:
[0100] Transmitting the communication link information to the first earphone through the communication link;
[0101] When the first second earphone that establishes a Bluetooth connection with the first earphone receives the communication link information from the first earphone, the communication link information is sequentially transmitted to the corresponding second earphone based on the series connection method.
[0102] Specifically, when the first target device is the charging device and the number of second earphones is multiple, multiple second earphones can establish Bluetooth connections in sequence according to the communication path, so that the system connection model can be further expanded. Regarding multiple second earphones establishing Bluetooth connections in sequence according to the communication path, it may refer to the first earphone and multiple second earphones establishing a Bluetooth connection in series; among them, the first second earphone establishes a Bluetooth connection with the first earphone, the second second earphone establishes a Bluetooth connection with the first earphone, until the Nth second earphone establishes a Bluetooth connection with the (N - 1)th second earphone.
[0103] Among them, the charging device can transmit the communication link information to the first earphone through the communication link. Then, the first earphone can send the communication link information to the second earphone that is the first to establish a Bluetooth connection with the first earphone in the communication path. Thus, the communication link information can be sequentially transmitted through the second earphones specified by the communication path, that is, the communication link information is sequentially transmitted to the corresponding second earphones based on a series connection method. As Figure 5 shown, taking the first earphone as the master earphone (abbreviation: master ear), the second earphone to the Nth earphone as slave earphones (abbreviation: slave ears), and the charging device as a Bluetooth charging case as an example, through the "cascading" method, the third earphone can establish a Bluetooth link with the second earphone and forward the communication link information of the terminal device through the second earphone; the third earphone can implement monitoring of the terminal device; similarly, multiple earphones can be extended, such as Figure 5 the Nth earphone in
[0104] Through the above method, multiple earphones only monitor the audio data packets sent by the terminal device. From the perspective of Bluetooth time slot allocation, any number of Bluetooth earphones can be extended. It should be noted that for the time slot allocation of the above embodiments, reference can be made to the description of the preset time slot allocation rules in the following text, which will not be elaborated here.
[0105] In practical applications, in terms of message interaction, the communication link information may not be forwarded by the first earphone; in some embodiments, when the first target device is a charging device, the communication link information of the terminal device obtained by the first target device through the transmission link is sent to the second target device, including:
[0106] Establish a Bluetooth link between the second earphone and the charging device;
[0107] Send the communication link information to the second earphone through the Bluetooth link.
[0108] Specifically, when the first target device is a charging device and the charging device obtains the communication link information of the terminal device by establishing a transmission link with the terminal device, the charging device can establish a Bluetooth link with the second earphone. Furthermore, the charging device can send the communication link information to the second earphone through the Bluetooth link.
[0109] As Figure 6As shown, taking the first earphone as the main earphone (abbreviated as the main ear), the second earphone as the slave earphone (abbreviated as the slave ear), and the charging device as the Bluetooth charging case as an example, the Bluetooth charging case establishes a Bluetooth connection with the terminal device, which is called the first link (i.e., the transmission link); the first earphone establishes a second link (i.e., the communication link) with the Bluetooth charging case, the second earphone establishes a third link (i.e., the Bluetooth link) with the Bluetooth charging case, and the Bluetooth charging case sends the communication link information of the terminal device (such as the terminal link information) to the first earphone and the second earphone respectively; the first earphone and the second earphone respectively establish a listening link with the terminal device, that is, the fourth link and the fifth link. Among them, the first link, the second link, and the third link are all two-way links.
[0110] Based on the above method, the charging device (such as the Bluetooth charging case) can send the communication link information of the terminal device to the second earphone, so that the audio transmission between the second earphone and the sound source device (such as the terminal device) can achieve higher stability, reduce latency and interference. In addition, the charging device can monitor the working state of the second earphone in real time, and can automatically connect the second earphone through intelligent recognition to achieve rapid connection.
[0111] In one embodiment, the second target device further includes a first earphone; the method further includes:
[0112] Sending the communication link information to the first earphone through the communication link.
[0113] Specifically, when the first target device is a charging device, in the case where the charging device obtains the communication link information of the terminal device by establishing a transmission link with the terminal device, the charging device can also send the communication link information to the first earphone through the communication link, so that the first earphone can establish a listening link with the terminal device, obtain the audio data packet, and play the packet after decoding. Optionally, the first earphone can also forward the communication link information to the second earphone to realize synchronous playback of the audio data packets sent by the terminal device by the first earphone and the second earphone.
[0114] In one embodiment, the first earphone is the main earphone and the second earphone is the slave earphone.
[0115] Specifically, the first earphone in the embodiment of the present application can be the main earphone, and the second earphone can be the slave earphone.
[0116] In one embodiment, the communication link information is Bluetooth information; the Bluetooth information includes at least one of a Bluetooth clock, a Bluetooth address, and a hopping table.
[0117] Specifically, the communication link information may be Bluetooth information, which includes but is not limited to Bluetooth clock, Bluetooth address, and hopping table. Based on this Bluetooth information, the first earphone and the second earphone can establish a listening link with the terminal device. It can be understood that the communication link information of the above terminal device may also adopt other forms, not limited to the forms already mentioned in the above embodiments, as long as it can achieve the function of enabling the earphone to establish a listening link with the terminal device.
[0118] Regarding the time slot allocation and data transmission according to the preset time slot allocation rule in the embodiments of the present application, in an exemplary embodiment, when the first target device is a charging device, the listening time slots and the transmission time slots are distributed at intervals in the preset time slot allocation rule.
[0119] Specifically, when the charging device, as the first target device, establishes a transmission link with the terminal device, the listening time slots and the transmission time slots in the preset time slot allocation rule may be distributed at intervals to further improve the call noise reduction effect. Among them, the charging device may send the collected multiplexed audio data (microphone data) to the terminal device in the transmission time slot, while the first earphone and the second earphone may receive the audio data packets sent by the terminal device in the listening time slot and play the audio data packets.
[0120] In one embodiment, the listening time slots and the transmission time slots in the preset time slot allocation rule are distributed at intervals in sequence, and the first time slot is a listening time slot.
[0121] Specifically, in the embodiments of the present application, the listening time slots and the transmission time slots in the preset time slot allocation rule are distributed at intervals in sequence, and the first time slot is a listening time slot; as Figure 7 shown, taking the first earphone as the main earphone (abbreviation: main ear), the second earphone as the slave earphone (abbreviation: slave ear), and the charging device as the Bluetooth charging case as an example, in the first time slot (listening time slot), the terminal device sends an audio data packet, and the first earphone and the second earphone receive it simultaneously in this time slot, decode it and play the data packet. In the second time slot (transmission time slot), the Bluetooth charging case sends the multiplexed audio data collected through the microphone module to the terminal device; and so on, the third time slot is a listening time slot, the fourth time slot is a transmission time slot, the fifth time slot is a listening time slot, and the sixth time slot is a transmission time slot.
[0122] In addition, as Figure 8As shown, taking the first earphone as the master earphone (referred to as the master ear), the second earphone to the Nth earphone as the slave earphones (referred to as the slave ears), and the charging device as the Bluetooth charging case as an example, the first earphone to the Nth earphone can only monitor the audio data packets sent by the terminal device. From the perspective of Bluetooth time slot allocation, any number of Bluetooth earphones can be extended. Among them, in the first time slot (monitoring time slot), the terminal device sends audio data packets, and the first earphone to the Nth earphone receive them simultaneously in this time slot, decode them, and play the packets. In the second time slot (transmission time slot), the Bluetooth charging case sends the multiplexed audio data collected by the microphone module to the terminal device; and so on, the third time slot is the monitoring time slot, the fourth time slot is the transmission time slot, the fifth time slot is the monitoring time slot, and the sixth time slot is the transmission time slot.
[0123] In the above transmission mode, there is no confirmation mechanism for the data plane between the charging device (such as the Bluetooth charging case) and the first earphone. In one embodiment, the monitoring link includes an enhanced Synchronous Connection Oriented (eSCO) link; the transmission link includes an enhanced Synchronous Connection Oriented link; the method may further include:
[0124] In the current transmission time slot, if the multiplexed audio data transmitted to the terminal device carries target reception status information, then in the monitoring time slot adjacent to the current transmission time slot, the audio data packet of the previous monitoring time slot is transmitted to the second target device; where the maximum number of times of repeated transmission of the audio data packet is the maximum number of transmissions defined by the Bluetooth protocol for the enhanced Synchronous Connection Oriented link.
[0125] Specifically, the embodiment of the present application proposes that in the current transmission time slot, if the multiplexed audio data transmitted to the terminal device carries target reception status information, then in the monitoring time slot adjacent to the current transmission time slot, the audio data packet of the previous monitoring time slot is transmitted to the second target device, that is, when the first target device is the charging device, the packet is repeatedly transmitted by a predefined repeated transmission method, which can improve the reception performance of the transmission link and the communication link, and can further improve the robustness of packet transceiver.
[0126] It should be noted that the enhanced Synchronous Connection Oriented link in the embodiment of the present application can be abbreviated as the eSCO link.
[0127] Exemplarily, the target reception status information may be NACK. Figure 7For example, in the first time slot, the terminal device sends audio data packet 1, and the first earphone and the second earphone receive the audio data packet 1. In the second time slot (the current transmission time slot), the Bluetooth charging case sends multiplexed audio data to the terminal device, and the carried reception status information is "NACK". In the third time slot (i.e., the listening time slot adjacent to the current transmission time slot), the terminal device repeats sending audio data packet 1. Similarly, in the fourth time slot, when the Bluetooth charging case sends multiplexed audio data to the terminal device, it still carries the "NACK" information. In the fifth time slot, the terminal device repeats sending audio data packet 1. The maximum number of times of repeated sending in this embodiment can be the maximum number of times of sending defined by the Bluetooth protocol for the eSCO link. Exemplarily, the predefined repeated sending method can refer to the Bluetooth charging case carrying the "NACK" information in the data packet and fixedly repeating the sending of the data packet. Optionally, the first time slot, the second time slot, etc. can be Bluetooth time slots, and the duration of one Bluetooth time slot can be 625 us.
[0128] To further illustrate the solution of the present application, specific examples are given below for illustration. For example, Figure 9 as shown, taking the first earphone as the main earphone (abbreviated as the main ear) and the second earphone as the slave earphone (abbreviated as the slave ear), and the charging device as the Bluetooth charging case as an example, after establishing the link as Figure 4 shown, when it is necessary to enter the enhanced call noise reduction mode, the operations are as follows:
[0129] ① Through the button of the Bluetooth charging case, establish a Bluetooth link (the first link) between the Bluetooth charging case and the terminal device.
[0130] ② The first earphone establishes a Bluetooth link (the second link) with the Bluetooth charging case; the Bluetooth charging case sends the terminal link information of the terminal device to the first earphone; the terminal link information can be Bluetooth information, and the Bluetooth information includes but is not limited to Bluetooth clock, Bluetooth address, and hopping table. According to the Bluetooth information, the first earphone can establish a listening link (the fourth link) with the terminal device, and the listening link can be an eSCO link.
[0131] ③ The first earphone establishes a link (the third link) with the second earphone, the first earphone sends the terminal link information of the terminal device to the second earphone, and the second earphone establishes a listening link (the fifth link) with the terminal device, and the listening link can be an eSCO link.
[0132] ④ The terminal device sends an audio data packet through the eSCO link; the first earphone and the second earphone can listen to the data packet and play it after decoding (downlink data).
[0133] ⑤ After the Bluetooth charging case collects multiplexed audio data through the microphone module, it can send it to the terminal device through the eSCO link (uplink data).
[0134] It can be understood that after establishing the link as shown in Figure 4 , based on the transmission method as shown in Figure 9 , combined with the above-mentioned preset time slot allocation rule, the embodiments of the present application are simple to implement, highly practical, and have good transmission robustness, and can solve the noise reduction problem in the call scenario.
[0135] It should be noted that after establishing the link as shown in Figure 6 , when entering the enhanced call noise reduction mode, the operations as shown in Figure 10 can also be performed, which can also improve the call noise reduction effect. In addition, through the above-mentioned preset time slot allocation rule, the reception performance of the first link and the second link in the above example can also be improved, and the robustness of data packet transmission and reception can be further enhanced.
[0136] It should be noted that the Bluetooth connection (or Bluetooth link) in the embodiments of the present application can refer to classic Bluetooth (BR / EDR, Bluetooth Basic Rate / Enhanced Data Rate) or Bluetooth Low Energy (BLE). In classic Bluetooth, audio playback (such as listening to music) can be transmitted using an ACL (Asynchronous Connectionless) link, and calls can be transmitted using an eSCO link. The ACL link and eSCO link in the embodiments of the present application are both logical links and are based on the framework of classic Bluetooth (BR / EDR) connection.
[0137] Regarding the time slot allocation and data transmission according to the preset time slot allocation rule in the embodiments of the present application, in one embodiment, when the first target device is the first earphone, the method further includes:
[0138] Transmitting the multiplexed audio data obtained by the charging device to the first earphone via the communication link according to the communication time slots allocated by the preset time slot allocation rule;
[0139] Among them, in the preset time slot allocation rule, the synchronization time slots and the communication time slots are distributed at intervals; the synchronization time slots include listening time slots and transmission time slots.
[0140] Specifically, while transmitting the multiplexed audio data according to the transmission time slots allocated by the preset time slot allocation rule and transmitting the audio data packets according to the listening time slots allocated by the preset time slot allocation rule, the multiplexed audio data obtained by the charging device can also be transmitted to the first earphone via the communication link according to the communication time slots allocated by the preset time slot allocation rule, so that the terminal device can further improve the call noise reduction effect.
[0141] Among them, in the preset time slot allocation rule, the synchronization time slots and the communication time slots are distributed at intervals; the synchronization time slots include a listening time slot and a transmission time slot. It can be understood that the synchronization time slots including the listening time slot and the transmission time slot may mean that the listening time slot and the transmission time slot belong to the same time slot. For example, the listening time slot and the transmission time slot belong to the same Bluetooth frame.
[0142] In some embodiments, in the preset time slot allocation rule, the first number of synchronization time slots and the second number of communication time slots are distributed at intervals, and the first time slot is a synchronization time slot; the ratio of the first number to the second number is determined according to the transmission error rate.
[0143] Specifically, in the embodiments of the present application, the first number of synchronization time slots and the second number of communication time slots in the preset time slot allocation rule are distributed at intervals, and the first time slot is a synchronization time slot. In the embodiments of the present application, the ratio of the first number to the second number is determined according to the transmission error rate, and the transmission error rate may refer to the transmission error rate of a call.
[0144] It can be understood that according to different usage scenarios, the above ratio can be adjusted. For example, if the transmission error rate of a call is relatively high, the proportion of the first number can be increased (that is, the proportion of the eSCO link is increased); conversely, the proportion of the eSCO link can be decreased. Exemplarily, this ratio that can be dynamically adjusted can also be statically configured, and the present application has no limitation on this.
[0145] In a possible implementation, the listening link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; the communication link includes one of a connection-oriented asynchronous transmission ACL link and a Bluetooth Low Energy BLE link;
[0146] The first number is 3, and the second number is 3; or, the first number is 4, and the second number is 2.
[0147] Specifically, the listening link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link, and the synchronization time slots include a listening time slot and a transmission time slot, so that the eSCO data sent by the first earphone to the terminal device must be continuous.
[0148] Taking the use of Bluetooth frames as an example, exemplarily, the first number of synchronous links can be understood as defining the first few Bluetooth frames as the data transmission time slots of the eSCO link. Since it is periodic, the second number of communication time slots can be understood as the subsequent few Bluetooth frames as the ACL link (or BLE transmission).
[0149] Regarding the configuration of the first number and the second number, the following will be described in combination with specific examples. Taking the first earphone as the main earphone (abbreviation: main ear), the second earphone as the slave earphone (abbreviation: slave ear), and the charging device as a Bluetooth charging case, establish as Figure 3Taking the link shown as an example, the first earphone establishes a Bluetooth connection with the terminal device, which is called the first link. The first earphone establishes a second link with the Bluetooth charging case; the first earphone establishes a third link with the second earphone, and the second earphone establishes a listening link with the terminal device of the Bluetooth charging case, which is called the fourth link. Among them, the first link, the second link, and the third link are all two-way links. The fourth link is a one-way link. Exemplarily, the first link, the third link, and the fourth link can use classic Bluetooth, and the second link can use classic Bluetooth or BLE.
[0150] As Figure 11 shown in the Bluetooth time slot allocation, the terminal device transmits and receives audio data packets with the first earphone through the eSCO link in the first Bluetooth frame, the second Bluetooth frame, and the third Bluetooth frame; at the same time, the second earphone listens to the audio data packets sent by the terminal device. The first earphone and the second earphone synchronously play the audio data packets (downlink) sent by the terminal device. On the other hand, the uplink data sent by the first earphone in the first Bluetooth frame, the second Bluetooth frame, and the third Bluetooth frame is the audio data packets sent by the Bluetooth charging case to the first earphone. In the fourth Bluetooth frame, the fifth Bluetooth frame, and the sixth Bluetooth frame, the Bluetooth charging case sends the multiplexed audio data collected through the microphone module to the first earphone. When the second link uses classic Bluetooth, the Bluetooth charging case can send the multiplexed audio data to the first earphone through the ACL link. When the second link uses BLE, the Bluetooth charging case can use the BLE link to send it to the first earphone. It should be noted that the multiplexed audio data in the embodiments of the present application can be received and sent in the form of data packets.
[0151] Optionally, as Figure 12 shown in the Bluetooth time slot allocation, the eSCO link can also use 4 Bluetooth frames. That is, the first Bluetooth frame, the second Bluetooth frame, the third Bluetooth frame, and the fourth Bluetooth frame are all for the terminal device and the first earphone to perform data interaction on the eSCO link. The fifth Bluetooth frame and the sixth Bluetooth frame are the data interaction frames between the Bluetooth charging case and the first earphone.
[0152] Further, as Figure 13 shown, when it is necessary to enter the enhanced call noise reduction mode, based on the audio data transmission scheme of the first earphone as the first target device, the operation is as follows:
[0153] ① The first earphone establishes a Bluetooth link (such as a connection link of classic Bluetooth) with the terminal device;
[0154] ② Through the button of the Bluetooth charging case, a Bluetooth link with the first earphone is established. This link can use classic Bluetooth or BLE;
[0155] ③ The first earphone establishes a link with the second earphone (for example, an ear-to-ear link); the first earphone sends the terminal link information to the second earphone, and the second earphone establishes a monitoring link with the terminal device; wherein, there is no fixed order for ② and ③.
[0156] ④ The Bluetooth charging case collects multi-channel audio data through the microphone module and sends it to the first earphone through the second link (ACL link or BLE link); exemplarily, the first earphone can locally maintain the multi-channel audio data in the form of data packets.
[0157] ⑤ The first headset sends the retained data packet (multi-channel audio data) to the terminal device (uplink) through the eSCO link.
[0158] ⑥ The terminal device sends an audio data packet to the first earphone through the eSCO link; at the same time, the second earphone monitors the audio data packet; the first earphone and the second earphone play synchronously according to the agreed playback mechanism. The agreed playback mechanism may refer to the first earphone and the second earphone receiving the audio data packet, and starting to play simultaneously at the agreed playback start time.
[0159] The above audio data transmission method can solve the transmission problem of the Bluetooth charging compartment collecting multi-channel audio data and the earphone receiving the audio data packet sent by the terminal device. The embodiment of the present application can effectively support the above application scenarios and has good transmission robustness.
[0160] In addition, the present application also provides an audio data transmission method, in which the first earphone is a main earphone (referred to as the main earphone), the second earphone is a slave earphone (referred to as the slave ear), and the charging device is a Bluetooth charging bin, and the method is established as follows: Figure 14 Taking the link shown as an example, the Bluetooth charging case establishes a Bluetooth connection with the terminal device, which is called the first link. The first earphone establishes a second link with the Bluetooth charging case; the first earphone establishes a third link with the second earphone, and the second earphone establishes a monitoring link with the Bluetooth charging case, which is called the fourth link. Among them, the first link, the second link, and the third link are all bidirectional links, and the fourth link is a unidirectional link.
[0161] In establishing Figure 14 After the link is shown, the terminal device, the first earphone, the second earphone, and the Bluetooth charging compartment can complete the interaction of call data. The Bluetooth charging compartment collects multi-channel audio data from the microphone module, implements noise reduction processing, and sends the data to the terminal device. Through the Bluetooth charging compartment, the first earphone and the second earphone can receive audio data packets sent by the terminal device. Taking the Bluetooth frame as the basic unit as an example, the length of a Bluetooth frame is 2 Bluetooth time slots, that is, 1.25ms. A transmission cycle (completes a data packet interaction) is 6 Bluetooth frames, that is, 7.5ms.
[0162] like Figure 15As shown, in the first Bluetooth frame, the second Bluetooth frame, and the third Bluetooth frame, the terminal device and the Bluetooth charging case interact multiple audio data and audio data packets through the eSCO link. Among them, the terminal device sends downlink data (audio data packets), and after receiving it, the Bluetooth charging case can save the audio data packet locally. If the audio data format of the audio data packet is in CVSD (Continuous Variable Slope Delta modulation) format, then this format is re-encoded into mSBC (Modified SBC, Modified SubBand Coding) format. If the format of the audio data packet is mSBC, the Bluetooth charging case may not process this format. In the fourth Bluetooth frame, the fifth Bluetooth frame, and the sixth Bluetooth frame, the Bluetooth charging case sends the audio data packet received from the terminal device to the first earphone through the ACL link; the second earphone monitors the audio data packet. In the second time slot of the sixth Bluetooth frame, the first earphone can feedback the reception status information of the audio data packet.
[0163] Optionally, in order to improve the robustness of the eSCO link interaction between the Bluetooth charging case and the terminal device, an additional Bluetooth frame can be fixedly added for the eSCO link interaction, that is, the fourth Bluetooth frame. Then, in the fifth Bluetooth frame and the sixth Bluetooth frame, the Bluetooth charging case forwards the audio data packet to the first earphone through the ACL link, as Figure 16 shown.
[0164] Furthermore, as Figure 17 shown, when it is necessary to enter the enhanced call noise reduction mode, the transmission scheme with the Bluetooth charging case as the first target device is as follows:
[0165] ① Through the button of the Bluetooth charging case, establish a Bluetooth link (such as a Bluetooth connection) between the Bluetooth charging case and the terminal device.
[0166] ② The first earphone establishes a Bluetooth link (such as a Bluetooth connection) with the Bluetooth charging case.
[0167] ③ The first earphone establishes a link with the second earphone (such as an ear-to-ear link); the first earphone forwards the link information of the Bluetooth charging case to the second earphone; the second earphone establishes a listening link with the Bluetooth charging case;
[0168] ④ The terminal device sends an audio data packet to the Bluetooth charging case through the eSCO link (downlink); the Bluetooth charging case locally stores the data packet and processes it (such as audio packet encoding format processing).
[0169] ⑤ The Bluetooth charging case collects multiple audio data through the microphone module and sends the multiple audio data to the terminal device through the eSCO link (uplink).
[0170] ⑥ The Bluetooth charging case forwards the audio data packet to the first earphone through the ACL link in the fourth to sixth Bluetooth frames (or the fifth and sixth Bluetooth frames); the second earphone listens to the data packet at the same time. The first earphone and the second earphone achieve synchronous playback according to the agreed playback start mechanism.
[0171] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps in other steps.
[0172] Based on the same inventive concept, the embodiments of the present application also provide an audio data transmission device for implementing the above-mentioned audio data transmission method. The solution provided by the device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the audio data transmission device provided below can refer to the limitations on the audio data transmission method in the above text, and will not be repeated here.
[0173] In an exemplary embodiment, as Figure 18 shown, an audio data transmission device is provided, which is applied to an audio processing system. The audio processing system includes a terminal device, a headset group, and a charging device. The charging device has multiple microphone modules for collecting multiple channels of audio data. The device includes:
[0174] A link establishment module 801, configured to establish a communication link between the first earphone in the headset group and the charging device, a Bluetooth connection between the first earphone and the second earphone in the headset group, and a transmission link between the first target device and the terminal device when entering the call noise reduction mode; where the first target device is the charging device or the first earphone;
[0175] An information sending module 802, configured to send the communication link information of the terminal device obtained by the first target device through the transmission link to the second target device, so that the second target device establishes a listening link with the terminal device; the second target device includes at least the second earphone;
[0176] The audio transmission module 803 is configured to transmit the multiplexed audio data obtained by the first target device to the terminal device via the transmission link according to the transmission time slots allocated by the preset time slot allocation rule, and to receive the audio data packets sent by the terminal device by the second target device according to the listening time slots allocated by the preset time slot allocation rule.
[0177] In one embodiment, the information sending module 802 is configured to establish a Bluetooth connection between the first earphone and the second earphone, and send the communication link information to the second earphone through the Bluetooth connection.
[0178] In one embodiment, when the first target device is a charging device, the information sending module 802 is configured to enable the charging device to send the communication link information to the first earphone through the communication link, and the first earphone to send the communication link information to the second earphone through the Bluetooth connection.
[0179] In one embodiment, when the first target device is a charging device, the information sending module 802 is configured to establish a Bluetooth link between the second earphone and the charging device, and send the communication link information to the second earphone through the Bluetooth link.
[0180] In one embodiment, the second target device further includes a first earphone; the information sending module 802 is further configured to send the communication link information to the first earphone through the communication link.
[0181] In one embodiment, the number of the second earphones is multiple; the first earphone and the multiple second earphones establish a Bluetooth connection in series; wherein, the first second earphone establishes a Bluetooth connection with the first earphone, the second second earphone establishes a Bluetooth connection with the first earphone, until the Nth second earphone establishes a Bluetooth connection with the (N - 1)th second earphone; when the first target device is a charging device, the second target device further includes a first earphone;
[0182] The information sending module 802 is configured to transmit the communication link information to the first earphone through the communication link; and when the first second earphone that establishes a Bluetooth connection with the first earphone receives the communication link information from the first earphone, transmit the communication link information to the corresponding second earphone in sequence based on the series connection method.
[0183] In one embodiment, the first earphone is the master earphone and the second earphone is the slave earphone.
[0184] In one embodiment, the communication link information is Bluetooth information; the Bluetooth information includes at least one of a Bluetooth clock, a Bluetooth address, and a hopping table.
[0185] In one embodiment, when the first target device is a charging device, the listening time slots and the transmission time slots in the preset time slot allocation rule are distributed at intervals.
[0186] In one embodiment, in the preset time slot allocation rule, the listening time slots and the transmission time slots are alternately distributed in sequence, and the first time slot is a listening time slot.
[0187] In one embodiment, the listening link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; the audio transmission module 803 is further configured to, in the current transmission time slot, if the multiplexed audio data transmitted to the terminal device carries target reception status information, transmit the audio data packet of the previous listening time slot to the second target device in the listening time slot adjacent to the current transmission time slot; wherein, the maximum number of times of repeated transmission of the audio data packet is the maximum number of transmissions defined by the Bluetooth protocol for the enhanced synchronous connection-oriented link.
[0188] In one embodiment, when the first target device is the first earphone, the audio transmission module 803 is further configured to transmit the multiplexed audio data acquired by the charging device to the first earphone via the communication link according to the communication time slots allocated by the preset time slot allocation rule; wherein, in the preset time slot allocation rule, the synchronization time slots and the communication time slots are alternately distributed; the synchronization time slots include listening time slots and transmission time slots.
[0189] In one embodiment, in the preset time slot allocation rule, the first number of synchronization time slots and the second number of communication time slots are alternately distributed, and the first time slot is a synchronization time slot; the ratio of the first number to the second number is determined according to the transmission error rate.
[0190] In one embodiment, the listening link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; the communication link includes one of a connection-oriented asynchronous transmission ACL link and a Bluetooth Low Energy BLE link;
[0191] The first number is 3, and the second number is 3; or, the first number is 4, and the second number is 2.
[0192] Each module in the above audio data transmission device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0193] In an exemplary embodiment, an audio processing system is provided, including a terminal device, a headset group, and a charging device. The charging device has a plurality of microphone modules for collecting multiplexed audio data; the audio processing system is configured to execute the steps in the above method embodiments.
[0194] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
[0195] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
[0196] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0197] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0198] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.
[0199] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. An audio data transmission method, characterized in that: Applied to an audio processing system, the audio processing system includes a terminal device, a headset set and a charging device, the charging device has multiple microphone modules for collecting multi-channel audio data, and the method includes: When entering the call noise reduction mode, a communication link between the first earphone in the earphone group and the charging device, a Bluetooth connection between the first earphone and the second earphone in the earphone group, and a transmission link between a first target device and the terminal device are established; wherein the first target device is the charging device or the first earphone; sending the communication link information of the terminal device acquired by the first target device through the transmission link to the second target device, so that the second target device establishes a monitoring link with the terminal device; the second target device at least includes the second headset; According to the transmission time slot allocated by the preset time slot allocation rule, the multi-channel audio data acquired by the first target device is transmitted to the terminal device via the transmission link, and according to the monitoring time slot allocated by the preset time slot allocation rule, the second target device receives the audio data packet sent by the terminal device through the monitoring link.
2. The method according to claim 1, characterized in that The sending the communication link information of the terminal device acquired by the first target device through the transmission link to the second target device includes: The communication link information is sent to the second headset via the Bluetooth connection.
3. The method according to claim 1, characterized in that When the first target device is the charging device, sending the communication link information of the terminal device acquired by the first target device through the transmission link to the second target device includes: The charging device sends the communication link information to the first headset through the communication link; The first headset sends the communication link information to the second headset through the Bluetooth connection.
4. The method according to claim 1, characterized in that When the first target device is the charging device, sending the communication link information of the terminal device acquired by the first target device through the transmission link to the second target device includes: Establishing a Bluetooth link between the second headset and the charging device; The communication link information is sent to the second headset via the Bluetooth link.
5. The method according to claim 4, characterized in that The second target device further includes the first headset; and the method further includes: The communication link information is sent to the first headset via the communication link.
6. The method according to claim 1, characterized in that There are multiple second earphones; the first earphone establishes a Bluetooth connection with the multiple second earphones in series; wherein the first second earphone establishes a Bluetooth connection with the first earphone, the second second earphone establishes a Bluetooth connection with the first earphone, until the Nth second earphone establishes a Bluetooth connection with the N-1th second earphone; when the first target device is the charging device, the second target device also includes the first earphone; When the first target device is the charging device, sending the communication link information of the terminal device acquired by the first target device through the transmission link to the second target device includes: transmitting the communication link information to the first headset via the communication link; When the second earphone that first establishes a Bluetooth connection with the first earphone receives the communication link information from the first earphone, the communication link information is sequentially transmitted to the corresponding second earphone based on the serial connection method.
7. The method according to any one of claims 1 to 6, characterized in that: The first earphone is a master earphone, and the second earphone is a slave earphone.
8. The method according to any one of claims 1 to 6, characterized in that: The communication link information is Bluetooth information; the Bluetooth information includes at least one of a Bluetooth clock, a Bluetooth address, and a frequency hopping table.
9. The method according to claim 1, characterized in that: When the first target device is the charging device, the monitoring time slots and the transmission time slots are distributed at intervals in the preset time slot allocation rule.
10. The method according to claim 9, characterized in that In the preset time slot allocation rule, the monitoring time slots and the transmission time slots are distributed in sequence and at intervals, and the first time slot is the monitoring time slot.
11. The method according to claim 10, characterized in that The monitoring link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; and the method further includes: In the current transmission time slot, if the multi-channel audio data transmitted to the terminal device carries target reception status information, then in the listening time slot adjacent to the current transmission time slot, the audio data packet of the previous listening time slot is transmitted to the second target device; wherein the maximum number of repeated transmissions of the audio data packet is the maximum number of transmissions of the enhanced synchronous connection-oriented link defined by the Bluetooth protocol.
12. The method according to claim 1, characterized in that When the first target device is the first headset, the method further includes: transmitting the multi-channel audio data acquired by the charging device to the first headset via the communication link according to the communication time slot allocated by the preset time slot allocation rule; Among them, in the preset time slot allocation rule, the synchronization time slot and the communication time slot are distributed at intervals; the synchronization time slot includes a monitoring time slot and a transmission time slot.
13. The method according to claim 12, characterized in that In the preset time slot allocation rule, the first number of synchronization time slots and the second number of communication time slots are distributed at intervals, and the first time slot is the synchronization time slot; the ratio of the first number to the second number is determined according to the transmission error rate.
14. The method according to claim 13, characterized in that The monitoring link includes an enhanced synchronous connection-oriented link; the transmission link includes an enhanced synchronous connection-oriented link; the communication link includes one of a connection-oriented asynchronous transmission ACL link and a Bluetooth low energy consumption BLE link; The first quantity is 3, and the second quantity is 3; or, the first quantity is 4, and the second quantity is 2.
15. An audio data transmission device, characterized in that: Applied to an audio processing system, the audio processing system includes a terminal device, a headset set and a charging device, the charging device has multiple microphone modules for collecting multi-channel audio data, and the device includes: a link establishment module, configured to establish, when entering a call noise reduction mode, a communication link between the first earphone in the earphone group and the charging device, a Bluetooth connection between the first earphone and the second earphone in the earphone group, and a transmission link between a first target device and the terminal device; wherein the first target device is the charging device or the first earphone; an information sending module, configured to send the communication link information of the terminal device acquired by the first target device through the transmission link to a second target device, so that the second target device establishes a monitoring link with the terminal device; the second target device at least includes the second headset; An audio transmission module is used to transmit the multi-channel audio data acquired by the first target device to the terminal device via the transmission link according to the transmission time slot allocated by the preset time slot allocation rule, and the second target device receives the audio data packet sent by the terminal device through the monitoring link according to the monitoring time slot allocated by the preset time slot allocation rule.
16. An audio processing system, characterized in that: It includes a terminal device, a headset set and a charging device, wherein the charging device has multiple microphone modules for collecting multi-channel audio data; The audio processing system is used to perform the steps of the method according to any one of claims 1 to 14.
17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 14 are implemented.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.