A transmission method and system of bluetooth broadcast data

By introducing a broadcast access time slot and broadcast data time slot allocation mechanism into classic Bluetooth, the problem of one-to-many broadcast data transmission in Bluetooth transmission schemes is solved, realizing multi-device synchronous data transmission with low hardware requirements, and is suitable for a wide range of Bluetooth devices.

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

Patent Information

Application Number
CN202410200538.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-23
Publication Date
2025-12-16
Estimated Expiration
2044-02-23

AI Technical Summary

Technical Problem

Existing Bluetooth transmission solutions struggle to achieve one-to-many broadcast data transmission, and Bluetooth LE Audio technology has high hardware requirements and limited applicability.

Method used

A Bluetooth broadcast data transmission method is adopted, which is modified from classic Bluetooth. By allocating broadcast access time slots and broadcast data time slots, synchronous data transmission between the master device and multiple slave devices is achieved. Using a similar broadcast transmission mechanism, the master device sends connection information in the broadcast access time slot and sends user data in the broadcast data time slot, and each slave device plays in time and frequency synchronization.

Benefits of technology

It achieves broadcast data transmission between a master device and multiple slave devices based on classic Bluetooth, without the need for LE audio technology. It has low hardware requirements and high applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118158620B_ABST
    Figure CN118158620B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of Bluetooth, and discloses a transmission method and system of Bluetooth broadcast data; the method is applied to a Bluetooth master device and at least one Bluetooth slave device, and comprises: two kinds of time slot resources are included on a Bluetooth transmission time slot resource, a first part is a broadcast access time slot, and a second part is a broadcast data time slot; the Bluetooth master device sends first Bluetooth connection information in the broadcast access time slot and sends broadcast user data in the broadcast data time slot; wherein the broadcast user data adopts a first Bluetooth data packet format; each Bluetooth slave device receives the first Bluetooth connection information in the broadcast access time slot, and keeps time and frequency synchronization with the Bluetooth master device; the broadcast user data is received in the broadcast data time slot, and synchronous playing of the broadcast user data is started. The application does not adopt LE audio technology, and realizes broadcast data transmission of one master device and multiple slave devices.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the field of Bluetooth technology, and in particular to a Bluetooth broadcast data transmission method and system. BACKGROUND

[0002] Most Bluetooth transmission schemes mainly solve point-to-point application problems, and there are few discussions on one-to-many broadcast data transmission. Although the latest Bluetooth LE Audio technology has added a synchronous broadcast scheme to realize synchronous transmission of a mobile phone and multiple devices, the scheme is similar to a broadcast mechanism, the mobile phone end sends, and multiple slave devices synchronously receive. However, the Bluetooth LE audio technology has certain requirements for device hardware implementation, and the Bluetooth LE audio technology has not been popularized at present, so that the technology cannot be applied to most ordinary Bluetooth devices at present, and the application range is small. SUMMARY

[0003] The application provides a Bluetooth broadcast data transmission method and system, which can realize broadcast data transmission of one master device and multiple slave devices without using LE audio technology, has low hardware requirements, and is highly applicable.

[0004] In a first aspect, an embodiment of the application provides a Bluetooth broadcast data transmission method, applied to a Bluetooth master device and at least one Bluetooth slave device, the Bluetooth master device being used for sending broadcast data, and the Bluetooth slave device being used for receiving broadcast data; and the method comprises the following steps:

[0005] The Bluetooth transmission time slot resource comprises two kinds of time slot resources, and constitutes a transmission period; wherein the first part is a broadcast access time slot, and the second part is a broadcast data time slot;

[0006] The Bluetooth master device sends first Bluetooth connection information in the broadcast access time slot, and sends broadcast user data in the broadcast data time slot; wherein the broadcast user data adopts a first Bluetooth data packet format; each Bluetooth slave device receives the first Bluetooth connection information in the broadcast access time slot, keeps time and frequency synchronization with the Bluetooth master device according to the first Bluetooth connection information, receives the broadcast user data in the broadcast data time slot, and starts synchronous playing of the broadcast user data.

[0007] Further, the broadcast access time slot comprises at least one broadcast access control frame, and the broadcast access control frame is used for transmitting the first Bluetooth connection information; the broadcast access control frame adopts the first Bluetooth data packet format.

[0008] Further, the first Bluetooth data packet format is a data packet with a maximum duration of two Bluetooth time slots, and the total duration of the two Bluetooth time slots is 1.25 ms.

[0009] Further, the broadcast data time slot comprises at least two broadcast user data frames, and the broadcast user data frames are used for transmitting broadcast user data.

[0010] Further, the method further comprises:

[0011] When the broadcast data time slot comprises two broadcast user data frames, the second broadcast user data frame is set as a repeated frame of the first broadcast user data frame, and a flag parameter of the second broadcast user data frame is set as a preset value.

