CN117221861A - 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
CN117221861A
CN117221861A CN202311343046.9A CN202311343046A CN117221861A CN 117221861 A CN117221861 A CN 117221861A CN 202311343046 A CN202311343046 A CN 202311343046A CN 117221861 A CN117221861 A CN 117221861A
Authority
CN
China
Prior art keywords
broadcast
target
source device
group
broadcast source
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
CN202311343046.9A
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 CN202311343046.9A priority Critical patent/CN117221861A/en
Publication of CN117221861A publication Critical patent/CN117221861A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Abstract

The application provides a Bluetooth communication method, a device, equipment, a system and a storage medium, wherein the method comprises the following steps: in the process that the broadcast source equipment in the main broadcast source equipment group sends a broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group, the first broadcast source equipment sends a role switching request to the main broadcast source equipment, the first broadcast source equipment is slave broadcast source equipment in the broadcast source equipment group, and the main broadcast source equipment sends a role switching response to the first broadcast source equipment and stops sending the broadcast synchronous stream; the first broadcast source device transmits a broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group after becoming the primary broadcast source device. According to the technical scheme, when the broadcast receiving equipment receives BIS sent by a plurality of broadcast source equipment, time slot conflict is avoided, complexity of the broadcast receiving equipment in accessing broadcast is reduced, and access stability is improved.

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.
Isochronous broadcast communication is introduced in bluetooth 5.2, and a broadcast synchronization stream (broadcast isochronous stream, BIS) is transmitted between a broadcast source device and a broadcast receiving device through a broadcast channel, and a plurality of BIS may constitute a broadcast synchronization group (broadcast isochronous group, BIG). When there are multiple broadcast source devices in the same space that need to transmit BIS and the broadcast receiving device needs to receive BIS transmitted by the multiple broadcast source devices, the multiple broadcast source devices generally create respective BIS respectively, and then the broadcast receiving device accesses the respective BIS to receive BIS in the respective BIS respectively. If the BIGs created by the plurality of broadcast source devices have overlapping transmission time slots, the broadcast receiving device can only receive BIS sent by one of the broadcast source devices, cannot receive BIS sent by all the broadcast source devices, and has incomplete data reception.
Disclosure of Invention
The application provides a Bluetooth communication method, a Bluetooth communication device, a Bluetooth communication system and a Bluetooth communication storage medium, which are used for solving the technical problem that when a broadcast receiving device receives BIS sent by a plurality of broadcast source devices in the same space, data receiving is incomplete due to the fact that BIGs created by the plurality of broadcast source devices have overlapping transmission time slots.
In a first aspect, a bluetooth communication method is provided, and the bluetooth communication method is applied to a first broadcast source device in a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, the plurality of broadcast source devices have communication connection with each other, and the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronization stream transmission right in the plurality of broadcast source devices; the method comprises the following steps:
in the process that a target broadcast source device sends a target broadcast synchronous stream to broadcast receiving devices in a target broadcast synchronous group, a first role switching request is sent to the target broadcast source device through the communication connection, the target broadcast source device is the only main broadcast source device with the broadcast synchronous stream sending right in the plurality of broadcast source devices, the target broadcast synchronous stream is the broadcast synchronous stream needing to be transmitted by the target broadcast source device, the first role switching request is used for requesting to send a first broadcast synchronous stream to the broadcast receiving devices in the target broadcast synchronous group, and the first broadcast synchronous stream is the broadcast synchronous stream needing to be transmitted by the first broadcast source device;
Receiving a first role switching response sent by the target broadcast source equipment through the communication connection, wherein the first role switching response carries broadcast synchronous group information of the target broadcast synchronous group, and the first role switching response is used for indicating that the transmission right of the broadcast synchronous stream is handed over to the first broadcast source equipment;
and according to the broadcast synchronization group information of the target broadcast synchronization group, in a first broadcast synchronization group event after the first role switching response, sending the first broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group, wherein the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group.
In the technical scheme, in the process that a first broadcast source device without a broadcast synchronous stream transmission right in a broadcast source device group transmits BIS, a first role switching request is transmitted to the main broadcast source device through communication connection with the main broadcast source device in the process that the only main broadcast source device with the broadcast synchronous stream transmission right in the broadcast source device group transmits BIS, so as to request to transmit the BIS of the first broadcast source device; then receiving a first role switch response sent by the main broadcasting source equipment through communication connection with the main broadcasting source equipment, wherein the first role switch response is used for indicating that the broadcasting synchronous stream sending right is handed over to the first broadcasting source equipment; finally, according to BIG information carried in the first role switching response, BIS of the first broadcast source equipment is sent in a BIG event after the first role switching response; the method is characterized in that a plurality of broadcast source devices are combined into a broadcast source device group, the plurality of broadcast source devices in the broadcast source device group share the same BIG and acquire the right of sending BIS in a role switching mode in a time sharing mode and then send the BIS in a time sharing mode, because the plurality of broadcast source devices send the BIS in a time sharing mode, time slot conflict can be avoided, because the plurality of broadcast source devices send the BIS based on the shared same BIG, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of accessing the broadcast by the broadcast receiving device is reduced, the access stability is improved, and because the plurality of broadcast source devices send the BIS in different BIG events in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
With reference to the first aspect, in one possible implementation manner, after the receiving, by using the communication connection, a first role switch response sent by the target broadcast source device, the method further includes: updating the broadcast synchronization group information of the target broadcast synchronization group; and transmitting the updated broadcast synchronization group information of the target broadcast synchronization group to broadcast receiving equipment in the target broadcast synchronization group.
With reference to the first aspect, in one possible implementation manner, after the receiving, by using the communication connection, a first role switch response sent by the target broadcast source device, the method further includes: and sending a main broadcasting source device update notice to other broadcasting source devices except the first broadcasting source device in the broadcasting source device group through the communication connection, wherein the main broadcasting source device update notice is used for indicating the first broadcasting source device to be the main broadcasting source device.
With reference to the first aspect, in one possible implementation manner, after the receiving, by using the communication connection, a first role switch response sent by the target broadcast source device, the method further includes: in the process of sending the first broadcast synchronization stream to the broadcast receiving devices in the target broadcast synchronization group, if a second role switching request sent by a second slave broadcast source device is received through the communication connection, a second role switching response is sent to the second broadcast source device through the communication connection, the second slave broadcast source device is a slave broadcast source device without a broadcast synchronization stream sending right in the plurality of broadcast source devices, the second role switching request is used for requesting to send a second broadcast synchronization stream to the broadcast receiving devices in the target broadcast synchronization group, the second broadcast synchronization stream is a broadcast synchronization stream to be transmitted by the second broadcast source device, the second role switching response is used for indicating that the broadcast synchronization stream sending right is transferred to the second broadcast source device, and the second role switching response carries broadcast synchronization group information of the target broadcast synchronization group; and stopping sending the first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in a second broadcast synchronous group event after the second role switching response, wherein the second broadcast synchronous group event is a broadcast synchronous group event corresponding to the target broadcast synchronous group, and the broadcast synchronous group information of the target broadcast synchronous group is used by the second broadcast source equipment for sending the second broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in the second broadcast synchronous group event.
With reference to the first aspect, in one possible implementation manner, before the sending, through the communication connection, a first role switch request to the target broadcast source device, the method further includes: and establishing the communication connection with other broadcast source devices except the first broadcast source device in the plurality of broadcast source devices.
In a second aspect, another bluetooth communication method is provided, where the bluetooth communication method is applied to a target slave broadcast source device in a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, where the plurality of broadcast source devices have communication connections with each other, and the target broadcast source device is a unique master broadcast source device with a broadcast synchronous stream transmission right in the plurality of broadcast source devices; the method comprises the following steps:
in the process that the target broadcast source equipment sends a target broadcast synchronous stream to broadcast receiving equipment in a target broadcast synchronous group, if a first role switching request sent by first broadcast source equipment is received through the communication connection, a first role switching response is sent to the first broadcast source equipment through the communication connection, the target broadcast synchronous stream is a broadcast synchronous stream to be transmitted by the target broadcast source equipment, the first broadcast source equipment is a slave broadcast source equipment which does not have a broadcast synchronous stream sending right in the plurality of broadcast source equipment, the first role switching request is used for requesting to send a first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group, the first role switching request is a broadcast synchronous stream to be transmitted by the first broadcast source equipment, the first role switching response carries broadcast synchronous group information of the target broadcast synchronous group, and the first role switching response is used for indicating that the broadcast synchronous stream sending right is handed over to the first broadcast source equipment;
And stopping sending the target broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in a first broadcast synchronous group event after the first role switching response, wherein the first broadcast synchronous group event is a broadcast synchronous group event corresponding to the target broadcast synchronous group, and the broadcast synchronous group information of the target broadcast synchronous group is used by the first broadcast source equipment for sending the first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in the first broadcast synchronous group event.
In the technical scheme, when a target broadcast source device with a broadcast synchronous stream transmission right in a broadcast source device group receives a first role switching request sent by a first broadcast source device without the broadcast synchronous stream transmission right in the broadcast source device group in the BIS sending process, a first role switching response is sent to the first broadcast source device through communication connection with the first broadcast source device, the first role switching response is used for indicating that the broadcast synchronous stream transmission right is handed over to the first broadcast source device, and BIS is stopped to be sent in a first BIG event after the first role switching response, and the first BIG event is used by the first broadcast source device for sending BIS; the method is characterized in that a plurality of broadcast source devices are combined into a broadcast source device group, the plurality of broadcast source devices in the broadcast source device group share the same BIG and acquire the right of sending BIS in a role switching mode in a time sharing mode and then send the BIS in a time sharing mode, because the plurality of broadcast source devices send the BIS in a time sharing mode, time slot conflict can be avoided, because the plurality of broadcast source devices send the BIS based on the shared same BIG, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of accessing the broadcast by the broadcast receiving device is reduced, the access stability is improved, and because the plurality of broadcast source devices send the BIS in different BIG events in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
With reference to the second aspect, in one possible implementation manner, before the sending, by the communication connection, a first role switch response to the first broadcast source device, the method further includes: and establishing the communication connection with other broadcast source devices except the target broadcast source device in the plurality of broadcast source devices.
In a third aspect, a bluetooth communication apparatus is provided, where the bluetooth communication apparatus is applied to a first broadcast source device in a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, where the plurality of broadcast source devices have communication connections with each other, and the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronization stream transmission right in the plurality of broadcast source devices; the device comprises:
a sending module, configured to send, in a process that a target broadcast source device sends a target broadcast synchronization stream to broadcast receiving devices in a target broadcast synchronization group, a first role switching request to the target broadcast source device through the communication connection, where the target broadcast source device is a unique primary broadcast source device with a broadcast synchronization stream sending right in the multiple broadcast source devices, the target broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the target broadcast source device, and the first role switching request is used to request to send a first broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group, where the first broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the first broadcast source device;
The receiving module is used for receiving a first role switching response sent by the target broadcast source equipment through the communication connection, wherein the first role switching response carries broadcast synchronization group information of the target broadcast synchronization group, and the first role switching response is used for indicating that the transmission right of the broadcast synchronization stream is handed over to the first broadcast source equipment;
the sending module is further configured to send, according to the broadcast synchronization group information of the target broadcast synchronization group, the first broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group in a first broadcast synchronization group event after the first role switch response, where the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group.
In a fourth aspect, another bluetooth communication apparatus is provided, where the bluetooth communication apparatus is applied to a target slave broadcast source device in a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, where the plurality of broadcast source devices have communication connections with each other, and the target broadcast source device is a unique master broadcast source device having a broadcast synchronous stream transmission right in the plurality of broadcast source devices; the device comprises:
A sending module, configured to send, in a process that the target broadcast source device sends a target broadcast synchronization stream to broadcast receiving devices in a target broadcast synchronization group, a first role switch request sent by a first broadcast source device through the communication connection, where the target broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the target broadcast source device, the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronization stream sending right in the plurality of broadcast source devices, the first role switch request is used to request to send a first broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group, the first broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the first broadcast source device, the first role switch response carries broadcast synchronization group information of the target broadcast synchronization group, and the first role switch response is used to instruct to transfer broadcast synchronization stream sending rights to the first broadcast source device;
and the sending module is further configured to stop sending the target broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group in a first broadcast synchronization group event after the first role switching response, where the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group, and the broadcast synchronization group information of the target broadcast synchronization group is used by the first broadcast source device to send the first broadcast synchronization stream to the broadcast receiving device in the target broadcast synchronization group in the first broadcast synchronization group event.
In a fifth 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 or the second aspect.
In a sixth 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 or the second aspect.
In a seventh aspect, a bluetooth communication system is provided, including a broadcast source device group and a broadcast receiving device, where the broadcast source device group includes a plurality of broadcast source devices, where the plurality of broadcast source devices have communication connections therebetween, a first broadcast source device of the plurality of broadcast source devices is used in the bluetooth communication method of the first aspect, the first broadcast source device is a slave broadcast source device of the plurality of broadcast source devices that does not have a broadcast synchronous stream transmission right, and a target broadcast source device of the plurality of broadcast source devices is used to perform the bluetooth communication method of the second aspect, and the target broadcast source device is a master broadcast source device of the plurality of broadcast source devices that has a broadcast synchronous stream transmission right.
The application can realize the following technical effects: the method is characterized in that a plurality of broadcast source devices are combined into a broadcast source device group, the plurality of broadcast source devices in the broadcast source device group share the same BIG and acquire the right of sending BIS in a role switching mode in a time sharing mode and then send the BIS in a time sharing mode, because the plurality of broadcast source devices send the BIS in a time sharing mode, time slot conflict can be avoided, because the plurality of broadcast source devices send the BIS based on the shared same BIG, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of accessing the broadcast by the broadcast receiving device is reduced, the access stability is improved, and because the plurality of broadcast source devices send the BIS in different BIG events in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
Drawings
Fig. 1 is a schematic diagram of a broadcast receiving apparatus according to an embodiment of the present application for receiving BIS transmitted by a plurality of broadcast source apparatuses;
fig. 2 is a schematic diagram of a bluetooth communication system according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a bluetooth communication method according to an embodiment of the present application;
fig. 4 is a schematic diagram of another broadcast receiving apparatus according to an embodiment of the present application for receiving BIS transmitted by a plurality of broadcast source apparatuses;
Fig. 5 is a schematic structural diagram of a bluetooth communication device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another bluetooth communication device according to an embodiment of the present application;
fig. 7 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 Bluetooth communication scenes, in particular to a scene of BIG communication between broadcast source equipment and broadcast receiving equipment in the Bluetooth communication scenes, wherein the broadcast source equipment refers to Bluetooth equipment for sending broadcast data, and the broadcast source equipment can be a mobile phone, a notebook computer and the like; the broadcast receiving device refers to a bluetooth device for receiving broadcast data, and the broadcast receiving device may be an earphone, an intelligent sound, or the like, which is not limited by the present application.
In a BIG communication scenario, a broadcasting source device may create a BIG and broadcast BIG information (BIG fo) of the created BIG; the broadcast receiving device can intercept and acquire BIG information on the broadcast channel so as to access BIGs created by the broadcast source device, and then receive BIS sent by the broadcast source device according to the intercepted BIG information. Time synchronization of BIS belonging to the same BIG shares timing reference data in the same BIG. When there are multiple broadcast source devices in the same space and the broadcast receiving device needs to receive the BIS sent by the multiple broadcast source devices, the multiple broadcast source devices generally create BIG (BIG) respectively and broadcast BIG (BIG) information of the BIG (BIG) created by each broadcast source device, then the broadcast receiving device accesses the BIG (BIG) created by each broadcast source device respectively according to the BIG (BIG) information of the BIG (BIG) created by each broadcast source device respectively, and then receives the BIS sent by each broadcast source device according to the BIG (BIG) information of the BIG (BIG) created by each broadcast source device respectively. If the transmission time slots corresponding to the BIS in the BIG created by the broadcasting source devices overlap, as shown in fig. 1, there is an overlapping time slot in which the broadcasting source device 1 and the broadcasting source device 2 transmit the BIS, which results in that the broadcasting receiving device can only receive the BIS transmitted by one of the broadcasting source devices, but cannot receive all the BIS transmitted by the broadcasting source device, and the data reception is incomplete. And, the broadcast receiving device needs to access the BIG bit created by each broadcast source device, and receive the BIG bit sent by each broadcast source device according to the BIG bit information of the BIG bit created by each broadcast source device, and the broadcast receiving device needs to access more BIG bit and has complex flow.
In view of this, the present application proposes a new BIG Information (BIS) communication technical solution, by forming a plurality of broadcasting source devices needing to send BIS in the same space into a broadcasting source device group, taking one of the broadcasting source devices in the broadcasting source device group as a master broadcasting source device, and taking the other broadcasting source devices in the broadcasting source device group as slave broadcasting source devices, establishing communication connection between the master broadcasting source device and the slave broadcasting source devices, creating and maintaining a unique BIG information and enjoying the right of sending BIS by the master broadcasting source device, and obtaining the right of sending BIS by sending a role switching request to the master broadcasting source device by the slave broadcasting source device needing to send BIS, so that the slave broadcasting source device in the broadcasting source device group becomes the master broadcasting source device in the broadcasting source device group to send BIS in a BIG event corresponding to BIG; only one main broadcasting source device is provided, so that only one broadcasting source device for transmitting BIS in the same time can avoid time slot conflict; because the plurality of broadcast source devices send BIS based on the same BIG information, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of the broadcast receiving device for accessing broadcast is reduced, the access stability is improved, and because the plurality of broadcast source devices send respective BIS in different BIG events corresponding to the same BIG in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
The technical solution of the present application may be applied to a bluetooth communication system composed of a broadcast source device group and a broadcast receiving device, as shown in fig. 2, the bluetooth communication system 1 may include a broadcast source device group 10 and a broadcast receiving device 20, where the broadcast source device group 10 includes a plurality of broadcast source devices, and the plurality of broadcast source devices includes a master broadcast source device 101 and at least one slave broadcast source device 102. The main broadcast source apparatus 101 is used to create a BIG and broadcast BIG information of the created BIG (hereinafter referred to as target BIG). The main broadcasting source device 101 is a broadcasting source device having BIS transmission right in the broadcasting source device group 10, that is, the main broadcasting source device 101 has right to broadcast the BIG information of the target BIG to the broadcasting receiving devices in the target BIG and right to transmit BIS to the broadcasting receiving devices in the target BIG; there is and only one primary broadcast source device 101. The slave broadcast source device 102 is a broadcast source device other than the master broadcast source device 101 in the broadcast source device group 10, and the slave broadcast source device is a broadcast source device that does not have BIS transmission right, that is, the slave broadcast source device does not have the right to broadcast the BIG information of the target BIG to the broadcast receiving device in the target BIG, nor the right to transmit the BIG to the broadcast receiving device in the target BIG.
The BIS transmission right is unique among the broadcasting source equipment group, and can be handed over between the main broadcasting source equipment and the slave broadcasting source equipment, and after the main broadcasting source equipment hands over the BIS transmission right to the slave broadcasting source equipment, the main broadcasting source equipment does not have the BIS transmission right any more, and the main broadcasting source equipment becomes the slave broadcasting source equipment; the slave broadcasting source device that obtains the BIS transmission right has the BIS transmission right and becomes the master broadcasting source device.
The master broadcast source device and the slave broadcast source device may establish a communication connection through which the handover of the BIS transmission right is completed. The primary broadcast source device may continuously change with the handover of the BIS transmission right, so that in order to enable any one of the broadcast source devices in the broadcast source device group to obtain the BIS transmission right, a communication connection between two broadcast source devices in the broadcast source device group may be established, so that the BIS transmission can complete the handover between any two broadcast source devices. Wherein, communication connection between every two broadcasting source devices in the broadcasting source device group can be simultaneously established. For example, when a plurality of broadcast source apparatuses in the same space need to transmit broadcast data, a user may trigger a communication connection between the plurality of broadcast source apparatuses. Alternatively, communication connection between the broadcast source apparatuses in the broadcast source apparatus group may be established when BIS transmission right handover is required. For example, when a broadcast source device needs to transmit broadcast data, a user may trigger a communication connection between the broadcast source device that needs to transmit broadcast data and a main broadcast source device.
The first primary broadcast source device in the broadcast source device group may be pre-specified by the user or may be determined by negotiations after the plurality of broadcast source devices establish a communication connection with each other.
The broadcast receiving device 20 may have one or more.
Based on the bluetooth communication system shown in fig. 2, the technical scheme of the application can be realized. The technical scheme of the application is specifically described below.
Referring to fig. 3, fig. 3 is a flow chart of a bluetooth communication method according to an embodiment of the present application, where the method may be applied to a broadcast source device group, and the broadcast source device group may be shown as 10 in fig. 2. As shown in fig. 3, the method comprises the steps of:
s301, a plurality of broadcast source apparatuses in the broadcast source apparatus group establish communication connection with each other.
Wherein, a plurality of broadcasting source devices in the broadcasting source device group can be connected in pairs to establish communication connection, and a plurality of broadcasting source devices in the broadcasting source device group are wideThe number of communication connections established by the source device may be C n 2 N is the number of broadcast source devices in the broadcast source device group.
S302, the target broadcast source device transmits the target BIS to the broadcast receiving devices in the target BIG.
The target broadcast source device here is a main broadcast source device in the broadcast source device group, and has BIS transmission rights. The target BIG is a BIG created by the first broadcast source device in the group of broadcast source devices.
The target BIS is the BIS to be transmitted by the target broadcast source equipment. For example, if the BIS to be transmitted by the target broadcast source device has BIS-11 and BIS-12, the BIS-11 and BIS-12 are the target BIS.
The target broadcast source device may determine a BIG event and a channel corresponding to the target BIG according to BIG information corresponding to the target BIG, and send the target BIS to the broadcast receiving device in the target BIG on the channel corresponding to the target BIG in the BIG event corresponding to the target BIG.
The broadcast receiving device can listen to the BIG information of the target BIG on the broadcast channel, thereby joining the target BIG to become the broadcast receiving device in the target BIG; the broadcast receiving device may determine a BIG event and a channel corresponding to the target BIG according to BIG information corresponding to the target BIG, and receive the target BIS sent by the target broadcast source device on the channel corresponding to the target BIG in the BIG event corresponding to the target BIG.
S303, the first broadcast source device sends a first role switching request to the target broadcast source device, and the target broadcast source device receives the first role switching request.
The first broadcast source device here is a slave broadcast source device in the broadcast source device group, and the first broadcast source device does not have BIS transmission rights.
The first role switch request is used for requesting to send a first BIS to a broadcast receiving device in the target BIG, wherein the first BIS is a BIS to be transmitted by a first broadcast source device. For example, if the BIS to be transmitted by the first broadcast source apparatus has BIS-21, BIS-22 and BIS-23, the BIS-21, BIS-22 and BIS-23 are the first BIS.
The first broadcast source device may send a first role switch request through a communication connection with the target broadcast source device; the target broadcast source device receives a first role switch request through a communication connection with the first broadcast source device.
S304, the target broadcast source equipment sends a first role switching response to the first broadcast source equipment, BIG information of the target BIG is carried in the first role switching response, and the first broadcast source equipment receives the first role switching response.
The first role switch response is used to instruct the transfer of BIS transmission rights to the first broadcast source device. After receiving the first role switch request, the target broadcast source device can determine whether the target BIS needs to be sent currently, and if the target BIS does not need to be sent currently, a first role switch response is sent to the first broadcast source device.
The target broadcast source device may send a first role switch response through a communication connection with the first broadcast source device; the first broadcast source device may receive a first persona switch response over a communication connection with the target broadcast source device.
The target broadcast source device, after transmitting the first role switch response to the first broadcast source device, indicating that the BIS transmission right is handed over to the first broadcast source device, the target broadcast source device becoming a slave broadcast source device in the broadcast source device group; after the first broadcast source device receives the first role switch response and acquires the BIS transmission right, the first broadcast source device becomes a main broadcast source device in the broadcast source device group.
Alternatively, the first broadcast source device may update the BIG information of the target BIG after becoming the main broadcast source device in the broadcast source device group, and send the BIG information of the updated target BIG to the broadcast receiving device in the target BIG.
Optionally, after becoming the primary broadcast source device in the broadcast source device group, the first broadcast source device may further send a primary broadcast source device update notification to other broadcast source devices in the broadcast source device group other than the first broadcast source device through a communication connection with the other broadcast source devices, where the primary broadcast source device update notification is used to instruct the first broadcast source device to become the primary broadcast source device. Thus, each broadcast source device in the broadcast source device group can determine the main broadcast source device in the broadcast source device group, so that the broadcast source devices in the broadcast source device group can conveniently determine a request object for acquiring BIS sending right when BIS needs to be sent.
S305, the target broadcast source device stops transmitting the target BIS to the broadcast receiving device in the target BIG.
Wherein the target broadcast source device may close the transmission window of the target BIS to stop transmitting the target BIS to the broadcast receiving device in the target BIG.
The target broadcast source device may also close a BIG information broadcast window of the target BIG to stop transmitting BIG information of the target BIG to the broadcast receiving device in the target BIG.
S306, the first broadcast source device transmits the first BIS to the broadcast receiving device in the target BIG.
The first broadcast source device may determine a BIG event and a channel corresponding to the target BIG according to BIG information corresponding to the target BIG, and send the first BIS to the broadcast receiving device in the target BIG on the channel corresponding to the target BIG in the BIG event corresponding to the target BIG. The broadcast receiving device may determine a BIG event and a channel corresponding to the target BIG according to BIG information corresponding to the target BIG, and receive, in the BIG event corresponding to the target BIG, the first BIS sent by the first broadcast source device on the channel corresponding to the target BIG. The BIG event corresponding to the target BIG is a first BIG event, and the first BIG event is a BIG event after the first role switching response.
It should be understood that, if the first broadcast source device does not update the BIG information of the target BIG after receiving the first role switch response, the BIG information corresponding to the target BIG here is the BIG information of the target BIG carried in the first role switch response; if the first broadcast source equipment updates the BIG information of the target BIG after receiving the first role switching response, the BIG information corresponding to the target BIG is the BIG information of the target BIG updated by the first broadcast source equipment.
For example, in the foregoing steps S302 to S306, it is assumed that the broadcast source device group includes 3 broadcast source devices, that is, broadcast source device 1, broadcast source device 2, and broadcast source device 3, respectively, and that broadcast source device 1 is a target broadcast source device, that broadcast source device 2 is a first broadcast source device, that BIS to be transmitted by broadcast source device 1 is BIS1, and that BIS to be transmitted by broadcast source device is BIS2.
Referring to fig. 4, before a role switch request 1 transmitted from a broadcast source apparatus 2 is not received, the broadcast source apparatus 1 is a primary broadcast source apparatus, and BIS1 is transmitted to a broadcast receiving apparatus in a BIG event corresponding to a target BIG; upon receiving the role switch request 1 transmitted from the broadcast source apparatus 2, the broadcast source apparatus 1 transmits a role switch response 1 to the broadcast source apparatus 2, and the broadcast source apparatus 1 becomes a slave broadcast source apparatus, and stops transmitting BIS1 to the broadcast receiving apparatus in a BIG event after the role switch response 1; after receiving the role switch response 1, the broadcast source device 2 becomes the main broadcast source device, and transmits BIS2 to the broadcast receiving device in a BIG event after the role switch response 1.
S307, the second broadcast source device sends a second role switch request to the first broadcast source device, and the first broadcast source device receives the second role switch request.
The first broadcast source device is a master broadcast source device in the broadcast source device group, the second broadcast source device is a slave broadcast source device in the broadcast source device group, and the second broadcast source device does not have BIS transmission rights. If the broadcast source device group includes only 2 broadcast source devices, the second broadcast source device is the target broadcast source device involved in the foregoing steps S302 to S306; if the broadcast source apparatus includes more than 2 broadcast source apparatuses, the second broadcast source apparatus may be the target broadcast source apparatus in the foregoing steps S302 to S306, or may be other slave broadcast source apparatuses other than the target broadcast source apparatus.
The second role switch request is used for requesting to send a second BIS to the broadcast receiving device in the target BIG, wherein the second BIS is a BIS to be transmitted by the second broadcast source device. Taking the second broadcast source device as the target broadcast source device in the foregoing steps S302 to S306 as an example, the second BIS is the foregoing BIS-11 and BIS-12.
The second broadcast source device may send a second role switch request through a communication connection with the first broadcast source device; the first broadcast source device may receive the second role switch request through a communication connection with the second broadcast source device.
S308, the first broadcast source device sends a second role switching response to the second broadcast source device, the second role switching response carries BIG information of the target BIG, and the second broadcast source device receives the second role switching response.
The second role switch response is used to instruct transfer of BIS transmission right to the second broadcast source apparatus. After receiving the second role switch request, the first broadcast source device can determine whether the first BIS needs to be sent currently, and if the first BIS does not need to be sent currently, the first broadcast source device sends a second role switch response to the second broadcast source device.
The first broadcast source device can send a second role switch response through communication connection with the second broadcast source device; the second broadcast source device may receive a second role switch response over a communication connection with the first broadcast source device. It should be understood that, if the first broadcast source device does not update the BIG information of the target BIG after receiving the first role switch response, the BIG information corresponding to the target BIG here is the BIG information of the target BIG carried in the first role switch response in the foregoing step S204; if the first broadcast source equipment updates the BIG information of the target BIG after receiving the first role switching response, the BIG information corresponding to the target BIG is the BIG information of the target BIG updated by the first broadcast source equipment.
The first broadcast source device, after transmitting the second role switch response to the second broadcast source device, indicating that the BIS transmission right is handed over to the second broadcast source device, the first broadcast source device becoming a slave broadcast source device in the broadcast source device group again; after receiving the second role switch response and acquiring the BIS sending right, the second broadcast source equipment becomes the main broadcast source equipment in the broadcast source equipment group.
The second broadcast source device may also update the BIG information of the target BIG after becoming the main broadcast source device in the broadcast source device group, and send the BIG information of the updated target BIG to the broadcast receiving device in the target BIG, similar to the above step S304; the primary broadcast source device update notification may also be sent to other broadcast source devices in the group of broadcast source devices other than the second broadcast source device by way of a communication connection with the other broadcast source devices, the primary broadcast source device update notification being for indicating that the second broadcast source device is the primary broadcast source device.
S309, the first broadcast source device stops transmitting the first BIS to the broadcast receiving device in the target BIG.
Wherein the first broadcast source device may close a transmission window of the first BIS to stop transmitting the first BIS to the broadcast receiving device in the target BIG.
The first broadcast source device may also close a BIG information broadcast window of the target BIG to stop transmitting BIG information of the target BIG to the broadcast receiving device in the target BIG.
S310, the second broadcast source device transmits the second BIS to the broadcast receiving device in the target BIG.
The second broadcast source device may determine a BIG event and a channel corresponding to the target BIG according to BIG information corresponding to the target BIG, and send the second BIS to the broadcast receiving device in the target BIG on the channel corresponding to the target BIG in the BIG event corresponding to the target BIG. The broadcast receiving device may determine a BIG event and a channel corresponding to the target BIG according to BIG information corresponding to the target BIG, and receive the second BIS sent by the second broadcast source device on the channel corresponding to the target BIG in the BIG event corresponding to the target BIG. The BIG time corresponding to the target BIG is a second BIG event, and the second BIG time is the BIG event after the second role switching response.
It should be understood that if the second broadcast source device does not update the BIG information of the target BIG after receiving the second role switch response, the BIG information corresponding to the target BIG here is the BIG information of the target BIG carried in the second role switch response; if the second broadcast source equipment updates the BIG information of the target BIG after receiving the second role switching response, the BIG information corresponding to the target BIG is the BIG information of the target BIG updated by the second broadcast source equipment.
For example, the above steps S306 to S310 are described, and it is assumed that the broadcast source apparatus 3 mentioned in the above step S306 is the second broadcast source apparatus, and BIS to be transmitted by the broadcast source apparatus 3 is BIS3.
With continued reference to fig. 4, before the role switch request 2 sent by the broadcast source device 3 is not received, the broadcast source device 2 is a primary broadcast source device, and BIS2 is sent to the broadcast receiving device in a BIG event corresponding to the target BIG; when receiving the role switch request 2 transmitted from the broadcast source apparatus 3, the broadcast source apparatus 2 transmits a role switch response 2 to the broadcast source apparatus 3, and the broadcast source apparatus 2 becomes a slave broadcast source apparatus, and stops transmitting BIS2 to the broadcast receiving apparatus in a BIG event after the role switch response 2; after receiving the role switch response 2, the broadcast source device 3 becomes the main broadcast source device, and transmits BIS3 to the broadcast receiving device in a BIG event after the role switch response 2.
In the technical solution corresponding to fig. 3, in the process of sending BIS, if a role switch request sent from a broadcast source device in a broadcast source device group without a broadcast synchronization stream sending right is received, sending a role switch response to the slave broadcast source device and stopping sending BIS through a communication connection with the slave broadcast source device, where the role switch response is used to instruct to transfer the broadcast synchronization stream sending right to the slave broadcast source device, and after the slave broadcast source device becomes the master broadcast source device, sending BIS to a broadcast receiving device in a target BIG; the method is characterized in that a plurality of broadcast source devices are combined into a broadcast source device group, the plurality of broadcast source devices in the broadcast source device group share the same BIG and acquire the right of sending BIS in a role switching mode in a time sharing mode and then send the BIS in a time sharing mode, because the plurality of broadcast source devices send the BIS in a time sharing mode, time slot conflict can be avoided, because the plurality of broadcast source devices send the BIS based on the shared same BIG, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of accessing the broadcast by the broadcast receiving device is reduced, the access stability is improved, and because the plurality of broadcast source devices send the BIS in different BIG events in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bluetooth communication apparatus according to an embodiment of the present application, where the first broadcast source device is applied to a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, and the broadcast source devices may be shown as 10 in fig. 2, where the plurality of broadcast source devices are in communication connection with each other, and the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronization stream transmission right in the plurality of broadcast source devices. As shown in fig. 5, the bluetooth communication device 40 includes:
a sending module 401, configured to send, in a process that a target broadcast source device sends a target broadcast synchronization stream to broadcast receiving devices in a target broadcast synchronization group, a first role switch request to the target broadcast source device through the communication connection, where the target broadcast source device is a unique primary broadcast source device having a broadcast synchronization stream sending right in the multiple broadcast source devices, the target broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the target broadcast source device, and the first role switch request is used to request to send a first broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group, where the first broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the first broadcast source device;
A receiving module 402, configured to receive, through the communication connection, a first role switch response sent by the target broadcast source device, where the first role switch response carries broadcast synchronization group information of the target broadcast synchronization group, and the first role switch response is used to instruct that a broadcast synchronization stream transmission right is handed over to the first broadcast source device;
the sending module 401 is further configured to send, according to the broadcast synchronization group information of the target broadcast synchronization group, the first broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group in a first broadcast synchronization group event after the first role switch response, where the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group.
In one possible design, the sending module 401 is further configured to: updating the broadcast synchronization group information of the target broadcast synchronization group; and transmitting the updated broadcast synchronization group information of the target broadcast synchronization group to broadcast receiving equipment in the target broadcast synchronization group.
In one possible design, the sending module 401 is further configured to: and sending a main broadcasting source device update notice to other broadcasting source devices except the first broadcasting source device in the broadcasting source device group through the communication connection, wherein the main broadcasting source device update notice is used for indicating the first broadcasting source device to be the main broadcasting source device.
In one possible design, the sending module 401 is further configured to: in the process of sending the first broadcast synchronization stream to the broadcast receiving devices in the target broadcast synchronization group, if a second role switching request sent by a second slave broadcast source device is received through the communication connection, a second role switching response is sent to the second broadcast source device through the communication connection, the second slave broadcast source device is a slave broadcast source device without a broadcast synchronization stream sending right in the plurality of broadcast source devices, the second role switching request is used for requesting to send a second broadcast synchronization stream to the broadcast receiving devices in the target broadcast synchronization group, the second broadcast synchronization stream is a broadcast synchronization stream to be transmitted by the second broadcast source device, the second role switching response is used for indicating that the broadcast synchronization stream sending right is transferred to the second broadcast source device, and the second role switching response carries broadcast synchronization group information of the target broadcast synchronization group; and stopping sending the first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in a second broadcast synchronous group event after the second role switching response, wherein the second broadcast synchronous group event is a broadcast synchronous group event corresponding to the target broadcast synchronous group, and the broadcast synchronous group information of the target broadcast synchronous group is used by the second broadcast source equipment for sending the second broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in the second broadcast synchronous group event.
In one possible design, the sending module 401 is further configured to: and establishing the communication connection with other broadcast source devices except the first broadcast source device in the plurality of broadcast source devices.
It should be noted that, in the embodiment corresponding to fig. 5, the details not mentioned in the foregoing description of the method embodiment may be referred to, and will not be repeated here.
In the above apparatus, in a process that a first broadcast source device having no broadcast synchronous stream transmission right in a broadcast source device group transmits BIS, a first role switching request is transmitted to a main broadcast source device through a communication connection with the main broadcast source device, so as to request to transmit BIS of the first broadcast source device; then receiving a first role switch response sent by the main broadcasting source equipment through communication connection with the main broadcasting source equipment, wherein the first role switch response is used for indicating that the broadcasting synchronous stream sending right is handed over to the first broadcasting source equipment; finally, according to BIG information carried in the first role switching response, BIS of the first broadcast source equipment is sent in a BIG event after the first role switching response; the method is characterized in that a plurality of broadcast source devices are combined into a broadcast source device group, the plurality of broadcast source devices in the broadcast source device group share the same BIG and acquire the right of sending BIS in a role switching mode in a time sharing mode and then send the BIS in a time sharing mode, because the plurality of broadcast source devices send the BIS in a time sharing mode, time slot conflict can be avoided, because the plurality of broadcast source devices send the BIS based on the shared same BIG, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of accessing the broadcast by the broadcast receiving device is reduced, the access stability is improved, and because the plurality of broadcast source devices send the BIS in different BIG events in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another bluetooth communication apparatus according to an embodiment of the present application, where the target slave broadcast source device is applied to a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, and the broadcast source devices may be shown as 10 in fig. 2, where the plurality of broadcast source devices are connected to each other in a communication manner, and the target broadcast source device is the only master broadcast source device having a broadcast synchronization stream transmission right in the plurality of broadcast source devices. As shown in fig. 6, the bluetooth communication device 50 includes:
a sending module 501, configured to send, in a process that the target broadcast source device sends a target broadcast synchronization stream to broadcast receiving devices in a target broadcast synchronization group, a first role switch request sent by a first broadcast source device through the communication connection, where the target broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the target broadcast source device, and the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronization stream sending right in the plurality of broadcast source devices, where the first role switch request is used to request to send a first broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group, where the first broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the first broadcast source device, and the first role switch response carries broadcast synchronization group information of the target broadcast synchronization group, and is used to instruct to transfer broadcast synchronization stream sending rights to the first broadcast source device;
The sending module 501 is further configured to stop sending the target broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group in a first broadcast synchronization group event after the first role switch response, where the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group, and broadcast synchronization group information of the target broadcast synchronization group is used by the first broadcast source device to send the first broadcast synchronization stream to the broadcast receiving device in the target broadcast synchronization group in the first broadcast synchronization group event.
In one possible design, the sending module 501 is further configured to: and establishing the communication connection with other broadcast source devices except the target broadcast source device in the plurality of broadcast source devices.
It should be noted that, in the embodiment corresponding to fig. 6, the details not mentioned in the foregoing description of the method embodiment may be referred to, and will not be repeated here.
When a target broadcast source device with a broadcast synchronous stream transmission right in a broadcast source device group receives a first role switching request sent by a first broadcast source device without the broadcast synchronous stream transmission right in the broadcast source device group in the BIS sending process, a first role switching response is sent to the first broadcast source device through communication connection with the first broadcast source device, the first role switching response is used for indicating that the broadcast synchronous stream transmission right is transferred to the first broadcast source device, and BIS sending is stopped in a first BIG event after the first role switching response, and the first BIG event is used by the first broadcast source device for sending BIS; the method is characterized in that a plurality of broadcast source devices are combined into a broadcast source device group, the plurality of broadcast source devices in the broadcast source device group share the same BIG and acquire the right of sending BIS in a role switching mode in a time sharing mode and then send the BIS in a time sharing mode, because the plurality of broadcast source devices send the BIS in a time sharing mode, time slot conflict can be avoided, because the plurality of broadcast source devices send the BIS based on the shared same BIG, the broadcast receiving device can receive the BIS sent by the plurality of broadcast source devices only by accessing one BIG, the complexity of accessing the broadcast by the broadcast receiving device is reduced, the access stability is improved, and because the plurality of broadcast source devices send the BIS in different BIG events in sequence, the broadcast receiving device can receive the BIS sent by more broadcast source devices.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application, where the bluetooth device 50 includes a processor 501, a memory 502, and a transceiver 503. The memory 502 is connected to the processor 501, for example via a bus.
The processor 501 is configured to support the bluetooth device 50 to perform the corresponding functions in the method embodiments described above. The processor 501 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 502 is used for storing program codes and the like. The memory 502 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 502 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 502 may also include a combination of the types of memory described above.
The transceiver 503 is for transmitting data, and in particular, the transceiver 503 is a bluetooth transceiver.
When the bluetooth device is the first broadcast source device that does not have BIS transmission right, the processor 501 may call the program code to:
in the process that a target broadcast source device sends a target broadcast synchronous stream to broadcast receiving devices in a target broadcast synchronous group, a first role switching request is sent to the target broadcast source device through the communication connection, the target broadcast source device is the only main broadcast source device with the broadcast synchronous stream sending right in the plurality of broadcast source devices, the target broadcast synchronous stream is the broadcast synchronous stream needing to be transmitted by the target broadcast source device, the first role switching request is used for requesting to send a first broadcast synchronous stream to the broadcast receiving devices in the target broadcast synchronous group, and the first broadcast synchronous stream is the broadcast synchronous stream needing to be transmitted by the first broadcast source device;
receiving a first role switching response sent by the target broadcast source equipment through the communication connection, wherein the first role switching response carries broadcast synchronous group information of the target broadcast synchronous group, and the first role switching response is used for indicating that the transmission right of the broadcast synchronous stream is handed over to the first broadcast source equipment;
And according to the broadcast synchronization group information of the target broadcast synchronization group, in a first broadcast synchronization group event after the first role switching response, sending the first broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group, wherein the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group.
When the bluetooth device is a target broadcast source device with BIS transmission rights, the processor 501 may call the program code to:
in the process that the target broadcast source equipment sends a target broadcast synchronous stream to broadcast receiving equipment in a target broadcast synchronous group, if a first role switching request sent by first broadcast source equipment is received through the communication connection, a first role switching response is sent to the first broadcast source equipment through the communication connection, the target broadcast synchronous stream is a broadcast synchronous stream to be transmitted by the target broadcast source equipment, the first broadcast source equipment is a slave broadcast source equipment which does not have a broadcast synchronous stream sending right in the plurality of broadcast source equipment, the first role switching request is used for requesting to send a first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group, the first role switching request is a broadcast synchronous stream to be transmitted by the first broadcast source equipment, the first role switching response carries broadcast synchronous group information of the target broadcast synchronous group, and the first role switching response is used for indicating that the broadcast synchronous stream sending right is handed over to the first broadcast source equipment;
And stopping sending the target broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in a first broadcast synchronous group event after the first role switching response, wherein the first broadcast synchronous group event is a broadcast synchronous group event corresponding to the target broadcast synchronous group, and the broadcast synchronous group information of the target broadcast synchronous group is used by the first broadcast source equipment for sending the first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in the first broadcast synchronous group event.
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 (12)

