CN116647810A - Bluetooth communication method, device, equipment, system and storage medium - Google Patents

Bluetooth communication method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN116647810A
CN116647810A CN202310704215.0A CN202310704215A CN116647810A CN 116647810 A CN116647810 A CN 116647810A CN 202310704215 A CN202310704215 A CN 202310704215A CN 116647810 A CN116647810 A CN 116647810A
Authority
CN
China
Prior art keywords
broadcast
bluetooth device
stream signal
bluetooth
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310704215.0A
Other languages
Chinese (zh)
Inventor
陈柏康
谢林庭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhongke Lanxun Technology Co ltd
Original Assignee
Shenzhen Zhongke Lanxun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhongke Lanxun Technology Co ltd filed Critical Shenzhen Zhongke Lanxun Technology Co ltd
Priority to CN202310704215.0A priority Critical patent/CN116647810A/en
Publication of CN116647810A publication Critical patent/CN116647810A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Radio Relay Systems (AREA)

Abstract

The application provides a Bluetooth communication method, a device, equipment, a system and a storage medium, which are applied to target relay Bluetooth equipment in a Bluetooth system, wherein the Bluetooth system comprises a main Bluetooth equipment and a broadcast synchronization group, the broadcast synchronization group comprises at least one relay Bluetooth equipment, and the target relay Bluetooth equipment is any relay Bluetooth equipment in the broadcast synchronization group, and the method comprises the following steps: receiving a first broadcast synchronous stream signal, wherein the first broadcast synchronous stream signal is a broadcast synchronous stream signal sent by a master Bluetooth device to a slave Bluetooth device in a broadcast synchronous group; adjusting a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein the presentation time of the second broadcast synchronous stream signal is synchronous with the presentation time of the first broadcast synchronous stream signal; a second broadcast synchronization stream signal is transmitted to the slave bluetooth device in the broadcast synchronization group. The technical scheme can enable the slave Bluetooth equipment far away from the master Bluetooth equipment to also receive BIS signals with better signal quality.

Description