[0012] Further, the first Bluetooth connection information comprises a Bluetooth clock, a frequency hopping table, a key and a Bluetooth address of the Bluetooth master device.

[0013] Further, the first Bluetooth connection information further comprises a synchronization playing time offset, and the method further comprises: starting, by each Bluetooth slave device, the synchronization playing of the broadcast user data based on the synchronization playing time offset in the first Bluetooth connection information.

[0014] Further, the method further comprises: after receiving the first broadcast user data frame, judging, by the Bluetooth slave device, whether the first broadcast user data frame is correctly received, and if so, and if the flag parameter in the second broadcast user data frame is detected as the preset value, then rejecting the second broadcast user data frame.

[0015] In a second aspect, the embodiments of the present application further provide a Bluetooth broadcast data transmission method, applied to a Bluetooth master device and at least one Bluetooth slave device, the Bluetooth master device being used for transmitting broadcast data, and the Bluetooth slave device being used for receiving the broadcast data; the method comprising:

[0016] The Bluetooth transmission time slot resource comprises two kinds of time slot resources, and constitutes a transmission period;

[0017] The first part is a broadcast data time slot, and the second part is an access time slot.

[0018] The Bluetooth master device and each Bluetooth slave device establish a Bluetooth connection in the access time slot.

[0019] The Bluetooth master device transmits broadcast user data in the broadcast data time slot.

[0020] The broadcast user data adopts a first Bluetooth data packet format.

[0021] Each Bluetooth slave device receives the broadcast user data in the broadcast data time slot, and starts the synchronization playing of the broadcast user data.

[0022] Further, the broadcast data time slot comprises at least two data frames, and the maximum duration of the data frame is 1.25 ms.

[0023] The data frame is used for transmitting broadcast user data.

[0024] Further, the method further comprises:

[0025] When the two data frames are included in the broadcast data slot, the second data frame is set as a repeated frame of the first data frame, and a flag parameter of the second data frame is set as a preset value.

[0026] Further, the method further comprises:

[0027] After receiving the first data frame, the Bluetooth slave device judges whether the first data frame is received correctly, and if the first data frame is received correctly and the flag parameter in the second data frame is detected as the preset value, the second data frame is rejected.

[0028] Further, the method further comprises:

[0029] After the Bluetooth slave device establishes the Bluetooth connection with the Bluetooth master device, the access slot is released.

[0030] Further, the method further comprises:

[0031] The Bluetooth master device sends the time offset to the Bluetooth slave devices in the access frame of the access slot;

[0032] The Bluetooth slave devices start the synchronous playing of the broadcast user data based on the time offset.

[0033] Further, the Bluetooth slave devices start the synchronous playing of the broadcast user data based on the time offset, comprising:

[0034] The Bluetooth slave devices take the time when the access frame is received in the access slot as a playing anchor point, and add the playing anchor point and the time offset to obtain a playing time point;

[0035] The Bluetooth slave devices start the playing of the broadcast user data at the playing time point.

[0036] Further, the method further comprises:

[0037] The Bluetooth master device and the Bluetooth slave devices establish the Bluetooth connection in the access slot, and simultaneously send the corresponding feedback period and unique number to each Bluetooth slave device; the data frame comprises a first Bluetooth slot and a second Bluetooth slot;

[0038] The Bluetooth master device sends the broadcast user data in the first Bluetooth slot of each data frame;

[0039] The broadcast user data adopts the second Bluetooth data packet format, and the first Bluetooth slot is 625us.

[0040] The Bluetooth slave devices receive broadcast user data in the first Bluetooth time slot of each data frame and start synchronous playing of the broadcast user data; and the Bluetooth slave devices determine target Bluetooth time slots in a feedback period based on the unique number and send uplink data to the Bluetooth master device through the target Bluetooth time slots.

[0041] The Bluetooth master device receives uplink data of the Bluetooth slave devices in the second Bluetooth time slot of each data frame.

[0042] Further, the unique number is the ranking of the Bluetooth slave device in the Bluetooth slave devices accessing the Bluetooth master device.

[0043] Further, the feedback period is greater than or equal to the product of the transmission period and the upper limit of single feedback.

[0044] The transmission period is equal to the sum of the access time slot and the broadcast data time slot, and the upper limit of single feedback is equal to the ratio of the maximum access number of the Bluetooth slave device to the number of data frames in the broadcast data time slot.

[0045] Further, the Bluetooth slave devices determine the target Bluetooth time slots in the feedback period based on the unique number, including:

[0046] The Bluetooth slave devices take the number of data frames in the broadcast data time slot as a first value;

[0047] Divide the unique number by the first value to obtain a target integer and a target remainder;

[0048] Determine the target Bluetooth time slots in the feedback period according to the target integer and the target remainder.

[0049] In a third aspect, the embodiments of the present application provide a Bluetooth broadcast data transmission system, which includes a Bluetooth master device and at least one Bluetooth slave device, and adopts the Bluetooth broadcast data transmission method in any of the above embodiments to perform Bluetooth broadcast data transmission.

[0050] In summary, compared with the prior art, the technical scheme provided by the embodiments of the present application has at least the following beneficial effects:

[0051] The Bluetooth broadcast data transmission method provided by the embodiments of the present application adopts a similar broadcast transmission mechanism, the Bluetooth master device sends broadcast user data from the broadcast data time slot and sends first Bluetooth connection information in the broadcast access time slot, so that any slave device receiving the first Bluetooth connection information maintains time and frequency synchronization with the Bluetooth master device, thereby receiving the broadcast user data in the broadcast data time slot and playing synchronously. The above method can be implemented based on classic Bluetooth, without using LE audio technology, and can realize broadcast data transmission of one master device and multiple slave devices, has low hardware requirements and high applicability. BRIEF DESCRIPTION OF DRAWINGS

[0052] Figure 1 A schematic diagram of communication link establishment is provided for an exemplary embodiment of the present application.

[0053] Figure 2 A flow chart of a transmission method of Bluetooth broadcast data is provided for an exemplary embodiment of the present application.

[0054] Figure 3 A schematic diagram of transmission mechanism and time slot resource allocation mode is provided for an exemplary embodiment of the present application.

[0055] Figure 4 A schematic diagram of 2DH2 data packet format is provided for an exemplary embodiment of the present application.

[0056] Figure 5 A schematic diagram of transmission mechanism and time slot resource allocation mode is provided for another exemplary embodiment of the present application.

[0057] Figure 6 A flow chart of transmission mechanism and time slot resource allocation mode is provided for another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments of the present application.

[0059] Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0060] Please refer to Figure 1 The one-to-many scheme of the present application is based on classic Bluetooth and adopts a similar broadcast transmission mechanism. In the communication link, there is one Bluetooth Master role and several Bluetooth Slave roles.

[0061] Please refer to Figure 2 The present application provides a transmission method of Bluetooth broadcast data, which is applied to a Bluetooth master device and at least one Bluetooth slave device. The Bluetooth master device is used for sending broadcast data, and the Bluetooth slave device is used for receiving broadcast data. The method comprises the following steps:

[0062] The Bluetooth transmission time slot resource comprises two kinds of time slot resources, which constitute a transmission period. The first part is a broadcast access time slot, and the second part is a broadcast data time slot.

[0063] The Bluetooth master device sends first Bluetooth connection information in the broadcast access time slot and sends broadcast user data in the broadcast data time slot. The broadcast user data adopts a first Bluetooth data packet format.

[0064] Please refer to Figure 3 The broadcast access time slot includes at least one broadcast access control frame, and the broadcast access control frame is used to transmit first Bluetooth connection information; the broadcast access control frame adopts a first Bluetooth data packet format. The broadcast data time slot includes at least two broadcast user data frames, and the broadcast user data frames are used to transmit broadcast user data.

[0065] In the implementation process, the number of broadcast access control frames can be adjusted according to the requirement of the performance of the device: if the communication delay between the Bluetooth master-slave devices is to be reduced, the number of broadcast access control frames can be reduced, for example, to only one broadcast access control frame. If the receiving reliability of the broadcast access control frame is to be increased, the number of broadcast access control frames can be increased, for example, to 3 or 4, which is determined by the performance requirement of the Bluetooth system by the user.

[0066] Each Bluetooth slave device receives the first Bluetooth connection information in the broadcast access time slot, and is time and frequency synchronized with the Bluetooth master device according to the first Bluetooth connection information; receives the broadcast user data in the broadcast data time slot, and starts the synchronized playing of the broadcast user data. The first Bluetooth connection information carries the necessary information for all slave devices to correctly receive the broadcast user data frame, including but not limited to the Bluetooth clock, the frequency hopping table, the key and the Bluetooth address of the Bluetooth master device, etc. When the slave device receives and successfully decodes the first Bluetooth connection information, it can receive the subsequent periodic broadcast user data frame.

[0067] The above embodiment provides a transmission method of Bluetooth broadcast data, which adopts a broadcast transmission mechanism. The Bluetooth master device sends the broadcast user data from the broadcast data time slot and sends the first Bluetooth connection information in the broadcast access time slot, so that any slave device receiving the first Bluetooth connection information is time and frequency synchronized with the Bluetooth master device, thereby receiving the broadcast user data in the broadcast data time slot and playing synchronously. The above method can be implemented based on classic Bluetooth, and can realize the broadcast data transmission of one master device and multiple slave devices without using LE audio technology, has low hardware requirement and high applicability.

