Bluetooth communication method, device, equipment, system and storage medium
By introducing relay Bluetooth devices into the Bluetooth system and adjusting the presentation delay parameters of BIS signals, the problem of inability to receive from Bluetooth devices or poor signal quality in large spaces is solved, and high-quality signal transmission and synchronous presentation within a longer range is achieved.
Patent Information
- Application Number
- CN202310704215.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2043-06-14
AI Technical Summary
In large spaces, slave Bluetooth devices far from the main Bluetooth device may not receive BIS signals or receive poor signal quality.
Relay Bluetooth devices are introduced in the Bluetooth system, which can expand the signal coverage by adjusting the presentation delay parameters of the BIS signal to synchronize with the original signal time, and sending the adjusted signal to the Bluetooth device.
It realizes the transmission of the BIS signal of the main Bluetooth device to a longer range, so that the slave Bluetooth devices far away from the main Bluetooth device can receive BIS signals with better signal quality and realize synchronous presentation in each slave Bluetooth device.
Smart Images

Figure CN116647810B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Bluetooth communications, and in particular to Bluetooth communication methods, devices, equipment, systems and storage media. Background Art
[0002] Bluetooth is a wireless communication technology standard used to exchange data between devices over short distances, simplifying the data exchange process between electronic devices. With the continuous evolution of technology, Bluetooth technology has evolved from the early Bluetooth 1.0 to Bluetooth 5.2. Bluetooth 5.2 focuses on low-energy audio (LE Audio), releasing multiple LE Audio specifications and a new low-complexity communication codec (LC3) to enhance the Bluetooth audio experience.
[0003] Bluetooth 5.2 introduced isochronous broadcast communication. A broadcast isochronous stream (BIS) is transmitted between isochronous broadcasters and isochronous receivers over a broadcast channel. Multiple BISs form a broadcast isochronous group (BIG). Bluetooth transmission range is limited. If BIG communication is performed in a large space, slave Bluetooth devices (i.e., isochronous receivers) that are far away from the master Bluetooth device (i.e., isochronous broadcaster) may not receive the BIS signal sent by the master device, or the received BIS signal may be of poor quality. Summary of the Invention
[0004] The present application provides a Bluetooth communication method, apparatus, device, system and storage medium to solve the technical problem that a slave Bluetooth device that is far away from a master Bluetooth device cannot receive a BIS signal or the signal quality of the received BIS signal is poor when performing BIG communication in a large space.
[0005] In a first aspect, a Bluetooth communication method is provided, which is applied to a target relay Bluetooth device in a Bluetooth system, wherein the Bluetooth system includes a master Bluetooth device and a broadcast synchronization group consisting of multiple slave Bluetooth devices, the broadcast synchronization group includes at least one relay Bluetooth device, and the target relay Bluetooth device is any one of the at least one relay Bluetooth device; the method includes:
[0006] receiving a first broadcast synchronization stream signal, where the first broadcast synchronization stream signal is a broadcast synchronization stream signal sent by the master Bluetooth device to the slave Bluetooth devices in the broadcast synchronization group;
[0007] Adjusting a presentation delay parameter of the first broadcast synchronization stream signal to obtain a second broadcast synchronization stream signal, wherein a presentation time of the second broadcast synchronization stream signal is synchronized with a presentation time of the first broadcast synchronization stream signal, and broadcast data in the second broadcast synchronization stream signal is the same as the broadcast data in the first broadcast synchronization stream signal;
[0008] The second broadcast synchronization stream signal is sent to slave Bluetooth devices in the broadcast synchronization group.
[0009] In this technical solution, the BIG in the Bluetooth system includes a relay Bluetooth device. After receiving the BIS signal sent by the master Bluetooth device to the slave Bluetooth device in the BIG, the relay Bluetooth device in the BIG adjusts the presentation delay parameter of the BIS signal so that the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment, and then sends the adjusted BIS signal to the slave Bluetooth device in the BIG. The relay Bluetooth device in the BIG plays a relay role in the Bluetooth system. By sending the adjusted BIS signal to the slave Bluetooth device in the BIG, the BIS signal sent by the master Bluetooth device can be transmitted to a farther range, so that the slave Bluetooth device farther away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment, the BIS signal can be synchronously presented in each slave Bluetooth device in the BIG.
[0010] In combination with the first aspect, in one possible implementation, the adjusting the presentation delay parameter of the first broadcast synchronization stream signal to obtain the second broadcast synchronization stream signal includes: determining the broadcast offset value for sending broadcast data by the master Bluetooth device and the target relay Bluetooth device based on the broadcast synchronization interval of the master Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device; and determining the presentation delay parameter of the second broadcast synchronization stream signal based on the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value. Determining the presentation delay parameter of the adjusted BIS signal based on the broadcast synchronization interval of the master Bluetooth device and the broadcast synchronization interval of the relay Bluetooth device can ensure that the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment.
[0011] In combination with the first aspect, in a possible implementation method, the presentation delay parameter of the second broadcast synchronization stream signal is determined based on the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value, including: when the broadcast offset value is less than the presentation delay parameter of the first broadcast synchronization stream signal, the difference between the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value is determined as the presentation delay parameter of the second broadcast synchronization stream signal.
[0012] In combination with the first aspect, in a possible implementation, the presenting delay parameter of the second broadcast synchronous stream signal is determined based on the presenting delay parameter of the first broadcast synchronous stream signal and the broadcast offset value, and further includes: when the broadcast offset value is greater than or equal to the presenting delay parameter of the first broadcast synchronous stream signal, modifying the broadcast anchor point of the target relay Bluetooth device so that the broadcast offset value is reduced to less than the presenting delay parameter of the first broadcast synchronous stream signal. When the broadcast offset value between the main Bluetooth device and the relay Bluetooth device is greater than the presenting delay parameter of the BIS signal, by modifying the broadcast anchor point of the target relay Bluetooth device so that the broadcast offset value is reduced, it can be ensured that the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment.
[0013] In combination with the first aspect, in a possible implementation method, sending the second broadcast synchronization stream signal to the slave Bluetooth device in the broadcast synchronization group includes: when the broadcast cycle of the target relay Bluetooth device is reached, sending the second broadcast synchronization stream signal to the slave Bluetooth device in the broadcast synchronization group.
[0014] In combination with the first aspect, in a possible implementation, after sending the second broadcast synchronization stream signal to the slave Bluetooth device in the broadcast synchronization group, it also includes: outputting the broadcast data in the first broadcast synchronization stream signal according to the presentation delay parameter of the first broadcast synchronization stream signal.
[0015] In combination with the first aspect, in a possible implementation, the relay Bluetooth device includes a slave Bluetooth device in the broadcast synchronization group whose distance from the master Bluetooth device is greater than a preset distance; and / or, the relay Bluetooth device includes a slave Bluetooth device in the broadcast synchronization group whose received signal strength for receiving the first broadcast synchronization stream signal is less than a preset received signal strength.
[0016] In a second aspect, a Bluetooth communication device is provided, which is applied to a target relay Bluetooth device in a Bluetooth system, wherein the Bluetooth system includes a master Bluetooth device and a broadcast synchronization group consisting of multiple slave Bluetooth devices, the broadcast synchronization group includes at least one relay Bluetooth device, and the target relay Bluetooth device is any one of the at least one relay Bluetooth device; the device includes:
[0017] a broadcast receiving module, configured to receive a first broadcast synchronization stream signal, where the first broadcast synchronization stream signal is a broadcast synchronization stream signal sent by the master Bluetooth device to the slave Bluetooth devices in the broadcast synchronization group;
[0018] a parameter adjustment module, configured to adjust a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein a presentation time of the second broadcast synchronous stream signal is synchronized with a presentation time of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is the same as the broadcast data in the first broadcast synchronous stream signal;
[0019] The broadcast sending module is configured to send the second broadcast synchronization stream signal to slave Bluetooth devices in the broadcast synchronization group.
[0020] In a third aspect, a Bluetooth device is provided, comprising a memory and one or more processors and a transceiver, wherein the memory and the transceiver are connected to the one or more processors, the transceiver is used to send or receive data, and the one or more processors are used to execute one or more computer programs stored in the memory. When the one or more processors execute the one or more computer programs, the Bluetooth device implements the Bluetooth communication method of the first aspect mentioned above.
[0021] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the Bluetooth communication method of the first aspect.
[0022] In the fifth aspect, a Bluetooth system is provided, comprising a master Bluetooth device and a broadcast synchronization group consisting of multiple slave Bluetooth devices, the broadcast synchronization group including at least one relay Bluetooth device, the target relay Bluetooth device in the broadcast synchronization group being used to execute the Bluetooth communication method of the first aspect above, the target relay Bluetooth device being any one of the at least one relay Bluetooth device.
[0023] This application can achieve the following technical effects: the relay Bluetooth device in the BIG plays a relay role in the Bluetooth system. By sending the adjusted BIS signal to the slave Bluetooth device in the BIG, the BIS signal sent by the master Bluetooth device can be transmitted to a farther range, so that the slave Bluetooth device that is farther away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the presentation time of the adjusted BIS signal is synchronized with the BIS signal before adjustment, the BIS signal can be presented synchronously in each slave Bluetooth device in the BIG. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of a Bluetooth system provided in an embodiment of the present application;
[0025] Figure 2 A flowchart of a Bluetooth communication method provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of the broadcast synchronization interval and broadcast offset value provided in an embodiment of the present application;
[0027] Figure 4 This is a schematic diagram of the structure of a Bluetooth communication device provided in an embodiment of the present application;
[0028] Figure 5 This is a schematic diagram of the structure of a Bluetooth device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0030] The technical solution of the present application is applicable to Bluetooth communication scenarios, and is particularly applicable to scenarios in which a master Bluetooth device and a slave Bluetooth device perform BIG communication in a Bluetooth communication scenario, wherein a master Bluetooth device refers to a Bluetooth device that searches and actively establishes a connection in a Bluetooth communication scenario, and the master Bluetooth device can search for surrounding Bluetooth devices and select the Bluetooth device to be connected for pairing and connection; a slave Bluetooth device refers to a device waiting to be searched and connected by the master Bluetooth device in a Bluetooth communication scenario. Specifically, the master Bluetooth device can be a mobile phone, a laptop computer, etc.; the slave Bluetooth device can be a headset, a smart speaker, etc., and this application does not impose any restrictions. It should be understood that a Bluetooth device can initiate a communication connection as a master device, and can also receive a communication connection as a slave device; a Bluetooth device can also act as both a master device and a slave device at the same time.
[0031] The technical solution of this application can be applied to a Bluetooth system consisting of a master Bluetooth device and a slave Bluetooth device, such as Figure 1 As shown, the Bluetooth system 10 may include a master Bluetooth device 101 and a BIG 102 , the BIG includes multiple slave Bluetooth devices (E1 , E2 , E3 , . . . , En), n is the number of slave Bluetooth devices in the BIG, and n can theoretically be any integer greater than 0.
[0032] There is a BIS link between the slave Bluetooth device and the master Bluetooth device in the BIG. The BIS link is a one-way broadcast link. The master Bluetooth device can send a BIS signal to each slave Bluetooth device in the BIG through the BIS link. The BIS signal is a one-way signal, sent by the master Bluetooth device through broadcasting. The BIS signals belonging to the same BIG are time synchronized and share the timing reference data in the same BIG. Among them, the master Bluetooth device can create one or more BIGs and broadcast the BIG information (BIGinfo) of the created BIGs; the slave Bluetooth device can join the BIG created by the master Bluetooth device by listening on the broadcast channel to obtain the BIG information, and then receive the BIS signal sent by the master Bluetooth device based on the BIG information.
[0033] There is at least one relay Bluetooth device among the multiple slave Bluetooth devices of the BIG. In addition to being used as a general slave Bluetooth device to receive and output the BIS signal sent by the master Bluetooth device, the relay Bluetooth device also serves as a relay device in the BIG. After receiving the BIS signal sent by the master Bluetooth device, the relay Bluetooth device sends the received BIS signal to other slave Bluetooth devices in the BIG. In this application, the process of the relay Bluetooth device sending the received BIS signal to other slave Bluetooth devices in the BIG after receiving the BIS signal sent by the master Bluetooth device can be regarded as the process of the relay Bluetooth device providing relay services for the BIG.
[0034] The relay Bluetooth device may include all slave Bluetooth devices in the BIG, that is, each slave Bluetooth device in the BIG is a relay Bluetooth device. The relay Bluetooth device may also include specific slave Bluetooth devices in the BIG, that is, only some slave Bluetooth devices in the BIG are relay Bluetooth devices.
[0035] In some possible situations, the relay Bluetooth device can be a supporting device of the main Bluetooth device. The supporting device can be fixed in space and join the BIG after the main Bluetooth device creates the BIG to provide relay services for the BIG. The supporting device can be used to provide relay services for one BIG or for multiple BIGs. Whether the supporting device provides relay services for one BIG or for multiple BIGs depends on the number of BIGs joined by the supporting device. The number of BIGs joined by the supporting device and which BIG the supporting device specifically joins can be set by the user.
[0036] In some other possible situations, the relay Bluetooth device may also be generated from the slave Bluetooth devices in the BIG. The slave Bluetooth device in the BIG may determine whether it is a relay Bluetooth device based on preset rules.
[0037] In a specific implementation, the relay Bluetooth device may include a slave Bluetooth device in the BIG whose distance from the master Bluetooth device is greater than a preset distance. Specifically, after each Bluetooth device joins the BIG, when it receives the BIS signal sent by the master Bluetooth device, each slave Bluetooth device can detect the received signal strength indicator (RSSI) of the received BIS signal, and then determine the distance between each slave Bluetooth device and the master Bluetooth device based on the RSSI; if the distance between the target slave Bluetooth device in the BIG and the master Bluetooth device is greater than the preset distance, the target slave Bluetooth device can determine itself as a relay slave Bluetooth device in the BIG, and then provide relay services for the BIG. Among them, after detecting the RSSI, each Bluetooth device can determine the distance between each slave Bluetooth device and the master Bluetooth device based on a preset RSSI-distance curve. The RSSI-distance curve is used to reflect the correspondence between RSSI and distance; it can also be determined according to the formula d=
[0038] a b s (RSSI)-A 10 10*n , d is the distance value, A is the RSSI when the master Bluetooth device (transmitter) and the slave Bluetooth device (receiver) are 1 meter apart, A is measured through preliminary experiments, and n is the environmental attenuation factor.
[0039] Optionally, the relay slave Bluetooth device may also include a slave Bluetooth device in the BIG whose RSSI of the received BIS signal is less than a preset received signal strength. Specifically, after joining the BIG, each Bluetooth device can detect the RSSI of the received BIS signal when receiving the BIS signal sent by the master Bluetooth device; if the RSSI detected by the target slave Bluetooth device among the slave Bluetooth devices is less than the preset received signal strength, the target slave Bluetooth device can determine that it is a relay slave Bluetooth device in the BIG, and thus provide relay services for the BIG.
[0040] It should be understood that the relay slave Bluetooth device in the BIG is not limited to the situations described above, and there may be more situations, which are not limited in this application.
[0041] based on Figure 1 The Bluetooth system shown can implement the technical solution of the present application, wherein the technical solution of the present application is specifically applied to the target relay Bluetooth device in the Bluetooth system, and the target relay Bluetooth device can be any relay Bluetooth device in the BIG.
[0042] The technical solution of this application is described in detail below.
[0043] See also Figure 2 , Figure 2A flow chart of a Bluetooth communication method provided in an embodiment of the present application is provided. The method can be applied to a Bluetooth system. The Bluetooth system can be as follows: Figure 1 As shown. Figure 2 As shown, the method includes the following steps:
[0044] S201: The master Bluetooth device sends a first BIS signal to the slave Bluetooth device in the BIG, and the target relay Bluetooth device receives the first BIS signal.
[0045] Specifically, the master Bluetooth device can broadcast the first BIS signal on the channel corresponding to the channel hopping table in the BIG information corresponding to the BIG when the broadcast time of the first BIS signal is reached based on the BIG information corresponding to the BIG. After obtaining the BIG information corresponding to the BIG, the target relay Bluetooth device can listen to the first BIS signal on the channel corresponding to the channel hopping table in the BIG information corresponding to the BIG based on the BIG information corresponding to the first BIG, thereby receiving the first BIS signal.
[0046] S202: The target relay Bluetooth device adjusts the presentation delay parameter of the first BIS signal to obtain a second BIS signal.
[0047] Here, the presentation delay parameter of the first BIS signal is used to indicate the duration from the service data unit (SDU) synchronization reference time point corresponding to the first BIS signal to the time point when the broadcast data in the first BIS signal is output from the Bluetooth device. During the time period corresponding to the presentation delay parameter of the first BIS signal, the slave Bluetooth device can cache, decode, and perform other operations on the first BIS signal. The presentation delay parameter of the first BIS signal is carried in the first BIS number and sent to each slave Bluetooth device in the BIG; each slave Bluetooth device in the BIG can determine the output time point of the broadcast data in the first BIS signal based on the presentation delay parameter in the first BIS signal.
[0048] The purpose of adjusting the presentation delay parameter of the first BIS signal is to synchronize the presentation time of the second BIS signal with the first BIS signal, that is, the second BIS signal is output at the same time as the first BIS signal. The broadcast data in the second BIS signal is the same as the broadcast data in the first BIS signal. The broadcast data in the second BIS signal and the broadcast data in the first BIS signal can specifically be audio data, etc.
[0049] The target relay Bluetooth device may adjust the presentation delay parameter of the first BIS signal through the following steps A1-A2:
[0050] A1. Determine a broadcast offset value for broadcast data sent by the master Bluetooth device and the target relay Bluetooth device according to the broadcast synchronization interval of the master Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device.
[0051] The broadcast synchronization interval (isochronous, ISO) of the master Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device can refer to Figure 3 , refers to the duration of the interval period of the main Bluetooth device sending broadcast data and the interval period of the relay Bluetooth device sending broadcast data. The interval period of the main Bluetooth device sending broadcast data can be as follows Figure 3 As shown in T1 in the figure, the interval period for the relay Bluetooth device to send broadcast data can be as follows: Figure 3 The interval period for the master Bluetooth device to send broadcast data and the interval period for the relay Bluetooth device to send broadcast data may be the same or different.
[0052] The broadcast offset value refers to the time difference between the time when the master Bluetooth device sends the broadcast data and the time when the slave Bluetooth device sends the broadcast data. The broadcast offset value is greater than or equal to 0. The broadcast offset value can be as follows: Figure 3 As shown in t.
[0053] Specifically, the time difference between the first second broadcast anchor point located after the first broadcast anchor point and the first broadcast anchor point can be calculated to obtain the broadcast offset value of the broadcast data sent by the main Bluetooth device and the target relay Bluetooth device, wherein the first broadcast anchor point is the broadcast anchor point of the main Bluetooth device, that is, the starting time point when the main Bluetooth device starts to send broadcast data, and the second broadcast anchor point is the broadcast anchor point of the target relay Bluetooth device, that is, the starting time point when the target relay Bluetooth device starts to send broadcast data.
[0054] A2. Determine the presentation delay parameter of the second BIS signal according to the presentation delay parameter of the first BIS signal and the broadcast offset value of the broadcast data sent by the master Bluetooth device and the target relay Bluetooth device.
[0055] If the broadcast offset value is less than the presentation delay parameter of the first BIS signal, the difference between the presentation delay parameter of the first BIS signal and the broadcast offset value can be used to determine the presentation delay parameter of the second BIS signal, i.e., Pd2 = Pd1 - t, where Pd2 is the presentation delay parameter of the second BIS signal, Pd1 is the presentation delay parameter of the first BIS signal, and t is the broadcast offset value for sending broadcast data between the master Bluetooth device and the target relay Bluetooth device. In this way, the presentation time of the second BIS signal can be the same as that of the first BIS signal.
[0056] In the case where the broadcast offset value is greater than or equal to the presentation delay parameter of the first BIS signal, the broadcast anchor point of the target relay Bluetooth device can be modified so that the broadcast offset value is reduced to less than the presentation delay parameter of the first BIS signal, and then the difference between the presentation delay parameter of the first BIS signal and the broadcast offset value is determined as the presentation delay parameter of the second BIS signal. Among them, the broadcast offset value can be reduced by advancing the broadcast anchor point of the target relay Bluetooth device. By modifying the broadcast anchor point of the target relay Bluetooth device so that the broadcast offset value is reduced, it can be ensured that the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment. It should be understood that the modification of the broadcast anchor point of the target relay Bluetooth device here is carried out without affecting the normal business of the target relay Bluetooth device, and modifying the broadcast anchor point of the target relay Bluetooth device will not affect other communication links of the target relay Bluetooth business.
[0057] Determining the presentation delay parameter of the adjusted BIS signal according to the broadcast synchronization interval of the master Bluetooth device and the broadcast synchronization interval of the relay Bluetooth device can ensure that the presentation time of the adjusted BIS signal is synchronized with the BIS signal before adjustment.
[0058] S203: The target relay Bluetooth device sends a second BIS signal to the slave Bluetooth devices in the BIG.
[0059] Specifically, the target relay Bluetooth device may send a second BIS signal to the slave Bluetooth devices in the BIG when the target relay Bluetooth device's broadcast period arrives. The target relay Bluetooth device may broadcast the second BIS signal on a channel corresponding to the channel hopping table in the BIG information corresponding to the BIG.
[0060] Optionally, after sending the second BIS signal to the slave Bluetooth device in the BIG, the target relay Bluetooth device may further output the broadcast data in the first BIS signal according to the presentation delay parameter of the first BIS signal. The target relay Bluetooth device may determine the output time point of the broadcast data in the first BIS signal according to the presentation delay parameter of the first BIS, and output the broadcast data in the first BIS signal when the output time point of the broadcast data in the first BIS signal is reached.
[0061] In the above Figure 2In the corresponding technical solution, the BIG in the Bluetooth system includes a relay Bluetooth device. After receiving the BIS signal sent by the master Bluetooth device to the slave Bluetooth device in the BIG, the relay Bluetooth device in the BIG adjusts the presentation delay parameter of the BIS signal so that the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment, and then sends the adjusted BIS signal to the slave Bluetooth device in the BIG. The relay Bluetooth device in the BIG plays a relay role in the Bluetooth system. By sending the adjusted BIS signal to the slave Bluetooth device in the BIG, the BIS signal sent by the master Bluetooth device can be transmitted to a farther range, so that the slave Bluetooth device farther away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment, the BIS signal can be synchronously presented in each slave Bluetooth device in the BIG.
[0062] The method of the present application is introduced above, and the device of the present application is introduced below.
[0063] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of a Bluetooth communication device provided by an embodiment of the present application, which is applied to a target relay Bluetooth device in a Bluetooth system. The Bluetooth system can be as follows Figure 1 As shown in , the target relay Bluetooth device is any relay Bluetooth device in the Bluetooth system. Figure 4 As shown, the Bluetooth communication device 30 includes:
[0064] The broadcast receiving module 301 is configured to receive a first broadcast synchronization stream signal, where the first broadcast synchronization stream signal is a broadcast synchronization stream signal sent by the master Bluetooth device to the slave Bluetooth devices in the broadcast synchronization group;
[0065] a parameter adjustment module 302, configured to adjust a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein a presentation time of the second broadcast synchronous stream signal is synchronized with a presentation time of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is the same as the broadcast data in the first broadcast synchronous stream signal;
[0066] The broadcast sending module 303 is configured to send the second broadcast synchronization stream signal to slave Bluetooth devices in the broadcast synchronization group.
[0067] In one possible design, the above-mentioned parameter adjustment module 302 is specifically used to: determine the broadcast offset value for the main Bluetooth device and the target relay Bluetooth device to send broadcast data based on the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device; determine the presentation delay parameter of the second broadcast synchronization stream signal based on the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value.
[0068] In one possible design, the above-mentioned parameter adjustment module 302 is specifically used to: when the broadcast offset value is less than the presentation delay parameter of the first broadcast synchronization stream signal, determine the difference between the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value as the presentation delay parameter of the second broadcast synchronization stream signal.
[0069] In one possible design, the above-mentioned parameter adjustment module 302 is specifically used to: when the broadcast offset value is greater than or equal to the presentation delay parameter of the first broadcast synchronization stream signal, modify the broadcast anchor point of the target relay Bluetooth device so that the broadcast offset value is reduced to less than the presentation delay parameter of the first broadcast synchronization stream signal.
[0070] In a possible design, the broadcast sending module 303 is specifically used to: send the second broadcast synchronization stream signal to the slave Bluetooth devices in the broadcast synchronization group when the broadcast period of the target relay Bluetooth device is reached.
[0071] In a possible design, the Bluetooth communication device 30 further includes an output module 304 configured to output the broadcast data in the first broadcast synchronous stream signal according to a presentation delay parameter of the first broadcast synchronous stream signal.
[0072] In one possible design, the relay Bluetooth device includes a slave Bluetooth device in the broadcast synchronization group whose distance from the master Bluetooth device is greater than a preset distance; and / or, the relay Bluetooth device includes a slave Bluetooth device in the broadcast synchronization group whose received signal strength for receiving the first broadcast synchronization stream signal is less than a preset received signal strength.
[0073] It should be noted that Figure 4 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments and will not be repeated here.
[0074] After receiving the BIS signal sent by the master Bluetooth device to the slave Bluetooth device in the BIG, the above-mentioned device adjusts the presentation delay parameter of the BIS signal so that the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment, and then sends the adjusted BIS signal to the slave Bluetooth device in the BIG. The relay Bluetooth device in the BIG plays a relay role in the Bluetooth system. By sending the adjusted BIS signal to the slave Bluetooth device in the BIG, the BIS signal sent by the master Bluetooth device can be transmitted to a farther range, so that the slave Bluetooth device farther away from the master Bluetooth device can also receive the BIS signal with better signal quality; because the presentation time of the adjusted BIS signal is synchronized with the presentation time of the BIS signal before the adjustment, the BIS signal can be synchronously presented in each slave Bluetooth device in the BIG.
[0075] See also Figure 5 , Figure 5 4 is a schematic diagram of the structure of a Bluetooth device provided in an embodiment of the present application, wherein the Bluetooth device 40 includes a processor 401, a memory 402, and a transceiver 403. The memory 402 is connected to the processor 401, for example, via a bus.
[0076] The processor 401 is configured to support the Bluetooth device 40 in executing the corresponding functions of the method in the above method embodiment. The processor 401 can be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0077] Memory 402 is used to store program code, etc. Memory 402 may include volatile memory (VM), such as random access memory (RAM); non-volatile memory (NVM), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the aforementioned types of memory.
[0078] The transceiver 403 is used to transmit data. Specifically, the transceiver 403 is a Bluetooth transceiver.
[0079] The processor 401 may call the program code to perform the following operations:
[0080] receiving a first broadcast synchronization stream signal, where the first broadcast synchronization stream signal is a broadcast synchronization stream signal sent by the master Bluetooth device to the slave Bluetooth devices in the broadcast synchronization group;
[0081] Adjusting a presentation delay parameter of the first broadcast synchronization stream signal to obtain a second broadcast synchronization stream signal, wherein a presentation time of the second broadcast synchronization stream signal is synchronized with a presentation time of the first broadcast synchronization stream signal, and broadcast data in the second broadcast synchronization stream signal is the same as the broadcast data in the first broadcast synchronization stream signal;
[0082] The second broadcast synchronization stream signal is sent to slave Bluetooth devices in the broadcast synchronization group.
[0083] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method as described in the above embodiment.
[0084] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0085] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A Bluetooth communication method, characterized in that: A target relay Bluetooth device is applied to a Bluetooth system, wherein the Bluetooth system includes a master Bluetooth device and a broadcast synchronization group composed of multiple slave Bluetooth devices, the broadcast synchronization group includes at least one relay Bluetooth device, and the target relay Bluetooth device is any one of the at least one relay Bluetooth device; the method includes: receiving a first broadcast synchronization stream signal, where the first broadcast synchronization stream signal is a broadcast synchronization stream signal sent by the master Bluetooth device to the slave Bluetooth devices in the broadcast synchronization group; Adjusting a presentation delay parameter of the first broadcast synchronization stream signal to obtain a second broadcast synchronization stream signal, wherein a presentation time of the second broadcast synchronization stream signal is synchronized with a presentation time of the first broadcast synchronization stream signal, and broadcast data in the second broadcast synchronization stream signal is the same as the broadcast data in the first broadcast synchronization stream signal; The second broadcast synchronization stream signal is sent to slave Bluetooth devices in the broadcast synchronization group.
2. The method according to claim 1, characterized in that The adjusting the presentation delay parameter of the first broadcast synchronization stream signal to obtain the second broadcast synchronization stream signal includes: Determining a broadcast offset value for sending broadcast data by the master Bluetooth device and the target relay Bluetooth device according to the broadcast synchronization interval of the master Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device; The presentation delay parameter of the second broadcast synchronization stream signal is determined according to the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value.
3. The method according to claim 2, characterized in that The determining, according to the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value, the presentation delay parameter of the second broadcast synchronization stream signal comprises: When the broadcast offset value is smaller than the presentation delay parameter of the first broadcast synchronization stream signal, the difference between the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value is determined as the presentation delay parameter of the second broadcast synchronization stream signal.
4. The method according to claim 3, characterized in that The determining, according to the presentation delay parameter of the first broadcast synchronization stream signal and the broadcast offset value, the presentation delay parameter of the second broadcast synchronization stream signal further includes: When the broadcast offset value is greater than or equal to the presentation delay parameter of the first broadcast synchronization stream signal, the broadcast anchor point of the target relay Bluetooth device is modified so that the broadcast offset value is reduced to be less than the presentation delay parameter of the first broadcast synchronization stream signal.
5. The method according to any one of claims 1 to 4, characterized in that The sending the second broadcast synchronization stream signal to the slave Bluetooth device in the broadcast synchronization group includes: When the broadcast period of the target relay Bluetooth device arrives, the second broadcast synchronization stream signal is sent to the slave Bluetooth devices in the broadcast synchronization group.
6. The method according to any one of claims 1 to 4, further comprising: after sending the second broadcast synchronization stream signal to the slave Bluetooth device in the broadcast synchronization group; The broadcast data in the first broadcast synchronized stream signal is output according to the presentation delay parameter of the first broadcast synchronized stream signal.
7. The method according to any one of claims 1 to 4, characterized in that The relay Bluetooth device includes a slave Bluetooth device in the broadcast synchronization group whose distance from the master Bluetooth device is greater than a preset distance; and / or, The relay Bluetooth device includes a slave Bluetooth device in the broadcast synchronization group whose received signal strength for receiving the first broadcast synchronization stream signal is less than a preset received signal strength.
8. A Bluetooth communication device, characterized in that: A target relay Bluetooth device is applied to a Bluetooth system, wherein the Bluetooth system includes a master Bluetooth device and a broadcast synchronization group composed of multiple slave Bluetooth devices, the broadcast synchronization group includes at least one relay Bluetooth device, and the target relay Bluetooth device is any one of the at least one relay Bluetooth device; the device includes: a broadcast receiving module, configured to receive a first broadcast synchronization stream signal, where the first broadcast synchronization stream signal is a broadcast synchronization stream signal sent by the master Bluetooth device to the slave Bluetooth devices in the broadcast synchronization group; a parameter adjustment module, configured to adjust a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein a presentation time of the second broadcast synchronous stream signal is synchronized with a presentation time of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is the same as the broadcast data in the first broadcast synchronous stream signal; The broadcast sending module is configured to send the second broadcast synchronization stream signal to slave Bluetooth devices in the broadcast synchronization group.
9. A Bluetooth device, characterized in that: The device comprises a memory, a processor and a transceiver, wherein the memory and the transceiver are connected to the processor, the transceiver is used to send or receive data, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the Bluetooth device implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
11. A Bluetooth system, characterized in that: It includes a master Bluetooth device and a broadcast synchronization group consisting of multiple slave Bluetooth devices, the broadcast synchronization group includes at least one relay Bluetooth device, the target relay Bluetooth device in the broadcast synchronization group is used to execute the method according to any one of claims 1 to 7, and the target relay Bluetooth device is any one relay Bluetooth device among the at least one relay Bluetooth device.
Citation Information
Patent Citations
Bluetooth media device time synchronization
CN115551068A
Method and system for data transmission, chip, electronic device, and computer readable storage medium
US20230010914A1