Bluetooth earphone master-slave multi-device data transmission method and device

By selecting a master-slave earphone structure and designing a slave ear feedback mechanism in Bluetooth earphones, the problem of unstable connection during synchronous data transmission between multiple Bluetooth earphones and terminal devices was solved, achieving stable audio sharing.

CN118042336BActive Publication Date: 2025-12-16GUANGZHOU ANYKA MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410141800.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2025-12-16
Estimated Expiration
2044-01-31

AI Technical Summary

Technical Problem

In classic Bluetooth, when multiple Bluetooth headsets are transmitting data synchronously with a terminal device, the headset connection becomes unstable, causing audio playback to stutter or be interrupted, affecting the quality of audio sharing.

Method used

A Bluetooth headset master-slave multi-device data transmission method is adopted. By selecting one headset as the master ear and the other headsets as slave ear, multiple monitoring links are established with the terminal device. A mechanism is designed for the slave ear to sequentially feed back the reception status information to the master ear to ensure connection stability.

Benefits of technology

Without upgrading hardware, it improves the connection stability between Bluetooth headsets and terminal devices and enhances audio sharing quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118042336B_ABST
    Figure CN118042336B_ABST
Patent Text Reader

Abstract

The application relates to a Bluetooth earphone master-slave multi-device data transmission method and device, which comprises the following steps: applying to at least two pairs of Bluetooth earphones, a first earphone and a second earphone forming a first pair of Bluetooth earphones, and a third earphone and a fourth earphone forming a second pair of Bluetooth earphones; in a first time slot, the first earphone sends a data packet to a terminal device; in a second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone; in a first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back receiving state information to the first earphone in sequence; and in a second preset time slot after the first preset time slot, the first earphone feeds back the receiving state information to the terminal device by comprehensively synthesizing the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone. The application has the effect of improving the synchronous receiving quality of audio data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Bluetooth communication, in particular to a Bluetooth earphone master-slave multi-device data transmission method and device. BACKGROUND

[0002] In classic Bluetooth, a typical application scenario is one terminal device and one pair of earphones for ear-to-ear transmission, but one-to-one data transmission cannot meet the application requirements of special scenarios, for example, two people sitting on a sofa use wireless Bluetooth earphones to watch TV without affecting others, multiple dancers on the stage dance to the same dance track, and so on, so there is a use scenario of one terminal device and multiple pairs of earphones for synchronous data transmission.

[0003] With the increase in the number of earphones participating in synchronous data transmission, it is increasingly likely that earphone device connection failure will occur, causing audio playback to be stalled or even interrupted, affecting audio sharing quality.

[0004] For the related technologies in the above, the inventors have found that when multiple Bluetooth earphones and a terminal device perform synchronous data transmission in classic Bluetooth, the earphone device connection is unstable, affecting the audio sharing quality. SUMMARY

[0005] In order to ensure the connection stability of earphone devices in classic Bluetooth and improve the audio sharing quality, the present application provides a Bluetooth earphone master-slave multi-device data transmission method and device.

[0006] In a first aspect, the present application provides a Bluetooth earphone master-slave multi-device data transmission method.

[0007] The present application is achieved by the following technical solutions:

[0008] A Bluetooth earphone master-slave multi-device data transmission method is applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone form a first pair of Bluetooth earphones, a third earphone and a fourth earphone form a second pair of Bluetooth earphones, and the method comprises the following steps,

[0009] The first earphone establishes a first Bluetooth link with a terminal device, the second earphone establishes a second Bluetooth link with the first earphone, the third earphone establishes a third Bluetooth link with the first earphone, and the fourth earphone establishes a fourth Bluetooth link with the first earphone, and the second earphone, the third earphone, and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening, and a seventh Bluetooth link for listening with the terminal device;

[0010] In a first time slot, the first earphone sends a data packet to the terminal device;

[0011] In the second time slot, the terminal device returns the data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone;

[0012] In the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn;

[0013] The first earphone synthesizes the receiving state information of the second earphone, the third earphone and the fourth earphone and its own receiving state information, and feeds back the synthesized receiving state information to the terminal device in the second preset time slot after the first preset time slot;

[0014] When the first earphone feeds back the receiving success state information to the terminal device, the synchronous receiving of the audio data is realized.

[0015] In a preferred example, the application can be further configured as follows: in the first preset time slot after the second time slot, the step of feeding back the receiving state information to the first earphone in turn by the second earphone, the third earphone and the fourth earphone comprises,

[0016] In the third time slot, the first earphone sends the data packet to the second earphone, the third earphone and the fourth earphone;

[0017] According to the preset sending order, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn in the fourth time slot, the fifth time slot and the sixth time slot respectively.

[0018] In a preferred example, the application can be further configured as follows: in the first preset time slot after the second time slot, the step of feeding back the receiving state information to the first earphone in turn by the second earphone, the third earphone and the fourth earphone comprises,

[0019] In the seventh time slot, the first earphone synthesizes the receiving state information of the second earphone, the third earphone and the fourth earphone and its own receiving state information, and feeds back the synthesized receiving state information to the terminal device.

[0020] In a preferred example, the application can be further configured as follows: in the first preset time slot after the second time slot, the step of feeding back the receiving state information to the first earphone in turn by the second earphone, the third earphone and the fourth earphone comprises,

[0021] In the third time slot, the first earphone sends the data packet to the second earphone, the third earphone and the fourth earphone;

[0022] In the fourth time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in sequence in the first format data packet according to the preset sending order, wherein the first format data packet is a data packet with a duration of 249us.

[0023] In a preferred example, the application can be further configured to integrate the receiving state information of the second earphone, the third earphone and the fourth earphone, and the receiving state information of the first earphone, and the first earphone feeds back the integrated receiving state information to the terminal device in the second preset time slot after the first preset time slot, and the step of feeding back the integrated receiving state information to the terminal device comprises:

[0024] In the fifth time slot, the first earphone feeds back the integrated receiving state information to the terminal device.

[0025] In a preferred example, the application can be further configured to, after the first earphone feeds back the integrated receiving error state information to the terminal device in the second preset time slot after the first preset time slot, the method further comprises the following steps:

[0026] If the second earphone, the third earphone or the fourth earphone feeds back the correct receiving state information to the first earphone, the corresponding Bluetooth link channel for feeding back the correct receiving state information is closed in the next receiving period, and the receiving of data packet or the feeding back of receiving state information to the first earphone is stopped.

[0027] In a preferred example, the application can be further configured to, in the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in sequence, and the step of feeding back the receiving state information to the first earphone in sequence comprises:

[0028] In the first preset time slot, i.e. the third time slot, the fourth time slot and the fifth time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in sequence according to the preset time slot order;

[0029] The sixth time slot is a reserved time slot resource.

[0030] In a preferred example, the application can be further configured to integrate the receiving state information of the second earphone, the third earphone and the fourth earphone, and the receiving state information of the first earphone, and the first earphone feeds back the integrated receiving state information to the terminal device in the second preset time slot after the first preset time slot, and the step of feeding back the integrated receiving state information to the terminal device comprises:

[0031] The seventh time slot, the receiving state information of the second earphone, the third earphone and the fourth earphone is integrated with the receiving state information of itself, and the first earphone feeds back the receiving state information to the terminal device.

[0032] In a preferred example, the application can be further configured that, in the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn, and the step of feeding back the receiving state information to the first earphone in turn by the second earphone, the third earphone and the fourth earphone in the first preset time slot after the second time slot includes,

[0033] In the third time slot, the fourth earphone, the third earphone and the second earphone feed back the receiving state information to the first earphone in turn by using the first format data packet, wherein the first format data packet is a data packet with a duration of 249us.

[0034] The fourth time slot is a reserved time slot resource.

[0035] In a preferred example, the application can be further configured that the first earphone integrates the receiving state information of the second earphone, the third earphone and the fourth earphone with the receiving state information of itself, and feeds back the receiving state information to the terminal device in the second preset time slot after the first preset time slot.

[0036] In the fifth time slot, the receiving state information of the second earphone, the third earphone and the fourth earphone is integrated with the receiving state information of itself, and the first earphone feeds back the receiving state information to the terminal device.

[0037] In a preferred example, the application can be further configured that, in the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn, and the step of feeding back the receiving state information to the first earphone in turn by the second earphone, the third earphone and the fourth earphone in the first preset time slot after the second time slot includes,

[0038] In the first half of the third time slot, the fourth earphone feeds back the receiving state information to the third earphone by using the first format data packet, wherein the first format data packet is a data packet with a duration of 249us.

[0039] In the second half of the same time slot, the third earphone feeds back the receiving state information to the second earphone by using the first format data packet.

[0040] In the first half of the fourth time slot, the second earphone feeds back the receiving state information to the first earphone by using the first format data packet.

[0041] The fourth time slot is a reserved time slot resource.

[0042] The application can be further configured in a preferred example that the first earphone feeds back the receiving state information to the terminal device in a second preset time slot after a first preset time slot, and the step of feeding back the receiving state information to the terminal device in the second preset time slot includes,

[0043] presetting a data packet threshold for the first earphone;