[0068] Please refer to Figure 3 and Figure 4 In some embodiments, the first Bluetooth data packet format is a data packet with a maximum duration of two Bluetooth time slots, and the total duration of two Bluetooth time slots is 1.25 ms.

[0069] Specifically, unlike the Bluetooth connection mode, the slave device (slave) does not need to feedback the receiving status information in the embodiment. For this purpose, a special first Bluetooth data packet format occupying two Bluetooth time slots can be defined: 2DH2 / 3DH2. The 2DH2 / 3DH2 format can be modified and redefined on the basis of the 2DH1 / 2DH3 format, and the maximum user payload data length is supported to be 234 Bytes, please refer to Figure 4 :

[0070] GFSK part length: 126 bits; that is, 126 us. Guard: maximum length 5.25 us.

[0071] SYNC: 11 us (DPSK part); trailer: 2 us (DPSK part); frequency hopping protection: 150 us (Guard1 part).

[0072] Maximum user data length: 625 us*2-(126 us+5.25 us+11 us+2 us+150 us)=955.75 us (DPSK part). Maximum user data byte carrying: 955*2 / 8=238 Bytes (including 2 Bytes payload header+16 bit CRC); maximum user payload data length carrying: 238-2-2=234 Bytes.

[0073] The first Bluetooth data packet format provided by the above embodiment can improve the resource utilization rate of the data frame.

[0074] In some embodiments, the method further comprises:

[0075] When the Bluetooth master device includes two broadcast user data frames in the broadcast data time slot, the second broadcast user data frame is set as a repeated frame of the first broadcast user data frame, and the flag parameter of the second broadcast user data frame is set as a preset value.

[0076] Specifically, as shown in Figure 3 , if two broadcast user data frames: M1 and M2 are included in the broadcast data time slot; in order to increase the receiving robustness of the broadcast user data, the broadcast user data of the broadcast data frame M2 can be transmitted as the same as the M1 frame; when the data frame M2 is a repeated frame of M1, the Flow bit of the Header part in M2 can be defined as a flag parameter for distinguishing whether it is a repeated frame. For example, when FLOW=0, it is the first frame of the data frame; when FLOW=1, it is the repeated frame of the data frame.

[0077] Further, a plurality of broadcast user data frames, such as M3, M4, etc., can be added for transmitting the broadcast user data.

[0078] The above embodiment realizes the improvement of the receiving robustness of the Bluetooth slave device by the design of repeated data frames.

[0079] In some embodiments, the method further comprises: the Bluetooth slave device, after receiving the first broadcast user data frame, judging whether the first broadcast user data frame is received correctly, if received correctly, and detecting that the flag parameter in the second broadcast user data frame is the preset value, then refusing to receive the second broadcast user data frame.

[0080] Specifically, at the receiving end of the slave device, when it is judged that the broadcast user data frame M1 is received correctly through the check code, the M2 data frame can be selected not to be received, so as to reduce the receiving power consumption.

[0081] It is a common operation in the communication field to verify whether the information is received correctly based on the check code, which will not be described in detail here.

[0082] The above embodiment causes the Bluetooth slave device to refuse to receive the repeated data frame when received correctly, so as to realize the reduction of the receiving power consumption.

[0083] In some embodiments, the first Bluetooth connection information further comprises a synchronization playing time offset; the method further comprises: each Bluetooth slave device starts the synchronization playing of the broadcast user data based on the synchronization playing time offset in the first Bluetooth connection information.

[0084] Specifically, in the broadcast access control frame of the broadcast access time slot, the Master device can inform the accessed Slave device of the playing synchronization playing time offset (OFFSET). The OFFSET is used to indicate how long the corresponding accessed Slave device starts to play after receiving the broadcast user data. All Slave devices can obtain the same OFFSET value and start to play the broadcast user data synchronously, so as to ensure the synchronization of playing, and further realize the synchronization playing of the broadcast data in the case of realizing the Bluetooth one-to-many communication connection.

[0085] Please refer to Figure 5 The embodiment of the application further provides a Bluetooth broadcast data transmission method, applied to a Bluetooth master device and at least one Bluetooth slave device, the Bluetooth master device is used for sending broadcast data, and the Bluetooth slave device is used for receiving the broadcast data; comprising:

[0086] The Bluetooth transmission time slot resource comprises two kinds of time slot resources, and constitutes a transmission period.

[0087] The first part is a broadcast data time slot, and the second part is an access time slot.

[0088] The Bluetooth master device and the Bluetooth slave devices establish Bluetooth connection in the access time slot.

[0089] The Bluetooth master device transmits broadcast user data in a broadcast data time slot.

[0090] The broadcast user data adopts a first Bluetooth packet format.

[0091] Each Bluetooth slave device receives the broadcast user data in the broadcast data time slot and starts synchronous playing of the broadcast user data.

