A bluetooth ear-to-ear transmission method and device and a bluetooth earphone
By extending the data frame transmission time in Bluetooth earphone transmission and designing master-slave interaction information, the problem of poor robustness of information interaction in Bluetooth earphone applications is solved, and the utilization rate of time slot resources and the reliability of information interaction are improved.
Patent Information
- Application Number
- CN202510232879.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2045-02-28
AI Technical Summary
In Bluetooth earphone applications, existing technologies suffer from poor robustness of information exchange between master-slave links and terminal links, as well as low utilization of time slot resources.
By establishing a Bluetooth link between the first earpiece and the terminal device, and a second Bluetooth link between the first earpiece and the second earpiece, the data transmission time of the data frame is extended to enable the transmission of master-slave interaction information within the time slot resources. This includes the design of the current frame format, payload information length, and checksum, ensuring the robustness of information interaction.
It improves the robustness of information exchange between master-slave links and terminal links, enhances the utilization rate of time slot resources, ensures that master-slave interaction does not affect information exchange in terminal links, and has strong practicality.
Smart Images

Figure CN120151809B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of Bluetooth communication technology, in particular to a Bluetooth ear-to-ear transmission method and device and Bluetooth earphone. BACKGROUND
[0002] In the Bluetooth ear-to-ear application, it is necessary to ensure that the data received by the master ear and the slave ear is consistent, and the receiving time is basically synchronized. Since Bluetooth uses unlicensed spectrum, there are WIFI, microwave oven and other interference sources in this spectrum, so when the master ear and the slave ear simultaneously receive the data of the terminal device in actual Bluetooth transmission, one end receives correctly and the other end receives incorrectly. Therefore, interaction between the master and the slave in the ear-to-ear transmission mode needs to be increased.
[0003] In classic Bluetooth, if interaction between ears is to be achieved, time slot resources must be reserved for master-slave transmission; in this time slot resource, the earphone cannot receive the terminal link data packet. If the time slot resource for master-slave interaction is reserved more, it will affect the terminal link to receive the data packet.
[0004] For the related technology in the above, the inventor finds that the existing classic Bluetooth method has the problem of poor robustness of information interaction of the master-slave link and the terminal link. SUMMARY
[0005] In order to improve the robustness of information interaction of the master-slave link and the terminal link, and improve the utilization rate of time slot resources, the present application provides a Bluetooth ear-to-ear transmission method, device and Bluetooth earphone.
[0006] In a first aspect, the present application provides a Bluetooth ear-to-ear transmission method.
[0007] The present application is realized by the following technical solutions:
[0008] A Bluetooth ear-to-ear transmission method, comprising the following steps,
[0009] establishing a first Bluetooth link between a first earphone and a terminal device, establishing a second Bluetooth link between the first earphone and a second earphone, and establishing a third Bluetooth link between the second earphone and the terminal device, the terminal device being a Bluetooth master role, and the first earphone and the second earphone being Bluetooth slave roles;
[0010] In a first time slot, the terminal device sends an audio packet to the first earphone, and the first earphone and the second earphone both receive the audio packet;
[0011] In a second time slot, the first earphone sends a data frame representing its own receiving state information to the terminal device, and prolongs the data sending time of the data frame, and the terminal device and the second earphone both receive the data frame, so that the first earphone sends the master-slave interaction information to the second earphone;
[0012] The master-slave interaction information includes a current frame format, a length of a payload information of the current frame, a length of the master-slave interaction information of the current frame, and a check code for checking the length of the payload information and the length of the master-slave interaction information. The current frame format represents a preset first format data packet.
[0013] The application can be further configured to further include the following steps in a preferred example,
[0014] The second earphone feeds back master-slave interaction receiving state information to the first earphone based on the reserved time in the second time slot.
[0015] The application can be further configured to further include the following steps in a preferred example,
[0016] When the second earphone receives the data packet sent by the first earphone, the current frame format is decoded first.
[0017] When the current frame format represents the first format data packet, the second earphone determines that the data packet sent by the first earphone carries the master-slave interaction information, continues to decode the subsequent bit information of the master-slave interaction information, and feeds back master-slave interaction receiving state information ACK to the first earphone in the reserved time.
[0018] The application can be further configured to further include the following steps in a preferred example,
[0019] When the current frame format is inconsistent with the first format data packet, the second earphone determines that the data packet sent by the first earphone does not carry the master-slave interaction information, and at this time, the receiving channel of the second earphone is closed.
[0020] The application can be further configured to further include the following steps in a preferred example,
[0021] A frequency hopping protection time interval is reserved before and after the feedback of the master-slave interaction receiving state information.
[0022] The application can be further configured to further include the following steps in a preferred example in the second time slot after the step of the first earphone feeding back a data frame representing its own receiving state information to the terminal device,
[0023] It is determined whether the packet length of the data frame meets a first preset condition.
[0024] When the packet length of the data frame meets the first preset condition, the first earphone prolongs the data sending time of the data frame, so as to send master-slave interaction information to the second earphone.
[0025] In a preferred embodiment, this application can be further configured such that: the first preset condition is a typical value of 376us for the maximum duration of the first format data packet, and the maximum typical value of the frequency hopping protection time interval is 100us.
[0026] In a preferred embodiment, this application can be further configured to include the following steps:
[0027] The first earphone repeatedly sends the master-slave interaction information at preset periodic intervals.
[0028] In a preferred embodiment, this application can be further configured to include the following steps:
[0029] After the time slot of the first format data packet, a preset frequency hopping protection time interval is added, and no time is reserved for the second earphone to feed back master-slave interaction information reception status information;
[0030] When the second earphone receives the master-slave interaction information sent by the first earphone, it does not send back the receiving status information to the first earphone.
[0031] In a preferred embodiment, this application can be further configured to include the following steps:
[0032] The typical maximum duration of the first format data packet is designed to be 525µs, and the typical maximum frequency hopping protection time interval is 100µs.
[0033] In a preferred embodiment, this application can be further configured to include the following steps:
[0034] Before the first earphone sends the master-slave interaction information, the master-slave interaction information is channel-coded.
[0035] In a preferred embodiment, this application may be further configured as follows: after the step of the terminal device sending an audio packet to the first earphone in the first time slot, and both the first earphone and the second earphone receiving the audio packet, the application may further include, in the first time slot, when the first earphone is in the receiving state of the radio frequency front end, determining whether the received signal meets the second preset condition in a preset first detection window.
[0036] If the first earpiece determines that the received signal meets the second preset condition, then in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece.
[0037] In a preferred embodiment, this application can be further configured to include the following steps:
[0038] In the first time slot, the first earphone is in the receiving state at the radio frequency front end, and determines whether the received signal meets the third preset condition in the preset first detection window;
[0039] If the first earpiece determines that the received signal meets the third preset condition, then in the first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window;
[0040] In the second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states at a preset first interval. Then, the second earpiece sends data packets to the first earpiece using a preset second preemptive transmission window.
[0041] In a preferred embodiment, this application can be further configured as follows: the second preset condition includes correctly decoding the relevant access code and header error check code of the audio packet sent by the terminal device, the third preset condition includes not correctly decoding the relevant access code of the audio packet sent by the terminal device and the received power is less than a preset threshold, and further includes the following step: when the first earphone correctly decodes the relevant access code and header error check code of the audio packet sent by the terminal device, the first earphone determines that the received signal meets the second preset condition;
[0042] When the first earphone detects that it has not correctly decoded the relevant access code of the audio packet sent by the terminal device and the received power is less than a preset threshold, the first earphone determines that the received signal meets the third preset condition.
[0043] Secondly, this application provides a Bluetooth ear-to-ear transmission method.
[0044] This application is achieved through the following technical solution:
[0045] A Bluetooth ear-to-ear transmission method includes the following steps:
[0046] A first Bluetooth link is established between the first earpiece and the terminal device, a second Bluetooth link is established between the first earpiece and the second earpiece, and a third Bluetooth link is established between the second earpiece and the terminal device. The first earpiece is the Bluetooth master, and the terminal device and the second earpiece are the Bluetooth slaves.
[0047] In the first time slot, the terminal device sends an audio packet to either the first earphone or the second earphone, and both the second earphone and the first earphone receive the audio packet;
[0048] In the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame so that master-slave interaction information is sent to the second earpiece.
[0049] The master-slave interaction information includes the current frame format, the length of the payload information of the current frame, the length of the master-slave interaction information of the current frame, and a check code used to verify the length of the payload information and the length of the master-slave interaction information. At this time, the current frame format represents a preset first format data packet.
[0050] In a preferred embodiment, this application can be further configured such that at least 2×K Bluetooth time slots are reserved between the first time slot and the second time slot, where K is a natural number.
[0051] Thirdly, this application provides a Bluetooth ear-to-ear transmission method.
[0052] This application is achieved through the following technical solution:
[0053] A Bluetooth ear-to-ear transmission method includes the following steps:
[0054] A first Bluetooth link is established between the first earphone and the terminal device; a second Bluetooth link is established between the first earphone and the second earphone; and a third Bluetooth link is established between the second earphone and the terminal device.
[0055] In the first time slot, the terminal device sends an audio packet to either the first earphone or the second earphone, and both the first earphone and the second earphone receive the audio packet;
[0056] The master-slave interaction cycle is designed to determine the interaction time slots in which the first and second earphones take turns performing master-slave interaction. This includes determining the interaction time slots for the first earphone to send master-slave interaction information to the second earphone or for the second earphone to send master-slave interaction information to the first earphone, based on floor(N / M). Here, floor() is a floor operation, M is the duration of the one-way interaction between the first and second earphones, and N is the current frame.
[0057] When floor(N / M) is odd, in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame to send master-slave interaction information to the second earpiece.
[0058] When floor(N / M) is even, in the second time slot, the second earphone replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the first earphone receive the data frame to send master-slave interaction information to the first earphone.
[0059] The master-slave interaction information includes the current frame format, the length of the payload information of the current frame, the length of the master-slave interaction information of the current frame, and a check code used to verify the length of the payload information and the length of the master-slave interaction information. The current frame format represents a preset first format data packet.
[0060] Fourthly, this application provides a Bluetooth ear-to-ear transmission device.
[0061] This application is achieved through the following technical solution:
[0062] A Bluetooth earphone transmission device includes a first Bluetooth link established between a first earphone and a terminal device, a second Bluetooth link established between the first earphone and a second earphone, a third Bluetooth link established between the second earphone and the terminal device, and further includes...
[0063] An audio data transmission module is used for the terminal device to send audio packets to the first earphone or the second earphone, wherein both the first earphone and the second earphone receive the audio packets.
[0064] An interactive information sending module is configured to: 1) The first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame, enabling the first earpiece to send master-slave interactive information to the second earpiece; or 2) The second earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the first earpiece receive the data frame, enabling the second earpiece to send master-slave interactive information to the first earpiece. The master-slave interactive information includes the current frame format, the current frame payload information length, the current frame master-slave interactive information length, and a checksum used to verify the payload information length against the master-slave interactive information length. The current frame format represents a preset first format data packet.
[0065] In a preferred embodiment, this application may be further configured to include:
[0066] The interactive information feedback module is used to send the master-slave interaction reception status information back to the first earphone within a preset reserved time.
[0067] In a preferred embodiment, this application can be further configured such that the interactive information sending module is also used for the first earphone to repeatedly send the master-slave interactive information at preset periodic intervals.
[0068] In a preferred embodiment, this application may be further configured to include:
[0069] The receiving window detection module is used to determine whether the received signal meets the second preset condition in a preset first detection window during a first time slot when the first earphone is in the receiving state of the radio frequency front end.
[0070] When the first earpiece determines that the received signal meets the second preset condition, in the second time slot, the interactive information sending module sends a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece; or, when the second earpiece determines that the received signal meets the second preset condition, in the second time slot, the second earpiece sends a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the second earpiece sends master-slave interaction information to the first earpiece.
[0071] In a preferred embodiment, this application may be further configured to include:
[0072] The preemptive master-slave information interaction module is used to, when the first earpiece determines that the received signal meets a third preset condition, in a first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window; in a second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states within a preset first interval, and then the second earpiece sends data packets to the first earpiece using a preset second preemptive sending window; or, when the second earpiece determines that the received signal meets the third preset condition, in a first time slot, after a preset first interval, the second earpiece sends master-slave interaction information to the first earpiece using a preset first preemptive sending window; in a second time slot, after the first earpiece receives the master-slave interaction information sent by the second earpiece, the first earpiece and the second earpiece switch radio frequency states within a preset first interval, and then the first earpiece sends data packets to the second earpiece using a preset second preemptive sending window.
[0073] In a preferred embodiment, this application can be further configured such that the interactive information sending module also includes a master-slave interaction cycle unit for determining the interaction time slots in which the first earphone and the second earphone take turns performing master-slave interaction;
[0074] The master-slave interaction cycle unit determines the interaction time slot when the first earphone sends master-slave interaction information to the second earphone or the second earphone sends master-slave interaction information to the first earphone based on floor(N / M), where floor() is a floor operation, M is the duration of the one-way interaction between the first earphone or the second earphone, and N is the current frame.
[0075] When floor(N / M) is odd, the first earpiece sends master-slave interaction information to the second earpiece;
[0076] When floor(N / M) is even, the second earpiece sends master-slave interaction information to the first earpiece.
[0077] Fifthly, this application provides a Bluetooth headset.
[0078] This application is achieved through the following technical solution:
[0079] A Bluetooth headset, comprising a first earpiece and a second earpiece, is used in any of the Bluetooth ear-to-ear transmission methods described above.
[0080] Sixthly, this application provides a computer device.
[0081] This application is achieved through the following technical solution:
[0082] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the Bluetooth ear-to-ear transmission methods described above.
[0083] In a seventh aspect, this application provides a computer-readable storage medium.
[0084] This application is achieved through the following technical solution:
[0085] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the Bluetooth ear-to-ear transmission methods described above.
[0086] Eighthly, this application provides a computer program product.
[0087] This application is achieved through the following technical solution:
[0088] A computer program product includes a computer program that, when executed by a processor, implements the steps of any of the above-described Bluetooth ear-to-ear transmission methods.
[0089] In summary, compared with the prior art, the beneficial effects of the technical solution provided in this application include at least the following: by extending the data transmission time of the data frame when the first earpiece replies with a data frame representing its own reception status information to the terminal device, both the terminal device and the second earpiece receive the data frame, so that the first earpiece sends master-slave interaction information to the second earpiece. The master-slave interaction information frame is designed with the following format: a first format data packet, the length of the payload information of the current frame, the length of the master-slave interaction information of the current frame, and a checksum used to verify the length of the payload information and the length of the master-slave interaction information, so as to facilitate terminal link communication between the first earpiece and the terminal device. Under the time-slot resources of information exchange, this solution enables master-slave interaction between the first and second earpieces. From the perspective of the terminal device, extending the time period does not affect the reception of data frames defined by the original protocol. Compared with existing technical solutions that utilize the remaining time domain resources within the time slots, this solution extends the transmission time based on existing Bluetooth frames. There is no frequency hopping protection interval between the earpieces replying to the terminal data packets and the master-slave information exchange, thus improving the utilization rate of time domain resources. Master-slave interaction does not affect the information exchange of the terminal link, improving the robustness of information exchange between the master-slave link and the terminal link. Simultaneously, it efficiently utilizes time slot resources, increasing the time slot resource utilization rate of master-slave interaction. This solution does not affect the transmission and reception of master-slave data frames defined by the Bluetooth protocol, possessing strong practicality. Attached Figure Description
[0090] Figure 1 This is a schematic diagram of a communication link for a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0091] Figure 2 This is a portable master-slave interaction diagram of a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0092] Figure 3 This is a schematic diagram of the first data packet format for portable master-slave interaction in a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0093] Figure 4 This is a schematic diagram of the second time slot transmission time slot allocation for a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0094] Figure 5 This is a schematic diagram illustrating the allocation of a second time slot transmission time slot in a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0095] Figure 6 This is a schematic diagram of a portable master-slave broadcast interaction of a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0096] Figure 7This is a schematic diagram of the first data packet format for portable master-slave broadcast interaction in a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0097] Figure 8 This is a schematic diagram of a preemptive master-slave interaction in a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0098] Figure 9 This application provides an exemplary embodiment of a Bluetooth earphone transmission method, including a flowchart for determining preemptive master-slave interaction and portable master-slave interaction.
[0099] Figure 10 This is a schematic diagram illustrating the master-slave periodic alternation interaction of a Bluetooth ear-to-ear transmission method provided as an exemplary embodiment of this application.
[0100] Figure 11 This is a portable master-slave interaction diagram of a Bluetooth ear-to-ear transmission method provided as another exemplary embodiment of this application. Detailed Implementation
[0101] This specific embodiment is merely an explanation of this application and is not intended to limit it. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.
[0102] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0103] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.
[0104] This application provides a Bluetooth ear-to-ear transmission method, the main steps of which are described below.
[0105] A first Bluetooth link is established between the first earphone and the terminal device, a second Bluetooth link is established between the first earphone and the second earphone, and a third Bluetooth link is established between the second earphone and the terminal device. The terminal device is the Bluetooth master, and the first and second earphones are the Bluetooth slaves.
[0106] In the first time slot, the terminal device sends an audio packet to the first earpiece, and both the first earpiece and the second earpiece receive the audio packet;
[0107] In the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame, so that the first earpiece sends master-slave interaction information to the second earpiece.
[0108] The master-slave interaction information includes the current frame format, the length of the payload information of the current frame, the length of the master-slave interaction information of the current frame, and a check code used to verify the length of the payload information and the length of the master-slave interaction information. At this time, the current frame format represents a preset first format data packet.
[0109] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0110] Reference Figure 1 In one example of a Bluetooth ear-to-ear transmission method, a terminal device is used as the Bluetooth master device, a first earphone is used as the first Bluetooth slave device, and a second earphone is used as the second Bluetooth slave device. The communication link between the first earphone and the terminal device is the first link, the communication link between the first earphone and the second earphone is the second link, and the link between the second earphone and the terminal device is the third link. The first link is a listening / one-way link, and the second and third links are two-way links.
[0111] Terminal devices can include smartphones, computers, tablets, etc.
[0112] Reference Figure 2 After a classic Bluetooth connection is established, during playback, the terminal device sends audio data packets to the first earphone. Both the first and second earphones receive these audio data packets, and the time slot occupied by this is defined as the first time slot. In the first time slot, the typical data format is 2DH5, and the duration is 3.125ms. In the Bluetooth standard, a Bluetooth time slot lasts for 625us, meaning it lasts for 5 Bluetooth time slots.
[0113] In the second time slot, the first earpiece needs to feed back the data packet reception status information from the first time slot to the terminal device, i.e., it replies with a data frame representing its own reception status information to the terminal device. Both the terminal device and the second earpiece receive this data frame, which is defined as a Poll frame or a Null frame, with a duration of one Bluetooth time slot, i.e., 625µs. According to the Bluetooth protocol definition, when only replying to the reception status, the data frame sent by the Bluetooth master device is a Poll frame, and the data frame sent by the Bluetooth slave device is a Null frame. At this time, available time slot resources exist.
[0114] By increasing information interaction between the master and slave earpieces when the first earpiece replies to the terminal device with Poll / Null frames in the second time slot, a first format data packet is defined. This extends the data transmission time beyond the standard Bluetooth Poll / Null frames, allowing the first earpiece to send master-slave interaction information to the second earpiece. This extended time period enables master-slave interaction, improving time slot resource utilization. Furthermore, from the terminal device's perspective, the extended time period does not affect the reception of the original protocol-defined Poll / Null frames, and time slot resources are utilized efficiently. In contrast, existing technologies only respond to the data packet reception status of the first time slot, resulting in low time slot resource utilization.
[0115] The master-slave interaction information includes the current frame format, the length of the payload information of the current frame, the length of the master-slave interaction information of the current frame, and a check code used to verify the length of the payload information and the length of the master-slave interaction information. At this time, the current frame format represents a preset first format data packet.
[0116] When the first format data packet replies to the receiving status, it also carries the user data payload, which is a normal data frame. The transmission format is 2DH1-2DH3-2DH5 / 3DH1-3DH3-3DH5, and the duration is 1, 3, and 5 Bluetooth time slots, respectively.
[0117] The terminal device receives a status frame (pollull) representing its own reception status information. When the payload information length of the current frame is 0, it indicates that the terminal device can stop receiving information, and subsequent data reception cannot be parsed. The second earphone receives a complete first-format data packet, and through continuous parsing, obtains the master-slave interaction information to complete the master-slave interaction with the first earphone. From the perspective of the terminal device, extending the time period does not affect the reception of the original protocol-defined Pull / Null frames. Compared with existing technical solutions that utilize the remaining time domain resources within the time slot, this solution extends the transmission time based on the existing Bluetooth frames. There is no frequency hopping protection interval between the earphone replying to the terminal data packet and the master-slave information interaction, thus improving the utilization rate of time domain resources.
[0118] Specifically, refer to Figure 3and Figure 4 In the first-format data packet, after the Poll / Null frame ends, it is followed by the current frame format Flag_Type, the current frame payload length Length, the current frame payload length (master-slave payload), and a checksum. Flag_Type indicates that the current frame format is the first-format data packet, carrying master-slave interaction information between the first and second earpieces; Length indicates the length of the master-slave payload information, carrying the master-slave interaction information; the master-slave payload carries the master-slave interaction information; the checksum verifies the Length and master-slave payload information.
[0119] Optionally, the Flag_Type can be defined in various ways, such as representing master-slave interaction information types like switching control type, master-slave synchronization information type, and power control type, to further improve the robustness of master-slave interaction and broaden its applicability.
[0120] In one embodiment, before the first earpiece sends the master-slave interaction information, the master-slave interaction information is channel-coded. By channel coding the length, master-slave payload, checksum, etc., the robustness of the master-slave interaction is improved, and the data reception success rate is increased.
[0121] Reference Figure 2 In one embodiment, the second time slot further includes a reserved time, based on which the second earpiece feeds back master-slave interaction reception status information to the first earpiece.
[0122] Reference Figure 4 Since the maximum reserved time can be 625us – (126us + 250us) = 249us, the reserved time is used to carry ACK / NACK information. The second earpiece can feed back the reception status information of the first format data packet to the first earpiece to tell the first earpiece whether the master-slave information has been received and to determine whether the interaction between the master and slave is successful.
[0123] In one embodiment, when the second earpiece receives a data packet sent by the first earpiece, it first decodes the current frame format; when the current frame format represents the first format data packet, the second earpiece determines that the data packet sent by the first earpiece carries the master-slave interaction information, continues to decode the subsequent bit information of the master-slave interaction information to obtain the effective payload information length of the current frame, and feeds back the master-slave interaction reception status information ACK to the first earpiece within the reserved time.
[0124] Specifically, when the second earpiece correctly decodes Flag_Type, which represents the first format data packet in the current frame format (such as the receiver decoding the air interface signal and obtaining the corresponding baseband data), if the baseband data is equal to the predefined Flag_type, such as "0101", it indicates that the first earpiece carries master-slave interaction information. The second earpiece continues to decode the subsequent bit information of the first format data packet, and within the reserved time, the second earpiece sends back the master-slave interaction reception status information ACK to the first earpiece, and the first earpiece receives the returned master-slave interaction reception status information.
[0125] In one embodiment, when the second earpiece receives a data packet sent by the first earpiece, it first decodes the current frame format; when the current frame format is inconsistent with the first format data packet, the second earpiece determines that the data packet sent by the first earpiece does not carry the master-slave interaction information, and at this time closes the receiving channel of the second earpiece. After a reserved time, the second earpiece feeds back the master-slave interaction receiving status information NACK to the first earpiece.
[0126] Specifically, when the second earpiece fails to decode Flag_Type correctly, meaning the current frame format is inconsistent with the first format data packet, it indicates that the first earpiece does not carry master-slave interaction information. At this time, the receiving channel of the second earpiece is turned off, that is, the second earpiece turns off the Rx channel to save power. Within a reserved time, the second earpiece sends back the master-slave interaction reception status information NACK to the first earpiece, and the first earpiece receives the returned master-slave interaction reception status information.
[0127] Reference Figure 4 In one embodiment, the typical maximum duration of the first format data packet is 376µs (126µs + 250µs), where 126µs is the Poll / Null frame length specified by the Bluetooth protocol, and 250µs is used for master-slave interaction information sent from the first earphone to the second earphone. According to the Bluetooth protocol, the Poll / Null frame uses GFSK modulation, therefore 250µs can carry 250 bits of information. A frequency hopping protection time interval is reserved after the first format data packet for frequency hopping protection during Bluetooth earphone transmission, improving data security. In this embodiment, the typical maximum value of the frequency hopping protection time interval can be 100µs.
[0128] In one embodiment, frequency hopping protection time intervals are reserved before and after the master-slave interaction reception status information is fed back.
[0129] By reserving approximately 100µs of frequency hopping protection time intervals before and after the reserved time for frequency hopping protection, data security is improved; therefore, the reserved time portion is approximately 49µs.
[0130] Optionally, when the first earpiece replies with a data packet to the terminal device in the second time slot, in addition to using Poll / Null data frames, it can also utilize the reserved time to transmit master-slave information. For example, if the first earpiece replies with a data frame carrying data to the terminal device, meaning the payload of the data packet is not zero at this time, the master-slave information can be carried using the reserved time in the second time slot. Figure 5 As shown, the data packet length is (126+x)µs; the maximum length of the master-slave information is (250-x)µs; the length of the master-slave information can be set to be no less than T_thre, in µs. When the master-slave information length of the data packet is less than T_thre, the master-slave information is not sent. A typical value for T_thre can be greater than 5µs. Not only Poll / Null frames, but other ordinary user data frames can also be used for master-slave interaction, which will not be elaborated here.
[0131] In one embodiment, when the second earpiece receives a data packet sent by the first earpiece, it first decodes the current frame format; when the current frame format is inconsistent with the first format data packet, the second earpiece determines that the data packet sent by the first earpiece does not carry the master-slave interaction information, and at this time closes the receiving channel (Rx channel) of the second earpiece to save power consumption.
[0132] Reference Figure 6 In one embodiment, the first earphone repeatedly sends the master-slave interaction information at preset periodic intervals.
[0133] In one embodiment, a preset frequency hopping protection time interval is added after the time slot of the first format data packet, and no time is reserved for the second earpiece to feed back master-slave interaction information reception status information;
[0134] When the second earphone receives the master-slave interaction information sent by the first earphone, it does not send back the receiving status information to the first earphone.
[0135] By extending the data length sent from the first earpiece to the second earpiece in the second time slot and not reserving reception status information for feedback from the second earpiece to the first earpiece, the information sent from the first earpiece to the second earpiece is broadcast and repeatedly sent at preset periodic intervals to achieve master-slave interaction, thereby improving the success rate of the second earpiece receiving data packets and enhancing transmission robustness.
[0136] Reference Figure 7 When the first earpiece further extends the data length sent to the second earpiece and does not reserve reception status information fed back from the second earpiece to the first earpiece, the typical maximum duration of the first format data packet is designed to be 525us, and the typical maximum frequency hopping protection time interval is 100us.
[0137] At this time, the maximum length of the master-slave information is 399us, the maximum duration of the first format data packet is 525us, and 100us is reserved at the end for frequency hopping protection.
[0138] In one embodiment, after the first earphone replies with a data frame representing its own reception status information to the terminal device in the second time slot, the method further includes determining whether the packet length of the data frame meets a first preset condition. The first preset condition is that the typical value of the maximum duration of the first format data packet is 376us, and the typical value of the maximum frequency hopping protection time interval is 100us.
[0139] When the packet length of the data frame meets the first preset condition, the first earpiece extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece.
[0140] By determining whether the packet length of the data frame representing the receiving status information of the first earphone meets the first preset condition, and if the first preset condition is met, the data transmission time of the data frame is extended to carry master-slave interaction information. This master-slave interaction method is similar to "carrying a private interaction protocol", which will be referred to as "carrying master-slave interaction mechanism" below.
[0141] In one embodiment, after the step of the terminal device sending an audio packet to the first earpiece in the first time slot, and both the first earpiece and the second earpiece receiving the audio packet, the method further includes:
[0142] In the first time slot, the first earphone is in the receiving state at the radio frequency front end, and determines whether the received signal meets the second preset condition in the preset first detection window;
[0143] If the first earpiece determines that the received signal meets the second preset condition, then in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece;
[0144] And in the first time slot, when the first earphone is in the receiving state at the radio frequency front end, it determines whether the received signal meets the third preset condition in the preset first detection window;
[0145] If the first earpiece determines that the received signal meets the third preset condition, then in the first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window;
[0146] In the second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states at a preset first interval. Then, the second earpiece sends data packets to the first earpiece using a preset second preemptive transmission window.
[0147] The second preset condition includes correctly decoding the relevant access code of the audio packet sent by the terminal device, and correctly decoding the header error check (HEC) code. When the first earpiece correctly decodes the relevant access code and header error check code of the audio packet sent by the terminal device, the first earpiece determines that the received signal meets the second preset condition.
[0148] The third preset condition includes failing to correctly decode the access code of the audio packet sent by the terminal device and having a received power less than a preset threshold. When the first earphone detects that it has failed to correctly decode the access code of the audio packet sent by the terminal device and has a received power less than the preset threshold, the first earphone determines that the received signal meets the third preset condition.
[0149] Specifically, refer to Figure 8 In the Bluetooth protocol, the Bluetooth master device has the "transmission right" in the preceding Bluetooth time slot within a Bluetooth frame, that is... Figure 8 The first time slot in the sequence; after the Bluetooth slave device receives a data packet from the master device in the previous time slot, it has the "right" to send data packets in the current time slot, that is... Figure 8 The second time slot is defined as follows: The terminal device is the Bluetooth master device, and the first and second earpieces are the Bluetooth slave devices. In the first time slot, when there is data to be transmitted, the terminal device is in the data transmission state; when there is no data to be transmitted, the terminal device is not in the transmission state at this time, and the time slot resource is in an idle state.
[0150] Therefore, in this embodiment, a "first detection window" is defined at the beginning of the first time slot, with a duration of T1. The typical range of T1 can be 72us to 300us, and the maximum value does not exceed one Bluetooth time slot, i.e., 625us.
[0151] Within the first detection window, the first earphone detection checks whether the following conditions are met:
[0152] 1) Second preset condition: Correctly decode the relevant access code of the audio packet sent by the terminal device, and correctly decode the header error check code (HEC);
[0153] 2) Third preset condition: The relevant access code of the audio packet sent by the terminal device cannot be correctly decoded and the measured received power is less than a predetermined threshold; that is, RSSI_measured < RSSI_threshold; where RSSI represents Received Signal Strength Indicator, RSSI_measured is the RSSI value measured by the receiver, and RSSI_threshold is the defined RSSI threshold.
[0154] When the first earphone detects that the second preset condition is satisfied, it enables the portable master-slave interaction mechanism in the second time slot. The first earphone replies with a data frame representing its own reception status information to the terminal device and extends the data transmission time of the data frame, so that the first earphone sends the master-slave interaction information to the second earphone.
[0155] When the first earphone detects that the third preset condition is satisfied, that is, neither the data packet sent by the terminal device is detected nor the detected RSSI is less than the preset threshold. At this time, the first earphone determines that the received signal must not satisfy the second preset condition, so it enables the preemptive master-slave interaction mechanism. The first earphone preempts the time domain resources of the first time slot for master-slave interaction, including:
[0156] Define the first interval, with the unit of us and a typical value of 100 us. After the first interval, the first earphone sends the master-slave interaction information to the second earphone within the "first preemptive transmission window". To reduce the frequency hopping protection time, the first earphone still uses the frequency hopping points used by the terminal device when sending in the first time slot at this time. The duration of the first preemptive transmission window is T2, and the typical duration can be 126 us to 838 us. After receiving the data packet sent by the first earphone, the second earphone switches its radio frequency state from Rx to Tx during the first interval.
[0157] At the same time, the first earphone switches its radio frequency state from Tx to Rx during the first interval after T2. After the first interval, the second earphone sends a data packet to the first earphone within the "second preemptive transmission window", with a duration of T3, and the typical duration can be 126 us to 838 us. The frequency hopping points can use the frequency hopping points specified by the Bluetooth protocol in the second time slot. After the second preemptive transmission window, a second interval is reserved as the frequency hopping protection duration, and the typical value can be 100 us. The entire master-slave information interaction duration does not exceed 2 Bluetooth time slots, that is: the first detection window T1 + the first interval + the first preemptive transmission window + the first interval + the second preemptive transmission window + the second interval <= 1250 us.
[0158] When the first earphone detects that the third preset condition is not satisfied, the first earphone does not execute the preemptive master-slave interaction mechanism.
[0159] The preemptive master-slave interaction mechanism is suitable for the headset to act as a Bluetooth slave device.
[0160] When the headset is a Bluetooth slave, it can adopt either a preemptive master-slave interaction mechanism or a portable master-slave interaction mechanism.
[0161] Reference Figure 9 A Bluetooth earphone transmission method includes,
[0162] In the first time slot, the first earphone opens the Rx channel and, within the first detection window T1, determines whether the preset conditions, namely the second and third preset conditions, are met.
[0163] If the second preset condition is met, the first time slot is occupied. In this case, the first earphone does not execute the preemption mechanism in the first time slot, but executes the portable master-slave interaction mechanism in the second time slot.
[0164] If the third preset condition is met, it can be inferred that the second preset condition is not met. Therefore, the first time slot is not occupied, and the first earphone executes the preemption mechanism in the first time slot.
[0165] If the third preset condition is not met, it means that the channel of the first time slot has been occupied, and the first earphone will not execute the preemption mechanism.
[0166] If the headset is the Bluetooth master, then the headset can directly adopt a portable master-slave interaction mechanism.
[0167] This application embodiment also provides a Bluetooth ear-to-ear transmission method, applicable to scenarios where the earphone acts as a slave, with the first earphone as the Bluetooth master, the terminal device and the second earphone as the Bluetooth slave, establishing a first Bluetooth link between the first earphone and the terminal device, establishing a second Bluetooth link between the first earphone and the second earphone, and establishing a third Bluetooth link between the second earphone and the terminal device.
[0168] In the first time slot, the terminal device sends an audio packet to either the first earphone or the second earphone, and both the second earphone and the first earphone receive the audio packet;
[0169] In the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame so that master-slave interaction information is sent to the second earpiece.
[0170] The master-slave interaction information includes the current frame format, the payload information length of the current frame, the master-slave interaction information length of the current frame, and a check code used to verify the payload information length and the master-slave interaction information length. At this time, the current frame format represents a preset first format data packet.
[0171] At this point, at least 2×K Bluetooth time slots are reserved between the first and second time slots, where K is a natural number.
[0172] This application also provides a Bluetooth ear-to-ear transmission method, including the following steps.
[0173] A first Bluetooth link is established between the first earphone and the terminal device; a second Bluetooth link is established between the first earphone and the second earphone; and a third Bluetooth link is established between the second earphone and the terminal device.
[0174] In the first time slot, the terminal device sends an audio packet to either the first earphone or the second earphone, and both the first earphone and the second earphone receive the audio packet;
[0175] The master-slave interaction cycle is designed to determine the interaction time slots in which the first and second earphones take turns performing master-slave interaction. This includes determining the interaction time slots for the first earphone to send master-slave interaction information to the second earphone or for the second earphone to send master-slave interaction information to the first earphone, based on floor(N / M). Here, floor() is a floor operation, M is the duration of the one-way interaction between the first and second earphones, and N is the current frame.
[0176] When floor(N / M) is odd, in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame to send master-slave interaction information to the second earpiece.
[0177] When floor(N / M) is even, in the second time slot, the second earphone replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the first earphone receive the data frame to send master-slave interaction information to the first earphone.
[0178] The master-slave interaction information includes the current frame format, the length of the payload information of the current frame, the length of the master-slave interaction information of the current frame, and a check code used to verify the length of the payload information and the length of the master-slave interaction information. The current frame format represents a preset first format data packet.
[0179] Reference Figure 10By defining a master-slave alternating interaction period, where N is the current Bluetooth frame and M is the duration of the one-way interaction between the first (or second) earphone (in Bluetooth frames), the system achieves bidirectional interaction. For example, when X = floor(N / M), and X is odd, the first earphone replies to the Bluetooth terminal device, sending information to the second earphone via a first-format data packet. Floor(N / M) represents the rounding down operation of N / M, and typical values for M are 4, 6, and 8. When X is even, the second earphone replies to the Bluetooth terminal device, sending information to the first earphone via a first-format data packet. The first and second earphones use a periodic alternating reply to the terminal device to achieve bidirectional interaction; that is, the master earphone can send interaction information to the slave earphone, and the slave earphone can also send interaction information to the master earphone.
[0180] Reference Figure 11 In one embodiment, a Bluetooth pair-to-ear transmission method involves a second master ear responding to a terminal device with a data frame representing its own reception status information, extending the data transmission time of the data frame, and carrying a first format data packet. Both the terminal device and the first earphone receive the data frame, so that master-slave interaction information is sent to the first earphone.
[0181] In summary, a Bluetooth earphone transmission method enables master-slave interaction between a first and second earphone within the time slots used for terminal link information exchange. From the perspective of the terminal device, extending the time period does not affect the reception of data frames defined by the original protocol. Compared to existing solutions that utilize remaining time domain resources within time slots, this solution extends the transmission time based on existing Bluetooth frames. There is no frequency hopping protection interval between the earphone's response to the terminal data packet and the master-slave information exchange, thus improving the utilization rate of time domain resources. The master-slave interaction does not affect the information exchange of the terminal link, improving the robustness of information exchange between the master-slave link and the terminal link. Simultaneously, it efficiently utilizes time slot resources, increasing the time slot resource utilization rate of the master-slave interaction. This solution does not affect the transmission and reception of master-slave data frames defined by the Bluetooth protocol and possesses strong practicality.
[0182] A Bluetooth earphone transmission method, by designing a preemptive master-slave interaction mechanism and a portable master-slave interaction mechanism, can maximize the use of idle time domain resources. It utilizes the remaining time slot resources of the data frames sent by the earphone to the terminal device to realize the interaction of master and slave information, thereby improving the utilization rate of time slot resources for master-slave interaction. Moreover, the master-slave interaction does not affect the information interaction of the terminal link, thus enhancing the robustness of information interaction between the master-slave link and the terminal link.
[0183] One Bluetooth earphone transmission method includes master-slave interaction types such as switching control, master-slave synchronization information, and power control, which can carry more master-slave information and have flexible data bit types.
[0184] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0185] This application also provides a Bluetooth ear-to-ear transmission device, which corresponds one-to-one with the Bluetooth ear-to-ear transmission method described in the above embodiments. The Bluetooth ear-to-ear transmission device includes a first Bluetooth link established between a first earphone and a terminal device, a second Bluetooth link established between the first earphone and a second earphone, a third Bluetooth link established between the second earphone and the terminal device, and further includes...
[0186] An audio data transmission module is used for the terminal device to send audio packets to the first earphone or the second earphone, wherein both the first earphone and the second earphone receive the audio packets.
[0187] An interactive information sending module is configured to: 1) The first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame, enabling the first earpiece to send master-slave interactive information to the second earpiece; or 2) The second earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the first earpiece receive the data frame, enabling the second earpiece to send master-slave interactive information to the first earpiece. The master-slave interactive information includes the current frame format, the current frame payload information length, the current frame master-slave interactive information length, and a checksum used to verify the payload information length against the master-slave interactive information length. The current frame format represents a preset first format data packet.
[0188] Furthermore, the interactive information sending module is also used to repeatedly send the master-slave interactive information at preset periodic intervals by the first earphone.
[0189] Furthermore, the interactive information sending module also includes a master-slave interaction cycle unit for determining the interaction time slots for the first earphone and the second earphone to take turns performing master-slave interaction;
[0190] The master-slave interaction cycle unit determines the interaction time slot when the first earphone sends master-slave interaction information to the second earphone or the second earphone sends master-slave interaction information to the first earphone based on floor(N / M), where floor() is a floor operation, M is the duration of the one-way interaction between the first earphone or the second earphone, and N is the current frame.
[0191] When floor(N / M) is odd, the first earpiece sends master-slave interaction information to the second earpiece;
[0192] When floor(N / M) is even, the second earpiece sends master-slave interaction information to the first earpiece.
[0193] Furthermore, a Bluetooth earphone transmission device also includes,
[0194] The interactive information feedback module is used to send the master-slave interaction reception status information back to the first earphone within a preset reserved time.
[0195] Furthermore, a Bluetooth earphone transmission device also includes,
[0196] The receiving window detection module is used to determine whether the received signal meets the second preset condition in a preset first detection window during a first time slot when the first earphone is in the receiving state of the radio frequency front end.
[0197] When the first earpiece determines that the received signal meets the second preset condition, in the second time slot, the interactive information sending module sends a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece; or, when the second earpiece determines that the received signal meets the second preset condition, in the second time slot, the second earpiece sends a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the second earpiece sends master-slave interaction information to the first earpiece.
[0198] Furthermore, a Bluetooth earphone transmission device also includes,
[0199] The preemptive master-slave information interaction module is used to, when the first earpiece determines that the received signal meets a third preset condition, in a first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window; in a second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states within a preset first interval, and then the second earpiece sends data packets to the first earpiece using a preset second preemptive sending window; or, when the second earpiece determines that the received signal meets the third preset condition, in a first time slot, after a preset first interval, the second earpiece sends master-slave interaction information to the first earpiece using a preset first preemptive sending window; in a second time slot, after the first earpiece receives the master-slave interaction information sent by the second earpiece, the first earpiece and the second earpiece switch radio frequency states within a preset first interval, and then the first earpiece sends data packets to the second earpiece using a preset second preemptive sending window.
[0200] For specific limitations regarding a Bluetooth ear-to-ear transmission device, please refer to the limitations regarding a Bluetooth ear-to-ear transmission method mentioned above, which will not be repeated here.
[0201] The various modules in the aforementioned Bluetooth ear-to-ear transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0202] In one embodiment, a Bluetooth headset is provided, including a first earpiece and a second earpiece, applicable to any of the Bluetooth ear-to-ear transmission methods described above. The Bluetooth headset can be a TWS headset or an OWS headset.
[0203] In one embodiment, a computer device is provided, which may be a server. The computer device includes a processor, memory, a network interface, and a database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements any of the Bluetooth earphone transmission methods described above.
[0204] In one embodiment, a computer-readable storage medium is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-described Bluetooth ear-to-ear transmission methods.
[0205] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. When executed, the computer program may include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0206] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.
Claims
1. A Bluetooth ear-to-ear transmission method, characterized in that, Includes the following steps, A first Bluetooth link is established between the first earphone and the terminal device, a second Bluetooth link is established between the first earphone and the second earphone, and a third Bluetooth link is established between the second earphone and the terminal device. The terminal device is the Bluetooth master, and the first and second earphones are the Bluetooth slaves. In the first time slot, the terminal device sends an audio packet to the first earpiece, and both the first earpiece and the second earpiece receive the audio packet; In the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame, so that the first earpiece sends master-slave interaction information to the second earpiece. The master-slave interaction information includes the current frame format, the payload information length of the current frame, the master-slave interaction information length of the current frame, and a check code used to verify the payload information length and the master-slave interaction information length. At this time, the current frame format represents a preset first format data packet. It also includes, In the first time slot, the first earphone is in the receiving state at the radio frequency front end, and determines whether the received signal meets the second preset condition in the preset first detection window; If the first earpiece determines that the received signal meets the second preset condition, then in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece; In the first time slot, the first earphone is in the receiving state at the radio frequency front end, and determines whether the received signal meets the third preset condition in the preset first detection window; If the first earpiece determines that the received signal meets the third preset condition, then in the first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window; In the second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states at a preset first interval. Then, the second earpiece sends data packets to the first earpiece using a preset second preemptive transmission window.
2. The Bluetooth ear-to-ear transmission method according to claim 1, characterized in that, It also includes the following steps, The second time slot also includes a reserved time, based on which the second earpiece feeds back master-slave interaction reception status information to the first earpiece.
3. The Bluetooth ear-to-ear transmission method according to claim 2, characterized in that, It also includes the following steps, When the second earpiece receives a data packet sent by the first earpiece, it first decodes the current frame format; When the current frame format represents the first format data packet, the second earpiece determines that the data packet sent by the first earpiece carries the master-slave interaction information, continues to decode the subsequent bit information of the master-slave interaction information, and feeds back the master-slave interaction reception status information ACK to the first earpiece within the reserved time.
4. The Bluetooth ear-to-ear transmission method according to claim 3, characterized in that, It also includes the following steps, When the current frame format is inconsistent with the first format data packet, the second earpiece determines that the data packet sent by the first earpiece does not carry the master-slave interaction information, and at this time closes the receiving channel of the second earpiece.
5. The Bluetooth ear-to-ear transmission method according to claim 2, characterized in that, It also includes the following steps, Before and after the master-slave interaction reception status information is fed back, a frequency hopping protection time interval is reserved respectively.
6. The Bluetooth ear-to-ear transmission method according to claim 5, characterized in that, In the second time slot, after the first earphone replies with a data frame representing its own reception status information to the terminal device, the method further includes: Determine whether the packet length of the data frame meets the first preset condition; When the packet length of the data frame meets the first preset condition, the first earpiece extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece.
7. The Bluetooth ear-to-ear transmission method according to claim 6, characterized in that, The first preset condition is that the typical maximum duration of the first format data packet is 376µs, and the typical maximum frequency hopping protection time interval is 100µs.
8. The Bluetooth ear-to-ear transmission method according to claim 1, characterized in that, It also includes the following steps, The first earphone repeatedly sends the master-slave interaction information at preset periodic intervals.
9. The Bluetooth ear-to-ear transmission method according to claim 8, characterized in that, It also includes the following steps, After the time slot of the first format data packet, a preset frequency hopping protection time interval is added, and no time is reserved for the second earphone to feed back master-slave interaction information reception status information; When the second earphone receives the master-slave interaction information sent by the first earphone, it does not send back the receiving status information to the first earphone.
10. The Bluetooth ear-to-ear transmission method according to claim 9, characterized in that, It also includes the following steps, The typical maximum duration of the first format data packet is designed to be 525µs, and the typical maximum frequency hopping protection time interval is 100µs.
11. The Bluetooth ear-to-ear transmission method according to claim 1, characterized in that, It also includes the following steps, Before the first earphone sends the master-slave interaction information, the master-slave interaction information is channel-coded.
12. The Bluetooth ear-to-ear transmission method according to claim 1, characterized in that, The second preset condition includes correctly decoding the relevant access code and header error check code of the audio packet sent by the terminal device. The third preset condition includes failing to correctly decode the relevant access code of the audio packet sent by the terminal device and having a received power less than a preset threshold. Includes the following steps, When the first earpiece correctly decodes the relevant access code and header error check code of the audio packet sent by the terminal device, the first earpiece determines that the received signal meets the second preset condition; When the first earphone detects that it has not correctly decoded the relevant access code of the audio packet sent by the terminal device and the received power is less than a preset threshold, the first earphone determines that the received signal meets the third preset condition.
13. The Bluetooth ear-to-ear transmission method according to claim 1, characterized in that, At least 2 seconds are reserved between the first time slot and the second time slot. There are K Bluetooth time slots, where K is a natural number.
14. A Bluetooth ear-to-ear transmission method, characterized in that, Includes the following steps, A first Bluetooth link is established between the first earphone and the terminal device; a second Bluetooth link is established between the first earphone and the second earphone; and a third Bluetooth link is established between the second earphone and the terminal device. In the first time slot, the terminal device sends an audio packet to either the first earphone or the second earphone, and both the first earphone and the second earphone receive the audio packet; Design the master-slave interaction cycle, determine the interaction time slots for the first and second earphones to take turns performing master-slave interaction, including, Based on floor(N / M), determine the interaction time slot when the first earpiece sends master-slave interaction information to the second earpiece or the second earpiece sends master-slave interaction information to the first earpiece, where floor() is a floor operation, M is the duration of the one-way interaction between the first earpiece or the second earpiece, and N is the current frame; When floor(N / M) is odd, in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the second earpiece receive the data frame to send master-slave interaction information to the second earpiece. When floor(N / M) is even, in the second time slot, the second earphone replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame. Both the terminal device and the first earphone receive the data frame to send master-slave interaction information to the first earphone. The master-slave interaction information includes the current frame format, the payload information length of the current frame, the master-slave interaction information length of the current frame, and a check code used to verify the payload information length and the master-slave interaction information length, and the current frame format represents a preset first format data packet; It also includes, In the first time slot, the first earphone is in the receiving state at the radio frequency front end, and determines whether the received signal meets the second preset condition in the preset first detection window; If the first earpiece determines that the received signal meets the second preset condition, then in the second time slot, the first earpiece replies with a data frame representing its own reception status information to the terminal device, and extends the data transmission time of the data frame so that the first earpiece sends master-slave interaction information to the second earpiece; In the first time slot, the first earphone is in the receiving state at the radio frequency front end, and determines whether the received signal meets the third preset condition in the preset first detection window; If the first earpiece determines that the received signal meets the third preset condition, then in the first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window; In the second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states at a preset first interval. Then, the second earpiece sends data packets to the first earpiece using a preset second preemptive transmission window.
15. A Bluetooth ear-to-ear transmission device, characterized in that, This includes a first Bluetooth link established between a first earpiece and a terminal device, a second Bluetooth link established between the first earpiece and a second earpiece, a third Bluetooth link established between the second earpiece and the terminal device, and further includes... An audio data transmission module is used for the terminal device to send audio packets to the first earphone or the second earphone, wherein both the first earphone and the second earphone receive the audio packets. An interactive information sending module is configured to: First earpiece replies with a data frame representing its own reception status information to terminal device, and extends the data transmission time of the data frame; both terminal device and second earpiece receive the data frame, enabling the first earpiece to send master-slave interaction information to the second earpiece; or, second earpiece replies with a data frame representing its own reception status information to terminal device, and extends the data transmission time of the data frame; both terminal device and first earpiece receive the data frame, enabling the second earpiece to send master-slave interaction information to the first earpiece. The master-slave interaction information includes the current frame format, the current frame payload information length, the current frame master-slave interaction information length, and a checksum used to verify the payload information length against the master-slave interaction information length. The current frame format represents a preset first format data packet. The receiving window detection module is used to determine whether the received signal meets the second preset condition in a preset first detection window during a first time slot when the first earphone or the second earphone is in the receiving state of the radio frequency front end. The interactive information sending module is configured to, when the first earpiece determines that the received signal meets the second preset condition, in a second time slot, send a data frame representing its own reception status information to the terminal device, and extend the data transmission time of the data frame so that the first earpiece sends master-slave interactive information to the second earpiece; or, when the second earpiece determines that the received signal meets the second preset condition, in a second time slot, send a data frame representing its own reception status information to the terminal device, and extend the data transmission time of the data frame so that the second earpiece sends master-slave interactive information to the first earpiece. The preemptive master-slave information interaction module is used to, when the first earpiece determines that the received signal meets a third preset condition, in a first time slot, after a preset first interval, the first earpiece sends master-slave interaction information to the second earpiece using a preset first preemptive sending window; in a second time slot, after the second earpiece receives the master-slave interaction information sent by the first earpiece, the first earpiece and the second earpiece switch radio frequency states within a preset first interval, and then the second earpiece sends data packets to the first earpiece using a preset second preemptive sending window; or, when the second earpiece determines that the received signal meets the third preset condition, in a first time slot, after a preset first interval, the second earpiece sends master-slave interaction information to the first earpiece using a preset first preemptive sending window; in a second time slot, after the first earpiece receives the master-slave interaction information sent by the second earpiece, the first earpiece and the second earpiece switch radio frequency states within a preset first interval, and then the first earpiece sends data packets to the second earpiece using a preset second preemptive sending window.
16. The Bluetooth ear-to-ear transmission device according to claim 15, characterized in that, It also includes, The interactive information feedback module is used to send the master-slave interaction reception status information back to the first earphone within a preset reserved time.
17. The Bluetooth ear-to-ear transmission device according to claim 15, characterized in that, The interactive information sending module is also used to repeatedly send the master-slave interactive information at preset periodic intervals by the first earphone.
18. The Bluetooth earphone transmission device according to any one of claims 15-17, characterized in that, The interactive information sending module also includes a master-slave interaction cycle unit for determining the interaction time slots for the first earphone and the second earphone to take turns performing master-slave interaction; The master-slave interaction cycle unit determines the interaction time slot when the first earphone sends master-slave interaction information to the second earphone or the second earphone sends master-slave interaction information to the first earphone based on floor(N / M), where floor() is a floor operation, M is the duration of the one-way interaction between the first earphone or the second earphone, and N is the current frame. When floor(N / M) is odd, the first earpiece sends master-slave interaction information to the second earpiece; When floor(N / M) is even, the second earpiece sends master-slave interaction information to the first earpiece.
19. A Bluetooth headset, comprising a first earpiece and a second earpiece, characterized in that, Applied to the Bluetooth ear-to-ear transmission method according to any one of claims 1 to 13.
20. A computer device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the Bluetooth ear-to-ear transmission method according to any one of claims 1 to 13.
21. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the Bluetooth ear-to-ear transmission method according to any one of claims 1 to 13.
22. A computer program product, characterized in that, Includes a computer program, which, when executed by a processor, implements the steps of the Bluetooth ear-to-ear transmission method according to any one of claims 1 to 13.
Citation Information
Patent Citations
A wireless communication method for a headset, a main headset, a slave headset, and a headset system.
CN109314813A