1. The Bluetooth communication method is characterized by being applied to a first broadcast source device in a broadcast source device group, wherein the broadcast source device group comprises a plurality of broadcast source devices, the plurality of broadcast source devices are in communication connection with each other, and the first broadcast source device is a slave broadcast source device which does not have a broadcast synchronous stream transmission right in the plurality of broadcast source devices; the method comprises the following steps:
in the process that a target broadcast source device sends a target broadcast synchronous stream to broadcast receiving devices in a target broadcast synchronous group, a first role switching request is sent to the target broadcast source device through the communication connection, the target broadcast source device is the only main broadcast source device with the broadcast synchronous stream sending right in the plurality of broadcast source devices, the target broadcast synchronous stream is the broadcast synchronous stream needing to be transmitted by the target broadcast source device, the first role switching request is used for requesting to send a first broadcast synchronous stream to the broadcast receiving devices in the target broadcast synchronous group, and the first broadcast synchronous stream is the broadcast synchronous stream needing to be transmitted by the first broadcast source device;
Receiving a first role switching response sent by the target broadcast source equipment through the communication connection, wherein the first role switching response carries broadcast synchronous group information of the target broadcast synchronous group, and the first role switching response is used for indicating that the transmission right of the broadcast synchronous stream is handed over to the first broadcast source equipment;
and according to the broadcast synchronization group information of the target broadcast synchronization group, in a first broadcast synchronization group event after the first role switching response, sending the first broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group, wherein the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group.
2. The method of claim 1, wherein after receiving the first role switch response sent by the target broadcast source device via the communication connection, further comprises:
updating the broadcast synchronization group information of the target broadcast synchronization group;
and transmitting the updated broadcast synchronization group information of the target broadcast synchronization group to broadcast receiving equipment in the target broadcast synchronization group.
3. The method of claim 1, wherein after receiving the first role switch response sent by the target broadcast source device via the communication connection, further comprises:
And sending a main broadcasting source device update notice to other broadcasting source devices except the first broadcasting source device in the broadcasting source device group through the communication connection, wherein the main broadcasting source device update notice is used for indicating the first broadcasting source device to be the main broadcasting source device.
4. The method of claim 1, wherein after receiving the first role switch response sent by the target broadcast source device via the communication connection, further comprises:
in the process of sending the first broadcast synchronization stream to the broadcast receiving devices in the target broadcast synchronization group, if a second role switching request sent by a second slave broadcast source device is received through the communication connection, a second role switching response is sent to the second broadcast source device through the communication connection, the second slave broadcast source device is a slave broadcast source device without a broadcast synchronization stream sending right in the plurality of broadcast source devices, the second role switching request is used for requesting to send a second broadcast synchronization stream to the broadcast receiving devices in the target broadcast synchronization group, the second broadcast synchronization stream is a broadcast synchronization stream to be transmitted by the second broadcast source device, the second role switching response is used for indicating that the broadcast synchronization stream sending right is transferred to the second broadcast source device, and the second role switching response carries broadcast synchronization group information of the target broadcast synchronization group;
And stopping sending the first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in a second broadcast synchronous group event after the second role switching response, wherein the second broadcast synchronous group event is a broadcast synchronous group event corresponding to the target broadcast synchronous group, and the broadcast synchronous group information of the target broadcast synchronous group is used by the second broadcast source equipment for sending the second broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in the second broadcast synchronous group event.
5. The method according to any one of claims 1-4, wherein before the sending the first role switch request to the target broadcast source device via the communication connection, further comprises:
and establishing the communication connection with other broadcast source devices except the first broadcast source device in the plurality of broadcast source devices.
6. The Bluetooth communication method is characterized in that the target slave broadcasting source equipment applied to a broadcasting source equipment group comprises a plurality of broadcasting source equipment, wherein the plurality of broadcasting source equipment are in communication connection with each other, and the target broadcasting source equipment is the only main broadcasting source equipment with broadcasting synchronous stream transmission right in the plurality of broadcasting source equipment; the method comprises the following steps:
In the process that the target broadcast source equipment sends a target broadcast synchronous stream to broadcast receiving equipment in a target broadcast synchronous group, if a first role switching request sent by first broadcast source equipment is received through the communication connection, a first role switching response is sent to the first broadcast source equipment through the communication connection, the target broadcast synchronous stream is a broadcast synchronous stream to be transmitted by the target broadcast source equipment, the first broadcast source equipment is a slave broadcast source equipment which does not have a broadcast synchronous stream sending right in the plurality of broadcast source equipment, the first role switching request is used for requesting to send a first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group, the first role switching request is a broadcast synchronous stream to be transmitted by the first broadcast source equipment, the first role switching response carries broadcast synchronous group information of the target broadcast synchronous group, and the first role switching response is used for indicating that the broadcast synchronous stream sending right is handed over to the first broadcast source equipment;
and stopping sending the target broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in a first broadcast synchronous group event after the first role switching response, wherein the first broadcast synchronous group event is a broadcast synchronous group event corresponding to the target broadcast synchronous group, and the broadcast synchronous group information of the target broadcast synchronous group is used by the first broadcast source equipment for sending the first broadcast synchronous stream to the broadcast receiving equipment in the target broadcast synchronous group in the first broadcast synchronous group event.
7. The method of claim 6, wherein prior to sending a first persona switch response to the first broadcast source device over the communication connection, further comprising:
and establishing the communication connection with other broadcast source devices except the target broadcast source device in the plurality of broadcast source devices.
8. A bluetooth communication device, characterized in that the bluetooth communication device is applied to a first broadcast source device in a broadcast source device group, where the broadcast source device group includes a plurality of broadcast source devices, where the plurality of broadcast source devices have communication connection with each other, and the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronous stream transmission right in the plurality of broadcast source devices; the device comprises:
a sending module, configured to send, in a process that a target broadcast source device sends a target broadcast synchronization stream to broadcast receiving devices in a target broadcast synchronization group, a first role switching request to the target broadcast source device through the communication connection, where the target broadcast source device is a unique primary broadcast source device with a broadcast synchronization stream sending right in the multiple broadcast source devices, the target broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the target broadcast source device, and the first role switching request is used to request to send a first broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group, where the first broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the first broadcast source device;
The receiving module is used for receiving a first role switching response sent by the target broadcast source equipment through the communication connection, wherein the first role switching response carries broadcast synchronization group information of the target broadcast synchronization group, and the first role switching response is used for indicating that the transmission right of the broadcast synchronization stream is handed over to the first broadcast source equipment;
the sending module is further configured to send, according to the broadcast synchronization group information of the target broadcast synchronization group, the first broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group in a first broadcast synchronization group event after the first role switch response, where the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group.
9. A bluetooth communication apparatus, wherein a target slave broadcast source device applied to a broadcast source device group, the broadcast source device group including a plurality of broadcast source devices, the plurality of broadcast source devices having communication connections therebetween, the target broadcast source device being a unique master broadcast source device having a broadcast synchronization stream transmission right among the plurality of broadcast source devices; the device comprises:
A sending module, configured to send, in a process that the target broadcast source device sends a target broadcast synchronization stream to broadcast receiving devices in a target broadcast synchronization group, a first role switch request sent by a first broadcast source device through the communication connection, where the target broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the target broadcast source device, the first broadcast source device is a slave broadcast source device that does not have a broadcast synchronization stream sending right in the plurality of broadcast source devices, the first role switch request is used to request to send a first broadcast synchronization stream to broadcast receiving devices in the target broadcast synchronization group, the first broadcast synchronization stream is a broadcast synchronization stream that needs to be transmitted by the first broadcast source device, the first role switch response carries broadcast synchronization group information of the target broadcast synchronization group, and the first role switch response is used to instruct to transfer broadcast synchronization stream sending rights to the first broadcast source device;
and the sending module is further configured to stop sending the target broadcast synchronization stream to a broadcast receiving device in the target broadcast synchronization group in a first broadcast synchronization group event after the first role switching response, where the first broadcast synchronization group event is a broadcast synchronization group event corresponding to the target broadcast synchronization group, and the broadcast synchronization group information of the target broadcast synchronization group is used by the first broadcast source device to send the first broadcast synchronization stream to the broadcast receiving device in the target broadcast synchronization group in the first broadcast synchronization group event.
10. 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-5 or claim 6 or 7.
11. 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-5 or of claims 6 or 7.
12. A bluetooth communication system comprising a set of broadcast source devices and a broadcast receiving device, the set of broadcast source devices comprising a plurality of broadcast source devices, the plurality of broadcast source devices being in communication with each other, a first broadcast source device of the plurality of broadcast source devices being adapted to perform the method according to any of claims 1-5, the first broadcast source device being a slave broadcast source device of the plurality of broadcast source devices not having a broadcast synchronous stream transmission right, a target broadcast source device of the plurality of broadcast source devices being adapted to perform the method according to claim 6 or 7, the target broadcast source device being the only master broadcast source device of the plurality of broadcast source devices having a broadcast synchronous stream transmission right.
CN202311343046.9A 2023-10-17 2023-10-17 Bluetooth communication method, device, equipment, system and storage medium Pending CN117221861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311343046.9A CN117221861A (en) 2023-10-17 2023-10-17 Bluetooth communication method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311343046.9A CN117221861A (en) 2023-10-17 2023-10-17 Bluetooth communication method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN117221861A true CN117221861A (en) 2023-12-12