[0092] Specifically, the access time slot is used for the Slave device to establish a connection with the Master. When the Slave device completes the connection establishment, the occupation of the access time slot resource is released; based on the obtained time synchronization information and channel information, the broadcast data is received synchronously.

[0093] In the embodiment, the way of establishing the Bluetooth connection of the Master and the Slave device through the access time slot is different from the way of obtaining the broadcast user data frame by broadcasting the first Bluetooth connection information in the above embodiment:

[0094] Once the Bluetooth slave device in the above embodiment receives the first Bluetooth connection information, the Bluetooth slave device keeps time and frequency synchronization with the Bluetooth master device according to the content in the first Bluetooth connection information, and receives the broadcast user data, that is, the Bluetooth slave device has no opportunity to feed back data to the Bluetooth master device, and time and frequency synchronization can be achieved in one transmission period; for the Slave device, the above embodiment reduces the delay of connection establishment and does not need a sending module; but the disadvantage is that it cannot send data to the Master device. Although the access time slot in the embodiment also transmits the Bluetooth clock, the frequency hopping table, the address of the Bluetooth master device and the like, the Bluetooth slave device will interact with the Bluetooth master device based on the received Bluetooth clock, frequency hopping table and the like, and generally needs multiple transmission period communications to establish the Bluetooth connection.

[0095] In addition, the way of establishing the Bluetooth connection of the Bluetooth slave device and the Bluetooth master device based on the access time slot in the embodiment can be appropriately modified based on the prior art, and here there is no need to elaborate on the connection establishment process.

[0096] The above embodiment is modified based on classic Bluetooth, adopts a similar broadcast transmission mechanism, after the Bluetooth master device and each Bluetooth slave device establish the Bluetooth connection in the access time slot, the Bluetooth slave device receives the broadcast user data transmitted by the Bluetooth master device in the broadcast data time slot and plays synchronously, the above method can be implemented based on classic Bluetooth, without using LE audio technology, the broadcast data transmission of one master device and multiple slave devices can also be achieved, the hardware requirement is low, and the applicability is high.

[0097] In some embodiments, the broadcast data time slot includes at least two data frames, and the maximum duration of the data frame is 1.25 ms; the data frame is used for transmitting the broadcast user data.

[0098] In the implementation, the lengths of the broadcast data slot and the access slot are preset and adjustable.

[0099] Further, the method can further include: when the two data frames are included in the broadcast data slot, the second data frame is set as a repeated frame of the first data frame, and a flag parameter of the second data frame is set as a preset value.

[0100] Specifically, please refer to Figure 5 When the two data frames P1 and P2 are included in the broadcast data slot, in order to increase the receiving robustness of the broadcast user data, the data frame P2 can send the same broadcast user data as the P1 frame; when the data frame P2 is a repeated frame of the P1 frame, the Flow bit of the Header part in the P2 frame can be defined as a flag parameter for distinguishing whether it is a repeated frame. For example, when FLOW=0, it is the first frame of the data frame; when FLOW=1, it is the repeated frame of the data frame.

[0101] Further, the method can further include:

[0102] After receiving the first data frame, the Bluetooth slave device judges whether the first data frame is received correctly, and if the first data frame is received correctly and the flag parameter in the second data frame is detected as the preset value, the second data frame is refused to be received.

[0103] Specifically, when the slave device judges that the data frame P1 is received correctly through the check code, the P2 data frame can be selected not to be received, so as to reduce the receiving power consumption. Wherein, whether the information is correct based on the check code is a conventional operation in the communication field, which will not be described in detail here.

[0104] In some embodiments, the method can further include:

[0105] The Bluetooth master device issues the time offset in the access frame of the access slot to each Bluetooth slave device.

[0106] Each Bluetooth slave device starts the synchronous playing of the broadcast user data based on the time offset.

[0107] Specifically, each Bluetooth slave device takes the moment of receiving the access frame in the access slot as a playing anchor point, adds the playing anchor point and the time offset to obtain a playing time point, and starts the playing of the broadcast user data at the playing time point.

[0108] In the implementation, the Master device must notify the Slave device of the access of the playing time offset (OFFSET). The OFFSET is used to indicate how long to start playing after receiving the broadcast user data. All Slave devices obtain the same OFFSET value and start playing synchronously, so as to ensure the synchronism of playing. For example, as shown in Figure 5As shown, when the Slave device receives the packet of the data frame P1, the anchor point for playing is T0; then the time point for starting the synchronized playing is T0+OFFSET.

[0109] Please refer to Figure 6 In some embodiments, the method can further include:

[0110] The Bluetooth master device and each Bluetooth slave device establish a Bluetooth connection in the access time slot, and the Bluetooth master device sends a corresponding feedback period and a unique number to each Bluetooth slave device; the data frame includes a first Bluetooth time slot and a second Bluetooth time slot.

[0111] The Bluetooth master device sends broadcast user data in the first Bluetooth time slot of each data frame.

[0112] The broadcast user data adopts a second Bluetooth packet format, and the first Bluetooth time slot is 625us.

[0113] Each Bluetooth slave device receives the broadcast user data in the first Bluetooth time slot of each data frame, and starts synchronized playing of the broadcast user data; each Bluetooth slave device determines a target Bluetooth time slot in the feedback period based on the unique number, and sends uplink data to the Bluetooth master device through the target Bluetooth time slot.

[0114] The Bluetooth master device receives the uplink data of each Bluetooth slave device in the second Bluetooth time slot of each data frame.

[0115] Specifically, the second Bluetooth packet format and the first Bluetooth packet format differ in length, i.e., the maximum duration of the second Bluetooth packet format is 625us, which is less than the maximum duration of the first Bluetooth packet format.

[0116] It can be considered that, since each Bluetooth slave device in the above embodiment establishes a Bluetooth connection with the Bluetooth master device in the access time slot, i.e., the Bluetooth slave device has a sending module, the Bluetooth slave device can further implement the function of sending uplink data.

[0117] In this embodiment, each data frame occupies 2 Bluetooth time slots, and the broadcast user data only occupies the first Bluetooth time slot, and the second Bluetooth time slot will be used as the target Bluetooth time slot of the Bluetooth slave device for receiving the uplink data sent by the slave device.

[0118] In some special scenarios, for example, mainly for broadcast services, and also with Slave sending a small amount of information to Master, a time slot for transmitting "uplink service", i.e., uplink data, needs to be defined. In order to support the application of such scenarios, a transmission mechanism and a time slot resource allocation method can be defined as Figure 6 As shown, i.e., the data frame is broadcasted through the first Bluetooth time slot in the broadcast data time slot; and the uplink data of the slave device is received through the second Bluetooth time slot in the broadcast data time slot.

[0119] by Figure 6 For example, suppose the duration of data frames P1 / P2 is 1.25ms, which is two Bluetooth time slots. The first / third time slots transmit EDR data packets, such as 2DH1 or 3DH1; all connected Slave devices receive broadcast user data sent by the Master. The second / fourth time slots sequentially transmit uplink data sent from the Slave to the Master. Each Slave device obtains a unique number n when establishing a connection with the Master; n is less than or equal to the maximum number of Slaves N that can receive broadcasts. A Slave feedback period T is defined, and each Slave device sends feedback data according to the feedback period and its unique number.

[0120] The unique number represents the order of the Bluetooth slave device among all the Bluetooth slave devices connected to the Bluetooth master device; that is, the first connected slave device is numbered 1, the second slave device is numbered 2, and so on.

[0121] The feedback period is greater than or equal to the product of the transmission period and the upper limit of a single feedback.

[0122] The transmission period is equal to the sum of the access time slot and the broadcast data time slot, and the upper limit of a single feedback is equal to the ratio of the maximum number of Bluetooth slave devices that can access the network to the number of data frames in the broadcast data time slot.

[0123] Expressed as a parameter: Feedback period T≥(N / S)*R, where N is the maximum number of Bluetooth slave devices that can connect; S is the number of data frames in one transmission period, i.e. the number of data frames in the broadcast data slot; and R is the transmission period.

[0124] In practical implementation, when there are two data frames, the length of the transmission period for the time slot resource allocation is P1 + P2 + M1. For example, when the length of P1 / P2 is 1.25ms and the length of the access frame M1 is 2.5ms, then the length of one transmission period is 5ms; the broadcast data time slot occupies 50% of the time-frequency resources, and the access time slot occupies 50% of the time-frequency resources.

[0125] Optionally, the lengths of P1, P2, and M1 can be selected with different values ​​depending on the usage scenario.

[0126] When a slave device cannot send uplink data, there is no limit to the number of Bluetooth slave devices that can connect. When a slave device can send uplink data, the Bluetooth master device needs to limit the maximum number of slave devices that can connect in order to determine the feedback cycle.

[0127] The above embodiments realize the function of sending uplink data from the device to the master device, enabling this application to meet more special application scenarios and further improving the applicability of this application.

[0128] In some embodiments, each Bluetooth slave device determines the target Bluetooth time slot in the feedback period based on the unique number, including:

[0129] Each Bluetooth slave device takes the number of data frames in the broadcast data time slot as a first value.

[0130] Divide the unique number by the first value to obtain a target integer and a target remainder.

[0131] Determine the target Bluetooth time slot in the feedback period according to the target integer and the target remainder.

[0132] In the specific implementation process, when the unique number represents the order of the slave device in the plurality of accessed slave devices, divide the unique number n by the number of data frames in the transmission period S to obtain a target integer a and a target remainder b.

[0133] When a < 1, the target Bluetooth time slot is the 2xn Bluetooth time slot in the first transmission period in the feedback period; when a ≥ 1 and b = 0, the target Bluetooth time slot is the 2xS Bluetooth time slot in the a-th transmission period in the feedback period; when a ≥ 1 and b ≠ 0, the target Bluetooth time slot is the 2xb Bluetooth time slot in the (a+1)-th transmission period in the feedback period.

[0134] Taking the time slot resource allocation mode in the following table as an example, Figure 6 a complete transmission period R is 5ms, the Slave feedback period T is defined as 10ms, and N = 4. Then, in each feedback period, in the first transmission period, the Slave device with a unique number of 1 transmits feedback data to the Master in the second Bluetooth time slot; the Slave device with a unique number of 2 transmits feedback data to the Master in the fourth Bluetooth time slot; in the second transmission period, the Slave device with a unique number of 3 transmits feedback data to the Master in the second Bluetooth time slot; and the Slave device with a unique number of 4 transmits feedback data to the Master in the fourth Bluetooth time slot.

[0135] Furthermore, the embodiments of the present application also provide a Bluetooth broadcast data transmission system, which includes the Bluetooth master device and the plurality of Bluetooth slave devices in any of the above embodiments, and adopts the Bluetooth broadcast data transmission method in any of the above embodiments to perform Bluetooth broadcast data transmission. The present application can be applied to a plurality of same kind of Bluetooth slave devices, or a plurality of different Bluetooth slave devices, for example, the first Bluetooth slave device and the second Bluetooth slave device are two pairs of independent Bluetooth earphones respectively; or the first Bluetooth slave device and the second Bluetooth slave device are Bluetooth earphones, Bluetooth sound boxes, and the like.

[0136] In addition, the "first", "second" in the present application are only used as the role of distinguishing different devices, terminals, links, etc. names, and do not have the meaning of counting, and should not be considered as the restriction of the technical solutions of the present application. The person skilled in the art should also further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the present application can be realized by electronic hardware, computer software or combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in the above description in general terms. Whether the functions are realized in hardware or software manner depends on the specific application and design constraints of the technical solutions.

[0137] The person skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application. The steps of the method or algorithm described in combination with the embodiments disclosed herein can be implemented by hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0138] The technical features of the above embodiments can be combined in any way. In order to make the description simple, not all possible combinations of the technical features in the above embodiments are described, but as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0139] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as the limitation of the scope of the patent. It should be pointed out that for the person skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A transmission method of Bluetooth broadcast data, characterized in that, Applied to a Bluetooth master device and at least one Bluetooth slave device, the Bluetooth master device is used to send broadcast data, and the Bluetooth slave device is used to receive the broadcast data; comprising: Two kinds of time slot resources are included on a Bluetooth transmission time slot resource, forming a transmission cycle; wherein the first part is a broadcast access time slot, and the second part is a broadcast data time slot; The Bluetooth master device sends first Bluetooth connection information in the broadcast access time slot and sends broadcast user data in the broadcast data time slot; wherein the broadcast user data adopts a first Bluetooth data packet format; The broadcast access time slot includes at least one broadcast access control frame, and the broadcast access control frame is used to transmit the first Bluetooth connection information; the broadcast access control frame adopts the first Bluetooth data packet format; the first Bluetooth data packet format is a data packet with a maximum duration of two Bluetooth time slots, and the total duration of the two Bluetooth time slots is 1.25 ms; the first Bluetooth connection information includes a Bluetooth clock, a frequency hopping table, a key, and a Bluetooth address of the Bluetooth master device; Each Bluetooth slave device receives the first Bluetooth connection information in the broadcast access time slot, maintains time and frequency synchronization with the Bluetooth master device according to the first Bluetooth connection information, receives the broadcast user data in the broadcast data time slot, and starts synchronous playback of the broadcast user data.

2. The transmission method of Bluetooth broadcast data according to claim 1, characterized in that, The broadcast data time slot includes at least two broadcast user data frames, and the broadcast user data frames are used to transmit the broadcast user data.

3. The transmission method of Bluetooth broadcast data according to claim 2, characterized in that, Further comprising: When the Bluetooth master device includes two broadcast user data frames in the broadcast data time slot, the second broadcast user data frame is set as a repeated frame of the first broadcast user data frame, and a flag parameter of the second broadcast user data frame is set as a preset value.

4. The transmission method of Bluetooth broadcast data according to claim 1, characterized in that, The first Bluetooth connection information further includes a synchronous playback time offset; The method further includes that each Bluetooth slave device starts synchronous playback of the broadcast user data based on the synchronous playback time offset in the first Bluetooth connection information.