Bluetooth communication method, device, equipment, system and storage medium
Technical Field
The present application relates to the field of bluetooth communication, and in particular, to a bluetooth communication method, apparatus, device, system, and storage medium.
Background
Bluetooth is a standard wireless communication technology, which is used to exchange data between devices within a short distance, so as to simplify the data interaction process between electronic devices. With the continuous evolution of technology, bluetooth technology has iterated from early bluetooth 1.0 to bluetooth 5.2, and bluetooth 5.2 focuses on low energy Audio (LE Audio), which publishes multiple LE Audio specifications and a completely new low complexity communication codec (low complexity communication codec, LC 3), enhancing the bluetooth Audio experience.
In bluetooth 5.2, synchronous broadcast communication is introduced, and a broadcast synchronous stream (broadcast isochronous stream, BIS) is transmitted between a synchronous broadcaster and a synchronous receiver through a broadcast channel, and a plurality of BIS may form a broadcast synchronous group (broadcast isochronous group, BIG). The transmission range of bluetooth is limited, and if BIG communication is performed in a large space, a slave bluetooth device (i.e., a synchronous receiver) remote from a master bluetooth device (i.e., a synchronous broadcaster) may not receive the BIS signal transmitted from the master bluetooth device or the received BIS signal may have poor signal quality.
Disclosure of Invention
The application provides a Bluetooth communication method, a device, equipment, a system and a storage medium, which are used for solving the technical problems that BIS signals cannot be received by a slave Bluetooth device or the signal quality of the received BIS signals is poor when BIG communication is carried out in a large space.
In a first aspect, a bluetooth communication method is provided, and the bluetooth communication method is applied to a target relay bluetooth device in a bluetooth system, where the bluetooth system includes a master bluetooth device and a broadcast synchronization group that is composed of a plurality of slave bluetooth devices, where the broadcast synchronization group includes at least one relay bluetooth device, and the target relay bluetooth device is any one relay bluetooth device of the at least one relay bluetooth device; the method comprises the following steps:
receiving a first broadcast synchronous stream signal, wherein the first broadcast synchronous stream signal is a broadcast synchronous stream signal sent by the master Bluetooth device to slave Bluetooth devices in the broadcast synchronous group;
adjusting a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein presentation time of the second broadcast synchronous stream signal is synchronous with that of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is identical with that in the first broadcast synchronous stream signal;
and transmitting the second broadcast synchronous stream signal to the slave Bluetooth device in the broadcast synchronous group.
In the technical scheme, the BIG in the Bluetooth system comprises a relay Bluetooth device, after receiving BIS signals sent by a master Bluetooth device to slave Bluetooth devices in the BIG, the relay Bluetooth device in the BIG adjusts presentation delay parameters of the BIS signals to enable the adjusted BIS signals to be synchronous with presentation time of the BIS signals before adjustment, and then sends the adjusted BIS signals to the slave Bluetooth devices in the BIG. The relay Bluetooth device in the BIG plays a role of relay in the Bluetooth system, and the BIS signal sent by the master Bluetooth device can be transmitted to a farther range by sending the adjusted BIS signal to the slave Bluetooth device in the BIG, so that the slave Bluetooth device far away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the adjusted BIS signal is synchronized with the presentation time of the BIS signal before adjustment, the BIS signal can be synchronously presented in each slave bluetooth device in the BIG.
With reference to the first aspect, in one possible implementation manner, the adjusting a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal includes: determining a broadcast offset value of the broadcast data sent by the main Bluetooth device and the target relay Bluetooth device according to the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device; and determining the presentation delay parameter of the second broadcast synchronous stream signal according to the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value. And determining the presentation delay parameters of the BIS signals after adjustment according to the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the relay Bluetooth device, so that the presentation time synchronization of the BIS signals after adjustment and the BIS signals before adjustment can be ensured.
With reference to the first aspect, in a possible implementation manner, the determining, according to the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value, the presentation delay parameter of the second broadcast synchronous stream signal includes: and determining a difference between the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value as the presentation delay parameter of the second broadcast synchronous stream signal under the condition that the broadcast offset value is smaller than the presentation delay parameter of the first broadcast synchronous stream signal.
With reference to the first aspect, in a possible implementation manner, the determining, according to the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value, the presentation delay parameter of the second broadcast synchronous stream signal further includes: and modifying a broadcast anchor point of the target relay Bluetooth device under the condition that the broadcast offset value is larger than or equal to the presentation delay parameter of the first broadcast synchronous stream signal, so that the broadcast offset value is reduced to be smaller than the presentation 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 larger than the presentation delay parameter of the BIS signal, the broadcast offset value is reduced by modifying the broadcast anchor point of the target relay Bluetooth device, so that the presentation time synchronization of the adjusted BIS signal and the BIS signal before adjustment can be ensured.
With reference to the first aspect, in a possible implementation manner, the sending the second broadcast synchronization stream signal to the slave bluetooth device in the broadcast synchronization group includes: and when the broadcasting period of the target relay Bluetooth equipment is reached, the second broadcasting synchronous stream signal is sent to the slave Bluetooth equipment in the broadcasting synchronous group.
With reference to the first aspect, in a possible implementation manner, after the sending the second broadcast synchronization stream signal to the slave bluetooth device in the broadcast synchronization group, the method further includes: and outputting the broadcast data in the first broadcast synchronous stream signal according to the presentation delay parameter of the first broadcast synchronous stream signal.
With reference to the first aspect, in one possible implementation manner, the relay bluetooth device includes a slave bluetooth device in the broadcast synchronization group, where a distance from the master bluetooth device is greater than a preset distance; and/or the relay Bluetooth device comprises a slave Bluetooth device which receives the first broadcast synchronous stream signal in the broadcast synchronous group and has a received signal strength smaller than a preset received signal strength.
In a second aspect, a bluetooth communication apparatus is provided, which is applied to a target relay bluetooth device in a bluetooth system, where the bluetooth system includes a master bluetooth device and a broadcast synchronization group that includes a plurality of slave bluetooth devices, where the broadcast synchronization group includes at least one relay bluetooth device, and the target relay bluetooth device is any one relay bluetooth device of the at least one relay bluetooth device; the device comprises:
the broadcast receiving module is used for receiving a first broadcast synchronous stream signal, wherein the first broadcast synchronous stream signal is a broadcast synchronous stream signal sent by the master Bluetooth device to slave Bluetooth devices in the broadcast synchronous group;
the parameter adjustment module is used for adjusting the presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein the presentation time of the second broadcast synchronous stream signal is synchronous with the presentation time of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is the same as broadcast data in the first broadcast synchronous stream signal;
and the broadcast transmitting module is used for transmitting the second broadcast synchronous stream signal to the slave Bluetooth equipment in the broadcast synchronous group.
In a third aspect, there is provided a bluetooth device comprising a memory and one or more processors and a transceiver, the memory and the transceiver being connected to the one or more processors, the transceiver being for transmitting or receiving data, the one or more processors being for executing one or more computer programs stored in the memory, the one or more processors, when executing the one or more computer programs, causing the bluetooth device to implement the bluetooth communication method of the first aspect described above.
In a fourth aspect, there is provided a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the bluetooth communication method of the first aspect.
In a fifth aspect, a bluetooth system is provided, including a master bluetooth device and a broadcast synchronization group including a plurality of slave bluetooth devices, where the broadcast synchronization group includes at least one relay bluetooth device, and a target relay bluetooth device in the broadcast synchronization group is configured to perform the bluetooth communication method of the first aspect, where the target relay bluetooth device is any one of the at least one relay bluetooth device.
The application can realize the following technical effects: the relay Bluetooth device in the BIG plays a role of relay in the Bluetooth system, and the BIS signal sent by the master Bluetooth device can be transmitted to a farther range by sending the adjusted BIS signal to the slave Bluetooth device in the BIG, so that the slave Bluetooth device far away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the adjusted BIS signal is synchronized with the presentation time of the BIS signal before adjustment, the BIS signal can be synchronously presented in each slave bluetooth device in the BIG.
Drawings
Fig. 1 is a schematic diagram of a bluetooth system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a bluetooth communication method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a broadcast synchronization interval and a broadcast offset value according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a bluetooth communication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The technical scheme of the application is suitable for a Bluetooth communication scene, in particular for a scene that a master Bluetooth device and a slave Bluetooth device carry out BIG communication in the Bluetooth communication scene, wherein the master Bluetooth device is the Bluetooth device which searches and actively establishes connection in the Bluetooth communication scene, and the master Bluetooth device can search surrounding Bluetooth devices and select the Bluetooth devices which need to be connected to carry out pairing connection; a slave bluetooth device refers to a device waiting to be searched for a connection by a master bluetooth device in a bluetooth communication scenario. Specifically, the main bluetooth device may be a mobile phone, a notebook computer, etc.; the slave bluetooth device may be an earphone, an intelligent sound, etc., and the present application is not limited. It should be appreciated that a bluetooth device may either initiate a communication connection as a master device or receive a communication connection as a slave device; a bluetooth device may also act as both a master and a slave.
The technical solution of the present application may be applied to a bluetooth system composed of a master bluetooth device and a slave bluetooth device, as shown in fig. 1, a bluetooth system 10 may include a master bluetooth device 101 and a BIG102, where the BIG includes a plurality of slave bluetooth devices (E1, E2, E3, …, en), where n is the number of slave bluetooth devices in the BIG, and n may theoretically be any integer greater than 0.
The BIS link is a unidirectional broadcast link, the master Bluetooth device can send BIS signals to each slave Bluetooth device in the BIG through the BIS link, the BIS signals are unidirectional signals, and the master Bluetooth device sends the BIS signals in a broadcast mode, so that time synchronization of the BIS signals belonging to the same BIG is realized, and time sequence reference data in the same BIG is shared. Wherein the master bluetooth device may create one or more BIG and broadcast BIG information (BIG fo) of the created BIG; the slave Bluetooth device can acquire BIG information by interception on a broadcast channel so as to join in BIG created by the master Bluetooth device, and further receive BIS signals sent by the master Bluetooth device according to the BIG information.
At least one relay Bluetooth device exists in the plurality of slave Bluetooth devices of the BIG, and the relay Bluetooth device is used as a common slave Bluetooth device, receives and outputs BIS signals sent by the master Bluetooth device, and also is used as a relay device in the BIG, and sends the received BIS signals to other slave Bluetooth devices in the BIG after receiving the BIS signals sent by the master Bluetooth device. In the application, the process that the relay bluetooth device sends 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 that the relay bluetooth device provides relay service for the BIG.
The relay bluetooth device may include all the slave bluetooth devices in the BIG, i.e. each slave bluetooth device in the BIG is a relay bluetooth device. The relay bluetooth device may also include a particular slave bluetooth device in the BIG, i.e. only a portion of the slave bluetooth devices in the BIG are relay bluetooth devices.
In some possible cases, the relay bluetooth device may be a companion device to the master bluetooth device, which may be fixed in space, and the BIG is added after the master bluetooth device creates the BIG to provide relay services for the BIG. The companion device can be used to provide relay services for one BIG or multiple BIG. Whether the companion device provides relay services specifically for one BIG or multiple BIG depends on the number of BIG that the companion device joins, the number of BIG that the companion device joins and which BIG that the companion device joins specifically can be set by the user.
In other possible cases, the relay bluetooth device may also generate itself from the slave bluetooth devices in the BIG, and the slave bluetooth devices in the BIG may determine whether they are relay bluetooth devices based on a preset rule.
In a specific implementation, the relay bluetooth device may include a slave bluetooth device in the BIG that is more than a preset distance from the master bluetooth device. Specifically, after each bluetooth device joins a BIG, when receiving a BIS signal transmitted by a master bluetooth device, each slave bluetooth device may detect a received signal strength (received signal strength indicator, RSSI) of the received BIS signal, and then determine a distance between each slave bluetooth device and the master bluetooth device according to the RSSI; if the distance between the target slave Bluetooth device and the master Bluetooth device in the BIG is larger than the preset distance, the target slave Bluetooth device can determine that the target slave Bluetooth device is the relay slave Bluetooth device in the BIG, and further relay service is provided for the BIG. After each Bluetooth device detects RSSI, the distance between each slave Bluetooth device and the master Bluetooth device can be determined according to a preset RSSI-distance curve, wherein the RSSI-distance curve is used for reflecting the corresponding relation between the RSSI and the distance; also according to the formula d=
a s b(RSSI)-A10 10*n D is a distance value, A is RSSI when a master Bluetooth device (transmitting end) and a slave Bluetooth device (receiving end) are separated by 1 meter, A is measured through a pre-experiment, and n is an environmental attenuation factor.
Optionally, the relay slave bluetooth device may further include a slave bluetooth device in which an RSSI of a received BIS signal in the BIG is less than a preset received signal strength. Specifically, after each bluetooth device joins a BIG, when receiving a BIS signal sent by a master bluetooth device, each bluetooth device may detect the RSSI of the received BIS signal; if the RSSI detected by the target slave Bluetooth device in each slave Bluetooth device is smaller than the preset received signal strength, the target slave Bluetooth device can determine that the target slave Bluetooth device is the relay slave Bluetooth device in the BIG, and further relay service is provided for the BIG.
It should be understood that the relay slave bluetooth device in BIG may not be limited to the above-described case, but may have more cases, and the present application is not limited thereto.
Based on the bluetooth system shown in fig. 1, the technical scheme of the present application may be implemented, where the technical scheme of the present application is specifically applied to a target relay bluetooth device in the bluetooth system, and the target relay bluetooth device may be any relay bluetooth device in BIG.
The technical scheme of the application is specifically described below.
Referring to fig. 2, fig. 2 is a schematic flow chart of a bluetooth communication method according to an embodiment of the present application, where the method may be applied to a bluetooth system, and the bluetooth system may be as shown in fig. 1. As shown in fig. 2, the method comprises the steps of:
s201, the master Bluetooth device sends a first BIS signal to the slave Bluetooth devices in the BIG, and the target relay Bluetooth device receives the first BIS signal.
Specifically, the master bluetooth device may broadcast the first BIS signal on a channel corresponding to the channel hopping table in the BIG corresponding to the BIG when the broadcasting time of the first BIS signal is reached according to BIG information corresponding to the BIG. After the target relay bluetooth device obtains the BIG information corresponding to the BIG, the target relay bluetooth device can monitor the first BIS signal on the channel corresponding to the channel hopping table in the BIG information corresponding to the first BIG according to the BIG information corresponding to the first BIG, so as to receive the first BIS signal.
S202, the target relay Bluetooth device adjusts the presentation delay parameter of the first BIS signal to obtain a second BIS signal.
Here, the presentation delay (presentation delay) parameter of the first BIS signal is used to indicate a time period from a service data unit (service data unit, SDU) synchronization reference time point corresponding to the first BIS signal to a time point when broadcast data in the first BIS signal is output from the bluetooth device. In the period corresponding to the presentation delay parameter of the first BIS signal, the slave bluetooth device may perform buffering, decoding, and 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 may determine an output time point of the broadcast data in the first BIS signal according to the presentation delay parameter in the first BIS signal.
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, i.e. the second BIS signal is output at the same point in time as the first BIS signal. The broadcast data in the second BIS signal is identical to 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 may be audio data or the like.
The target relay bluetooth device may adjust the presentation delay parameter of the first BIS signal by the following steps A1-A2:
a1, determining a broadcast offset value of the broadcast data transmitted by the main Bluetooth device and the target relay Bluetooth device according to the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device.
Herein, the broadcast synchronization (ISO) interval of the master bluetooth device and the broadcast synchronization interval of the target relay bluetooth device may refer to fig. 3, which refers to a duration of an interval period in which the master bluetooth device transmits broadcast data and an interval period in which the relay bluetooth device transmits broadcast data. The interval period of the transmission of the broadcast data by the master bluetooth device may be as shown by T1 in fig. 3, and the interval period of the transmission of the broadcast data by the relay bluetooth device may be as shown by T2 in fig. 3. The interval period of the broadcast data transmitted by the main bluetooth device may be the same as or different from the interval period of the broadcast data transmitted by the relay bluetooth device.
The broadcast offset value refers to a time offset value between a time point when the master bluetooth device transmits broadcast data and a time point when the slave bluetooth device transmits broadcast data, and is greater than or equal to 0. The broadcast offset value may be as shown by t in fig. 3.
Specifically, a time difference between a first second broadcast anchor point located after the first broadcast anchor point and the first broadcast anchor point may be calculated, so as to obtain a broadcast offset value of broadcast data sent by the master bluetooth device and the target relay bluetooth device, where the first broadcast anchor point is a broadcast anchor point of the master bluetooth device, that is, a starting time point when the master bluetooth device starts sending broadcast data, and the second broadcast anchor point is a broadcast anchor point of the target relay bluetooth device, that is, a starting time point when the target relay bluetooth device starts sending broadcast data.
A2, determining 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 transmitted by the main Bluetooth device and the target relay Bluetooth device.
In the case that the broadcast offset value is smaller 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 may be determined as 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 of the broadcast data transmitted by the master bluetooth device and the target relay bluetooth device. Thus, the second BIS signal and the first BIS signal can be presented at the same time.
In case that 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 may be modified such that the broadcast offset value is reduced to be less than the presentation delay parameter of the first BIS signal, and then a 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. Wherein the broadcast offset value may be reduced by advancing the broadcast anchor 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, the presentation time synchronization of the BIS signal after adjustment and the BIS signal before adjustment can be ensured. It should be understood that, the modification of the broadcast anchor point of the target relay bluetooth device is performed without affecting the normal traffic of the target relay bluetooth device, and the modification of the broadcast anchor point of the target relay bluetooth device does not affect other communication links of the target relay bluetooth traffic.
And determining the presentation delay parameters of the BIS signals after adjustment according to the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the relay Bluetooth device, so that the presentation time synchronization of the BIS signals after adjustment and the BIS signals before adjustment can be ensured.
And S203, the target relay Bluetooth device transmits a second BIS signal to the slave Bluetooth device in the BIG.
Specifically, the target relay bluetooth device may transmit the second BIS signal to the slave bluetooth device in the BIG when the broadcasting period of the target relay bluetooth device is reached. The target relay bluetooth device may broadcast the second BIS signal on a channel corresponding to the channel hopping table in the BIG corresponding to the BIG information.
Alternatively, the target relay bluetooth device may output the broadcast data in the first BIS signal according to the presentation delay parameter of the first BIS signal after transmitting the second BIS signal to the slave bluetooth device in the BIG. The target relay bluetooth device may determine an 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.
In the technical scheme corresponding to fig. 2, the BIG bit in the bluetooth system includes a relay bluetooth device, and after receiving the BIS signal sent by the master bluetooth device to the slave bluetooth device in the BIG bit, the relay bluetooth device in the BIG bit adjusts the presentation delay parameter of the BIS signal, so that the adjusted BIS signal is synchronized with the presentation time of the BIS signal before adjustment, and then sends the adjusted BIS signal to the slave bluetooth device in the BIG bit. The relay Bluetooth device in the BIG plays a role of relay in the Bluetooth system, and the BIS signal sent by the master Bluetooth device can be transmitted to a farther range by sending the adjusted BIS signal to the slave Bluetooth device in the BIG, so that the slave Bluetooth device far away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the adjusted BIS signal is synchronized with the presentation time of the BIS signal before adjustment, the BIS signal can be synchronously presented in each slave bluetooth device in the BIG.
The method of the present application is described above and the apparatus of the present application is described below.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a bluetooth communication apparatus according to an embodiment of the present application, which is applied to a target relay bluetooth device in a bluetooth system, where the bluetooth system may be as shown in fig. 1, and the target relay bluetooth device is any relay bluetooth device in the bluetooth system. As shown in fig. 4, the bluetooth communication device 30 includes:
a broadcast receiving module 301, 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 slave bluetooth devices in the broadcast synchronization group;
a parameter adjustment module 302, configured to adjust a presentation delay parameter of the first broadcast synchronization stream signal to obtain a second broadcast synchronization stream signal, where a presentation time of the second broadcast synchronization stream signal is synchronous 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 broadcast data in the first broadcast synchronization stream signal;
a broadcast transmitting module 303, configured to transmit the second broadcast synchronization stream signal to a slave bluetooth device in the broadcast synchronization group.
In one possible design, the parameter adjustment module 302 is specifically configured to: determining a broadcast offset value of the broadcast data sent by the main Bluetooth device and the target relay Bluetooth device according to the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device; and determining the presentation delay parameter of the second broadcast synchronous stream signal according to the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value.
In one possible design, the parameter adjustment module 302 is specifically configured to: and determining a difference between the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value as the presentation delay parameter of the second broadcast synchronous stream signal under the condition that the broadcast offset value is smaller than the presentation delay parameter of the first broadcast synchronous stream signal.
In one possible design, the parameter adjustment module 302 is specifically configured to: and modifying a broadcast anchor point of the target relay Bluetooth device under the condition that the broadcast offset value is larger than or equal to the presentation delay parameter of the first broadcast synchronous stream signal, so that the broadcast offset value is reduced to be smaller than the presentation delay parameter of the first broadcast synchronous stream signal.
In one possible design, the broadcast transmitting module 303 is specifically configured to: and when the broadcasting period of the target relay Bluetooth equipment is reached, the second broadcasting synchronous stream signal is sent to the slave Bluetooth equipment in the broadcasting synchronous group.
In one 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.
In one possible design, the relay bluetooth device includes a slave bluetooth device in the broadcast synchronization group that is more than a preset distance from the master bluetooth device; and/or the relay Bluetooth device comprises a slave Bluetooth device which receives the first broadcast synchronous stream signal in the broadcast synchronous group and has a received signal strength smaller than a preset received signal strength.
It should be noted that, in the embodiment corresponding to fig. 4, the details not mentioned in the foregoing description of the method embodiment may be referred to, and will not be repeated here.
After receiving the BIS signal sent by the master Bluetooth device to the slave Bluetooth device in the BIG, the device adjusts the presentation delay parameter of the BIS signal to synchronize the presentation time of the BIS signal after adjustment with the presentation time of the BIS signal before adjustment, and then sends the BIS signal after adjustment to the slave Bluetooth device in the BIG. The relay Bluetooth device in the BIG plays a role of relay in the Bluetooth system, and the BIS signal sent by the master Bluetooth device can be transmitted to a farther range by sending the adjusted BIS signal to the slave Bluetooth device in the BIG, so that the slave Bluetooth device far away from the master Bluetooth device can also receive the BIS signal with better signal quality; since the adjusted BIS signal is synchronized with the presentation time of the BIS signal before adjustment, the BIS signal can be synchronously presented in each slave bluetooth device in the BIG.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application, where 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 by a bus, to the processor 401.
The processor 401 is configured to support the bluetooth device 40 to perform the corresponding functions in the method embodiments described above. The processor 401 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP), a hardware chip or any combination thereof. The hardware chip may be an application specific integrated circuit (application specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
The memory 402 is used for storing program codes and the like. Memory 402 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 402 may also include a non-volatile memory (NVM), such as read-only memory (ROM), flash memory (flash memory), hard disk (HDD) or Solid State Drive (SSD); memory 402 may also include a combination of the above types of memory.
The transceiver 403 is used for transmitting data, in particular, the transceiver 403 is a bluetooth transceiver.
The processor 401 may call the program code to perform the following operations:
receiving a first broadcast synchronous stream signal, wherein the first broadcast synchronous stream signal is a broadcast synchronous stream signal sent by the master Bluetooth device to slave Bluetooth devices in the broadcast synchronous group;
adjusting a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein presentation time of the second broadcast synchronous stream signal is synchronous with that of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is identical with that in the first broadcast synchronous stream signal;
and transmitting the second broadcast synchronous stream signal to the slave Bluetooth device in the broadcast synchronous group.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of the previous embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs stored in a computer-readable storage medium, which when executed, may include the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only memory (ROM), a random-access memory (Random Access memory, RAM), or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (11)

1. The Bluetooth communication method is characterized by being applied to target relay Bluetooth equipment in a Bluetooth system, wherein the Bluetooth system comprises a master Bluetooth equipment and a broadcast synchronization group consisting of a plurality of slave Bluetooth equipment, the broadcast synchronization group comprises at least one relay Bluetooth equipment, and the target relay Bluetooth equipment is any one relay Bluetooth equipment in the at least one relay Bluetooth equipment; the method comprises the following steps:
receiving a first broadcast synchronous stream signal, wherein the first broadcast synchronous stream signal is a broadcast synchronous stream signal sent by the master Bluetooth device to slave Bluetooth devices in the broadcast synchronous group;
adjusting a presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein presentation time of the second broadcast synchronous stream signal is synchronous with that of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is identical with that in the first broadcast synchronous stream signal;
and transmitting the second broadcast synchronous stream signal to the slave Bluetooth device in the broadcast synchronous group.
2. The method of claim 1, wherein said adjusting the presentation delay parameter of the first broadcast synchronization stream signal to obtain a second broadcast synchronization stream signal comprises:
determining a broadcast offset value of the broadcast data sent by the main Bluetooth device and the target relay Bluetooth device according to the broadcast synchronization interval of the main Bluetooth device and the broadcast synchronization interval of the target relay Bluetooth device;
and determining the presentation delay parameter of the second broadcast synchronous stream signal according to the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value.
3. The method of claim 2, wherein said 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 comprises:
and determining a difference between the presentation delay parameter of the first broadcast synchronous stream signal and the broadcast offset value as the presentation delay parameter of the second broadcast synchronous stream signal under the condition that the broadcast offset value is smaller than the presentation delay parameter of the first broadcast synchronous stream signal.
4. The method of claim 3, wherein said 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 further comprises:
and modifying a broadcast anchor point of the target relay Bluetooth device under the condition that the broadcast offset value is larger than or equal to the presentation delay parameter of the first broadcast synchronous stream signal, so that the broadcast offset value is reduced to be smaller than the presentation delay parameter of the first broadcast synchronous stream signal.
5. The method according to any one of claims 1-4, wherein said transmitting the second broadcast synchronization stream signal to the slave bluetooth device in the broadcast synchronization group comprises:
and when the broadcasting period of the target relay Bluetooth equipment is reached, the second broadcasting synchronous stream signal is sent to the slave Bluetooth equipment in the broadcasting synchronous group.
6. The method of any of claims 1-4, after the sending the second broadcast synchronization stream signal to the slave bluetooth device in the broadcast synchronization group, further comprising:
and outputting the broadcast data in the first broadcast synchronous stream signal according to the presentation delay parameter of the first broadcast synchronous stream signal.
7. The method of any of claims 1-4, wherein the relay bluetooth device comprises a slave bluetooth device in the broadcast synchronization group that is more than a preset distance from the master bluetooth device; and/or the number of the groups of groups,
the relay Bluetooth device comprises a slave Bluetooth device which receives the first broadcast synchronous stream signal in the broadcast synchronous group, wherein the received signal strength of the slave Bluetooth device is smaller than the preset received signal strength.
8. A bluetooth communication device, characterized by being applied to a target relay bluetooth device in a bluetooth system, wherein the bluetooth system comprises a master bluetooth device and a broadcast synchronization group consisting of a plurality of slave bluetooth devices, the broadcast synchronization group comprises at least one relay bluetooth device, and the target relay bluetooth device is any one relay bluetooth device of the at least one relay bluetooth device; the device comprises:
the broadcast receiving module is used for receiving a first broadcast synchronous stream signal, wherein the first broadcast synchronous stream signal is a broadcast synchronous stream signal sent by the master Bluetooth device to slave Bluetooth devices in the broadcast synchronous group;
the parameter adjustment module is used for adjusting the presentation delay parameter of the first broadcast synchronous stream signal to obtain a second broadcast synchronous stream signal, wherein the presentation time of the second broadcast synchronous stream signal is synchronous with the presentation time of the first broadcast synchronous stream signal, and broadcast data in the second broadcast synchronous stream signal is the same as broadcast data in the first broadcast synchronous stream signal;
and the broadcast transmitting module is used for transmitting the second broadcast synchronous stream signal to the slave Bluetooth equipment in the broadcast synchronous group.
9. A bluetooth device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the bluetooth device to implement the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-7.
11. A bluetooth system comprising a master bluetooth device and a broadcast synchronization group of a plurality of slave bluetooth devices, the broadcast synchronization group comprising at least one relay bluetooth device, a target relay bluetooth device in the broadcast synchronization group being configured to perform the method according to any one of claims 1-7, the target relay bluetooth device being any one of the at least one relay bluetooth device.
CN202310704215.0A 2023-06-14 2023-06-14 Bluetooth communication method, device, equipment, system and storage medium Pending CN116647810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310704215.0A CN116647810A (en) 2023-06-14 2023-06-14 Bluetooth communication method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310704215.0A CN116647810A (en) 2023-06-14 2023-06-14 Bluetooth communication method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN116647810A true CN116647810A (en) 2023-08-25

Family

ID=87618819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310704215.0A Pending CN116647810A (en) 2023-06-14 2023-06-14 Bluetooth communication method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN116647810A (en)

Similar Documents

Publication Publication Date Title
US9548869B2 (en) Systems and methods for implementing multicasting using personal area network “pan” wireless technology
US11444800B2 (en) Topology switching method based on isochronous channel, apparatus, system and storage medium
US20120057575A1 (en) Method and apparatus for simultaneous beam training
US8565672B2 (en) Communication
CN106936560B (en) Frame synchronization method, user equipment and base station
CN109996325B (en) Clock synchronization system and method of wireless sensor network
CN114337724B (en) Wireless communication method, device and equipment based on dual-channel technology
US20220278719A1 (en) Method and apparatus for selecting antenna panel
KR20160099662A (en) Method and apparatus for data-sharing
CN111447673A (en) Synchronization method, device, storage medium and node of wireless ad hoc network
US9839050B2 (en) Fast initial link setup discovery (FD) frame transmission
CN108966339B (en) Base station clock synchronization method, device, equipment and computer readable storage medium
CN103875293A (en) Methods and apparatus for adaptive paging in peer-to-peer networks
CN116647810A (en) Bluetooth communication method, device, equipment, system and storage medium
KR102034292B1 (en) Method and terminal for transmitting synchronization signal in talk-around direct communication network
CN116347587A (en) Method and device for transmitting through link synchronization signal
EP3860170A1 (en) Method for transmitting synchronization signal and communication device
CN116567598A (en) Bluetooth communication method, device, equipment, system and storage medium
CN115004781B (en) Transmission timing adjustment method, device and storage medium
CN117544932A (en) Bluetooth communication method, device, equipment and storage medium
CN116647827A (en) Bluetooth communication method, device, equipment, system and storage medium
CN117651267A (en) BIG broadcast access method, device, equipment, system and storage medium
CN113365325B (en) Data transmission method and device, storage medium and electronic equipment
CN116723493A (en) Bluetooth communication method, device, equipment and storage medium
CN116567551A (en) Bluetooth communication method, device, equipment, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination