CN117319976A - 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
CN117319976A
CN117319976A CN202311134589.XA CN202311134589A CN117319976A CN 117319976 A CN117319976 A CN 117319976A CN 202311134589 A CN202311134589 A CN 202311134589A CN 117319976 A CN117319976 A CN 117319976A
Authority
CN
China
Prior art keywords
transmission mode
bluetooth
bis
bluetooth device
slave
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
CN202311134589.XA
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 CN202311134589.XA priority Critical patent/CN117319976A/en
Publication of CN117319976A publication Critical patent/CN117319976A/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/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
    • 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
    • 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/15Setup of multiple wireless link connections
    • 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)

Abstract

The application provides a Bluetooth communication method, a device, equipment, a system and a storage medium, wherein the Bluetooth communication method comprises the following steps: the method comprises the steps that a master Bluetooth device and a slave Bluetooth device establish an LE-BIS transmission mode; the main Bluetooth equipment acquires the sub-event quantity parameters of the BIS stream in the connectionless broadcast audio group; the master Bluetooth device establishes a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth device on the BIS stream according to the sub-event quantity parameter; the master Bluetooth device distributes corresponding connection parameters to the slave Bluetooth device through a BLE transmission mode or an LE-CIS transmission mode, so that the slave Bluetooth device sends Bluetooth data to the master Bluetooth device on a BIS stream according to the connection parameters. The technical scheme can improve the communication reliability of the LE-BIS transmission mode.

Description