[0044] counting the number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone, the target data packet types being used to represent the receiving state information;

[0045] comparing the number of target data packet types with the data packet threshold;

[0046] when the number of target data packet types is greater than or equal to the data packet threshold, the first earphone feeds back the receiving success state information to the terminal device.

[0047] The application can be further configured in a preferred example that the sending sequence includes,

[0048] when the second earphone, the third earphone and the fourth earphone respectively establish a Bluetooth link with the first earphone, the master earphone allocates a unique number to each of the three slave earphones, and sets an order indication bit in the packet header of the sent data packet to indicate that the second earphone, the third earphone and the fourth earphone feed back in the order of the second earphone, the third earphone and the fourth earphone;

[0049] when the second earphone, the third earphone or the fourth earphone receives the data packet sent by the first earphone, the packet header of the data packet is analyzed to determine whether the order indication bit meets a preset condition;

[0050] if the order indication bit meets the preset condition, the sending sequence is determined according to a preset order corresponding to the number.

[0051] In a second aspect, the application provides a Bluetooth earphone master-slave multi-device data transmission method.

[0052] The application is achieved by the following technical solutions:

[0053] A Bluetooth earphone master-slave multi-device data transmission method is applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone form a first pair of Bluetooth earphones, and a third earphone and a fourth earphone form a second pair of Bluetooth earphones, and the method includes the following steps,

[0054] The first earphone establishes a first Bluetooth link with a terminal device, the second earphone, the third earphone and the fourth earphone each establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening with the terminal device respectively, the third earphone establishes an eighth Bluetooth link with the second earphone, and the fourth earphone establishes a ninth Bluetooth link with the third earphone;

[0055] In a first time slot, the first earphone sends a data packet to the terminal device;

[0056] In a second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone;

[0057] In a third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone;

[0058] In a fourth time slot, the fourth earphone sends its own receiving state information to the third earphone;

[0059] In a fifth time slot, the third earphone feeds back the receiving state information of itself and the receiving state information of the fourth earphone to the second earphone;

[0060] In a sixth time slot, the second earphone sends the receiving state information of itself and the receiving state information fed back by the third earphone to the first earphone;

[0061] In a seventh time slot, the first earphone feeds back the receiving state information of itself and the receiving state information fed back by the second earphone to the terminal device;

[0062] After the first earphone feeds back the receiving success state information to the terminal device, the audio data is synchronously received.

[0063] In a preferred example, the application can be further configured to, in the seventh time slot, the step of the first earphone feeding back the receiving state information of itself and the receiving state information fed back by the second earphone to the terminal device comprises,

[0064] A data packet threshold value is preset for the first earphone;

[0065] The number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone is counted, which represents the receiving state information;

[0066] The number of target data packet types is compared with the data packet threshold value;

[0067] When the target data packet type quantity is greater than or equal to the data packet threshold, the first earphone feeds back the receiving success state information to the terminal device.

[0068] In a third aspect, the present application provides a Bluetooth earphone master-slave multi-device data transmission method.

[0069] The present application is achieved by the following technical solutions:

[0070] A Bluetooth earphone master-slave multi-device data transmission method is applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone form a first pair of Bluetooth earphones, a third earphone and a fourth earphone form a second pair of Bluetooth earphones, and the method comprises the following steps:

[0071] The first earphone establishes a first Bluetooth link with a terminal device, the second earphone, the third earphone, and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening, and a seventh Bluetooth link for listening with the terminal device, the third earphone establishes an eighth Bluetooth link with the second earphone, and the fourth earphone establishes a ninth Bluetooth link with the third earphone.

[0072] In a first time slot, the first earphone sends a data packet to the terminal device.

[0073] In a second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone, and the fourth earphone listen to the data packet sent by the terminal device to the first earphone.

[0074] In a third time slot, the fourth earphone sends its own receiving state information to the third earphone.

[0075] In a fourth time slot, the third earphone feeds back the receiving state information of itself and the receiving state information of the fourth earphone to the second earphone.

[0076] In a fifth time slot, the second earphone sends its own receiving state information and the receiving state information fed back by the third earphone to the first earphone.

[0077] A sixth time slot is a reserved time slot resource.

[0078] In a seventh time slot, the first earphone feeds back the receiving state information of itself and the receiving state information fed back by the second earphone to the terminal device.

[0079] After the first earphone feeds back the receiving success state information to the terminal device, the audio data is synchronously received.

[0080] In a fourth aspect, the present application provides a Bluetooth earphone master-slave multi-device data transmission device.

[0081] The application is implemented through the following technical solutions:

[0082] A Bluetooth earphone master-slave multi-device data transmission device is applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone form a first pair of Bluetooth earphones, a third earphone and a fourth earphone form a second pair of Bluetooth earphones, and the device comprises,

[0083] A topology structure module is configured to establish a first Bluetooth link between the first earphone and a terminal device, establish a second Bluetooth link between the second earphone and the first earphone, establish a third Bluetooth link between the third earphone and the first earphone, establish a fourth Bluetooth link between the fourth earphone and the first earphone, and establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening between the second earphone, the third earphone and the fourth earphone and the terminal device respectively.

[0084] A Bluetooth sending trigger module is configured to send a data packet from the first earphone to the terminal device in a first time slot.

[0085] A Bluetooth audio data receiving module is configured to return a data packet from the terminal device to the first earphone in a second time slot, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent from the terminal device to the first earphone.

[0086] A slave device feedback module is configured to feed back reception state information from the second earphone, the third earphone and the fourth earphone to the first earphone in a first preset time slot after the second time slot.

[0087] A connection stability determination module is configured to comprehensively determine the reception state information of the second earphone, the third earphone and the fourth earphone and the reception state information of the first earphone in a second preset time slot after the first preset time slot.

[0088] An audio data synchronous receiving module is configured to realize synchronous receiving of audio data when the first earphone feeds back reception success state information to the terminal device.

[0089] In a preferred example, the slave device feedback module can further comprise:

[0090] A slave device time slot feedback unit is configured to feed back reception state information from the second earphone, the third earphone and the fourth earphone to the first earphone in a time slot in a first preset time slot after the second time slot.

[0091] In a preferred example, the slave device feedback module can further comprise:

[0092] a slave device time slot feedback unit, configured to feed back the receiving state information to the first earphone in a first preset time slot after a second time slot, and the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in the same time slot in turn.

[0093] The application can be further configured to further comprise,

[0094] a power consumption optimization module, configured to, after the first earphone feeds back the error receiving state information to the terminal device, if the second earphone, the third earphone or the fourth earphone feeds back the correct receiving state information to the first earphone, close the Bluetooth link channel corresponding to the feedback of the correct receiving state information and stop receiving the data packet or feeding back the receiving state information to the first earphone in the next receiving period.

[0095] The application can be further configured to further comprise,

[0096] a time delay optimization module, configured to preset a data packet threshold value for the first earphone, count the number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone and used to represent the receiving state information, compare the number of the target data packet types with the data packet threshold value, and feed back the successful receiving state information to the terminal device by the first earphone when the number of the target data packet types is greater than or equal to the data packet threshold value.

[0097] The application can be further configured to further comprise,

[0098] a slave device step-by-step feedback module, configured to send the receiving state information of the fourth earphone to the third earphone, send the receiving state information of the third earphone and the receiving state information of the fourth earphone to the second earphone, and send the receiving state information of the second earphone and the receiving state information of the third earphone to the first earphone.

[0099] The application can be further configured to further comprise,

[0100] a time slot optimization unit, configured to send the receiving state information of the fourth earphone to the third earphone, and send the receiving state information of the third earphone and the receiving state information of the fourth earphone to the second earphone in the same time slot.

[0101] In the same time slot, after the second earphone receives the receiving success state information or the receiving error state information of the third earphone comprehensive feedback, the second earphone sends the receiving state information of the second earphone and the receiving success state information or the receiving error state information of the third earphone comprehensive feedback to the first earphone.

[0102] Compared with the prior art, the technical scheme provided by the application has at least the following beneficial effects:

[0103] In the master-slave multi-device synchronous data transmission topology under classic Bluetooth, there is only one Bluetooth bidirectional communication link between the terminal device and the Bluetooth earphone, without the need to upgrade the hardware device, and the cost is low; there is only one master Bluetooth role earphone in the Bluetooth topology, and the remaining earphones and the terminal device are slave Bluetooth roles, and a mechanism of sequentially feeding back the receiving state information from the ear to the master ear is designed, the number of feedback levels in the data transmission process is reduced, and the slave ear Bluetooth earphone uniformly reports to the master ear Bluetooth earphone, so that in the process of realizing the synchronous data transmission of one terminal device and multiple pairs of earphones under classic Bluetooth, the slave ear connection stability in the Bluetooth earphone master-slave multi-device can be ensured, and the audio sharing quality in classic Bluetooth is improved. BRIEF DESCRIPTION OF DRAWINGS

[0104] Figure 1 A Bluetooth earphone master-slave multi-device data transmission method provided for an example embodiment of the application is a master-slave multi-device communication link diagram in the scenario of two pairs of Bluetooth earphones.