Family

ID=89048195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311343046.9A Pending CN117221861A (en) 2023-10-17 2023-10-17 Bluetooth communication method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN117221861A (en)

Similar Documents

Publication Publication Date Title
CN107852770B (en) Method and system for network discovery and synchronization
EP2695327B1 (en) Systems and methods for implementing multicasting using personal area network (pan) wireless technology
US9420631B2 (en) WLAN peer-to-peer group owner negotiation
CN113395687B (en) Reconnection method, reconnection device, electronic equipment and storage medium
EP3294030A1 (en) System information transmission methods, base station, and user equipment
JP2020510369A5 (en)
CN117221861A (en) Bluetooth communication method, device, equipment, system and storage medium
CN116528202A (en) Connection control method, device, electronic equipment and storage medium
CN111565479A (en) Communication method, device and system thereof
CN112087816B (en) Security activation state determining method and related product
US11147126B2 (en) Neighbor awareness networking discovery window congestion mitigation
KR102548042B1 (en) Communication methods, devices and devices
CN113541842A (en) Multi-shooting range system time synchronization method and device
WO2014110726A1 (en) Method for network access of mobile terminal, and mobile terminal
CN117544932A (en) Bluetooth communication method, device, equipment and storage medium
CN110913378B (en) Operation optimization for trigger-based instant messaging
CN117395637A (en) Bluetooth communication method, device, equipment, system and storage medium
CN111093291A (en) TDMA ad hoc network, construction method thereof, node and storage medium
CN113271229B (en) Equipment control method and device, storage equipment, safety equipment, switch, router and server
CN114900710B (en) Multi-device synchronization method and device, electronic device and storage medium
WO2024012292A1 (en) Remote photographing method and apparatus, device, and storage medium
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN117596575A (en) Audio data packet transmission method, device, equipment, system and storage medium
WO2024041470A1 (en) System information message receiving method, system information message sending method, and terminal and network-side device
CN117651267A (en) BIG broadcast access 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