Bluetooth communication method, device, equipment, system and storage medium
Technical Field
The present disclosure relates to the field of bluetooth communications, 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, the bluetooth technology has iterated from early bluetooth 1.0 to bluetooth 5.3, and bluetooth 5.3 focuses on bluetooth Audio with low energy (LE Audio), so that the limitation that conventional bluetooth cannot point-to-multi transmission synchronous stream data can be broken, multi-stream transmission can be realized, and in addition, broadcast Audio sharing can be combined, and bluetooth Audio experience can be enhanced.
The LE Audio may support two transmission modes, LE-CIS (LE Connected Isochronous Stream, LE connection synchronization stream) transmission mode and LE-BIS (LE Broadcast Isochronous Stream, LE broadcast synchronization stream) transmission mode, respectively. The LE-BIS transmission mode is a non-connection operation mode, that is, the master bluetooth device and the slave bluetooth device are in unidirectional communication. The synchronous broadcast group (Broadcast isochronous stream and group, BIG) in LE-BIS transmission mode supports non-connected multi-receiver data stream synchronous transmission, because of unidirectional transmission, theoretically, BIG slave bluetooth devices have no upper limit, and can be used for broadcasting audio data to a public area to answer to a plurality of bluetooth receiving devices. However, due to the unidirectional communication mechanism of the LE-BIS transmission mode, the master bluetooth device cannot determine the reception situation of the slave bluetooth device for bluetooth data, and the reliability is low.
Disclosure of Invention
The application provides a Bluetooth communication method, a Bluetooth communication device, bluetooth communication equipment, bluetooth communication system and Bluetooth communication storage medium, and aims to solve the technical problem that reliability is low when an LE-BIS transmission mode is used.
In a first aspect, a bluetooth communication method is provided, applied to a master bluetooth device in a bluetooth system, where the master bluetooth device and a slave bluetooth device establish an LE-BIS transmission mode, and the method includes: acquiring the number parameters of sub-events of BIS streams in a connectionless broadcast audio group; establishing a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth equipment on the BIS stream according to the sub-event quantity parameter; and distributing corresponding connection parameters to the slave Bluetooth equipment through the BLE transmission mode or the LE-CIS transmission mode, so that the slave Bluetooth equipment sends Bluetooth data to the master Bluetooth equipment on the BIS stream according to the connection parameters.
With reference to the first aspect, in a possible implementation manner, after the allocating, by the BLE transmission mode or the LE-CIS transmission mode, a corresponding connection parameter to the slave bluetooth device, the method further includes: and switching off the BLE transmission mode or the LE-CIS transmission mode.
With reference to the first aspect, in a possible implementation manner, the connection parameter includes any one or more of BIS stream identity, connectionless broadcast audio group identity, and sub-event number parameter identity,
with reference to the first aspect, in a possible implementation manner, the establishing an LE-CIS transmission mode with the slave bluetooth device on the BIS stream according to the sub-event number parameter includes: determining the number of slave Bluetooth devices for establishing an LE-CIS transmission mode on the BIS stream according to the sub-event number parameter; the LE-CIS transmission mode is established on the BIS stream simultaneously with a determined number of slave bluetooth devices.
With reference to the first aspect, in a possible implementation manner, the establishing a BLE transmission mode with the slave bluetooth device on the BIS stream according to the number of sub-events parameter includes: determining the number of slave Bluetooth devices establishing a BLE transmission mode on the BIS stream according to the sub-event number parameter; selecting a first slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a first sub-event of the CIS stream; after the BLE transmission mode of the first slave Bluetooth device is disconnected, selecting a second slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a second sub-event of the CIS stream until the number of the slave Bluetooth devices on which the BLE transmission mode is established on the BIS stream is equal to the number of the sub-events.
With reference to the first aspect, in a possible implementation manner, after the establishing a BLE transmission mode or a LE-CIS transmission mode with the slave bluetooth device on the BIS stream according to the number of sub-events parameter, the method further includes: adjusting the sub-event time interval of the LE-BIS transmission mode according to target communication parameters, wherein the target communication parameters at least comprise: payload data amount, minimum sub-event interval, inter-frame interval.
In a second aspect, a bluetooth communication method is provided, applied to a slave bluetooth device in a bluetooth system, where the slave bluetooth device and a master bluetooth device establish an LE-BIS transmission mode, and the method includes: establishing a BLE transmission mode or an LE-CIS transmission mode with the main Bluetooth equipment, and receiving connection parameters distributed by the main Bluetooth equipment; and sending Bluetooth data to the main Bluetooth equipment on the corresponding BIS stream according to the connection parameters.
In a third aspect, there is provided a bluetooth communication apparatus for use in a master bluetooth device in a bluetooth system, the master bluetooth device and a slave bluetooth device establishing an LE-BIS transmission mode, the bluetooth communication apparatus comprising: the acquisition module is used for acquiring the sub-event quantity parameters of the BIS streams in the connectionless broadcast audio group; the establishing module is used for establishing a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth equipment on the BIS stream according to the sub-event quantity parameter; and the allocation module is used for allocating corresponding connection parameters to the slave Bluetooth equipment through a BLE transmission mode or an LE-CIS transmission mode so that the slave Bluetooth equipment sends Bluetooth data to the master Bluetooth equipment on the BIS stream according to the connection parameters.
In a fourth aspect, there is provided a bluetooth communication apparatus for use in a slave bluetooth device in a bluetooth system, the slave bluetooth device establishing an LE-BIS transmission mode with a master bluetooth device, the bluetooth communication apparatus comprising: the receiving module is used for establishing a BLE transmission mode or an LE-CIS transmission mode with the main Bluetooth equipment and receiving connection parameters distributed by the main Bluetooth equipment; and the sending module is used for sending Bluetooth data to the main Bluetooth equipment on the corresponding BIS stream according to the connection parameters.
In a fifth aspect, there is provided 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 the first aspect, or the method of the second aspect.
In a sixth aspect, a bluetooth system is provided, including a master bluetooth device and a slave bluetooth device, where the slave bluetooth device and the master bluetooth device establish an LE-BIS transmission mode; the master bluetooth device for implementing the method according to the first aspect; the slave bluetooth device is configured to implement the method according to the second aspect.
In a seventh 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 method of the first aspect or the method of the second aspect.
The application can realize the following technical effects: the master Bluetooth device establishes an LE-BIS transmission mode with the slave Bluetooth device in advance, the master Bluetooth device establishes a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth device according to the sub-event number parameter of the BIS stream in the connectionless broadcast audio group by acquiring the sub-event number parameter, and distributes corresponding connection parameters to the slave Bluetooth device according to the BLE transmission mode or the LE-CIS transmission mode, so that the slave Bluetooth device can send Bluetooth data to the master Bluetooth device on the BIS stream according to the connection parameters. According to the method and the device, the two-way communication mechanism of the BLE transmission mode or the LE-CIS transmission mode is fully utilized, when the master Bluetooth device and the slave Bluetooth device establish the LE-BIS transmission mode, the slave Bluetooth device can receive the connection parameters through the BLE transmission mode or the LE-CIS transmission mode, bluetooth data are sent on the BIS stream through the connection parameters, the master Bluetooth device can judge whether the slave Bluetooth device receives the Bluetooth data broadcasted by the master Bluetooth device through the LE-BIS transmission mode or not, and the data reliability of using the LE-BIS transmission mode is improved.
Drawings
Fig. 1 is a communication diagram of a conventional LE-BIS transmission mode;
FIG. 2 is a diagram illustrating a prior art BIS event communication;
fig. 3 is a schematic structural diagram of a bluetooth system according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a bluetooth communication method according to an embodiment of the present application;
fig. 5 is a schematic diagram of connection parameter allocation according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth communication device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a bluetooth communication device according to an embodiment of the present application;
fig. 8 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 drawings in the embodiments of the present application.
The technical scheme is suitable for Bluetooth communication scenes, and is particularly suitable for scenes using LE-BIS transmission modes in the Bluetooth communication scenes. The main Bluetooth device searches surrounding Bluetooth devices, selects Bluetooth devices to be connected for pairing connection, and broadcasts Bluetooth data to the auxiliary Bluetooth devices through the LE-BIS transmission mode; the slave bluetooth device refers to a device waiting to be searched for connection by the master bluetooth device in a bluetooth communication scene, and receives bluetooth data broadcasted by the master bluetooth device through the LE-BIS transmission mode. Specifically, the main bluetooth device may be a mobile phone, a notebook computer, a desktop computer, etc.; from bluetooth equipment can be earphone, intelligent stereo set, cell-phone, computer etc. this application does not do the restriction. It should be appreciated that a bluetooth device may either initiate a communication connection as a master bluetooth device or receive a communication connection as a slave bluetooth device; in some embodiments, a bluetooth device may also act as both a master bluetooth device and a slave bluetooth device.
To facilitate an understanding of the present application, an LE-BIS transmission mode will be described first. Fig. 1 is a schematic diagram of a conventional LE-BIS transmission mode. The BIS streams may form a connectionless broadcast audio group (Broadcast isochronous stream and group, BIG) in which data synchronization is achieved by a periodically broadcast PDU (payload data) containing a time stamp for each BIS stream, and once synchronized, each slave bluetooth device may receive synchronized bluetooth data. For the same example, if a cell phone is playing, the left and right ears of each of a group of people must also receive synchronized data streams, then the left and right ear data must belong to the same connectionless broadcast audio group.
Unlike LE-CIS transmission mode, the LE-CIS transmission mode is bidirectional transmission, and the LE-BIS transmission mode is unidirectional transmission. Fig. 2 is a communication diagram of a conventional BIS event. Event X and event x+1 in fig. 2 belong to the same connectionless broadcast audio group, each event being divided into one or more sub-events, the time period between the start of transmission of bluetooth data in each sub-event and the start of transmission of bluetooth data in the next sub-event being referred to as a sub-event time interval (sub-interval). The ISO interval (ISO-interval) refers to the time period between the start transmission time of bluetooth data in event X of one connectionless broadcast audio group and the start transmission time of bluetooth data in the next event x+1. Of the sub-events in each event in fig. 2, only the master bluetooth device feeds back information to the slave bluetooth device (i.e., the TX window in fig. 2, which is used for data transmission from the master bluetooth device to the slave bluetooth device), and no slave bluetooth device feeds back information to the master bluetooth device.
Based on the unidirectional communication principle of the LE-BIS transmission mode, it can be seen that the master Bluetooth device cannot know the specific condition of receiving the Bluetooth data from the Bluetooth device, and the reliability degree of communication is low. In view of this, the present application proposes a bluetooth communication method, apparatus, device, system and storage medium, which can improve the communication reliability in LE-BIS transmission mode. The technical solution of the present application may be applied to the bluetooth system shown in fig. 3, and as shown in fig. 3, the bluetooth system 30 may include a master bluetooth device 301 and a slave bluetooth device 302, where the master bluetooth device 301 may simultaneously communicate with a plurality of slave bluetooth devices 302, and establish LE-BIS transmission modes with the plurality of slave bluetooth devices 302. In some possible embodiments, the master bluetooth device 301 and the slave bluetooth device 302 may establish a BLE transmission mode or a LE-CIS transmission mode with the slave bluetooth device 302 at the same time as establishing a LE-BIS transmission mode.
Based on the system shown in fig. 3, the technical solution of the present application is specifically described below.
Referring to fig. 4, fig. 4 is a schematic flow chart of a bluetooth communication method according to an embodiment of the present application. As shown in fig. 4, the method can be applied to a master bluetooth device that establishes an LE-BIS transmission mode with a slave bluetooth device. The method shown in fig. 4 comprises the steps of:
s401, the main Bluetooth device acquires the sub-event number parameter of the BIS stream in the connectionless broadcast audio group.
It should be noted that, when the master bluetooth device and the slave bluetooth device establish the LE-BIS transmission mode, the Number of sub-events (NSE) parameter is set in each connectionless broadcast audio group, where the Number of sub-events parameter indicates the Number of sub-events of the BIS stream in a BIS event.
S402, according to the sub-event number parameters, the master Bluetooth device and the slave Bluetooth device establish a BLE transmission mode or an LE-CIS transmission mode.
It should be noted that, the connectionless broadcast audio group has a plurality of BIS streams, and the master bluetooth device may establish an LE-CIS transmission mode or a BLE transmission mode according to the number of sub-events parameter and the BIS streams corresponding to the number of sub-events parameter.
In one embodiment, the establishing, by the master bluetooth device and the slave bluetooth device, an LE-CIS transmission mode according to the number of sub-events parameter includes: the master Bluetooth device determines the number of slave Bluetooth devices for establishing an LE-CIS transmission mode on the BIS stream according to the sub-event number parameter; the master bluetooth device establishes the LE-CIS transmission mode on the BIS stream simultaneously with a determined number of slave bluetooth devices.
For example, if the master bluetooth device acquires a BIS stream with a value of 5 for the number of sub-events parameter, it may indicate that the master bluetooth device may establish an LE-CIS transmission mode or BLE transmission mode with 5 slave bluetooth devices on the BIS stream.
In one embodiment, the LE-CIS transmission mode is a one-to-many transmission mode, and the master bluetooth device establishes the LE-CIS transmission mode with the slave bluetooth device on the BIS stream according to the sub-event number parameter, including: the master Bluetooth device determines the number of slave Bluetooth devices for establishing an LE-CIS transmission mode on the BIS stream according to the sub-event number parameter; the master bluetooth device establishes LE-CIS transmission modes simultaneously with a determined number of slave bluetooth devices on the BIS stream.
For another example, if the master bluetooth device obtains a value of 5 for the number of sub-events parameter of a BIS stream, the master bluetooth device may select 5 slave bluetooth devices that have established the LE-BIS transmission mode with the master bluetooth device, and establish the LE-CIS transmission mode with the 5 slave bluetooth devices on the BIS stream at the same time.
In one embodiment, the BLE transmission mode is a one-to-one transmission mode, and the master bluetooth device establishes the BLE transmission mode with the slave bluetooth device on the BIS stream according to the number of sub-events parameter, including: determining the number of slave Bluetooth devices establishing a BLE transmission mode on the BIS stream according to the sub-event number parameter; selecting a first slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a first sub-event of the CIS stream; after the BLE transmission mode of the first slave Bluetooth device is disconnected, selecting a second slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a second sub-event of the CIS stream until the number of the slave Bluetooth devices on which the BLE transmission mode is established on the BIS stream is equal to the number of the sub-events.
For another example, if the master bluetooth device obtains a value of 5 for the number of sub-events parameter of a BIS stream in view of the BLE transmission mode being a one-to-one transmission mode, the master bluetooth device may select 5 slave bluetooth devices that have established the LE-BIS transmission mode with the master bluetooth device. Firstly, a BLE transmission mode can be established with a first slave bluetooth device on a first sub-event of the BIS stream, if the BLE transmission mode needs to be established with other slave bluetooth devices, the BLE transmission mode of the first slave bluetooth device needs to be disconnected firstly, a second slave bluetooth device is selected to establish the BLE transmission mode on a second sub-event of the BIS stream, and the like until the selected 5 slave bluetooth devices all establish the BLE transmission mode with the master bluetooth device on the BIS stream.
In one embodiment, after the step S402, the method further includes: adjusting the sub-event time interval of the LE-BIS transmission mode according to target communication parameters, wherein the target communication parameters at least comprise: payload data amount, minimum sub-event interval, inter-frame interval.
The convention herein is that: the sub-event time interval (sub-interval) refers to a time period from a starting transmission time of bluetooth data in each sub-event to a starting transmission time of bluetooth data in a next sub-event.
It should be noted that, in view of that on the basis that the master bluetooth device establishes the LE-BIS transmission mode with the slave bluetooth device, a BLE transmission mode or an LE-CIS transmission mode is established, if the slave bluetooth device wants to send data to the master bluetooth device, an RX window needs to be added in each sub-event (for example, on the basis of the TX window in fig. 2, an RX window is added, and RX represents data transmission from the bluetooth device to the master bluetooth device), so that the present application adjusts the sub-event time interval of the original LE-BIS transmission mode, increases the communication time of the sub-event, and can effectively ensure the communication in the RX process.
For example, the sub-event time interval of the LE-BIS transmission mode may be adjusted according to the target communication parameter by adjusting the sub-event time interval to be 2 times the PDU (i.e. the payload data amount, which is a fixed value), the size of +t_ifs (inter-frame interval) +t_mss (minimum sub-event interval), and the sizes of the two windows of the RX window (i.e. the receiving window) and the TX window (i.e. the transmission window) are kept consistent.
S403, the master Bluetooth device distributes corresponding connection parameters to the slave Bluetooth device through the BLE transmission mode or the LE-CIS transmission mode.
In one embodiment, the connection parameters include any one or more of BIS stream identification, connectionless broadcast audio group identification, and sub-event number parameter identification.
The convention herein is that: the BIS stream identity (Num-BIS) indicates the identity of the BIS stream in a connectionless broadcast audio group, the connectionless broadcast audio group identity (BIG-Handle) indicates the identity of the connectionless broadcast audio group, and the sub-event number parameter indicates which sub-event is in a BIS event in the BIS stream.
For example, please refer to fig. 5. The number of sub-events parameter (NSE) =2, the number of new packets (BN) =1, bis=2 for the connectionless broadcast audio group in fig. 5. The new packet Number (BN) represents the new packet Number contained in a BIS event.
When the master bluetooth device has only one connectionless broadcast audio group, the master bluetooth device may establish a BLE transmission mode or an LE-CIS transmission mode with two slave bluetooth devices, respectively, according to the first BIS1 and nse=2. If the LE-CIS transmission mode is the LE-CIS transmission mode, the LE-CIS transmission mode can be established simultaneously with two slave bluetooth devices, and after the LE-CIS transmission mode is established, num-NSE numbers (sub-event number parameter identifiers) and Num-BIS numbers are respectively allocated to the two slave bluetooth devices, for example, a first slave bluetooth device allocates Num-NSE numbers=1 and Num-BIS numbers=1, and a second slave bluetooth device allocates Num-NSE numbers=2 and Num-BIS numbers=1; in case of BLE transmission mode, the BLE transmission mode may be established with two slave bluetooth devices, respectively, and at one moment, the BLE transmission mode is established with the first slave bluetooth device and allocated Num-NSE number=1 and Num-BIS number=1, then the BLE transmission mode is disconnected, and similarly, the BLE transmission mode may be disconnected again after the second slave bluetooth device establishes the BLE transmission mode and allocated Num-NSE number=2 and Num-BIS number=1.
As a possible implementation, after the Num-NSE number and the Num-BIS number are allocated, the slave bluetooth device allocated to the Num-NSE number and the Num-BIS number may perform bidirectional communication with the master bluetooth device at the corresponding sub-event of the corresponding BIS, without requiring BLE communication.
Also for example, similar to the previous example, the master bluetooth device establishes a connection with two slave bluetooth devices (which may be different from the slave bluetooth device connected to the previous BIS 1) according to the second BIS2 and nse=2, respectively, and the first slave bluetooth device allocates Num-NSE number=1 and Num-BIS number=2 after the connection is established, and the second slave bluetooth device allocates Num-NSE number=2 and Num-BIS number=2.
When the main bluetooth device has a plurality of connectionless broadcast audio groups, based on the above-mentioned configuration of only one connectionless broadcast audio group to be configured with a BIS stream number, a Num-NSE number, and a Num-BIS number, a connectionless broadcast audio group identification number (BIG-Handle) may also be configured, and the flow may be similar to the above example. The number of secondary bluetooth devices in one LE-BIS transmission mode may be n×nse, where n is the number of BIS streams in the connectionless broadcast audio group, and because the NSE values of different connectionless broadcast audio groups may be different, the multiple BIS streams of the master bluetooth device multiple connectionless broadcast audio groups need to look at the NSE value of each connectionless broadcast audio group, and finally determine the total connection number.
S404, the slave Bluetooth device receives the connection parameters distributed by the master Bluetooth device.
In a possible implementation manner, the master bluetooth device may allocate connection parameters such as a corresponding number of sub-events parameter, a connectionless broadcast audio group identifier, a BIS stream identifier, etc. to the slave bluetooth device, and after the slave bluetooth device receives the connection parameters allocated by the master bluetooth device, it may know what sub-event of which BIS stream of which connectionless broadcast audio group corresponds should be replied to.
In one embodiment, after the master bluetooth device allocates the corresponding connection parameters to the slave bluetooth device through the BLE transmission mode or the LE-CIS transmission mode, the method further includes: and switching off the BLE transmission mode or the LE-CIS transmission mode.
It should be noted that, after the master bluetooth device has allocated the corresponding connection parameter, the slave bluetooth device receives the connection parameter and then disconnects the established LE-CIS transmission mode or BLE transmission mode, so as to effectively save communication resources.
S405, the slave Bluetooth device sends Bluetooth data to the master Bluetooth device on the corresponding BIS stream according to the connection parameters.
According to the Bluetooth communication method, the master Bluetooth device establishes the LE-BIS transmission mode with the slave Bluetooth device in advance, the master Bluetooth device establishes the BLE transmission mode or the LE-CIS transmission mode with the slave Bluetooth device according to the sub-event number parameter of the BIS stream in the connectionless broadcast audio group by acquiring the sub-event number parameter, and distributes corresponding connection parameters to the slave Bluetooth device according to the BLE transmission mode or the LE-CIS transmission mode, so that the slave Bluetooth device can send Bluetooth data to the master Bluetooth device on the BIS stream according to the connection parameters. According to the method and the device, the two-way communication mechanism of the BLE transmission mode or the LE-CIS transmission mode is fully utilized, when the master Bluetooth device and the slave Bluetooth device establish the LE-BIS transmission mode, the slave Bluetooth device can receive the connection parameters through the BLE transmission mode or the LE-CIS transmission mode, bluetooth data are sent on the BIS stream through the connection parameters, the master Bluetooth device can judge whether the slave Bluetooth device receives the Bluetooth data broadcasted by the master Bluetooth device through the LE-BIS transmission mode or not, and the data reliability of using the LE-BIS transmission mode is improved.
The method of the present application is described above and the apparatus of the present application is described below.
Referring to fig. 6, fig. 6 is a schematic diagram of a bluetooth communication apparatus, which is applied to a master bluetooth device in a bluetooth system, where the master bluetooth device and a slave bluetooth device establish an LE-BIS transmission mode. The bluetooth communication device 60 includes:
an obtaining module 601 is configured to obtain a number of sub-event parameters of the BIS stream in the connectionless broadcast audio group.
And a setting module 602, configured to set up a BLE transmission mode or an LE-CIS transmission mode with the slave bluetooth device on the BIS stream according to the number of sub-events parameter.
And an allocation module 603, configured to allocate corresponding connection parameters to the slave bluetooth device through the BLE transmission mode or the LE-CIS transmission mode, so that the slave bluetooth device sends bluetooth data to the master bluetooth device on the BIS stream according to the connection parameters.
As one possible design, the bluetooth communication device 60 further includes: a disconnect module (not shown in fig. 6) for disconnecting the BLE transmission mode or the LE-CIS transmission mode.
As a possible design, the connection parameters include any one or more of BIS stream identity, connectionless broadcast audio group identity, sub-event number parameter identity,
as a possible design, the establishing module 602 is configured to, when establishing the LE-CIS transmission mode with the slave bluetooth device on the BIS stream according to the number of sub-events parameter, specifically: determining the number of slave Bluetooth devices for establishing an LE-CIS transmission mode on the BIS stream according to the sub-event number parameter; the LE-CIS transmission mode is established on the BIS stream simultaneously with a determined number of slave bluetooth devices.
As a possible design, the establishing module 602 is configured to, when establishing a BLE transmission mode with the slave bluetooth device on the BIS stream according to the number of sub-events parameter, specifically: determining the number of slave Bluetooth devices establishing a BLE transmission mode on the BIS stream according to the sub-event number parameter; selecting a first slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a first sub-event of the CIS stream; after the BLE transmission mode of the first slave Bluetooth device is disconnected, selecting a second slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a second sub-event of the CIS stream until the number of the slave Bluetooth devices on which the BLE transmission mode is established on the BIS stream is equal to the number of the sub-events.
As one possible design, the bluetooth communication device 60 further includes: an adjustment module (not shown in fig. 6) for adjusting the sub-event time interval of the LE-BIS transmission mode according to target communication parameters, wherein the target communication parameters at least include: payload data amount, minimum sub-event interval, inter-frame interval.
According to the device, the sub event number parameter of the BIS stream in the connectionless broadcast audio group can be obtained, the BLE transmission mode or the LE-CIS transmission mode is established according to the sub event number parameter and the slave Bluetooth device, and the corresponding connection parameter is distributed to the slave Bluetooth device through the BLE transmission mode or the LE-CIS transmission mode, so that the slave Bluetooth device can send Bluetooth data to the master Bluetooth device on the BIS stream according to the connection parameter, a bidirectional communication mechanism of the BLE transmission mode or the LE-CIS transmission mode can be fully utilized, when the master Bluetooth device and the slave Bluetooth device establish the LE-BIS transmission mode, the slave Bluetooth device can receive the connection parameter through the BLE transmission mode or the LE-CIS transmission mode, and can send Bluetooth data on the BIS stream through the connection parameter, and the master Bluetooth device can judge whether the slave Bluetooth device receives the Bluetooth data broadcast by the master Bluetooth device in the LE-BIS transmission mode, so that the data reliability of the use of the LE-BIS transmission mode is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another bluetooth communication device according to an embodiment of the present application. The Bluetooth communication device is applied to a slave Bluetooth device in a Bluetooth system, and the slave Bluetooth device and a master Bluetooth device establish an LE-BIS transmission mode. The bluetooth communication device 70 includes:
and a receiving module 701, configured to establish a BLE transmission mode or an LE-CIS transmission mode with the master bluetooth device, and receive a connection parameter allocated by the master bluetooth device.
And a sending module 702, configured to send bluetooth data to the master bluetooth device on the corresponding BIS stream according to the connection parameter.
According to the device, when the LE-BIS transmission mode is established with the main Bluetooth device, the BLE transmission mode or the LE-CIS transmission mode is established with the main Bluetooth device, the connection parameters distributed by the main Bluetooth device are received through the BLE transmission mode or the LE-CIS transmission mode, bluetooth data are sent on the BIS stream according to the connection parameters, and the slave Bluetooth device can inform the main Bluetooth device whether the main Bluetooth device receives the Bluetooth data broadcasted by the main Bluetooth device through the LE-BIS transmission mode or not, so that the data reliability of using the LE-BIS transmission mode is improved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a bluetooth device provided in an embodiment of the present application, and the bluetooth receiving device 80 includes a processor 801, a memory 802, and a transceiver 803. The memory 802 is connected to the processor 801, for example, through a bus to the processor 801.
The processor 801 is configured to support the bluetooth receiving device 80 to perform the corresponding functions in the method embodiments described above. The processor 801 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 802 is used for storing program codes and the like. Memory 802 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 802 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD) or a Solid State Drive (SSD); memory 802 may also include combinations of the above types of memory.
The transceiver 803 is used to transmit or receive data, and in particular, the transceiver 803 may include a bluetooth transceiver.
When the bluetooth device is a master bluetooth device, the processor 801 may call the program code to:
acquiring the number parameters of sub-events of BIS streams in a connectionless broadcast audio group;
establishing a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth equipment on the BIS stream according to the sub-event quantity parameter;
and distributing corresponding connection parameters to the slave Bluetooth equipment through the BLE transmission mode or the LE-CIS transmission mode, so that the slave Bluetooth equipment sends Bluetooth data to the master Bluetooth equipment on the BIS stream according to the connection parameters.
When the bluetooth device is a slave bluetooth device, the processor 801 may call the program code to:
establishing a BLE transmission mode or an LE-CIS transmission mode with the main Bluetooth equipment, and receiving connection parameters distributed by the main Bluetooth equipment;
and sending Bluetooth data to the main Bluetooth equipment on the corresponding BIS stream according to the connection parameters.
The present application also provides 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 only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (12)