[0105] Figure 2 A Bluetooth earphone master-slave multi-device data transmission method provided for another example embodiment of the application is a multi-device feedback transmission diagram in the scenario of two pairs of Bluetooth earphones.

[0106] Figure 3 A Bluetooth earphone master-slave multi-device data transmission method provided for another example embodiment of the application is another multi-device feedback transmission diagram in the scenario of two pairs of Bluetooth earphones.

[0107] Figure 4 A Bluetooth earphone master-slave multi-device data transmission method provided for an example embodiment of the application is a multi-device feedback transmission diagram in the scenario of two pairs of Bluetooth earphones.

[0108] Figure 5 A Bluetooth earphone master-slave multi-device data transmission method provided for an example embodiment of the application is another multi-device feedback transmission diagram in the scenario of two pairs of Bluetooth earphones.

[0109] Figure 6A time slot inter-device multi-device step-by-step feedback transmission schematic diagram of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a two-pair Bluetooth earphone scenario.

[0110] Figure 7 Another time slot inter-device multi-device step-by-step feedback transmission schematic diagram of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a two-pair Bluetooth earphone scenario.

[0111] Figure 8 A cross-period information feedback schematic diagram of a time slot inter-device multi-device feedback transmission of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a two-pair Bluetooth earphone scenario.

[0112] Figure 9 A cross-period information feedback schematic diagram of a time slot inter-device multi-device feedback transmission of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a two-pair Bluetooth earphone scenario.

[0113] Figure 10 A time slot inter-device multi-device step-by-step feedback transmission schematic diagram of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a two-pair Bluetooth earphone scenario.

[0114] Figure 11 A time slot inter-device multi-device step-by-step feedback transmission schematic diagram of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a two-pair Bluetooth earphone scenario.

[0115] Figure 12 A synchronous data feedback scheme schematic diagram of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a three-pair Bluetooth earphone scenario.

[0116] Figure 13 Another synchronous data feedback scheme schematic diagram of a Bluetooth earphone master-slave multi-device data transmission method provided for an exemplary embodiment of the present application in a three-pair Bluetooth earphone scenario. DETAILED DESCRIPTION

[0117] The specific embodiments are only an explanation of the present application, and are not a limitation of the present application, and those skilled in the art can make modifications to the embodiments without creative contribution after reading the present specification, and the modifications are protected by the patent law as long as they are within the scope of the claims of the present application.

[0118] To make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0119] In addition, the term "and / or" herein merely describes an association relationship of associated objects, and indicates that there can be three relationships, for example, A and / or B can represent the three cases of A existing alone, A and B existing simultaneously, and B existing alone. In addition, the character " / " herein generally represents an "or" relationship between the front and rear associated objects unless otherwise specified.

[0120] In order to solve the problem that the connection failure of the slave ear causes receiving errors, affects the quality of audio sharing, and the experience of audio sharing is poor when multiple Bluetooth earphones perform synchronous data transmission with a terminal device, on the basis of classic Bluetooth, the present application proposes a synchronous data transmission scheme of a Bluetooth earphone master device and multiple slave devices, selects one earphone as a master ear, and the remaining earphones and the terminal device as slave ear roles, so that there is only one communication link between the terminal device and multiple Bluetooth earphones, and a mechanism of the slave ear feeding back receiving state information to the master ear in turn is designed to detect whether the receiving state of the slave ear is normal, so as to ensure the connection stability of the earphone device in classic Bluetooth and improve the quality of audio sharing.

[0121] The embodiment of the present application provides a Bluetooth earphone master-slave multi-device data transmission method, which is applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone form a first pair of Bluetooth earphones, a third earphone and a fourth earphone form a second pair of Bluetooth earphones, and the main steps of the method are described as follows.

[0122] The first earphone establishes a first Bluetooth link with a terminal device, the second earphone establishes a second Bluetooth link with the first earphone, the third earphone establishes a third Bluetooth link with the first earphone, the fourth earphone establishes a fourth Bluetooth link with the first earphone, and the second earphone, the third earphone, and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening, and a seventh Bluetooth link for listening with the terminal device;

[0123] Before starting audio sharing, the first earphone sends a data packet to the terminal device;

[0124] The terminal device returns a data packet to the first earphone, and the second earphone, the third earphone, and the fourth earphone listen to the data packet sent by the terminal device to the first earphone;

[0125] The second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn;

[0126] The first earphone feeds back the receiving state information to the terminal device in combination with the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of itself;

[0127] When the first earphone feeds back the receiving success state information to the terminal device, the synchronous receiving of the audio data is realized.

[0128] The Bluetooth earphone can be a TWS earphone or an OWS earphone, and the terminal device can be a mobile phone.

[0129] Referring to Figure 1 In an embodiment, the number of Bluetooth earphones can be two pairs, and a master-slave multi-device communication link diagram is shown in the figure. The communication link established between the first earphone and the mobile phone is the first link; the communication link established between the first earphone and the second earphone is the second link; the communication link established between the first earphone and the third earphone is the third link; the communication link established between the first earphone and the fourth earphone is the fourth link; the link established between the second earphone and the mobile phone is the fifth link; the link established between the third earphone and the mobile phone is the sixth link; and the link established between the fourth earphone and the mobile phone is the seventh link.

[0130] Among them, the first earphone is selected as the master ear, and the Bluetooth role is the master device; the second earphone, the third earphone, the fourth earphone and the mobile phone are all slave ears, and the Bluetooth role is the slave device.

[0131] The first link, the second link, the third link and the fourth link are bidirectional links, and the fifth link, the sixth link and the seventh link are unidirectional links for listening. At this time, the second earphone, the third earphone and the fourth earphone receive the data packets sent by the mobile phone, but do not send data packets to the mobile phone.

[0132] In this embodiment, there is only one bidirectional communication link between the plurality of Bluetooth earphones and the terminal device, which is consistent with the classic Bluetooth earphone playback application.

[0133] In an embodiment, in the first preset time slot after the second time slot, the steps in which the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn include,

[0134] In the third time slot, the first earphone sends data packets to the second earphone, the third earphone and the fourth earphone;

[0135] According to a preset sending sequence, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn in a fourth time slot, a fifth time slot and a sixth time slot respectively.

[0136] The sending sequence comprises,

[0137] When the second earphone, the third earphone and the fourth earphone establish Bluetooth links with the first earphone respectively, the master earphone allocates unique numbers to the three slave earphones respectively, and sets an order indication bit in the packet header of the sent data packet to indicate that the second earphone, the third earphone and the fourth earphone feed back according to the order of the second earphone, the third earphone and the fourth earphone.

[0138] When the second earphone, the third earphone or the fourth earphone receives the data packet sent by the first earphone, the packet header of the data packet is parsed to determine whether the order indication bit meets a preset condition.

[0139] If the order indication bit meets the preset condition, the sending sequence is determined according to a preset sequence corresponding to the number.

[0140] In an embodiment, the first earphone synthesizes the receiving state information of the second earphone, the third earphone and the fourth earphone, and its own receiving state information, and feeds back the synthesized receiving state information to the terminal device in a second preset time slot after a first preset time slot.

[0141] In a seventh time slot, the first earphone synthesizes the receiving state information of the second earphone, the third earphone and the fourth earphone, and its own receiving state information, and feeds back the synthesized receiving state information to the terminal device.

[0142] Specifically, with reference to Figure 2 In the master-slave multi-device synchronous data feedback transmission scheme, a transmission period is defined in advance, and the time length is 5 Bluetooth subframes, each Bluetooth subframe contains an odd time slot and an even time slot, and the total time length is 6.25 ms.

[0143] In a transmission period, based on the above master-slave multi-device communication link structure, the Bluetooth earphone master-slave multi-device data transmission steps comprise,

[0144] Before starting the synchronous reception of audio data, in the first time slot, the first earphone sends a data packet to the terminal device, and the duration is one Bluetooth time slot = 0.625 ms.

[0145] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, and the duration is five Bluetooth time slots. At this time, the first earphone, the second earphone, the third earphone and the fourth earphone can all receive the data packet.

[0146] In the third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone, specifically, when the second earphone, the third earphone and the fourth earphone respectively establish a Bluetooth link with the first earphone, the master earphone respectively allocates order indication bits, for example, 3 unique numbers, 0, 1, 2, to the three slave ears, and defines the order indication bits FLOW bits in the packet header of the sent data packet in advance, and judges whether the order indication bits meet the preset condition, if the order indication bits meet the preset condition, the sending order is determined according to the preset order corresponding to the number, so as to rearrange the frame in advance.

[0147] For example, after the three slave ears receive the data packet sent by the first earphone, the packet header of the data packet is parsed, and it is judged whether the FLOW bit is 1, if FLOW = 1, then the three slave ears respectively feed back the receiving state information to the first earphone in the fourth time slot, the fifth time slot and the sixth time slot according to the numbers 0, 1, 2 allocated by the master earphone, and the first earphone receives the receiving state information fed back by the three slave ears in the fourth time slot, the fifth time slot and the sixth time slot, adopts the time slot by time slot feedback mechanism, and feeds back the receiving state (ACK / NACK) of the mobile phone data packet to the first earphone in turn, so as to ensure that the slave ear can correctly receive the data packet, reduce the feedback level number in the data transmission process, and report to the master earphone from the slave ear role Bluetooth earphone, so as to facilitate faster detection of the connection stability of the earphone in the master-slave multi-device.