5. The method of claim 3, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Further comprising: After receiving the first broadcast user data frame, the Bluetooth slave device judges whether the first broadcast user data frame is received correctly, and if it is received correctly and the flag parameter in the second broadcast user data frame is detected as the preset value, the Bluetooth slave device refuses to receive the second broadcast user data frame.

6. A transmission method of Bluetooth broadcast data, characterized by, Applied to a Bluetooth master device and at least one Bluetooth slave device, the Bluetooth master device is used to send broadcast data, and the Bluetooth slave device is used to receive the broadcast data; comprising: Two kinds of time slot resources are included on a Bluetooth transmission time slot resource, forming a transmission cycle; Wherein the first part is a broadcast data time slot, and the second part is an access time slot; The Bluetooth master device and each Bluetooth slave device establish a Bluetooth connection in the access time slot, and each Bluetooth slave device maintains time and frequency synchronization with the Bluetooth master device; The Bluetooth master device sends broadcast user data in the broadcast data time slot; the broadcast data time slot includes at least two data frames, and the maximum duration of the data frame is 1.25 ms; the data frame is used to transmit the broadcast user data; The broadcast user data adopts a first Bluetooth data packet format; the first Bluetooth data packet format is a data packet with a maximum duration of two Bluetooth time slots, and the total duration of the two Bluetooth time slots is 1.25 ms; Each Bluetooth slave device receives the broadcast user data in the broadcast data time slot and starts synchronous playing of the broadcast user data.

7. The method of claim 6, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Further comprising: When the Bluetooth master device includes two data frames in the broadcast data time slot, the second data frame is set as a repeated frame of the first data frame, and a flag parameter of the second data frame is set as a preset value.

8. The method of claim 7, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Further comprising: After receiving the first data frame, the Bluetooth slave device judges whether the first data frame is correctly received, and if so, and if the flag parameter in the second data frame is the preset value, the Bluetooth slave device refuses to receive the second data frame.

9. The method of claim 6, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Further comprising: After establishing Bluetooth connection with the Bluetooth master device, each Bluetooth slave device releases the access time slot.

10. The method of claim 6, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Further comprising: The Bluetooth master device sends a time offset to each Bluetooth slave device in the access frame of the access time slot; Each Bluetooth slave device starts synchronous playing of the broadcast user data based on the time offset.

11. The method of claim 10, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Each Bluetooth slave device starts synchronous playing of the broadcast user data based on the time offset, comprising: Each Bluetooth slave device takes a time point of receiving the access frame in the access time slot as a playing anchor point, adds the playing anchor point and the time offset to obtain a playing time point; Each Bluetooth slave device starts playing of the broadcast user data at the playing time point.

12. The method of claim 7, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Further comprising: The Bluetooth master device and each Bluetooth slave device establish Bluetooth connection in the access time slot, and simultaneously send a feedback period and a unique number corresponding to each Bluetooth slave device to each Bluetooth slave device; The data frame includes a first Bluetooth time slot and a second Bluetooth time slot; The Bluetooth master device sends the broadcast user data in the first Bluetooth time slot of each data frame; The broadcast user data adopts a second Bluetooth data packet format, and the first Bluetooth time slot is 625 us; Each Bluetooth slave device receives the broadcast user data in the first Bluetooth time slot of each data frame and starts synchronous playing of the broadcast user data; Each Bluetooth slave device determines a target Bluetooth time slot in the feedback period based on the unique number, and sends uplink data to the Bluetooth master device through the target Bluetooth time slot; The Bluetooth master device receives uplink data of each Bluetooth slave device in the second Bluetooth time slot of each data frame.

13. The method of claim 12, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. The unique number is the order of each Bluetooth slave device in accessing the Bluetooth master device.

14. The method of claim 13, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. The feedback period is greater than or equal to the product of a transmission period and an upper limit of single feedback; The transmission period is equal to the sum of the access time slot and the broadcast data time slot, and the upper limit of single feedback is equal to the ratio of the maximum access number of the Bluetooth slave device to the number of data frames in the broadcast data time slot.

15. The method of claim 12, wherein the Bluetooth broadcast data is transmitted in a Bluetooth advertising packet. Each Bluetooth slave device determines a target Bluetooth time slot in the feedback period based on the unique number, comprising: each of the Bluetooth slave devices takes the number of the data frames in the broadcast data time slot as a first value; divides the unique number by the first value to obtain a target integer and a target remainder; determines the target Bluetooth time slot in the feedback period according to the target integer and the target remainder.

16. A transmission system of Bluetooth broadcast data, characterized by, The application discloses a Bluetooth broadcast data transmission method and a Bluetooth broadcast data transmission system.

Citation Information

Patent Citations

  • Single-point-to-multipoint wireless audio two-way transmission method, system and equipment

    CN114727387A

  • Method, device and system for audio data communication

    US20200162852A1