1. A bluetooth communication method, applied to a master bluetooth device in a bluetooth system, the master bluetooth device and a slave bluetooth device establishing an LE-BIS transmission mode, the method comprising:
acquiring the number parameters of sub-events of BIS streams in a connectionless broadcast audio group;
establishing a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth equipment on the BIS stream according to the sub-event quantity parameter;
and distributing corresponding connection parameters to the slave Bluetooth equipment through the BLE transmission mode or the LE-CIS transmission mode, so that the slave Bluetooth equipment sends Bluetooth data to the master Bluetooth equipment on the BIS stream according to the connection parameters.
2. The method of claim 1, wherein after the allocating the corresponding connection parameters to the slave bluetooth device through the BLE transmission mode or the LE-CIS transmission mode, further comprising:
and switching off the BLE transmission mode or the LE-CIS transmission mode.
3. The method of claim 1, wherein the connection parameters include any one or more of BIS stream identity, connectionless broadcast audio group identity, and sub-event number parameter identity.
4. A method according to any one of claims 1 to 3, wherein said establishing an LE-CIS transmission mode with said slave bluetooth device on said BIS stream in accordance with said sub-event number parameter comprises:
determining the number of slave Bluetooth devices for establishing an LE-CIS transmission mode on the BIS stream according to the sub-event number parameter;
the LE-CIS transmission mode is established on the BIS stream simultaneously with a determined number of slave bluetooth devices.
5. A method according to any one of claims 1 to 3, wherein said establishing a BLE transmission mode with said slave bluetooth device on said BIS stream according to said sub-event number parameter comprises:
determining the number of slave Bluetooth devices establishing a BLE transmission mode on the BIS stream according to the sub-event number parameter;
selecting a first slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a first sub-event of the CIS stream;
after the BLE transmission mode of the first slave Bluetooth device is disconnected, selecting a second slave Bluetooth device from the slave Bluetooth devices to establish the BLE transmission mode on a second sub-event of the CIS stream until the number of the slave Bluetooth devices on which the BLE transmission mode is established on the BIS stream is equal to the number of the sub-events.
6. The method of claim 1, wherein after establishing a BLE transmission mode or a LE-CIS transmission mode with the slave bluetooth device on the BIS stream according to the sub-event number parameter, further comprising:
adjusting the sub-event time interval of the LE-BIS transmission mode according to target communication parameters, wherein the target communication parameters at least comprise: payload data amount, minimum sub-event interval, inter-frame interval.
7. A bluetooth communication method, applied to a slave bluetooth device in a bluetooth system, wherein the slave bluetooth device establishes an LE-BIS transmission mode with a master bluetooth device, the method comprising:
establishing a BLE transmission mode or an LE-CIS transmission mode with the main Bluetooth equipment, and receiving connection parameters distributed by the main Bluetooth equipment;
and sending Bluetooth data to the main Bluetooth equipment on the corresponding BIS stream according to the connection parameters.
8. A bluetooth communication apparatus for use in a method according to any of claims 1 to 6, wherein the bluetooth communication apparatus is used in a master bluetooth device in a bluetooth system, the master bluetooth device and a slave bluetooth device establishing an LE-BIS transmission mode, the bluetooth communication apparatus comprising:
the acquisition module is used for acquiring the sub-event quantity parameters of the BIS streams in the connectionless broadcast audio group;
the establishing module is used for establishing a BLE transmission mode or an LE-CIS transmission mode with the slave Bluetooth equipment on the BIS stream according to the sub-event quantity parameter;
and the allocation module is used for allocating corresponding connection parameters to the slave Bluetooth equipment through a BLE transmission mode or an LE-CIS transmission mode so that the slave Bluetooth equipment sends Bluetooth data to the master Bluetooth equipment on the BIS stream according to the connection parameters.
9. A bluetooth communication apparatus for use in a method according to claim 7, wherein the bluetooth communication apparatus is used in a slave bluetooth device in a bluetooth system, the slave bluetooth device establishing an LE-BIS transmission mode with a master bluetooth device, the bluetooth communication apparatus comprising:
the receiving module is used for establishing a BLE transmission mode or an LE-CIS transmission mode with the main Bluetooth equipment and receiving connection parameters distributed by the main Bluetooth equipment;
and the sending module is used for sending Bluetooth data to the main Bluetooth equipment on the corresponding BIS stream according to the connection parameters.
10. A bluetooth device comprising a memory, a processor and a transceiver connected to the processor, the transceiver for transmitting or receiving data, the processor 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 to 7, or the method of claim 8.
11. A Bluetooth system is characterized by comprising a master Bluetooth device and a slave Bluetooth device, wherein the slave Bluetooth device and the master Bluetooth device establish an LE-BIS transmission mode;
the master bluetooth device for implementing the method of any one of claims 1 to 7;
the slave bluetooth device is configured to implement the method of claim 8.
12. 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 one of claims 1 to 7, or the method of claim 8.
CN202311134589.XA 2023-09-05 2023-09-05 Bluetooth communication method, device, equipment, system and storage medium Pending CN117319976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311134589.XA CN117319976A (en) 2023-09-05 2023-09-05 Bluetooth communication method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311134589.XA CN117319976A (en) 2023-09-05 2023-09-05 Bluetooth communication method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN117319976A true CN117319976A (en) 2023-12-29

