Data transmission method and device, electronic equipment, storage medium and product
By synchronizing the CIG event of the wireless Bluetooth headset connection, retransmitting data from the sending end is solved by using the remaining CIS events to receive and forward the signal reception of traditional wireless Bluetooth headsets, and a more reliable and high-quality Bluetooth data transmission is achieved.
Patent Information
- Application Number
- CN202311199620.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2025-03-18
AI Technical Summary
Traditional wireless Bluetooth headsets are prone to imbalanced signal reception during use, which causes one earphone to fail to output Bluetooth signals normally and cannot provide high-quality Bluetooth data transmission services.
By establishing a connection synchronization group CIG event between the first terminal and the second terminal, a preset number of the first connection synchronization stream CIS event receives the Bluetooth data sent by the transmitter. If the reception fails, the retransmission data from the transmitter is received using the remaining CIS events and forwards the retransmission data to the second terminal.
It is ensured that both the first terminal and the second terminal can receive the Bluetooth data sent by the transmitter, thereby improving the reliability and quality of Bluetooth data transmission.
Smart Images

Figure CN119653338A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Bluetooth communication technology, and in particular to a data transmission method, device, electronic device, storage medium, and product. Background Art
[0002] With the rapid development of Bluetooth communication related technologies, more and more electronic devices are using Bluetooth communication technology. For example, wireless Bluetooth headsets have gradually appeared, which can provide users with more convenience.
[0003] Wireless Bluetooth headsets generally have two earphones. When using the two earphones, the signal reception of the two earphones is often unbalanced, so one earphone can output Bluetooth signals normally, while the other earphone cannot. As a result, traditional wireless Bluetooth headsets cannot provide users with high-quality Bluetooth data transmission services. Summary of the invention
[0004] The embodiments of the present application provide a data transmission method, device, electronic device, and computer-readable storage medium, which can better provide Bluetooth data transmission services for users.
[0005] On the one hand, a data transmission method is provided, which is applied to a first terminal, wherein the first terminal is configured to receive first Bluetooth data sent by a sender based on a preset number of first connection synchronization stream CIS events in a connection synchronization group CIG event; the method comprises:
[0006] Determine that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the first terminal receives a first feedback signal fed back by the second terminal; the first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event;
[0007] The first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one of the remaining first CIS events in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal.
[0008] On the other hand, a data transmission method is provided, which is applied to a second terminal, wherein the second terminal is configured to receive second Bluetooth data sent by a sender based on a second connection synchronization stream CIS event in a preset number of connection synchronization group CIG events; the method comprises:
[0009] Determine that the second terminal fails to successfully receive the second Bluetooth data sent by the transmitting end through the second CIS event, and feed back a first feedback signal of failure to successfully receive the second Bluetooth data to the first terminal;
[0010] Receive the second Bluetooth data forwarded by the first terminal and retransmitted by the transmitting end to the second terminal; wherein the second Bluetooth data forwarded by the first terminal is received by the first terminal through at least one first CIS event in the CIG event.
[0011] On the other hand, a data transmission method is provided, which is applied to a transmitting end, wherein the transmitting end is configured to send first Bluetooth data to a first terminal based on a first connection synchronization stream CIS event in a preset number of connection synchronization group CIG events, and send second Bluetooth data to a second terminal based on a second connection synchronization stream CIS event in the CIG event; the method comprises:
[0012] Determining that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event;
[0013] The second Bluetooth data is retransmitted to the second terminal, and the first terminal is controlled to receive the retransmitted second Bluetooth data through at least one of the remaining first CIS events in the CIG event, and the retransmitted second Bluetooth data is forwarded to the second terminal.
[0014] On the other hand, a data transmission device is provided, which is applied to a first terminal, wherein the first terminal is configured to receive first Bluetooth data sent by a sender based on a preset number of first connection synchronization stream CIS events in a connection synchronization group CIG event; the device comprises:
[0015] A first determination module is used to determine that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the first terminal receives a first feedback signal fed back by the second terminal; the first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event;
[0016] The receiving and forwarding module is used for the first terminal to receive the second Bluetooth data retransmitted by the sending end to the second terminal through at least one of the first CIS events remaining in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
[0017] On the other hand, a data transmission device is provided, which is applied to a second terminal, wherein the second terminal is configured to receive second Bluetooth data sent by a sender based on a second connection synchronization stream CIS event in a preset number of connection synchronization group CIG events; the device includes:
[0018] A second determining module, configured to determine that the second terminal has not successfully received the second Bluetooth data sent by the transmitting end through the second CIS event, and feed back a first feedback signal of unsuccessful reception of the second Bluetooth data to the first terminal;
[0019] A receiving module is used to receive the second Bluetooth data forwarded by the first terminal and retransmitted by the sending end to the second terminal; wherein the second Bluetooth data forwarded by the first terminal is received by the first terminal through at least one first CIS event in the CIG event.
[0020] On the other hand, a data transmission device is provided, which is applied to a transmitting end, wherein the transmitting end is configured to send first Bluetooth data to a first terminal based on a first connection synchronization stream CIS event in a preset number of connection synchronization group CIG events, and send second Bluetooth data to a second terminal based on a second connection synchronization stream CIS event in the CIG event; the device includes:
[0021] A third determination module is used to determine that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event;
[0022] The retransmission module is used to retransmit the second Bluetooth data to the second terminal, and control the first terminal to receive the retransmitted second Bluetooth data through at least one of the remaining first CIS events in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
[0023] On the other hand, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the data transmission method described above.
[0024] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the data transmission method described above are implemented.
[0025] On the other hand, a computer program product is provided, comprising a computer program, which implements the steps of the data transmission method described above when the computer program is executed by a processor.
[0026] In the above-mentioned data transmission method, device, electronic device, storage medium, and product, the first terminal is configured to receive the first Bluetooth data sent by the transmitter based on a preset number of first connection synchronization stream CIS events in the connection synchronization group CIG event. First, it is determined that the first terminal successfully receives the first Bluetooth data through less than the preset number of first CIS events in the CIG event, and the first terminal receives the first feedback signal fed back by the second terminal. The first feedback signal is used to characterize that the second terminal has not successfully received the second Bluetooth data sent by the transmitter through the second connection synchronization stream CIS event in the CIG event. Then, the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one remaining first CIS event in the CIG event. Finally, the first terminal forwards the retransmitted second Bluetooth data to the second terminal.
[0027] That is, when the first terminal determines that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second CIS event in the CIG event, the first terminal can use at least one remaining first CIS event in the CIG event to receive the second Bluetooth data retransmitted by the sender to the second terminal, and forward the retransmitted second Bluetooth data to the second terminal. Since the transmission distance between the first terminal and the second terminal is short and the transmission path is simple, it is easier for the second terminal to receive the second Bluetooth data retransmitted by the sender. In this way, the first terminal and the second terminal both receive the Bluetooth data sent by the sender, so the first terminal and the second terminal can better provide Bluetooth data transmission services for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 is an application environment diagram of a data transmission method in an embodiment;
[0030] Figure 2 is a flow chart of a data transmission method in one embodiment;
[0031] Figure 3 A schematic diagram of the CIS transmission principle of an ISO channel in one embodiment;
[0032] Figure 4 for Figure 2A flowchart of a method in which a first terminal receives second Bluetooth data retransmitted to a second terminal by a transmitting end through at least one first CIS event remaining in a CIG event, and forwards the retransmitted second Bluetooth data to the second terminal;
[0033] Figure 5 It is a schematic diagram of the CIS transmission principle of the ISO channel in another embodiment;
[0034] Figure 6 is a flow chart of a data transmission method in another embodiment;
[0035] Figure 7 is a schematic diagram of a data transmission method in an exemplary embodiment;
[0036] Figure 8 A flowchart of a data transmission method in yet another embodiment;
[0037] Fig. 9 A flowchart of a data transmission method in another embodiment;
[0038] Fig.10 A flowchart of a data transmission method in another embodiment;
[0039] Fig.11 is a structural block diagram of a data transmission device in one embodiment;
[0040] Fig.12 FIG. 1 is a schematic diagram of the internal structure of an electronic device in an embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first terminal may be referred to as a second terminal, and similarly, a second terminal may be referred to as a first terminal. Both the first terminal and the second terminal are terminals, but they are not the same terminal.
[0043] With the popularity of true wireless stereo (TWS) technology, the proportion of users using Bluetooth devices that support TWS technology has increased rapidly. For example, more and more users choose Bluetooth headsets that support TWS technology to listen to audio, and users' demand for Bluetooth headsets with high sound quality, low latency, and long battery life is also increasing. Since low-power Bluetooth (blue tooth low energy, BLE) audio technology can provide better audio services compared to traditional basic rate (BR) / enhanced data rate (EDR) technology, Bluetooth headsets have gradually evolved from Bluetooth headsets using traditional BR / EDR technology to Bluetooth headsets using BLE audio technology.
[0044] A Bluetooth headset generally has two earphones. Traditionally, when a Bluetooth headset using BLE audio technology establishes a Bluetooth link with an electronic device, different Bluetooth links are established between the two earphones and the electronic device. However, since the signal reception of the two earphones is often unbalanced during use, one of the earphones may output sound signals normally, while the other earphone may freeze or fail to output sound signals normally. For example, when the electronic device is placed on a desktop or in a pocket, one earphone may directly receive Bluetooth data, while the other earphone needs to pass through the human body to receive Bluetooth data. Obviously, the signal strength of the earphone that receives Bluetooth data through the human body is weaker, so the signal reception of this earphone is worse than that of the earphone that does not pass through the human body to receive Bluetooth data. Therefore, one of the earphones may output sound signals normally, while the other earphone may freeze or fail to output sound signals normally.
[0045] Figure 1 FIG. 1 is a schematic diagram of an application environment of a data transmission method in an embodiment. Figure 1As shown, the application environment includes a transmitter 120, a first terminal 140 and a second terminal 160, wherein the transmitter 120 is connected to the first terminal 140 and the second terminal 160 via Bluetooth communication, respectively, and the first terminal 140 is connected to the second terminal 160 via Bluetooth communication. The first terminal is configured to receive the first Bluetooth data sent by the transmitter based on a preset number of first connection synchronization stream CIS events in the connection synchronization group CIG event. The first terminal determines that it has successfully received the first Bluetooth data through less than the preset number of first CIS events in the CIG event, and the first terminal receives the first feedback signal fed back by the second terminal. The first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the transmitter through the second connection synchronization stream CIS event in the CIG event. Then, the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one remaining first CIS event in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal. The transmitting end 120 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, smart cars, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The first terminal 140 and the second terminal 160 may be Bluetooth headsets or Bluetooth speakers that support Bluetooth communication, etc., which are not limited in this application.
[0046] Figure 2 FIG. 1 is a flow chart of a data transmission method in an embodiment. The data transmission method in this embodiment is based on running Figure 1 Taking the first terminal 140 in the example as an example, the first terminal is configured to receive the first Bluetooth data sent by the sender based on a preset number of first connection synchronization stream CIS events in the connection synchronization group CIG event. Figure 2 As shown, the data transmission method includes steps 220 to 260, wherein:
[0047] Step 220, determine that the first terminal successfully receives the first Bluetooth data through the first CIS event that is less than a preset number in the CIG event, and the first terminal receives the first feedback signal fed back by the second terminal; the first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event.
[0048] Among them, the transmitting end 120 is connected to the first terminal 140 and the second terminal 160 via Bluetooth communication, and the first terminal 140 is connected to the second terminal 160 via Bluetooth communication. And the transmitting end 120, the first terminal 140 and the second terminal 160 all support BLE audio technology. Here, the first terminal is configured to receive the first Bluetooth data sent by the transmitting end based on a preset number of first connection synchronization stream CIS events in the connection synchronization group CIG event. Here, the preset number can be the number of first CIS events contained in the same CIG event. For example, the same CIG event can include 4 first CIS events and 4 second CIS events, or the same CIG event can include 6 first CIS events and 6 second CIS events; this application does not limit this. Then, in the process of the transmitting end 120 sending the first Bluetooth data to the first terminal 140 and sending the second Bluetooth data to the second terminal 160, assuming that the signal reception condition of the first terminal 140 is good, the first terminal 140 can receive the first Bluetooth data sent by the transmitting end 120. Here, the first terminal 140 and the second terminal 160 may be Bluetooth headsets supporting Bluetooth communication. For example, the first terminal 140 may be called Acceptor1, and the second terminal 160 may be called Acceptor2.
[0049] Then, the first terminal determines whether the first Bluetooth data can be successfully received through the first CIS events less than the preset number in the CIG event. If it is determined that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, then it means that there is at least one remaining first CIS event in the same CIG event that does not need to receive the first Bluetooth data.
[0050] Further, the first terminal determines whether it has received the first feedback signal fed back by the second terminal. The first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the transmitter through the second connection synchronization stream CIS event in the CIG event. Assuming that the signal reception condition of the second terminal 160 is poor, the second terminal 160 may not receive the second Bluetooth data sent by the transmitter, which can be understood as: when the second terminal has not successfully received the second Bluetooth data sent by the transmitter through the second CIS event in the CIG event, the second terminal feeds back the first feedback signal to the first terminal, then the first terminal can receive the first feedback signal fed back by the second terminal.
[0051] Here, the first Bluetooth data and the second Bluetooth data can be different Bluetooth data or the same Bluetooth data, which is not limited in this application. The first Bluetooth data and the second Bluetooth data can be audio data, or other Bluetooth data, which is not limited in this application.
[0052] Step 240: The first terminal receives the second Bluetooth data retransmitted from the transmitter to the second terminal through at least one first CIS event remaining in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal.
[0053] Then, if the second terminal fails to successfully receive the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event, the sender can retransmit the second Bluetooth data to the second terminal. At this time, the first terminal receives the second Bluetooth data retransmitted by the sender to the second terminal through at least one remaining first CIS event in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal.
[0054] Of course, the second terminal can also receive the second Bluetooth data resent by the transmitter again. Since the first terminal has successfully received the first Bluetooth data through the first CIS events less than the preset number in the CIG event, the first terminal can also receive the second Bluetooth data resent by the transmitter through at least one remaining first CIS event in the CIG event within the time slice in which the transmitter can retransmit the second Bluetooth data to the second terminal. Furthermore, the first terminal can forward the retransmitted second Bluetooth data to the second terminal.
[0055] Exemplarily, the first terminal can monitor whether the second terminal receives the second Bluetooth data resent by the transmitter, and if the second terminal does not receive the resent second Bluetooth data, the first terminal receives the resent second Bluetooth data because the signal reception condition of the first terminal is good. Then, if the second terminal does not receive the resent second Bluetooth data, the first terminal can forward the resent second Bluetooth data to the second terminal. Since the transmission distance between the first terminal and the second terminal is short and the transmission path is simple, the second terminal is more likely to receive the second Bluetooth data resent by the transmitter.
[0056] In the embodiment of the present application, in the process where the transmitter 120 sends the first Bluetooth data to the first terminal 140 and sends the second Bluetooth data to the second terminal 160, assuming that the signal reception condition of the first terminal 140 is good, the first terminal 140 can receive the first Bluetooth data sent by the transmitter 120 through less than a preset number of first CIS events in the CIG event. Assuming that the signal reception condition of the second terminal 160 is poor, the second terminal 160 may not receive the second Bluetooth data sent by the transmitter. Then, in the case where the second terminal fails to successfully receive the second Bluetooth data sent by the transmitter through the second connection synchronization stream CIS event in the CIG event, the transmitter can retransmit the second Bluetooth data to the second terminal. At this time, the first terminal receives the second Bluetooth data retransmitted to the second terminal by the transmitter through at least one remaining first CIS event in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal.
[0057] That is, when the first terminal determines that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second CIS event in the CIG event, the first terminal can use at least one remaining first CIS event in the CIG event to receive the second Bluetooth data retransmitted by the sender to the second terminal, and forward the retransmitted second Bluetooth data to the second terminal. Since the transmission distance between the first terminal and the second terminal is short and the transmission path is simple, it is easier for the second terminal to receive the second Bluetooth data retransmitted by the sender. In this way, the first terminal and the second terminal both receive the Bluetooth data sent by the sender, so the first terminal and the second terminal can better provide Bluetooth data transmission services for users.
[0058] In the previous embodiment, it is described that in the process of the transmitting end sending the first Bluetooth data to the first terminal and sending the second Bluetooth data to the second terminal respectively, when the second terminal determines that the second terminal has not successfully received the second Bluetooth data sent by the transmitting end through the second CIS event in the CIG event, it can use at least one remaining first CIS event in the CIG event to receive the second Bluetooth data retransmitted by the transmitting end to the second terminal, and forward the retransmitted second Bluetooth data to the second terminal. In this embodiment, it is further described that the first Bluetooth data includes multiple first Bluetooth data packets; the first CIS event is used to transmit M first Bluetooth data packets between the transmitting end and the first terminal through the first Bluetooth link, and the first CIS event includes N first CIS sub-events; wherein M and N are positive integers, and M is less than N;
[0059] Step 220, determining that the first terminal successfully receives the first Bluetooth data through the first CIS events less than a preset number in the CIG events, includes:
[0060] Determine that the first terminal successfully receives M first Bluetooth data packets sent by the transmitter through H first CIS sub-events in the CIG event; wherein H is greater than or equal to M and less than N.
[0061] Here, the transmitter 120 is connected to the first terminal 140 via a first Bluetooth link, and the transmitter 120 is connected to the second terminal 160 via a second Bluetooth link. Within a cycle of a connection synchronization group CIG event, the CIG event includes a first CIS event and a second CIS event. Among them, the first CIS event refers to an interaction event between the transmitter and the first terminal, that is, the first CIS event is used by the transmitter to transmit M first Bluetooth data packets to the first terminal via the first Bluetooth link. The second CIS event refers to an interaction event between the transmitter and the second terminal, that is, the second CIS event is used by the transmitter to transmit M first Bluetooth data packets to the second terminal via the second Bluetooth link.
[0062] Among them, the first CIS event includes N interactive sub-events (sub event) between the transmitting end and the first terminal, that is, it includes N first CIS sub-events; the second CIS event includes N interactive sub-events (subevent) between the transmitting end and the second terminal, that is, it includes N second CIS sub-events. Among them, M and N are positive integers, and M is less than N. That is, the number of first Bluetooth data packets transmitted by the first CIS event is less than the number of first CIS sub-events included in the first CIS event; similarly, the number of second Bluetooth data packets transmitted by the second CIS event is less than the number of second CIS sub-events included in the second CIS event.
[0063] Then, the first terminal determines that it has successfully received M first Bluetooth data packets sent by the sender through H first CIS sub-events in the CIG event, and then closes the first Bluetooth link. Among them, H is greater than or equal to M, and less than N. That is, if H is equal to M, then the first Bluetooth data packets sent by the sender are successfully received through the M first CIS sub-events in the connection synchronization group CIG event, and the first Bluetooth link is closed. In other words, the first M first CIS sub-events in the first CIS event successfully receive each first Bluetooth data packet sent by the sender.
[0064] If H is greater than M, it means that among the first H first CIS sub-events in the first CIS event, there is a first CIS sub-event in which the first Bluetooth data packet sent by the sender is not successfully received. In short, after the first terminal successfully receives the M first Bluetooth data packets sent by the sender through the H first CIS sub-events in the CIG event, the first Bluetooth link is closed.
[0065] like Figure 3 FIG. 1 is a schematic diagram of the CIS transmission principle of the ISO channel in an embodiment. Figure 3 As shown, the CIG identifier is used to identify the CIG, and the CIG0 event is used to represent a CIG event. For example, in a scenario where the transmitter sends Bluetooth data to the first terminal (left earphone) and the second terminal (right earphone), the CIG0 event includes the first CIS event (CIS0 event) and the first CIS event (CIS1event). Among them, the CIS0 event refers to the interaction event between the transmitter and the left earphone, and the CIS1 event refers to the interaction event between the transmitter and the right earphone.
[0066] And within the period of CIG0 event, the transmitter sends two first Bluetooth data packets (PDU0 and PDU1) to the left earphone (Acceptor1); within the period of CIG0 event, the transmitter 120 sends two second Bluetooth data packets (PDU0 and PDU1) to the right earphone (Acceptor2). Here, the transmitter sends two first Bluetooth data packets (PDU0 and PDU1) to the left earphone, which is not equivalent to the transmitter 120 sending two second Bluetooth data packets (PDU0 and PDU1) to the right earphone.
[0067] Here, CIS0 event includes 4 interaction sub-events between the sender and the first terminal, and these 4 interaction sub-events include CIS0 subevent0, CIS0 subevent1, CIS0 subevent2, and CIS0 subevent3. CIS1 event includes 4 interaction sub-events between the sender and the second terminal, and these 4 interaction sub-events include CIS1 subevent0, CIS1 subevent1, CIS1 subevent2, and CIS1 subevent3.
[0068] Here, the ISO channel of BLE defines a transmission mechanism. Under this transmission mechanism, a source device can send audio data to multiple receiving devices through multiple connected isochronous streams (CIS) in a connected isochronous group (CIG) in a time division multiple access (TDMA) manner. Therefore, the time slices corresponding to the interaction sub-events of CIS0 event and the time slices corresponding to the interaction sub-events of CIS1 event are set alternately. For example, combined with Figure 3As shown, within the cycle of CIG0 event, the time slices corresponding to CIS0 subevent0, CIS1 subevent0, CIS0 subevent1, CIS1 subevent1, CIS0subevent2, CIS1 subevent2, CIS0 subevent3, and CIS1 subevent3 are arranged in sequence.
[0069] If the right earphone receives two first Bluetooth data packets (PDU0 and PDU1) sent by the transmitter through two interactive sub-events (CIS1subevent0 and CIS1subevent1) in the CIS1 event during the CIG0 event cycle, the first Bluetooth link of the right earphone is closed, in other words, the receiving channel of the right earphone is closed. In this way, it can ensure that the first terminal (right earphone) receives all the first Bluetooth data packets, and at the same time, the first Bluetooth link of the first terminal (right earphone) can be closed in time to reduce the power consumption of the first terminal (right earphone).
[0070] In the time slot corresponding to CIS1 subevent0, the right earphone receives the first Bluetooth data packet (PDU0) sent by the transmitter, and the right earphone sends a feedback signal (ACK) to the transmitter; similarly, in the time slot corresponding to CIS1 subevent1, the right earphone receives the first Bluetooth data packet (PDU1) sent by the transmitter, and the right earphone also sends a feedback signal (ACK) to the transmitter. In addition, the transmitter transmits a CIE flag packet to the right earphone in the time slot corresponding to CIS1subevent2, indicating that no new data packets will be sent to the right earphone in this CIG event.
[0071] Combination Figure 3 As shown, during the CIG0 event cycle, the transmitter (mobile terminal) updates the first Bluetooth data sent by the transmitter (mobile terminal) to the right ear headset at the first refresh point FP0 of the payload (Acceptor2 Payload Available) of the right ear headset. However, since the right ear headset has received the two first Bluetooth data packets (PDU0 and PDU1) sent by the transmitter at the first refresh point FP0 of the payload of the right ear headset, the transmitter does not need to send the first Bluetooth data packet to the right ear headset, and therefore, there is no need to update the first Bluetooth data sent by the transmitter (mobile terminal) to the right ear headset. Figure 3 Also shown is the second refresh point FP1 of the payload of the right earphone during the cycle of the CIG0 event.
[0072] If within the cycle of CIG0 event, the left earphone fails to successfully receive the two second Bluetooth data packets (PDU0) sent by the transmitter through the two interactive sub-events (CIS0subevent0, CIS0subevent1) in CIS0 event, then in the time slice corresponding to CIS0 subevent0, the left earphone fails to receive the second Bluetooth data packet (PDU0) sent by the transmitter, and the left earphone will send a feedback signal (NAK) to the transmitter; similarly, in the time slice corresponding to CIS0 subevent1, the left earphone also fails to receive the second Bluetooth data packet (PDU0) sent by the transmitter, and the left earphone will also send a feedback signal (NAK) to the transmitter. And the transmitter (mobile terminal) updates the second Bluetooth data sent by the transmitter (mobile terminal) to the left earphone at the refresh point (Flush Paint, FP) of the payload (Acceptor1PayloadAvailable) of the left earphone, and updates the second Bluetooth data packet (PDU1). Combined with Figure 3 As shown, within the cycle of CIG0 event, the transmitter (mobile terminal) updates the second Bluetooth data sent by the transmitter (mobile terminal) to the left ear headset at the first refresh point FP0 of the payload of the left ear headset, and updates it to the second Bluetooth data packet (PDU1). Figure 3 Also shown in FIG. 1 is the second refresh point FP1 of the payload of the left earphone during the cycle of CIG0event.
[0073] In the embodiment of the present application, the first CIS event is used to transmit M first Bluetooth data packets between the transmitting end and the first terminal through the first Bluetooth link, and the first CIS event includes N first CIS sub-events; wherein M and N are positive integers, and M is less than N. Therefore, if it is determined that the first terminal successfully receives the M first Bluetooth data packets sent by the transmitting end through H first CIS sub-events in the CIG event; wherein H is greater than or equal to M, and less than N, then it can be determined that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event. In this way, it can be accurately determined that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event.
[0074] In the previous embodiment, a process of determining that the first terminal successfully receives the first Bluetooth data through the first CIS event less than the preset number in the CIG event is described. In the embodiment of the present application, it is further described that the second Bluetooth data includes multiple second Bluetooth data packets, the second CIS event is used to transmit M second Bluetooth data packets between the transmitting end and the second terminal through the second Bluetooth link, and the second CIS event includes N second CIS sub-events;
[0075] Step 220, the first terminal receives a first feedback signal fed back by the second terminal, including:
[0076] The first terminal receives a first feedback signal fed back by the second terminal when the second terminal fails to receive the M second Bluetooth data packets sent by the sending end through the M second CIS sub-events in the second CIS event.
[0077] Exemplarily, when the second terminal fails to successfully receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event, the second terminal feeds back a first feedback signal to the first terminal. Wherein, M and N are positive integers, and M is less than N. Here, the first feedback signal is used to indicate that the second terminal fails to successfully receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event.
[0078] like Figure 5 As shown, it is a schematic diagram of the CIS transmission principle of the ISO channel in another embodiment. The second terminal fails to successfully receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event, that is, within the cycle of the CIG0 event, the second terminal (left ear headset) fails to successfully receive the two second Bluetooth data packets (PDU0 and PDU1) sent by the transmitter through the two interactive sub-events (CIS0 subevent0, CIS0 subevent1) in the CIS0 event. At this time, the second terminal (left ear headset) feeds back the first feedback signal (NAK) to the first terminal (right ear headset). In this way, the first terminal can receive the first feedback signal (NAK) fed back by the second terminal.
[0079] In an embodiment of the present application, when the second terminal fails to successfully receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event, the first terminal feeds back a first feedback signal (NAK) to the first terminal. In this way, the first terminal can receive the first feedback signal (NAK) fed back by the second terminal. Then, when the first terminal determines that it satisfies the conditions of successfully receiving the first Bluetooth data through less than a preset number of first CIS events in the CIG event, and the first terminal receives the first feedback signal fed back by the second terminal, it can receive the second Bluetooth data retransmitted from the transmitter to the second terminal through at least one remaining first CIS event in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
[0080] Since the transmission distance between the first terminal and the second terminal is short and the transmission path is simple, the second terminal is more likely to receive the second Bluetooth data resent by the sender. In this way, the first terminal and the second terminal both receive the Bluetooth data sent by the sender, so the first terminal and the second terminal can better provide Bluetooth data transmission services for users.
[0081] In the previous embodiment, the process of the first terminal determining that it has successfully received M first Bluetooth data packets sent by the transmitting end through H first CIS sub-events in the CIG event is described. Figure 4 As shown, step 240 is further described, the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one first CIS event remaining in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal, including:
[0082] Step 242, within the first target time slice corresponding to the next second CIS sub-event of M second CIS sub-events, the first terminal receives the second Bluetooth data retransmitted to the second terminal by the sending end through the first target sub-CIS event; the first target sub-CIS event is the first sub-CIS event after H first sub-CIS events in the CIG event.
[0083] like Figure 5 FIG. 2 is a schematic diagram of the CIS transmission principle of the ISO channel in another embodiment. If, within the cycle of the CIG0 event, the left earphone fails to successfully receive the two second Bluetooth data packets (PDU0 and PDU1) sent by the transmitter through the two interactive sub-events (CIS0 subevent0 and CIS0 subevent1) in the CIS0 event.
[0084] Then, the first Bluetooth link is opened at the first target time slice within the cycle of the CIG event, and the first target time slice is the time slice corresponding to the next second CIS sub-event of the M second CIS sub-events. Since the left ear headset did not successfully receive the two second Bluetooth data packets (PDU0 and PDU1) sent by the transmitter through the two interactive sub-events (CIS0subevent0 and CIS0 subevent1) in CIS0event, then the next time slice for the left ear headset to receive the second Bluetooth data packet is the time slice corresponding to CIS0 subevent2, and the time slice corresponding to CIS0 subevent2 is used as the first target time slice.
[0085] Then, the first Bluetooth link of the right earphone is turned on in the time slice corresponding to CIS0 subevent2, that is, the receiving channel of the right earphone is turned on. Then, in the first target time slice, the first terminal receives the second Bluetooth data retransmitted from the sender to the second terminal through the first target subCIS event, that is, the first terminal receives the second Bluetooth data retransmitted from the sender through the first Bluetooth link. That is, the second Bluetooth data retransmitted from the sender is received through the first Bluetooth link in the time slice corresponding to CIS0 subevent2.
[0086] Step 244: The first terminal forwards the retransmitted second Bluetooth data to the second terminal through the first target sub-CIS event in the second target time slice; the second target time slice is the next adjacent time slice of the first target time slice.
[0087] Combination Figure 5 As shown, if within the cycle of the CIG0 event, the left earphone fails to successfully receive the two second Bluetooth data packets (PDU0 and PDU1) sent by the sender through the two interactive sub-events (CIS0subevent0, CIS0subevent1) in the CIS0 event, the right earphone determines the next second CIS sub-event (CIS0subevent2) of the two interactive sub-events (CIS0subevent0, CIS0subevent1).
[0088] In the first target time slice corresponding to the next second CIS subevent (CIS0 subevent2), the first Bluetooth link of the right earphone is originally in a silent state, and the right earphone starts the first Bluetooth link, that is, the right earphone starts the receiving path (RX path).
[0089] After the right earphone starts the receiving path (RX path), the right earphone can not only receive the second Bluetooth data resent by the transmitter through the receiving path, but also receive the second feedback signal (ACK / NAK data packet) from the left earphone to the transmitter. In the first target time slice, the second Bluetooth link (receiving path) of the left earphone can receive the second Bluetooth data resent by the transmitter.
[0090] Assuming that the second terminal still has not received the second Bluetooth data retransmitted by the transmitter in the first target time slice, the first terminal forwards the retransmitted second Bluetooth data to the second terminal through the first target sub-CIS event in the second target time slice, that is, the first terminal forwards the retransmitted second Bluetooth data to the second terminal through the third Bluetooth link in the second target time slice. The second target time slice is the next adjacent time slice of the first target time slice. The first terminal is connected to the second terminal through the third Bluetooth link.
[0091] If the first target time slice is the time slice corresponding to the next second CIS sub-event (CIS0 subevent2), the second target time slice is the time slice corresponding to CIS1 subevent2 adjacent to CIS0 subevent2. That is, if the left earphone still does not receive the second Bluetooth data resent by the transmitter in the first target time slice corresponding to the next second CIS sub-event (CIS0 subevent2), the right earphone forwards the resent second Bluetooth data to the left earphone through the third Bluetooth link in the second target time slice corresponding to CIS1subevent2.
[0092] In an embodiment of the present application, within the cycle of the CIG event, the first terminal has received all the first Bluetooth data packets before the first target time slice and has closed the first Bluetooth link, while the second terminal has not received the second Bluetooth data packet before the first target time slice. Therefore, the first terminal can open the first Bluetooth link at the first target time slice within the cycle of the CIG event, and receive the second Bluetooth data resent by the transmitter through the first target sub-CIS event at the first target time slice. In this way, assuming that the second terminal still has not received the second Bluetooth data resent by the transmitter at the first target time slice, the first terminal can forward the resent second Bluetooth data to the second terminal through the first target sub-CIS event at the second target time slice. Thereby, it is ensured that within the cycle of the CIG event, the first terminal receives the first Bluetooth data sent by the transmitter, and the second terminal also receives the second Bluetooth data sent by the transmitter.
[0093] Furthermore, the first terminal and the second terminal both receive the Bluetooth data sent by the sending end, so the first terminal and the second terminal can better provide Bluetooth data transmission services for the user.
[0094] In the previous embodiment, it is described that when the second terminal does not receive the second Bluetooth data sent by the sender, the first Bluetooth link is opened in the first target time slot within the cycle of the CIG event; and the second Bluetooth data resent by the sender is received through the first Bluetooth link in the first target time slot. In this embodiment, it is further described that when the second terminal does not receive the second Bluetooth data sent by the sender, the first Bluetooth link is opened in the first target time slot within the cycle of the CIG event, including:
[0095] When the second terminal does not receive the second Bluetooth data sent by the transmitter through the M second CIS sub-events in the second CIS event, the first Bluetooth link is opened within the first target time slice corresponding to the next second CIS sub-event of the M second CIS sub-events.
[0096] Combination Figure 5As shown, if within the cycle of CIG0 event, the left earphone does not receive the two second Bluetooth data packets (PDU0 and PDU1) sent by the transmitter through the two interactive sub-events (CIS0subevent0, CIS0subevent1) in the CIS0 event, the right earphone determines the next second CIS sub-event (CIS0subevent2) of the two interactive sub-events (CIS0subevent0, CIS0subevent1).
[0097] In the first target time slice corresponding to the next second CIS subevent (CIS0 subevent2), the first Bluetooth link of the right earphone is originally in a silent state, and the right earphone starts the first Bluetooth link, that is, the right earphone starts the receiving path (RX path).
[0098] After the right earphone opens the receiving path (RX path), the right earphone can not only receive the second Bluetooth data resent by the transmitter through the receiving path, but also receive the second feedback signal (ACK / NAK data packet) from the left earphone to the transmitter. Among them, the ACK data packet indicates that the left earphone has received the second Bluetooth data resent by the transmitter; the NAK data packet indicates that the left earphone has not received the second Bluetooth data resent by the transmitter. In this way, the right earphone can not only receive the second Bluetooth data resent by the transmitter through the receiving path, but also accurately obtain information on whether the left earphone has received the second Bluetooth data resent by the transmitter.
[0099] In an embodiment of the present application, when the second terminal does not receive the second Bluetooth data sent by the transmitter through the M second CIS sub-events in the second CIS event, the first terminal opens the first Bluetooth link within the first target time slice corresponding to the next second CIS sub-event of the M second CIS sub-events. In this way, both the first terminal and the second terminal receive the second Bluetooth data resent by the transmitter within the first target time slice. Assuming that the second terminal still does not receive the second Bluetooth data resent by the transmitter within the first target time slice, the first terminal can forward the resent second Bluetooth data to the second terminal. Thereby, it is ensured that within the cycle of the CIG event, the first terminal receives the first Bluetooth data sent by the transmitter, and the second terminal receives the second Bluetooth data sent by the transmitter.
[0100] Furthermore, the first terminal and the second terminal both receive the Bluetooth data sent by the sending end, so the first terminal and the second terminal can better provide Bluetooth data transmission services for the user.
[0101] In the previous embodiment, a process is described in which, in the first target time slice corresponding to the next second CIS sub-event of M second CIS sub-events, the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through the first target sub-CIS event, and forwards the retransmitted second Bluetooth data to the second terminal through the first target sub-CIS event in the second target time slice. Figure 6 As shown, a data transmission method is further described, including:
[0102] Step 262, when the second terminal does not receive the resent second Bluetooth data, forwarding the resent second Bluetooth data to the second terminal through the first target sub-CIS event in the second target time slice; the second target time slice is the next adjacent time slice of the first target time slice;
[0103] Step 264, receiving a second feedback signal sent by the second terminal; the second feedback signal is used to indicate whether the second terminal has received the retransmitted second Bluetooth data.
[0104] Combination Figure 5 As shown, if within the cycle of CIG0 event, the left earphone does not receive the two second Bluetooth data packets (PDU0 and PDU1) sent by the transmitter through the two interactive sub-events (CIS0subevent0, CIS0subevent1) in the CIS0 event, the right earphone determines the next second CIS sub-event (CIS0subevent2) of the two interactive sub-events (CIS0subevent0, CIS0subevent1).
[0105] In the first target time slice corresponding to the next second CIS subevent (CIS0 subevent2), the first Bluetooth link of the right earphone is originally in a silent state, and the right earphone starts the first Bluetooth link, that is, the right earphone starts the receiving path (RX path).
[0106] After the right earphone starts the receiving path (RX path), the right earphone can not only receive the second Bluetooth data resent by the transmitter through the receiving path, but also receive the second feedback signal (ACK / NAK data packet) from the left earphone to the transmitter. In the first target time slice, the second Bluetooth link (receiving path) of the left earphone can receive the second Bluetooth data resent by the transmitter.
[0107] Assuming that the second terminal still does not receive the second Bluetooth data retransmitted by the transmitter in the first target time slot, the first terminal forwards the retransmitted (retransmitted) second Bluetooth data to the second terminal via the third Bluetooth link in the second target time slot, wherein the second target time slot is the next adjacent time slot of the first target time slot.
[0108] If the first target time slice is the time slice corresponding to the next second CIS sub-event (CIS0 subevent2), the second target time slice is the time slice corresponding to CIS1 subevent2 adjacent to CIS0 subevent2. That is, if the left earphone still does not receive the second Bluetooth data resent by the transmitter in the first target time slice corresponding to the next second CIS sub-event (CIS0 subevent2), the right earphone forwards the resent second Bluetooth data to the left earphone through the third Bluetooth link in the second target time slice corresponding to CIS1subevent2.
[0109] At the same time, the first terminal can receive a second feedback signal sent by the second terminal to the first terminal in the second target time slice, wherein the second feedback signal is used to indicate whether the second terminal has received the second Bluetooth data retransmitted (re-sent) by the transmitter and forwarded by the first terminal.
[0110] That is, the right earphone can receive the second feedback signal (ACK / NAK data packet) sent by the left earphone to the right earphone in the second target time slice corresponding to CIS1 subevent2. Among them, the ACK data packet indicates that the left earphone has received the second Bluetooth data resent by the transmitter; the NAK data packet indicates that the left earphone has not received the second Bluetooth data resent by the transmitter. In this way, after the right earphone forwards the second Bluetooth data resent by the transmitter to the left earphone, it can accurately obtain the information whether the left earphone has received the second Bluetooth data resent by the transmitter forwarded by the right earphone.
[0111] Step 266, if the second feedback signal indicates that the second terminal has not received the retransmitted second Bluetooth data, then the next adjacent time slot of the second target time slot is used as the new first target time slot, and the next adjacent time slot of the new first target time slot is used as the new second target time slot, and the execution is cyclically performed. Within the new first target time slot, the first terminal receives the second Bluetooth data retransmitted from the transmitter to the second terminal through a new first target sub-CIS event. If the second terminal does not receive the retransmitted second Bluetooth data, the retransmitted second Bluetooth data is forwarded to the second terminal through a new first target sub-CIS event in the new second target time slot, and a new second feedback signal fed back by the second terminal is received until the iteration stop condition is met.
[0112] If the first terminal receives the second feedback signal sent by the second terminal to the first terminal in the second target time slice, and the second feedback signal is used to indicate that the second terminal has not received the retransmitted second Bluetooth data, then the next adjacent time slice of the second target time slice in the cycle of the CIG0 event is used as the new first target time slice, and the next adjacent time slice of the new first target time slice is used as the new second target time slice. Then, the loop is executed to receive the second Bluetooth data retransmitted by the transmitter through the new first target sub-CIS event in the new first target time slice. If the second terminal does not receive the retransmitted second Bluetooth data, the retransmitted second Bluetooth data is forwarded to the second terminal through the new first target sub-CIS event in the new second target time slice, and the new second feedback signal fed back by the second terminal is received until the iteration stop condition is met. Among them, the iteration stop condition includes any one of the following conditions: the new second feedback signal is used to indicate that the second terminal has received the retransmitted (retransmitted) second Bluetooth data; iterate to the last second target time slice in the cycle of the CIG event. That is, the above loop is executed until the second terminal receives the retransmitted (retransmitted) second Bluetooth data, or iterates to the last second target time slice in the cycle of the CIG event.
[0113] Exemplarily, the next adjacent time slice of the second target time slice corresponding to CIS1 subevent2 within the cycle of CIG0 event is used as the new first target time slice, that is, the new first target time slice is the time slice corresponding to CIS0 subevent3. The next adjacent time slice of the new first target time slice is used as the new second target time slice, that is, the new second target time slice is the time slice corresponding to CIS1 subevent3. Then, the right earphone receives the second Bluetooth data (PDU1) resent by the transmitter through the new first target sub-CIS event in the time slice corresponding to CIS0 subevent3. If the left earphone does not receive the resent second Bluetooth data (PDU1), the right earphone forwards the resent second Bluetooth data (PDU1) to the left earphone through the new first target sub-CIS event in the time slice corresponding to CIS1 subevent3, and receives the new second feedback signal fed back by the left earphone until the iteration stop condition is met.
[0114] That is, the above loop is executed until the left earphone receives the resent second Bluetooth data, or it iterates to the last second target time slice in the cycle of the CIG event. Among them, if the cycle of the CIG0 event includes the time slices corresponding to CIS0 subevent0, CIS1 subevent0, CIS0 subevent1, CIS1 subevent1, CIS0 subevent2, CIS1 subevent2, CIS0 subevent3, and CIS1 subevent3 arranged in sequence, then the last second target time slice in the cycle of the CIG event is the time slice corresponding to CIS1 subevent3. Then, the last second target time slice iterated in the cycle of the CIG event refers to the time slice corresponding to CIS1 subevent3 in the cycle of the CIG event iterated.
[0115] In an embodiment of the present application, if the second terminal does not receive the retransmitted second Bluetooth data, the first terminal forwards the retransmitted second Bluetooth data to the second terminal through a new first target sub-CIS event in the second target time slice; the second target time slice is the next adjacent time slice of the first target time slice. The first terminal receives the second feedback signal sent by the second terminal. If the second feedback signal indicates that the second terminal has not received the retransmitted second Bluetooth data, the first terminal uses the next adjacent time slice of the second target time slice as the new first target time slice, and uses the next adjacent time slice of the new first target time slice as the new second target time slice, and cyclically executes the receiving of the second Bluetooth data retransmitted by the transmitter through a new first target sub-CIS event in the new first target time slice. If the second terminal does not receive the retransmitted second Bluetooth data, the first terminal forwards the retransmitted second Bluetooth data to the second terminal through a new first target sub-CIS event in the new second target time slice, and the first terminal receives the new second feedback signal fed back by the second terminal until the iteration stop condition is met.
[0116] Since there are multiple time slices corresponding to the first CIS event after the first terminal successfully receives the first Bluetooth data within the CIG event cycle, the first terminal can cyclically forward the retransmitted second Bluetooth data received from the sender to the second terminal in the time slices corresponding to the multiple first CIS events. Furthermore, the first terminal and the second terminal both receive the Bluetooth data sent by the sender, so the first terminal and the second terminal can better provide Bluetooth data transmission services for users.
[0117] In the previous embodiment, a process is described in which the first terminal can cyclically forward the retransmitted second Bluetooth data received from the transmitting end to the second terminal in the time slices corresponding to the multiple first CIS events. In this embodiment, the process of forwarding the retransmitted second Bluetooth data to the second terminal through the new first target sub-CIS event in the new second target time slice is further described, including:
[0118] Opening a third Bluetooth link of the first terminal; wherein the first terminal is connected to the second terminal via the third Bluetooth link;
[0119] The resent second Bluetooth data is forwarded to the second terminal through the third Bluetooth link.
[0120] If the second terminal does not receive the resent second Bluetooth data, the first terminal can forward the resent second Bluetooth data to the second terminal through the third Bluetooth link in the second target time slice. Here, the first terminal needs to first open the third Bluetooth link (transmitting channel / TX channel), and then forward the resent second Bluetooth data to the second terminal through the third Bluetooth link (transmitting channel / TX channel).
[0121] Combination Figure 5 As shown, when the left earphone does not receive the resent second Bluetooth data, the right earphone can forward the resent second Bluetooth data to the left earphone through the TX channel at the second target time slice corresponding to CIS1subevent2. And the right earphone opens the receiving channel (RX channel) to receive the second feedback signal (ACK / NAK data packet) sent by the left earphone to the right earphone.
[0122] In the embodiment of the present application, when the first terminal forwards the resent second Bluetooth data to the second terminal through the third Bluetooth link in the second target time slice, the first terminal needs to first open the third Bluetooth link (transmitting channel / TX channel), and then forward the resent second Bluetooth data to the second terminal through the third Bluetooth link (transmitting channel / TX channel). In this way, it is possible to ensure that the first terminal accurately forwards the resent second Bluetooth data to the second terminal.
[0123] In an exemplary embodiment, taking the application environment as a mobile terminal connected to a left earphone and a right earphone via Bluetooth communication, and the left earphone and the right earphone are also connected via Bluetooth communication, it is assumed that the signal reception condition of the right earphone is good, and the signal reception condition of the left earphone is poor.
[0124] Combination Figure 3As shown, the CIG identifier is used to identify the CIG, and the CIG0 event is used to represent a CIG event. For example, in a scenario where the transmitter (mobile terminal) sends Bluetooth data to the first terminal (left earphone) and the second terminal (right earphone), the CIG0 event includes the first CIS event (CIS0 event) and the first CIS event (CIS1 event). Among them, CIS0event refers to the interaction event between the transmitter and the left earphone, and CIS1 event refers to the interaction event between the transmitter and the right earphone.
[0125] And within the period of CIG0 event, the transmitter sends two first Bluetooth data packets (PDU0 and PDU1) to the left earphone (Acceptor1); within the period of CIG0 event, the transmitter 120 sends two second Bluetooth data packets (PDU0 and PDU1) to the right earphone (Acceptor2). Here, the transmitter sends two first Bluetooth data packets (PDU0 and PDU1) to the left earphone, which is not equivalent to the transmitter 120 sending two second Bluetooth data packets (PDU0 and PDU1) to the right earphone.
[0126] Here, CIS0 event includes 4 interaction sub-events between the sender and the first terminal, and these 4 interaction sub-events include CIS0 subevent0, CIS0 subevent1, CIS0 subevent2, and CIS0 subevent3. CIS1 event includes 4 interaction sub-events between the sender and the second terminal, and these 4 interaction sub-events include CIS1 subevent0, CIS1 subevent1, CIS1 subevent2, and CIS1 subevent3.
[0127] Here, the ISO channel of BLE defines a transmission mechanism. Under this transmission mechanism, a source device can send audio data to multiple receiving devices through multiple connected isochronous streams (CIS) in a connected isochronous group (CIG) in a time division multiple access (TDMA) manner. Therefore, the time slices corresponding to the interaction sub-events of CIS0 event and the time slices corresponding to the interaction sub-events of CIS1 event are set alternately. For example, combined with Figure 3As shown, within the cycle of CIG0 event, the time slices corresponding to CIS0 subevent0, CIS1 subevent0, CIS0 subevent1, CIS1 subevent1, CIS0subevent2, CIS1 subevent2, CIS0 subevent3, and CIS1 subevent3 are arranged in sequence.
[0128] If the right earphone receives two first Bluetooth data packets (PDU0 and PDU1) sent by the sender through two interactive sub-events (CIS1subevent0 and CIS1subevent1) in the CIS1 event during the CIG0 event period, the first Bluetooth link of the right earphone is closed. In other words, the receiving channel of the right earphone is closed.
[0129] like Figure 7 As shown, within the cycle of the connection synchronization group CIG event, a data transmission method is provided, including:
[0130] Step 702, the mobile terminal sends the second Bluetooth data (PDU0 and PDU1) to the left earphone and sends the first Bluetooth data (PDU0 and PDU1) to the right earphone;
[0131] Step 704: the left ear headset fails to receive the second Bluetooth data (PDU0) sent by the mobile terminal through the second Bluetooth link (RX channel) for two consecutive times; that is, the left ear headset fails to receive the second Bluetooth data (PDU0) sent by the mobile terminal in the time slices corresponding to CIS0 subevent0 and CIS0 subevent1;
[0132] Step 706: the right earphone receives the first Bluetooth data (PDU0 and PDU1) sent by the mobile terminal twice through the first Bluetooth link (RX channel); that is, the right earphone receives the first Bluetooth data (PDU0 and PDU1) sent by the mobile terminal in the time slices corresponding to CIS1 subevent0 and CIS1 subevent1;
[0133] Step 708: the right earphone closes the first Bluetooth link (RX channel);
[0134] Step 710: In the first target time slice corresponding to CIS0 subevent2, the first Bluetooth link of the right ear headset is originally in a silent state, and the right ear headset starts the first Bluetooth link, that is, the right ear headset starts a receiving path (RX path);
[0135] Step 712: the left earphone receives the second Bluetooth data (PDU1) resent by the mobile terminal through the receiving path (RX path) within the first target time slice corresponding to CIS0 subevent2, and sends a second feedback signal to the mobile terminal; the second feedback signal is used to indicate whether the left earphone receives the second Bluetooth data (PDU1) resent by the mobile terminal;
[0136] Step 714: the right earphone receives the second Bluetooth data (PDU1) resent by the mobile terminal through the receiving path (RX path) within the first target time slice corresponding to CIS0 subevent2, and can also receive the second feedback signal (ACK / NAK data packet) from the left earphone to the mobile terminal;
[0137] Step 716: If the left earphone still does not receive the second Bluetooth data (PDU1) resent by the mobile terminal in the first target time slot corresponding to CIS0 subevent2, the right earphone forwards the resent second Bluetooth data (PDU1) to the left earphone through the third Bluetooth link in the second target time slot corresponding to CIS1 subevent2;
[0138] Step 718, receiving a second feedback signal sent by the left ear headset; the second feedback signal is used to indicate whether the left ear headset has received the resent second Bluetooth data (PDU1);
[0139] Step 720: If the second feedback signal indicates that the left earphone has not received the resent second Bluetooth data (PDU1), the time slice corresponding to CIS0 subevent3 is used as the new first target time slice, and the time slice corresponding to CIS1 subevent3 is used as the new second target time slice;
[0140] Step 722: The left earphone receives the second Bluetooth data (PDU1) resent by the transmitter through the second Bluetooth link in the time slice corresponding to CIS0 subevent3.
[0141] Step 724, the right earphone receives the second Bluetooth data (PDU1) resent by the transmitter through the first Bluetooth link in the time slice corresponding to CIS0 subevent3;
[0142] Step 726, when the left ear headset does not receive the resent second Bluetooth data (PDU1), the right ear headset forwards the resent second Bluetooth data (PDU1) to the left ear headset through the third Bluetooth link in the time slot corresponding to CIS1 subevent3, and receives the second feedback signal fed back by the left ear headset until the iteration stop condition is met. That is, the above loop is executed until the left ear headset receives the resent second Bluetooth data, or iterates to the last second time slot in the cycle of the CIG event.
[0143] In the embodiment of the present application, if the right earphone receives the second Bluetooth data resent by the mobile terminal, then, if the left earphone does not receive the resent second Bluetooth data, the right earphone can forward the resent second Bluetooth data to the left earphone. Since the transmission distance between the right earphone and the left earphone is shorter and the transmission path is simpler, the left earphone is more likely to receive the second Bluetooth data resent by the mobile terminal. In this way, both the right earphone and the left earphone receive the Bluetooth data sent by the mobile terminal, and the right earphone and the left earphone can better provide Bluetooth data transmission services for the user.
[0144] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0145] In one embodiment, a data transmission method is provided, which is applied to a second terminal, wherein the second terminal is configured to receive second Bluetooth data sent by a transmitter based on a second connection synchronization stream CIS event in a preset number of connection synchronization group CIG events; Figure 8 As shown, the method includes:
[0146] Step 820: Determine that the second terminal has not successfully received the second Bluetooth data sent by the sending end through the second CIS event, and feed back a first feedback signal of unsuccessful reception of the second Bluetooth data to the first terminal.
[0147] Exemplarily, when the second terminal fails to successfully receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event, the second terminal feeds back a first feedback signal to the first terminal. Wherein, M and N are positive integers, and M is less than N. Here, the first feedback signal is used to indicate that the second terminal fails to successfully receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event.
[0148] Step 840: receiving second Bluetooth data forwarded by the first terminal and retransmitted by the transmitting end to the second terminal; wherein the second Bluetooth data forwarded by the first terminal is received by the first terminal through at least one first CIS event in the CIG event.
[0149] In this way, the first terminal can receive the first feedback signal (NAK) fed back by the second terminal. Then, if the first terminal determines that it satisfies the conditions of successfully receiving the first Bluetooth data through less than a preset number of first CIS events in the CIG event, and the first terminal receives the first feedback signal fed back by the second terminal, it can receive the second Bluetooth data retransmitted from the transmitter to the second terminal through at least one remaining first CIS event in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
[0150] Then, the second terminal can receive the second Bluetooth data forwarded by the first terminal and retransmitted by the sending end to the second terminal.
[0151] In the embodiment of the present application, the second terminal determines that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second CIS event, and feeds back a first feedback signal of unsuccessful reception of the second Bluetooth data to the first terminal, and then receives the second Bluetooth data forwarded by the first terminal and retransmitted by the sender to the second terminal.
[0152] Since the transmission distance between the first terminal and the second terminal is short and the transmission path is simple, the second terminal is more likely to receive the second Bluetooth data resent by the sender. In this way, the first terminal and the second terminal both receive the Bluetooth data sent by the sender, so the first terminal and the second terminal can better provide Bluetooth data transmission services for users.
[0153] In one embodiment, Fig. 9 As shown, a data transmission method is provided, the method also includes:
[0154] Step 860, when the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one first CIS event in the CIG event, the second terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through the second CIS event.
[0155] When the sending end retransmits the second Bluetooth data to the second terminal, the first terminal receives the second Bluetooth data retransmitted by the sending end to the second terminal through at least one first CIS event in the CIG event. At the same time, the second terminal can also continue to receive the second Bluetooth data retransmitted by the sending end to the second terminal through the remaining second CIS events in the CIG event.
[0156] In this way, if the first terminal successfully receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one first CIS event in the CIG event, the retransmitted second Bluetooth data can be forwarded to the second terminal. Then, if the second terminal also successfully receives the second Bluetooth data retransmitted by the transmitter to the second terminal through the remaining second CIS events in the CIG event, then after receiving the retransmitted second Bluetooth data forwarded by the first terminal, the second terminal can arbitrarily select one type of second Bluetooth data from the retransmitted second Bluetooth data received in these two ways as the final received second Bluetooth data. Of course, the second terminal can also compare the retransmitted second Bluetooth data received in these two ways, and use the second Bluetooth data without missing data as the final received second Bluetooth data. Of course, this application does not limit this.
[0157] In the embodiment of the present application, when the transmitting end retransmits the second Bluetooth data to the second terminal, the first terminal receives the second Bluetooth data retransmitted by the transmitting end to the second terminal through at least one first CIS event in the CIG event, and at the same time, the second terminal can continue to receive the second Bluetooth data retransmitted by the transmitting end to the second terminal through the remaining second CIS events in the CIG event. In this way, by receiving the retransmitted second Bluetooth data in different ways, the accuracy of the second Bluetooth data transmission can be improved.
[0158] In one embodiment, a data transmission method is provided, which is applied to a transmitting end, wherein the transmitting end is configured to send first Bluetooth data to a first terminal based on a first connection synchronization stream CIS event in a preset number of connection synchronization group CIG events, and send second Bluetooth data to a second terminal based on a second connection synchronization stream CIS event in the CIG event; Fig.10 As shown, the method includes:
[0159] Step 1020 , determining that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event.
[0160] Combination Figure 5As shown, after the first terminal successfully or unsuccessfully receives the first Bluetooth data through the first CIS event in the CIG event, it will send a feedback signal (ACK / NAK data packet) to the sending end. Therefore, the sending end can determine whether the first terminal successfully receives the first Bluetooth data through the first CIS event that is less than a preset number in the CIG event.
[0161] If the transmitting end receives an ACK / NAK data packet sent by the first terminal, the transmitting end can determine that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event. For example, the same CIG event can include 4 first CIS events, and in the CIG event, the first Bluetooth data sent by the transmitting end to the first terminal includes 2 first Bluetooth data packets (PDU0 and PDU1). Then, if the total number of ACK / NAK data packets received by the transmitting end from the first terminal is 2, and the total number of ACK data packets is 2, one ACK data packet corresponds to 1 first CIS event. Since 2 first CIS events are less than 4 first CIS events, the transmitting end can determine that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event.
[0162] If the transmitting end determines that the first terminal successfully receives the first Bluetooth data through the first CIS event less than the preset number in the CIG event, it further determines whether the second terminal successfully receives the second Bluetooth data through the second CIS event in the CIG event. Here, if the second terminal successfully or unsuccessfully receives the second Bluetooth data through the second CIS event in the CIG event, it will send a feedback signal (ACK / NAK data packet) to the transmitting end. Therefore, the transmitting end can determine whether the second terminal successfully receives the second Bluetooth data through the second CIS event in the CIG event.
[0163] If the transmitting end receives the NAK data packet sent by the second terminal, the transmitting end determines that the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event.
[0164] Step 1040: retransmit the second Bluetooth data to the second terminal, control the first terminal to receive the retransmitted second Bluetooth data through at least one remaining first CIS event in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
[0165] The transmitting end retransmits the second Bluetooth data to the second terminal when determining that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event.
[0166] The transmitting end continues to control the first terminal to receive the retransmitted second Bluetooth data through at least one remaining first CIS event in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal.
[0167] In the embodiment of the present application, first, the transmitting end determines that the first terminal successfully receives the first Bluetooth data through the first CIS event less than the preset number in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event. Then, the transmitting end retransmits the second Bluetooth data to the second terminal. Finally, the first terminal is controlled to receive the retransmitted second Bluetooth data through at least one remaining first CIS event in the CIG event, and the retransmitted second Bluetooth data is forwarded to the second terminal.
[0168] When the first terminal determines that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second CIS event in the CIG event, the first terminal can use at least one remaining first CIS event in the CIG event to receive the second Bluetooth data retransmitted by the sender to the second terminal, and forward the retransmitted second Bluetooth data to the second terminal. Since the transmission distance between the first terminal and the second terminal is short and the transmission path is simple, it is easier for the second terminal to receive the second Bluetooth data retransmitted by the sender. In this way, the first terminal and the second terminal both receive the Bluetooth data sent by the sender, so the first terminal and the second terminal can better provide Bluetooth data transmission services for users.
[0169] Based on the same inventive concept, in this embodiment, Fig.11 As shown, a data transmission device 1100 is further described, which is applied to a first terminal, and the first terminal is configured to receive first Bluetooth data sent by a sender based on a preset number of first connection synchronization stream CIS events in a connection synchronization group CIG event; the device includes:
[0170] The first determination module 1120 is used to determine that the first terminal successfully receives the first Bluetooth data through the first CIS event less than a preset number in the CIG event, and the first terminal receives the first feedback signal fed back by the second terminal; the first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event;
[0171] The receiving and forwarding module 1140 is configured for the first terminal to receive the second Bluetooth data retransmitted from the transmitter to the second terminal through at least one first CIS event remaining in the CIG event, and to forward the retransmitted second Bluetooth data to the second terminal.
[0172] In one embodiment, the first Bluetooth data includes a plurality of first Bluetooth data packets, the first CIS event is used to transmit M first Bluetooth data packets between the transmitting end and the first terminal through the first Bluetooth link, and the first CIS event includes N first CIS sub-events; wherein M and N are positive integers, and M is less than N;
[0173] The first determination module 1120 is further used to determine whether the first terminal successfully receives M first Bluetooth data packets sent by the transmitter through H first CIS sub-events in the CIG event; wherein H is greater than or equal to M and less than N.
[0174] In one embodiment, the second Bluetooth data includes a plurality of second Bluetooth data packets, the second CIS event is used to transmit M second Bluetooth data packets between the transmitting end and the second terminal through the second Bluetooth link, and the second CIS event includes N second CIS sub-events;
[0175] The first determining module 1120 is further configured to cause the first terminal to receive a first feedback signal fed back by the second terminal when the second terminal fails to receive the M second Bluetooth data packets sent by the transmitter through the M second CIS sub-events in the second CIS event.
[0176] In one embodiment, the receiving and forwarding module 1140 includes:
[0177] A receiving unit, configured to receive, by the first terminal, the second Bluetooth data retransmitted from the transmitting end to the second terminal through the first target sub-CIS event within the first target time slice corresponding to the next second CIS sub-event of the M second CIS sub-events; the first target sub-CIS event is the first sub-CIS event after the H first sub-CIS events in the CIG event;
[0178] The forwarding unit is used for the first terminal to forward the retransmitted second Bluetooth data to the second terminal through the first target sub-CIS event in the second target time slice; the second target time slice is the next adjacent time slice of the first target time slice.
[0179] In one embodiment, a data transmission device is described, further comprising:
[0180] A second feedback signal receiving module, used to receive a second feedback signal sent by the second terminal; the second feedback signal is used to indicate whether the second terminal has received the retransmitted second Bluetooth data;
[0181] A loop module is used to use the next adjacent time slice of the second target time slice as the new first target time slice, and the next adjacent time slice of the new first target time slice as the new second target time slice if the second feedback signal indicates that the second terminal has not received the retransmitted second Bluetooth data, and to loop execution. In the new first target time slice, the first terminal receives the second Bluetooth data retransmitted from the transmitter to the second terminal through a new first target sub-CIS event. When the second terminal has not received the retransmitted second Bluetooth data, the retransmitted second Bluetooth data is forwarded to the second terminal through a new first target sub-CIS event in the new second target time slice, and a new second feedback signal fed back by the second terminal is received until the iteration stop condition is met.
[0182] In one embodiment, the iteration stop condition includes any one of the following conditions:
[0183] The new second feedback signal is used to indicate that the second terminal receives the retransmitted second Bluetooth data;
[0184] Iterate to the last second target time slice in the cycle of the CIG event.
[0185] Based on the same inventive concept, a data transmission device is described in this embodiment, which is applied to a second terminal, and the second terminal is configured to receive second Bluetooth data sent by a sender based on a second connection synchronization stream CIS event in a preset number of connection synchronization group CIG events; the device includes:
[0186] A second determining module, configured to determine that the second terminal has not successfully received the second Bluetooth data sent by the transmitting end through the second CIS event, and feed back a first feedback signal of unsuccessful reception of the second Bluetooth data to the first terminal;
[0187] The receiving module is used to receive the second Bluetooth data forwarded by the first terminal and retransmitted by the transmitting end to the second terminal; wherein the second Bluetooth data forwarded by the first terminal is received by the first terminal through at least one first CIS event in the CIG event.
[0188] Based on the same inventive concept, the present embodiment describes an application to a transmitting end, the transmitting end is configured to send first Bluetooth data to a first terminal based on a first connection synchronization stream CIS event in a preset number of connection synchronization group CIG events, and send second Bluetooth data to a second terminal based on a second connection synchronization stream CIS event in the CIG event; the device includes:
[0189] A third determination module, configured to determine that the first terminal successfully receives the first Bluetooth data through less than a preset number of first CIS events in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through a second CIS event in the CIG event;
[0190] The retransmission module is used to retransmit the second Bluetooth data to the second terminal, control the first terminal to receive the retransmitted second Bluetooth data through at least one first CIS event remaining in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
[0191] The division of the various modules in the above-mentioned data transmission device is only for illustration. In other embodiments, the data transmission device may be divided into different modules as needed to complete all or part of the functions of the above-mentioned data transmission device.
[0192] For the specific definition of the data transmission device, please refer to the definition of the data transmission method above, which will not be repeated here. Each module in the above-mentioned data transmission device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0193] Fig.12 Schematic diagram of the internal structure of an electronic device in an embodiment. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a car computer, a wearable device, etc. The electronic device includes a processor and a memory connected via a system bus. Among them, the processor may include one or more processing units. The processor may be a CPU (Central Processing Unit) or a DSP (Digital Signal Processing), etc. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a data transmission method provided in each of the following embodiments. The internal memory provides a cache operating environment for the operating system computer program in the non-volatile storage medium.
[0194] The implementation of each module in the data transmission device provided in the embodiment of the present application can be in the form of a computer program. The computer program can be run on an electronic device. The program module constituted by the computer program can be stored in the memory of the electronic device. When the computer program is executed by the processor, the steps of the method described in the embodiment of the present application are implemented.
[0195] The embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the data transmission method.
[0196] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the data transmission method.
[0197] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include ROM (Read-Only Memory), PROM (Programmable Read-only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-only Memory) or flash memory. Volatile memory may include RAM (Random Access Memory), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), Double Data Rate DDRSDRAM (Double Data Rate Synchronous Dynamic Random Access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory), SLDRAM (Sync Link Dynamic Random Access Memory), RDRAM (Rambus Dynamic Random Access Memory), and DRDRAM (Direct Rambus Dynamic Random Access Memory).
[0198] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data transmission method, characterized in that: Applied to a first terminal, the first terminal is configured to receive first Bluetooth data sent by a sending end based on a preset number of first connection synchronization stream CIS events in a connection synchronization group CIG event; the method includes: Determine that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the first terminal receives a first feedback signal fed back by the second terminal; the first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event; The first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one of the remaining first CIS events in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal.
2. The method according to claim 1, characterized in that The first Bluetooth data includes a plurality of first Bluetooth data packets, the first CIS event is used to transmit M first Bluetooth data packets between the transmitting end and the first terminal through the first Bluetooth link, and the first CIS event includes N first CIS sub-events; wherein M and N are positive integers, and M is less than N; The determining that the first terminal successfully receives the first Bluetooth data through the first CIS events that are less than the preset number in the CIG events includes: Determine that the first terminal successfully receives the M first Bluetooth data packets sent by the transmitter through H first CIS sub-events in the CIG event; wherein H is greater than or equal to M and less than N.
3. The method according to claim 1 or 2, characterized in that: The second Bluetooth data includes a plurality of second Bluetooth data packets, the second CIS event is used to transmit the M second Bluetooth data packets between the transmitting end and the second terminal through a second Bluetooth link, and the second CIS event includes the N second CIS sub-events; The first terminal receiving a first feedback signal fed back by the second terminal includes: The first terminal receives a first feedback signal fed back by the second terminal when the second terminal fails to receive the M second Bluetooth data packets sent by the sending end through the M second CIS sub-events in the second CIS event.
4. The method according to claim 3, characterized in that The first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one of the first CIS events remaining in the CIG event, and forwards the retransmitted second Bluetooth data to the second terminal, including: In a first target time slice corresponding to the next second CIS sub-event of the M second CIS sub-events, the first terminal receives the second Bluetooth data retransmitted by the transmitting end to the second terminal through the first target sub-CIS event; the first target sub-CIS event is the first sub-CIS event after the H first sub-CIS events in the CIG event; The first terminal forwards the retransmitted second Bluetooth data to the second terminal through the first target sub-CIS event in the second target time slice; the second target time slice is the next adjacent time slice of the first target time slice.
5. The method according to claim 4, characterized in that The method further comprises: receiving a second feedback signal sent by the second terminal; the second feedback signal is used to indicate whether the second terminal has received the retransmitted second Bluetooth data; If the second feedback signal indicates that the second terminal has not received the retransmitted second Bluetooth data, the next adjacent time slice of the second target time slice is used as the new first target time slice, and the next adjacent time slice of the new first target time slice is used as the new second target time slice, and the execution is repeated within the new first target time slice, wherein the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through a new first target sub-CIS event, and if the second terminal does not receive the retransmitted second Bluetooth data, the retransmitted second Bluetooth data is forwarded to the second terminal through the new first target sub-CIS event in the new second target time slice, and a new second feedback signal fed back by the second terminal is received until the iteration stop condition is met.
6. The method according to claim 5, characterized in that The iteration stop condition includes any one of the following conditions: The new second feedback signal is used to indicate that the second terminal has received the retransmitted second Bluetooth data; Iterate to the last second target time slice in the cycle of the CIG event.
7. A data transmission method, characterized in that: Applied to a second terminal, the second terminal is configured to receive second Bluetooth data sent by a sending end based on a second connection synchronization stream CIS event in a preset number of connection synchronization group CIG events; the method includes: Determine that the second terminal fails to successfully receive the second Bluetooth data sent by the transmitting end through the second CIS event, and feed back a first feedback signal of failure to successfully receive the second Bluetooth data to the first terminal; Receive the second Bluetooth data forwarded by the first terminal and retransmitted by the transmitting end to the second terminal; wherein the second Bluetooth data forwarded by the first terminal is received by the first terminal through at least one first CIS event in the CIG event.
8. The method according to claim 7, characterized in that The method further comprises: When the first terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through at least one first CIS event in the CIG event, the second terminal receives the second Bluetooth data retransmitted by the transmitter to the second terminal through the second CIS event.
9. A data transmission method, characterized in that: Applied to a transmitting end, the transmitting end is configured to send first Bluetooth data to a first terminal based on a first connection synchronization stream CIS event in a preset number of connection synchronization group CIG events, and send second Bluetooth data to a second terminal based on a second connection synchronization stream CIS event in the CIG event; the method includes: Determining that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event; The second Bluetooth data is retransmitted to the second terminal, and the first terminal is controlled to receive the retransmitted second Bluetooth data through at least one of the remaining first CIS events in the CIG event, and the retransmitted second Bluetooth data is forwarded to the second terminal.
10. A data transmission device, characterized in that: Applied to a first terminal, the first terminal is configured to receive first Bluetooth data sent by a sending end based on a preset number of first connection synchronization stream CIS events in a connection synchronization group CIG event; the device includes: A first determination module is used to determine that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the first terminal receives a first feedback signal fed back by the second terminal; the first feedback signal is used to indicate that the second terminal has not successfully received the second Bluetooth data sent by the sender through the second connection synchronization stream CIS event in the CIG event; The receiving and forwarding module is used for the first terminal to receive the second Bluetooth data retransmitted by the sending end to the second terminal through at least one of the first CIS events remaining in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
11. A data transmission device, characterized in that: Applied to a second terminal, the second terminal is configured to receive second Bluetooth data sent by a sending end based on a second connection synchronization stream CIS event in a preset number of connection synchronization group CIG events; the device includes: A second determining module, configured to determine that the second terminal has not successfully received the second Bluetooth data sent by the transmitting end through the second CIS event, and feed back a first feedback signal of unsuccessful reception of the second Bluetooth data to the first terminal; A receiving module is used to receive the second Bluetooth data forwarded by the first terminal and retransmitted by the sending end to the second terminal; wherein the second Bluetooth data forwarded by the first terminal is received by the first terminal through at least one first CIS event in the CIG event.
12. A data transmission device, characterized in that: Applied to a transmitting end, the transmitting end is configured to send first Bluetooth data to a first terminal based on a first connection synchronization stream CIS event in a preset number of connection synchronization group CIG events, and send second Bluetooth data to a second terminal based on a second connection synchronization stream CIS event in the CIG event; the device includes: A third determination module is used to determine that the first terminal successfully receives the first Bluetooth data through the first CIS events less than the preset number in the CIG event, and the second terminal fails to successfully receive the second Bluetooth data through the second CIS event in the CIG event; The retransmission module is used to retransmit the second Bluetooth data to the second terminal, and control the first terminal to receive the retransmitted second Bluetooth data through at least one of the remaining first CIS events in the CIG event, and forward the retransmitted second Bluetooth data to the second terminal.
13. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the data transmission method according to any one of claims 1 to 9.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data transmission method according to any one of claims 1 to 9 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the data transmission method according to any one of claims 1 to 9 are implemented.