[0148] In the seventh time slot, the first earphone feeds back receiving state information (ACK / NACK) to the terminal device according to the received slave ear information and the state information of itself.

[0149] When the first earphone correctly receives the data packet returned by the terminal device, and the second earphone, the third earphone and the fourth earphone all feed back correct receiving state information to the first earphone, the first earphone feeds back receiving success state information to the terminal device; when the first earphone incorrectly receives the data packet returned by the terminal device, or any one of the second earphone, the third earphone and the fourth earphone feeds back receiving error state information to the first earphone, the first earphone feeds back receiving error state information to the terminal device. That is, when the first earphone receives correctly, and receives the information that the three slave ears all receive correctly, the first earphone feeds back receiving correct (ACK) state to the terminal; otherwise, the first earphone feeds back receiving error (NACK) state to the terminal.

[0150] After the first earphone feeds back receiving success state information to the terminal device, the synchronous receiving of the audio data is realized.

[0151] The embodiment changes the frame transmission scheme of the traditional Bluetooth. The traditional Bluetooth frame only allows the master device to transmit data in the odd time slots. The embodiment allows the slave device (slave earphone) to transmit data packets in the odd time slots in the fifth time slot. In the even time slots, the master device receives data and the slave device transmits data.

[0152] In an embodiment, in order to extend the utilization of the time slot resources and adapt to the application requirements of more manufacturers, in the first preset time slot after the second time slot, the step of sequentially feeding back the receiving state information of the second earphone, the third earphone and the fourth earphone to the first earphone comprises,

[0153] In the first preset time slot, that is, the third time slot, the fourth time slot and the fifth time slot, the second earphone, the third earphone and the fourth earphone sequentially feed back the receiving state information to the first earphone in the preset time slot order.

[0154] The sixth time slot is a reserved time slot resource.

[0155] In an embodiment, the first earphone comprehensively feeds back the receiving state information to the terminal device in the second preset time slot after the first preset time slot, by comprehensively combining the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of itself.

[0156] The seventh time slot, the first earphone comprehensively feeds back the receiving state information to the terminal device by comprehensively combining the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of itself.

[0157] Specifically, referring to Figure 3 In order to extend the utilization of the time slot resources and adapt to the application requirements of more manufacturers, the master-slave multi-device data transmission scheme of the Bluetooth earphone is as follows,

[0158] A transmission period is defined in advance, with a duration of 5 Bluetooth subframes. Each Bluetooth subframe contains an odd time slot and an even time slot, and the total duration is 6.25 ms.

[0159] In the first time slot, the first earphone transmits a data packet to the terminal device, with a duration of one Bluetooth time slot = 0.625 ms.

[0160] In the second time slot, the terminal device returns a data packet to the first earphone. The second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, with a duration of five Bluetooth time slots.

[0161] In the third time slot, the second earphone feeds back the receiving state information to the first earphone.

[0162] In the fourth time slot, the third earphone feeds back the receiving state information to the first earphone.

[0163] In the fifth time slot, the fourth earphone feeds back the receiving status information to the first earphone;

[0164] The sixth time slot can be used as a reserved time slot to extend more earphones or applications.

[0165] In the seventh time slot, the first earphone feeds back the receiving status information (ACK / NACK) to the terminal device according to the received slave information and the self status information.

[0166] In an embodiment, in order to save time slot resources and improve the utilization rate of time slot resources, in the first preset time slot after the second time slot, the steps in which the second earphone, the third earphone and the fourth earphone feed back the receiving status information to the first earphone in turn include,

[0167] In the third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone.

[0168] In the fourth time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving status information to the first earphone in turn in a first format data packet according to a preset sending order, wherein the first format data packet is a data packet with a duration of 249us.

[0169] Specifically, referring to Figure 4 , a transmission period is defined in advance, with a duration of 4 Bluetooth subframes, each Bluetooth subframe containing an odd time slot and an even time slot, and a total of 5ms. In a transmission period, the steps of the master-slave multi-device data transmission of the Bluetooth earphone include,

[0170] In the first time slot, the first earphone sends a data packet to the terminal, with a duration of 1 Bluetooth time slot, 0.625ms.

[0171] In the second time slot, the mobile phone terminal sends a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, with a duration of 5 Bluetooth time slots.

[0172] In the third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone. Specifically, when the first earphone sends a data packet, the FLOW bit in the packet header is used to determine whether the slave needs to feed back the receiving status information; when FLOW=1, the slave feeds back the receiving status information according to a preset order, and FLOW≠1, no receiving status information is fed back.

[0173] The third earphone, the fourth earphone and the second earphone feed back the receiving state information to the first earphone in the third time slot in turn, and the first earphone pre-allocates unique numbers to the other three slave earphones when the first earphone establishes the connection link with the second earphone, the third earphone and the fourth earphone, for example, the numbers are 0, 1 and 2 respectively, and the three slave earphones feed back the receiving state information to the first earphone in the third time slot in turn according to the numbers 0, 1 and 2 pre-allocated by the master earphone in the preset order and by using the first format data packet; for example, if the number of the slave earphone is 1, the earphone feeds back the data packet to the first earphone in the second order by using the first format data packet.

[0174] The first format data packet includes three parts, namely a head, a middle part and a tail; the head and the tail are both guard intervals, and the duration is 79-89us; the middle part is spread spectrum data, and carries the "correct" and "error" receiving state information; and the duration is 30-50us.

[0175] In the fifth time slot, the first earphone receives the state information fed back by the three slave earphones, and feeds back the receiving state information to the terminal according to the received state information of the slave earphones.

[0176] In the embodiment, the second earphone, the third earphone and the fourth earphone share the same time slot resource, and feed back the receiving state information of the respective earphones in turn, that is, the same time slot resource is shared to feed back the data packet in turn, so that the slave earphones can correctly receive the data packet, the time slot resource is saved, and more earphones or applications can be expanded.

[0177] In an embodiment, in order to expand the time slot resource and meet different needs of more manufacturers, in the first preset time slot after the second time slot, the steps that the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn include that

[0178] In the third time slot, the fourth earphone, the third earphone and the second earphone feed back the receiving state information to the first earphone in turn by using the first format data packet, and the first format data packet is a data packet with a duration of 249us.

[0179] The fourth time slot is a reserved time slot resource.

[0180] Further, the first earphone feeds back the receiving state information to the terminal device in the second preset time slot after the first preset time slot by comprehensively combining the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone.

[0181] In the fifth time slot, the first earphone feeds back the receiving state information to the terminal device by comprehensively combining the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone.

[0182] Specifically, with reference to Figure 5 , in order to expand the time slot resources, meet the different needs of more manufacturers, another master-slave multi-device synchronous data feedback transmission scheme using the simultaneous time slot feedback mechanism includes,

[0183] The first time slot, the first earphone sends a data packet to the mobile terminal, and the duration is 1 Bluetooth time slot, 0.625 ms;

[0184] The second time slot, the mobile terminal sends a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, and the duration is 5 Bluetooth time slots;

[0185] The third time slot, the fourth earphone, the third earphone and the second earphone feed back the receiving state information to the first earphone in turn using the first format data packet;

[0186] The fourth time slot is a reserved time slot;

[0187] The fifth time slot, the first earphone receives the state information feedback from the three slaves, and combines the receiving state information of itself to feed back the receiving state to the mobile terminal.

[0188] Further, in order to reduce the power consumption of the master earphone, a part of the decision-making right is decentralized to other slaves, so that the slaves obtain certain feedback management right, a Bluetooth earphone master-slave multi-device data transmission method is applied to at least two pairs of Bluetooth earphones, wherein the first earphone and the second earphone form a first pair of Bluetooth earphones, the third earphone and the fourth earphone form a second pair of Bluetooth earphones, and the method includes the following steps,

[0189] The first earphone sends a data packet to the terminal device;

[0190] The terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone;

[0191] The first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone;

[0192] The fourth earphone sends its own receiving state information to the third earphone;

[0193] The third earphone feeds back the receiving state information of itself and the receiving state information of the fourth earphone to the second earphone;

[0194] The second earphone sends its own receiving state information and the receiving state information fed back by the third earphone to the first earphone;

[0195] The first earphone combines the receiving state information fed back by the second earphone and its own receiving state information, and feeds back the receiving state information to the terminal device;

[0196] After the first earphone feeds back the receiving success state information to the terminal device, the synchronous receiving of the audio data is realized.

[0197] Specifically, referring to Figure 1 and Figure 6 , the first earphone establishes a first Bluetooth link with the terminal device, the second earphone, the third earphone and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening with the terminal device, the third earphone establishes an eighth Bluetooth link with the second earphone, and the fourth earphone establishes a ninth Bluetooth link with the third earphone;

[0198] In the first time slot, the first earphone sends a data packet to the terminal device;

[0199] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, and the duration is five Bluetooth time slots;

[0200] In the third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone;

[0201] In the fourth time slot, the fourth earphone sends its own receiving state information to the third earphone;

[0202] In the fifth time slot, the third earphone feeds back the synthesized state information to the second earphone in combination with its own state information and the state information of the fourth earphone;

[0203] In the sixth time slot, the second earphone feeds back the state information to the first earphone in combination with its own state information and the synthesized state information of the third earphone;

[0204] In the seventh time slot, the first earphone feeds back the receiving state information (ACK / NACK) to the terminal device according to the received slave information and its own state information.

[0205] The determination criteria of the receiving state information include, for example, when two state information are combined, only when both of the two information are ACK (correct receiving) information, the combined result is ACK; otherwise, the combination is NACK (incorrect receiving).

[0206] Through the above-mentioned data transmission method of multi-slave device feedback in time slots of Bluetooth earphone, the connection stability of the slave earphone is ensured, and the power consumption of the master earphone is effectively reduced.

[0207] Further, in order to extend the use of time slot resources, another scheme for master-slave multi-device synchronous data feedback transmission using inter-time-slot multi-slave device step-by-step feedback mechanism includes:

[0208] The first earphone establishes a first Bluetooth link with the terminal device, the second earphone, the third earphone, and the fourth earphone each establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening, and a seventh Bluetooth link for listening with the terminal device, the third earphone establishes an eighth Bluetooth link with the second earphone, and the fourth earphone establishes a ninth Bluetooth link with the third earphone;

[0209] In the first time slot, the first earphone sends a data packet to the terminal device;

[0210] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone, and the fourth earphone listen to the data packet sent by the terminal device to the first earphone;

[0211] In the third time slot, the fourth earphone sends its own reception status information to the third earphone;

[0212] In the fourth time slot, the third earphone feeds back the reception status information of itself and the fourth earphone to the second earphone;

[0213] In the fifth time slot, the second earphone sends its own reception status information and the reception status information fed back by the third earphone to the first earphone;

[0214] The sixth time slot is a reserved time slot resource;

[0215] In the seventh time slot, the first earphone feeds back the reception status information of itself and the second earphone to the terminal device;

[0216] After the first earphone feeds back the reception success status information to the terminal device, the synchronous reception of audio data is realized.

[0217] Specifically, referring to Figure 7 In the first time slot, the first earphone sends a data packet to the terminal device;

[0218] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone, and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, at this time, the first earphone, the second earphone, the third earphone, and the fourth earphone can all receive the data packet;

[0219] In the third time slot, the fourth earphone sends its own receiving state information to the third earphone;

[0220] In the fourth time slot, the third earphone combines its own state information and the state information of the fourth earphone to feed back the comprehensive state information to the second earphone;

[0221] In the fifth time slot, the second earphone combines its own state information and the comprehensive state information of the third earphone to feed back the comprehensive state information to the first earphone;

[0222] In the sixth time slot, it can be used as a reserved time slot to extend more earphones or applications;

[0223] In the seventh time slot, the first earphone feeds back the receiving state information (ACK / NACK) to the terminal device according to the received slave information and its own state information.

[0224] Further, in order to reduce the number of times of sending / receiving repeated data packets by the earphone and reduce the power consumption of the earphone, in an embodiment, after the first earphone feeds back the receiving error state information to the terminal device in the second preset time slot after the first preset time slot, the first earphone further comprises the following steps,

[0225] If the second earphone, the third earphone or the fourth earphone feeds back the correct receiving state information to the first earphone, in the next receiving period, the Bluetooth link channel corresponding to the feedback of the correct receiving state information is closed, and the receiving of the data packet or the feedback of the receiving state information to the first earphone is stopped.

[0226] Specifically, referring to Figure 8 For example, in the application scenario of two pairs of Bluetooth earphones, the second earphone, the third earphone and the fourth earphone listen to the receiving state information fed back by the first earphone to the terminal.

[0227] If the receiving state information of the second earphone, the third earphone or the fourth earphone is the receiving success state, and the first earphone feeds back the receiving error information (NACK) to the terminal in the seventh time slot, in the next transmission period, the corresponding earphone can close the Bluetooth link channel to avoid repeatedly receiving the data packet sent by the terminal device, or avoid repeatedly feeding back the receiving correct state information to the first earphone, so as to realize early detection of the receiving correct slave earphone, close the Bluetooth link channel between the earphone and the master earphone, and reduce the power consumption of the earphone device.

[0228] For the slave earphone that feeds back the receiving error state information in the last transmission period, it continues to receive the data packet of the terminal device in the current transmission period, and continues to feed back the receiving state information to the first earphone in the corresponding time slot.

[0229] Until the first earphone receives all the ACK information from the feedback of the slave ear, the ACK information is fed back to the terminal device in combination with the ACK information of the first earphone. At this time, the terminal completes the transmission of the data packet.

[0230] With reference to Figure 9 Similarly, in order to reduce the power consumption of the earphone, the master-slave multi-device synchronous data feedback transmission scheme in a time slot includes,

[0231] If the receiving state information of the second earphone or the third earphone or the fourth earphone is a receiving success state, and the first earphone feeds back receiving error information (NACK) to the terminal in the fifth time slot, the corresponding earphone can close the Bluetooth link channel in the next transmission period to avoid repeated reception of the data packet sent by the terminal device, or to avoid repeated feedback of the receiving success state information to the first earphone;

[0232] For the slave ear that feeds back receiving error state information in the last transmission period, the data packet of the terminal device is continuously received in the current transmission period, and the receiving state information is continuously fed back to the first earphone in the corresponding time slot;

[0233] Until the first earphone receives all the ACK information from the feedback of the slave ear, the ACK information is fed back to the terminal device in combination with the ACK information of the first earphone. At this time, the terminal completes the transmission of the data packet.

[0234] Further, in order to ensure the low latency performance of the Bluetooth earphone, when the master ear (such as the first earphone) receives correctly, the ACK information can be selectively fed back. The step of the first earphone feeding back the receiving state information to the terminal device in the second preset time slot after the first preset time slot includes,

[0235] A data packet threshold value is preset for the first earphone;

[0236] The number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone for representing the receiving state information is counted;

[0237] The number of target data packet types is compared with the data packet threshold value;

[0238] When the number of target data packet types is greater than or equal to the data packet threshold value, the first earphone feeds back the receiving success state information to the terminal device

[0239] Specifically, at the first earphone side, a time length threshold is set, within the preset time length threshold, if the master ear receives a quantity of correct state information feedback from the slave ear satisfying a threshold requirement, the first earphone can feed back ACK information to the terminal device without waiting to receive all ACK information from the slave ear, so as to increase the tolerance of the master ear to the correct state information data packet feedback from the slave ear, improve the time delay performance of the Bluetooth earphone, and the specific design is shown in Table 1.

[0240] Table 1

[0241]

[0242]

[0243] Wherein, N1 >= N2 >= N3 >= N4, and are positive integers.

[0244] For example, for the medium sound quality transmission of SBC format audio data, the typical rate is 229kbps, combined with the master-slave multi-device feedback transmission scheme in the time slot of the application, one transmission period is 6.25ms, according to the length of each data packet of 600Bytes, in the transmission mode of EDR2M, the transmission tolerance of each data packet is about 20.49ms, and N1-N5 can be set as 3, 3, 2, 1 and 0 respectively.

[0245] For example, one transmission period is 5 Bluetooth frames, i.e. 6.25ms, for the high sound quality transmission of SBC format audio data, the air interface rate is 328kbps, and one data packet is calculated according to 600Bytes. Therefore, the average transmission of each data packet is completed within about 14.3ms, according to 14.3ms / 6.25ms=2.288 times, which means that the average tolerance of each data packet of the master ear in the transmission period is 2.288, and 3 is taken.

[0246] If different sound qualities require different air interface rates, for example, the rate requirement of SBC medium sound quality is 228kbps, the value of the tolerance can be adjusted accordingly.

[0247] When the first earphone receives a data packet of a specific format, the values of N1-N5 can be dynamically designed and adjusted according to the transmission rate requirement and the time delay requirement of the service.

[0248] By designing the receiving data packet tolerance of the master ear, when the receiving times increase, in order to ensure the time delay performance, the receiving of the slave ear is selectively ignored. The tolerance mechanism can effectively guarantee the throughput and delay performance of all earphones, while taking into account the data packet receiving situation of individual earphones.

[0249] Reference Figure 10Similarly, in order to reduce the power consumption of the earphone while saving the time slot resources, the master-slave multi-device synchronous data transmission scheme in the time slot can also adopt the "step-by-step feedback" mechanism, including the following steps,

[0250] In the first time slot, the first earphone sends a data packet to the terminal device, and the duration is one Bluetooth time slot = 0.625 ms;

[0251] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, and the duration is five Bluetooth time slots;

[0252] In the third time slot, the fourth earphone sends its own state information to the third earphone; then, the third earphone receives the receiving state information of the fourth earphone, and combines its own receiving state information to comprehensively feedback the receiving state information to the second earphone, at this time, the slave earphone adopts the step-by-step feedback mechanism in the time slot;

[0253] In the fourth time slot, after the second earphone receives the comprehensive receiving state information feedback by the third earphone, it combines its own receiving state information to comprehensively feedback the receiving state information to the first earphone;

[0254] In the fifth time slot, the first earphone feeds back the receiving state information (ACK / NACK) to the terminal device according to the feedback information of the slave earphone and its own receiving state information, at this time, the second earphone, the third earphone and the fourth earphone listen to the data communication between the first earphone and the terminal device.

[0255] Among them, the data format of the data packet P (i.e. the first format data packet) feedback by the second earphone, the third earphone and the fourth earphone is as shown in Figure 11 .

[0256] Because the simultaneous time slot feedback mechanism is adopted in the embodiment, in order to avoid the time overlap of the three data packets of the second earphone, the third earphone and the fourth earphone, and to reserve the processing time of the analog device for the radio frequency front-end module, a protection interval is added before and after the original data packet, and the length range is 79-89us, the format of the data packet P includes two protection intervals and a spread spectrum code located in the middle of the two protection intervals, because the spread spectrum code only needs to carry 1bit of information (ACK / NACK information), the duration is designed as 30-50us, so the total duration of the data packet P is 208us, and then the three data packets can be transmitted at the same frequency to reduce the radio frequency switching time of the first earphone receiving the three data packets, and improve the transmission efficiency.

[0257] It can be seen that, for the synchronization data transmission scheme of the master-slave multi-device of the two pairs of Bluetooth earphones in the same time slot, the "three-level step-by-step" feedback needs to occupy 2 Bluetooth time slots, although there will be processing delay in the time domain, but it can reduce the power consumption of the master earphone, and there is no need to upgrade the hardware performance requirements of the earphone.

[0258] Referring to Figure 12 Further, the Bluetooth earphone master-slave multi-device data transmission method proposed in the application can also be applied to 3 pairs of Bluetooth earphones, at this time, one transmission cycle is 5 Bluetooth frames.

[0259] Specifically, in the first time slot, the first earphone sends a data packet to the terminal device, and the duration is one Bluetooth time slot = 0.625 ms, at this time, only the second earphone, the third earphone and the fourth earphone listen to the communication between the first earphone and the terminal device;

[0260] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone, and the duration is five Bluetooth time slots;

[0261] In the third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone;

[0262] In the fourth time slot, the fourth earphone, the third earphone and the second earphone feed back the receiving state information to the first earphone in turn;

[0263] In the fifth time slot, the first earphone sends a data packet to the fifth earphone and the sixth earphone;

[0264] In the sixth time slot, after the fifth earphone and the sixth earphone receive the data packet sent by the first earphone, they feed back the receiving state information to the first earphone in turn;

[0265] In the seventh time slot, the first earphone feeds back the receiving state information (ACK / NACK) to the terminal device according to the received feedback information of the slave earphone and the receiving state information of itself, at this time, the second earphone, the third earphone, the fourth earphone, the fifth earphone and the sixth earphone listen to the data communication between the first earphone and the terminal device.

[0266] Referring to Figure 13 In order to expand the time slot resources, in an embodiment, the Bluetooth earphone master-slave multi-device data transmission method applied to the scene of 3 pairs of Bluetooth earphones includes,

[0267] In the first time slot, the first earphone sends a data packet to the terminal device;

[0268] In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the communication between the first earphone and the terminal device, and the duration is five Bluetooth time slots;

[0269] In the third time slot, the first earphone sends data packets to the second earphone, the third earphone and the fourth earphone;

[0270] In the fourth time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn;

[0271] In the fifth time slot, the fifth earphone and the sixth earphone feed back the receiving state information to the first earphone in turn according to the numbers obtained by themselves;

[0272] The sixth time slot can be used as a reserved time slot resource for expanding Bluetooth earphones or other applications, so as to support more users.

[0273] In the seventh time slot, the first earphone feeds back the receiving state information (ACK / NACK) to the terminal device according to the feedback information received from the ear and the receiving state information of itself, at this time, the second earphone, the third earphone, the fourth earphone, the fifth earphone and the sixth earphone listen to the data communication between the first earphone and the terminal device.

[0274] Optionally, the Bluetooth earphone master-slave multi-device data transmission method proposed in the application can also be applied to 4 pairs of Bluetooth earphones, 5 pairs of Bluetooth earphones, 6 pairs of Bluetooth earphones, etc., which will not be described here.

[0275] In summary, the Bluetooth earphone master-slave multi-device data transmission method builds a master-slave multi-device synchronous data transmission topology under classic Bluetooth, only one Bluetooth communication link exists between the terminal device and the Bluetooth earphone, without the need to upgrade the hardware device, and the cost is low; only one master Bluetooth earphone exists in the Bluetooth topology, the rest of the earphones and the terminal device are slave Bluetooth roles, and a mechanism for the slave ear to feed back the receiving state information to the master ear in turn is designed, which ensures the connection stability of the slave ear in the Bluetooth earphone master-slave multi-device in the process of realizing synchronous data transmission of one terminal device and multiple pairs of earphones under classic Bluetooth, so as to improve the audio sharing quality in classic Bluetooth.

[0276] By designing a multi-device feedback transmission scheme between time slots, the slave ear feeds back the receiving state information to the master ear in turn in time slots or the same time slots, only one master Bluetooth earphone is set, and the rest of the earphones and the terminal device are slave Bluetooth roles, which ensures the connection stability of the slave ear in the Bluetooth earphone master-slave multi-device in the process of realizing synchronous data transmission of one terminal device and multiple pairs of earphones under classic Bluetooth, so as to improve the audio sharing quality in classic Bluetooth.

[0277] Further, by designing the multi-device inter-slot feedback transmission scheme, the slave ear receives the state information of the inter-slot feedback, so as to decentralize a part of the decision-making right to other slave ears, so that the slave ear obtains a certain feedback management right, reduces the power consumption of the master ear, and the slave ear feedback mechanism is more flexible.

[0278] In the present application, by checking the correct slave ear in advance in a transmission period, and closing the Bluetooth link channel between the earphone and the master ear in the next transmission period in advance, repeated reception of terminal data packets or repeated feedback of reception state information to the master ear is avoided, so as to reduce the power consumption of the earphone, reduce the number of times of receiving or sending repeated data packets, and realize data redundancy in the transmission process.

[0279] Further, by designing the data packet feedback tolerance of the master ear, when the number of receptions increases, the reception of the slave ear is selectively ignored, and it is judged whether the number of reception correct state information of the slave ear received by the master ear in the predetermined time interval meets the threshold requirement, so as to directly feedback the ACK information to the terminal device when the requirement is met, without the master ear waiting to receive all ACK information of the slave ear before feedback, which improves the time delay performance of the transmission process, so as to realize the flexible feedback mechanism of the master ear to the terminal device under the premise of meeting the low time delay requirement of the TWS Bluetooth earphone, and guarantee the throughput and delay of all earphones, while also taking into account the data packet reception of individual earphones.

[0280] The Bluetooth earphone master-slave multi-device feedback transmission scheme proposed in the present application can effectively detect the connection stability of the slave ear when multiple Bluetooth earphones synchronously receive data from the same terminal device on the basis of classic Bluetooth, so as to ensure that the slave ear receives correctly to meet the synchronous playback requirement, greatly improve the audio sharing quality, and can be applied to audio data sharing and other application scenarios.

[0281] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0282] The present application also provides a Bluetooth earphone master-slave multi-device data transmission device, which corresponds to the Bluetooth earphone master-slave multi-device data transmission method in the above embodiments. The Bluetooth earphone master-slave multi-device data transmission device is applied to at least two pairs of Bluetooth earphones, wherein the first earphone and the second earphone form a first pair of Bluetooth earphones, the third earphone and the fourth earphone form a second pair of Bluetooth earphones, and the Bluetooth earphone master-slave multi-device data transmission device comprises,

[0283] a topology module, configured to establish a first Bluetooth link between the first earphone and a terminal device, a second Bluetooth link between the second earphone and the first earphone, a third Bluetooth link between the third earphone and the first earphone, a fourth Bluetooth link between the fourth earphone and the first earphone, and a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening between the second earphone, the third earphone and the fourth earphone and the terminal device respectively;

[0284] a Bluetooth sending trigger module, configured to send a data packet from the first earphone to the terminal device in a first time slot;

[0285] a Bluetooth audio data receiving module, configured to return a data packet from the terminal device to the first earphone in a second time slot, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent from the terminal device to the first earphone;

[0286] a slave device feedback module, configured to feed back receiving state information from the second earphone, the third earphone and the fourth earphone to the first earphone in a first preset time slot after the second time slot;

[0287] a connection stability determination module, configured to comprehensively determine the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone in a second preset time slot after the first preset time slot;

[0288] an audio data synchronous receiving module, configured to realize synchronous receiving of audio data after the first earphone feeds back the receiving success state information to the terminal device.

[0289] Further, the slave device feedback module comprises,

[0290] a slave device time slot feedback unit, configured to feed back the receiving state information from the second earphone, the third earphone and the fourth earphone to the first earphone in a time slot according to a preset sending sequence.

[0291] The slave device feedback module comprises,

[0292] a slave device time slot feedback unit, configured to feed back the receiving state information from the second earphone, the third earphone and the fourth earphone to the first earphone in a time slot in a first preset time slot after the second time slot.

[0293] The slave device feedback module further comprises,

[0294] a slave time slot feedback unit, configured to feed back the receiving state information to the first earphone in a first preset time slot after a second time slot, and the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in the same time slot in turn

[0295] Further, the Bluetooth earphone master-slave multi-device data transmission device further comprises,

[0296] a power consumption optimization module, configured to, after the first earphone feeds back the error receiving state information to the terminal device, if the second earphone, the third earphone or the fourth earphone feeds back the correct receiving state information to the first earphone, close the Bluetooth link channel corresponding to the feedback of the correct receiving state information and stop receiving the data packet or feeding back the receiving state information to the first earphone in the next receiving period.

[0297] Further, the Bluetooth earphone master-slave multi-device data transmission device further comprises,

[0298] a time delay optimization module, configured to preset a data packet threshold value for the first earphone, count the number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone and used to represent the receiving state information, compare the number of the target data packet types with the data packet threshold value, and feed back the successful receiving state information to the terminal device by the first earphone when the number of the target data packet types is greater than or equal to the data packet threshold value.

[0299] Further, the Bluetooth earphone master-slave multi-device data transmission device further comprises,

[0300] a slave device step-by-step feedback module, configured to send the receiving state information of the fourth earphone to the third earphone, send the receiving state information of the third earphone and the receiving state information of the fourth earphone to the second earphone by the third earphone, and send the receiving state information of the second earphone and the receiving state information of the third earphone to the first earphone by the second earphone.

[0301] The slave device step-by-step feedback module comprises,

[0302] a time slot optimization unit, configured to send the receiving state information of the fourth earphone to the third earphone, and send the receiving state information of the third earphone and the receiving state information of the fourth earphone to the second earphone by the third earphone in the same time slot; and send the receiving state information of the second earphone and the successful receiving state information or the error receiving state information of the third earphone to the first earphone by the second earphone after the second earphone receives the successful receiving state information or the error receiving state information of the third earphone in the same time slot.

[0303] The specific limitation of the Bluetooth earphone master-slave multi-device data transmission device can refer to the limitation of the Bluetooth earphone master-slave multi-device data transmission method, which is not repeated here.

[0304] The modules in the Bluetooth earphone master-slave multi-device data transmission device can be realized by software, hardware, or a combination thereof. The modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the modules.

[0305] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer readable storage medium and include instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the embodiments of the present application. The computer program can include the processes of the above-mentioned embodiments when executed.

[0306] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is exemplified. In actual applications, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to complete all or part of the above-described functions.

Claims

1. A master-slave multi-device data transmission method for Bluetooth earphones, characterized in that, The application is applied to at least two pairs of Bluetooth earphones, wherein the first earphone and the second earphone form the first pair of Bluetooth earphones, the third earphone and the fourth earphone form the second pair of Bluetooth earphones, and the method comprises the following steps, The first earphone establishes a first Bluetooth link with a terminal device, the second earphone establishes a second Bluetooth link with the first earphone, the third earphone establishes a third Bluetooth link with the first earphone, the fourth earphone establishes a fourth Bluetooth link with the first earphone, and the second earphone, the third earphone and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening with the terminal device; In a first time slot, the first earphone sends a data packet to the terminal device; In a second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone; In a first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back receiving state information to the first earphone in turn; The first earphone comprehensively feeds back receiving state information to the terminal device in a second preset time slot after the first preset time slot, wherein the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone are comprehensively fed back; specifically, when the first earphone correctly receives the data packet returned by the terminal device and the second earphone, the third earphone and the fourth earphone all feed back correct receiving state information to the first earphone, the first earphone feeds back receiving success state information to the terminal device; After the first earphone feeds back the receiving success state information to the terminal device, synchronous receiving of audio data is realized.

2. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, In a first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back receiving state information to the first earphone in turn, wherein the steps comprise, In a third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone; According to a preset sending order, the second earphone, the third earphone and the fourth earphone feed back receiving state information to the first earphone in turn in a fourth time slot, a fifth time slot and a sixth time slot respectively according to the data packet received by the first earphone.

3. The master-slave multi-device data transfer method for Bluetooth earphone according to claim 2, characterized in that, The first earphone comprehensively feeds back receiving state information to the terminal device in a second preset time slot after the first preset time slot, wherein the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone are comprehensively fed back; specifically, when the first earphone correctly receives the data packet returned by the terminal device and the second earphone, the third earphone and the fourth earphone all feed back correct receiving state information to the first earphone, the first earphone feeds back receiving success state information to the terminal device; In a seventh time slot, the first earphone comprehensively feeds back receiving state information to the terminal device according to the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of the first earphone.

4. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, In a first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back receiving state information to the first earphone in turn, wherein the steps comprise, In a third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone; In the fourth time slot, the second earphone, the third earphone and the fourth earphone feed back the received state information to the first earphone in turn according to the received data packet sent by the first earphone in the preset sending order, wherein the first format data packet is a data packet with a duration of 249us.

5. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 4, characterized in that, The first earphone synthesizes the received state information of the second earphone, the third earphone and the fourth earphone and its own received state information, and feeds back the synthesized received state information to the terminal device in the second preset time slot after the first preset time slot, and the step of feeding back the synthesized received state information to the terminal device comprises, In the fifth time slot, the first earphone synthesizes the received state information of the second earphone, the third earphone and the fourth earphone and its own received state information, and feeds back the synthesized received state information to the terminal device.

6. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, After the first earphone synthesizes the received error state information of the second earphone, the third earphone and the fourth earphone and its own received error state information and feeds back the synthesized received error state information to the terminal device in the second preset time slot after the first preset time slot, the first earphone further comprises the following steps: If the second earphone, the third earphone or the fourth earphone feeds back the correct received state information to the first earphone, the corresponding Bluetooth link channel for feeding back the correct received state information is closed in the next receiving period, and the receiving of the data packet or the feeding back of the received state information to the first earphone is stopped. In the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the received state information to the first earphone in turn, and the step of feeding back the received state information to the first earphone in turn comprises, 7. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, In the first preset time slot, that is, the third time slot, the fourth time slot and the fifth time slot, the second earphone, the third earphone and the fourth earphone feed back the received state information to the first earphone in turn according to the preset time slot order. The sixth time slot is a reserved time slot resource. The first earphone synthesizes the received state information of the second earphone, the third earphone and the fourth earphone and its own received state information, and feeds back the synthesized received state information to the terminal device in the second preset time slot after the first preset time slot.

8. The Bluetooth headset master-slave multi-device data transfer method of claim 7, wherein, In the seventh time slot, the first earphone synthesizes the received state information of the second earphone, the third earphone and the fourth earphone and its own received state information, and feeds back the synthesized received state information to the terminal device. In the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the received state information to the first earphone in turn, and the step of feeding back the received state information to the first earphone in turn comprises, 9. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, In the third time slot, the fourth earphone, the third earphone and the second earphone feed back the received state information to the first earphone in turn by using the first format data packet, wherein the first format data packet is a data packet with a duration of 249us. The fourth time slot is a reserved time slot resource. The first earphone synthesizes the received state information of the second earphone, the third earphone and the fourth earphone and its own received state information, and feeds back the synthesized received state information to the terminal device in the second preset time slot after the first preset time slot.

10. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 9, characterized in that, ​ In the fifth time slot, the first earphone synthesizes the receiving state information of the second earphone, the third earphone and the fourth earphone and its own receiving state information, and feeds back the synthesized receiving state information to the terminal device.

11. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, In the first preset time slot after the second time slot, the second earphone, the third earphone and the fourth earphone feed back the receiving state information to the first earphone in turn, and the step includes, In the first half of the third time slot, the fourth earphone feeds back the receiving state information to the third earphone by using a first format data packet, wherein the first format data packet is a data packet with a duration of 249us; In the second half of the same time slot, the third earphone feeds back the receiving state information to the second earphone by using the first format data packet; In the first half of the fourth time slot, the second earphone feeds back the receiving state information to the first earphone by using the first format data packet; The second half of the fourth time slot is a reserved time slot resource.

12. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 1, characterized in that, In the second preset time slot after the first preset time slot, the first earphone synthesizes the feedback receiving state information to the terminal device, and the step includes, A data packet threshold value is preset for the first earphone; The first earphone counts the number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone, which are used to represent the receiving state information; The number of target data packet types is compared with the data packet threshold value; When the number of target data packet types is greater than or equal to the data packet threshold value, the first earphone feeds back the receiving success state information to the terminal device.