Family

ID=89245347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311134589.XA Pending CN117319976A (en) 2023-09-05 2023-09-05 Bluetooth communication method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN117319976A (en)

Similar Documents

Publication Publication Date Title
KR102444900B1 (en) Secure multicast/broadcast ranging
EP3512118A1 (en) Method and device for transmitting response message
CN114501340B (en) MBS receiving method, MBS transmitting device, terminal and base station
CN108282846B (en) Service request processing method and device
JP2019521622A (en) System information transmission method, user terminal, network side apparatus, system and storage medium
KR102482873B1 (en) Connection Establishment Method and Apparatus
US10959252B2 (en) Multi-cell SIB provision with encoding
US20180317210A1 (en) Resource request method and system, device, and network side node
CN116368933A (en) Communication method and device
US11057746B2 (en) Method, device and system for transmitting broadcasting services, and computer storage medium
CN108282905B (en) Random access method and network element thereof
CN116058024A (en) Method and system for managing configuration and control information of MBS service in wireless network
WO2021103026A1 (en) Method for performing communication on bandwidth part
CN117319976A (en) Bluetooth communication method, device, equipment, system and storage medium
CN113141580B (en) Method, equipment and medium for reporting and determining interest of multicast broadcast service
CA2576532C (en) Method for indicating a channel for sending uplink access request and trunking system
CN112351470A (en) Access restriction detection method and device
WO2024051517A1 (en) Communication method and related apparatus
WO2023092531A1 (en) Method and apparatus for configuring broadcast service, and terminal device and network device
JP7142757B2 (en) Connection establishment method and device
CN113852411B (en) Method for realizing group calling service based on special circuit domain channel
US20240147196A1 (en) Ble multicast service
WO2024067429A1 (en) Communication method and communication apparatus
CN116567551A (en) Bluetooth communication method, device, equipment, system and storage medium
CN116567598A (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