13. The master-slave multi-device data transmission method of Bluetooth earphone according to claim 2, characterized in that, The sending sequence includes, When the second earphone, the third earphone and the fourth earphone respectively establish a Bluetooth link with the first earphone, the master earphone assigns a unique number to each of the three slave earphones, and sets an order indication bit in the packet header of the sent data packet to indicate that the second earphone, the third earphone and the fourth earphone feed back in the order of the second earphone, the third earphone and the fourth earphone; the master earphone is the first earphone; the slave earphones are the second earphone, the third earphone and the fourth earphone; When the second earphone, the third earphone or the fourth earphone receives the data packet sent by the first earphone, the packet header of the data packet is parsed to determine whether the order indication bit meets a preset condition; If the order indication bit meets the preset condition, the sending sequence is determined according to a preset order corresponding to the number.

14. A master-slave multi-device data transmission method for Bluetooth earphones, characterized in that, Applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone constitute a first pair of Bluetooth earphones, and a third earphone and a fourth earphone constitute a second pair of Bluetooth earphones, and the method includes the following steps, The first earphone establishes a first Bluetooth link with a terminal device, the second earphone establishes a second Bluetooth link with the first earphone, the third earphone establishes a third Bluetooth link with the first earphone, the fourth earphone establishes a fourth Bluetooth link with the first earphone, the second earphone, the third earphone and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening with the terminal device, the third earphone establishes an eighth Bluetooth link with the second earphone, and the fourth earphone establishes a ninth Bluetooth link with the third earphone; In the first time slot, the first earphone sends a data packet to the terminal device; In the second time slot, the terminal device returns a data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone; In the third time slot, the first earphone sends a data packet to the second earphone, the third earphone and the fourth earphone; In the fourth time slot, the fourth earphone sends its own receiving state information to the third earphone according to the received data packet sent by the first earphone; In the fifth time slot, the third earphone feeds back the receiving state information of itself and the fourth earphone to the second earphone according to the received data packet sent by the first earphone; In the sixth time slot, the second earphone feeds back the receiving state information of itself and the third earphone to the first earphone according to the received data packet sent by the first earphone; In the seventh time slot, the first earphone feeds back the receiving state information of itself and the second earphone to the terminal device; The determination standard of the receiving state information includes that when two state information are synthesized, only when both of the two information are ACK information, the synthesis result is ACK; and the rest combinations are NACK. After the first earphone feeds back the receiving success state information to the terminal device, the audio data is synchronously received.

15. The Bluetooth headset master-slave multi-device data transfer method of claim 14, wherein, In the seventh time slot, the step that the first earphone feeds back the receiving state information of itself and the second earphone to the terminal device includes that, a data packet threshold value is preset for the first earphone; the number of target data packet types of the second earphone, the third earphone or the fourth earphone received by the first earphone is counted, the target data packet types being used to represent the receiving state information; the number of the target data packet types is compared with the data packet threshold value; when the number of the target data packet types is greater than or equal to the data packet threshold value, the first earphone feeds back the receiving success state information to the terminal device.

16. A master-slave multi-device data transmission method for Bluetooth earphones, characterized in that, The application is applied to at least two pairs of Bluetooth earphones, wherein a first earphone and a second earphone constitute a first pair of Bluetooth earphones, a third earphone and a fourth earphone constitute a second pair of Bluetooth earphones, and the application includes the following steps, the first earphone establishes a first Bluetooth link with a terminal device, the second earphone establishes a second Bluetooth link with the first earphone, the third earphone establishes a third Bluetooth link with the first earphone, the fourth earphone establishes a fourth Bluetooth link with the first earphone, the second earphone, the third earphone and the fourth earphone respectively establish a fifth Bluetooth link for listening, a sixth Bluetooth link for listening and a seventh Bluetooth link for listening with the terminal device, the third earphone establishes an eighth Bluetooth link with the second earphone, and the fourth earphone establishes a ninth Bluetooth link with the third earphone; in the first time slot, the first earphone sends a data packet to the terminal device; In the second time slot, the terminal device returns the data packet to the first earphone, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone; In the third time slot, the fourth earphone sends its own receiving state information to the third earphone; In the fourth time slot, the third earphone feeds back the receiving state information of itself and the fourth earphone to the second earphone; In the fifth time slot, the second earphone feeds back the receiving state information of itself and the third earphone to the first earphone; The sixth time slot is a reserved time slot resource; In the seventh time slot, the first earphone feeds back the receiving state information of the second earphone and itself to the terminal device; The determination standard of the receiving state information includes that when two state information are integrated, only when both of the two information are ACK information, the integrated result is ACK; otherwise, the integrated result is NACK; After the first earphone feeds back the receiving success state information to the terminal device, the audio data is synchronously received.

17. A Bluetooth earphone master-slave multi-device data transmission apparatus, characterized in that, The application is applied to at least two pairs of Bluetooth earphones, wherein the first earphone and the second earphone form a first pair of Bluetooth earphones, the third earphone and the fourth earphone form a second pair of Bluetooth earphones, and the application comprises the following modules. A topology structure module is configured to establish a first Bluetooth link between the first earphone and a terminal device, a second Bluetooth link between the second earphone and the first earphone, a third Bluetooth link between the third earphone and the first earphone, a fourth Bluetooth link between the fourth earphone and the first earphone, a fifth Bluetooth link for listening between the second earphone and the terminal device, a sixth Bluetooth link for listening between the third earphone and the terminal device, and a seventh Bluetooth link for listening between the fourth earphone and the terminal device. A Bluetooth sending trigger module is configured to send a data packet from the first earphone to the terminal device in a first time slot. A Bluetooth audio data receiving module is configured to return the data packet from the terminal device to the first earphone in a second time slot, and the second earphone, the third earphone and the fourth earphone listen to the data packet sent by the terminal device to the first earphone. A slave device feedback module is configured to feed back the receiving state information from the second earphone, the third earphone and the fourth earphone to the first earphone in a first preset time slot after the second time slot. A connection stability determination module is configured to integrate the receiving state information of the second earphone, the third earphone and the fourth earphone and the receiving state information of itself, and determine the receiving state information in a second preset time slot after the first preset time slot. Specifically, when the first earphone correctly receives the data packet returned by the terminal device, and the second earphone, the third earphone and the fourth earphone all feed back the correct receiving state information to the first earphone, the first earphone feeds back the receiving success state information to the terminal device. An audio data synchronous receiving module is configured to synchronously receive the audio data after the first earphone feeds back the receiving success state information to the terminal device.

18. The Bluetooth headset master-slave multi-device data transfer apparatus of claim 17, wherein, The slave device sequentially feeds back the module, comprising, The slave device time slot feedback unit is used for feeding back the receiving state information to the first earphone in the first preset time slot after the second time slot.

19. The Bluetooth headset master-slave multi-device data transfer apparatus of claim 17, wherein, The slave device sequentially feeds back the module further comprises, The slave device time slot feedback unit is used for feeding back the receiving state information to the first earphone in the first preset time slot after the second time slot.

20. The Bluetooth headset master-slave multi-device data transfer apparatus of claim 17, wherein, Further comprising, The power consumption optimization module is used for, after the first earphone feeds back the error receiving state information to the terminal device, if the second earphone, the third earphone or the fourth earphone feeds back the correct receiving state information to the first earphone, then in the next receiving period, the Bluetooth link channel corresponding to the feedback correct receiving state information is closed, and the receiving data packet or the feedback receiving state information to the first earphone is stopped.

21. The Bluetooth headset master-slave multi-device data transfer apparatus of claim 17, wherein, Further comprising, The time delay optimization module is used for presetting a data packet threshold value for the first earphone, counting the target data packet type quantity of the second earphone, the third earphone or the fourth earphone received by the first earphone for representing the receiving state information, comparing the target data packet type quantity with the data packet threshold value, and when the target data packet type quantity is greater than or equal to the data packet threshold value, the first earphone feeds back the receiving success state information to the terminal device.

22. The Bluetooth headset master-slave multi-device data transfer apparatus of claim 17, wherein, Further comprising, The slave device step-by-step feedback module is used for the fourth earphone sending its own receiving state information to the third earphone, the third earphone feeding back the receiving state information to the second earphone by combining its own receiving state information and the receiving state information of the fourth earphone, and the second earphone sending its own receiving state information and the receiving state information of the third earphone to the first earphone.

23. The Bluetooth headset master-slave multi-device data transfer apparatus of claim 22, wherein, The slave device step-by-step feedback module comprises, The time slot optimization unit is used for the fourth earphone sending its own receiving state information to the third earphone, and the third earphone feeding back the receiving state information to the second earphone by combining its own receiving state information and the receiving state information of the fourth earphone in the same time slot; In the same time slot, after the second earphone receives the receiving success state information or the receiving error state information fed back by the third earphone, the second earphone feeds back the receiving state information to the first earphone by combining its own receiving state information and the receiving success state information or the receiving error state information fed back by the third earphone; wherein, the determination standard of the receiving state information comprises, when two state information are combined, only when both of the two information are ACK information, the combination result is ACK; and the rest combinations are NACK.

Citation Information

Patent Citations

  • Audio sharing method for multiple groups of wireless Bluetooth earphones

    CN113825125A

  • Audio sharing method and audio sharing system

    CN116156472A