Bluetooth low-power-consumption broadcast communication method, device and system
By configuring reverse communication enable commands and sharing reverse control periods in the Bluetooth Low Energy Broadcast communication system, the problems of single-point to multi-point reverse control and bidirectional communication are solved, improving the system's controllability and user experience.
Patent Information
- Application Number
- CN202310835474.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2025-01-07
AI Technical Summary
Existing Bluetooth Low Energy audio broadcasting technology lacks point-to-multipoint reverse control and bidirectional communication functions. Especially when device information is uncertain, the system controllability is poor and the user experience is unpleasant.
In Bluetooth Low Energy Broadcast communication systems, by configuring a reverse communication enable command in the data packets of the isochronous synchronization channel and setting a shared reverse control period, slave devices are allowed to transmit reverse control data packets without needing to exclusively occupy a period, thereby realizing bidirectional communication and control between the master device and multiple slave devices.
It enables reverse control and bidirectional communication from a single point to multiple points even when device information is uncertain, improving the controllability and user experience of the Bluetooth Low Energy Broadcast communication system.
Smart Images

Figure CN119277329A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a Bluetooth low energy broadcast communication method and related equipment and system. Background Art
[0002] Wireless audio technology brings people unfettered freedom of conversation and audio enjoyment, and has won wide popularity. In particular, Bluetooth Low Energy (BLE) audio technology uses the isochronous channels protocol, namely the connected isochronous stream (CIS: ConnectedIsochronous Stream) link of single-point to single-point communication and the connected isochronous group (CIG: ConnectedIsochronous Group) protocol composed of multiple CIS links, as well as the broadcast isochronous stream (BIS: BroadcastIsochronous Stream) link of single-point to multi-point communication and the broadcast isochronous group (BIG: BroadcastIsochronous Group) protocol composed of multiple BIS links, bringing people lower power consumption, lower cost, higher quality, lower latency, and richer wireless audio services. For example, the Auracast function of Bluetooth Low Energy Broadcast newly released by the Bluetooth SIG is a wireless music sharing application based on the BIG protocol and the Public Broadcast Profile (PBP: Public Broadcast Profile) protocol.
[0003] The main application scenarios of the Auracast function are public places such as airports, stations, shopping malls, cafes, and silent TVs. Anyone in these public places can use their own Bluetooth audio devices to access the Auracast system at any time to listen to music. In these application scenarios, the Auracast receiving device is mainly the wireless headset or wireless hearing aid of any listener. It does not require the Auracast receiving device to feedback status information to the Auracast sending device, nor does it require the Auracast receiving device to reversely control the Auracast sending device and indirectly control other Auracast receiving devices. The Auracast sending device cannot receive any information from the Auracast receiving device. Therefore, PBP and BIG do not support point-to-multipoint reverse or two-way communication functions, resulting in the inability of BIG-based Auracast or PBP to be applied to music sharing party (Party) scenarios or multi-room distributed speaker (Speaker) scenarios that require interactive control functions.
[0004] Therefore, the existing Bluetooth low-power audio broadcasting technology does not solve the problem of two-way communication in the audio broadcasting system, especially the problem of single-point to multi-point reverse control and two-way communication when the slave device information is uncertain. The system controllability is poor and the user experience is low. Summary of the invention
[0005] The embodiments of the present application provide a Bluetooth low energy broadcast communication method, device and system, which can improve the controllability of the Bluetooth low energy broadcast communication system.
[0006] In a first aspect, the present application provides a Bluetooth low energy broadcast communication method, which is applied to a master device that performs broadcast communication in a broadcast isochronous stream (BIS) mode, wherein the master device and one or more slave devices broadcast communication in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, wherein a data broadcast period and a shared reverse control period are provided in the isochronous interval, and the shared reverse control period is at least a period that can be occupied by any one of the slave devices when sending a reverse control data packet; the method comprises:
[0007] Configuring a reverse communication enabling instruction in the BIS data packet to be broadcast, wherein the reverse communication enabling instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0008] Broadcasting and sending the BIS data packet during the data broadcast period;
[0009] Without allocating an exclusive time period for reverse communication to each slave device, when the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval, reception is performed based on the isochronous synchronization channel during the shared reverse control period of the current isochronous interval to obtain a reverse control data packet sent by the slave device.
[0010] Furthermore, configuring the reverse communication enable instruction in the BIS data packet to be broadcast also includes: configuring a control sub-event sending flag in the BIS data packet to be broadcast, and the control sub-event sending flag is used to indicate whether the master device sends a control data packet within the current equal time interval.
[0011] Optionally, a control period is also provided in the equal time interval, for the master device to broadcast and send a control data packet;
[0012] The method further comprises:
[0013] When the control sub-event sending flag indicates that the master device sends a control data packet in the current isochronous interval, the control period is entered after the data broadcast period of the current isochronous interval, and the control data packet is broadcasted based on the isochronous synchronization channel in the control period.
[0014] Optionally, the time domain position of the shared reverse control period is after the control period.
[0015] Optionally, the shared reverse control period is also a period that can be occupied by the master device when sending a control data packet;
[0016] When the control sub-event sending flag is configured to instruct the master device to send a control data packet in the current isochronous interval, the reverse communication enabling instruction is configured to instruct to prohibit reverse communication in the current isochronous interval;
[0017] When the reverse communication enabling instruction is configured to indicate that reverse communication is allowed in the current isochronous interval, the control sub-event sending flag is configured to indicate that the master device does not send a control data packet in the current isochronous interval;
[0018] When the control sub-event sending flag indicates that the master device sends a control data packet in the current isochronous interval, after the data broadcast period of the current isochronous interval, the shared reverse control period is entered, and the control data packet is broadcasted based on the isochronous synchronization channel in the shared reverse control period.
[0019] A second aspect of the present application provides a Bluetooth low energy broadcast communication method, which is applied to a slave device that broadcasts communication in a broadcast isochronous stream (BIS) mode, wherein one or more of the slave devices and the master device broadcast communication in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, wherein a data broadcast period and a shared reverse control period are provided in the isochronous interval, and the shared reverse control period is at least a period that can be occupied by any one of the slave devices when transmitting a reverse control data packet; the method comprises:
[0020] Receiving a BIS data packet broadcasted by the master device during the data broadcast period, and acquiring a reverse communication enable instruction carried in the BIS data packet, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0021] When the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval and the slave device determines that reverse communication is required, a reverse control data packet is sent based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period without the master device allocating an exclusive time period for reverse communication to the slave device.
[0022] Furthermore, the method further comprises:
[0023] A control sub-event sending flag carried in the BIS data packet is obtained, where the control sub-event sending flag is used to indicate whether the master device sends a control data packet within a current equal time interval.
[0024] Optionally, a control period is also provided in the equal time interval, for the master device to broadcast and send a control data packet;
[0025] The method also includes: when the control sub-event sending flag indicates that the master device sends a control data packet within the current isochronous interval, after the data broadcast period of the current isochronous interval, entering the control period, and receiving the control data packet broadcasted by the master device based on the isochronous synchronization channel during the control period.
[0026] Optionally, the shared reverse control period is also a period that can be occupied by the master device when sending a control data packet;
[0027] When the control sub-event sending flag indicates that the master device sends a control data packet within the current isochronous interval, after the data broadcast period of the current isochronous interval, the shared reverse control period is entered, and the control data packet broadcasted by the master device is received based on the isochronous synchronization channel during the shared reverse control period.
[0028] Optionally, sending a reverse control data packet based on the Bluetooth low energy isochronous channel during the shared reverse control period includes:
[0029] Based on the randomly generated delay duration, the reverse control data packet is sent in a shared reverse control period of equal time interval corresponding to the delay duration.
[0030] Optionally, the BIS data packet, control data packet and reverse control data packet are all data packets in a BIS PDU format with a modified packet header;
[0031] The header of the data packet includes the following flag fields:
[0032] A first flag field is used for the master device to configure the reverse communication enable instruction, or for the slave device to configure the reverse communication flag, wherein the reverse communication flag is used to indicate that the data packet is a reverse control data packet sent by the slave device;
[0033] The second flag field is used by the master device to configure the control sub-event sending flag;
[0034] The third flag field is used for the master device and the slave device to configure the logical link identifier LLID of the load type. When the logical link identifier of the data packet is configured as a predetermined value, it indicates that the data packet is the control data packet or the reverse control data packet.
[0035] Optionally, the header of the data packet also includes an extended field for configuring a reverse control flag, wherein the reverse control flag is used by the master device to indicate whether to allow / disable reverse control or information feedback of one or more functions, or to indicate from the slave device that the reverse control data packet carries reverse control or information feedback of one or more functions.
[0036] Optionally, the bits of the extended field correspond to the one or more functions respectively;
[0037] The one or more functions include one or more of lighting effect control, volume control, media control, transmission power control, version information, and shutdown control.
[0038] Optionally, before receiving the BIS data packet broadcasted by the master device during the data broadcast period, the method includes:
[0039] Search for the extended advertising protocol data packet ADV_EXT_IND PDU sent by the master device on the primary advertising channel, and obtain the information of the auxiliary advertising protocol data packet AUX_ADV_IND PDU sent by the master device on the secondary advertising channel;
[0040] Receive the auxiliary advertising protocol data packet AUX_ADV_IND PDU sent by the master device on the secondary advertising channel, and obtain the information of the synchronization auxiliary protocol data packet AUX_SYNC_IND PDU sent by the master device on the periodic advertising channel;
[0041] Receive the synchronization auxiliary protocol data packet AUX_SYNC_IND PDU sent by the master device on the periodic advertising channel, and obtain BIG information. The BIG information is used to receive the BIS data packet broadcasted by the master device during the data broadcast period according to the BIG information.
[0042] A third aspect of the present application provides a Bluetooth low energy broadcast communication device, which is configured to be used as a master device in the Bluetooth low energy broadcast communication method described above, wherein the master device is used to broadcast and communicate with one or more slave devices in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, wherein a data broadcast period and a shared reverse control period are provided in the isochronous interval, and the shared reverse control period is at least a period that can be occupied by any one of the slave devices when sending a reverse control data packet; the master device is also used to:
[0043] Configuring a reverse communication enabling instruction in the BIS data packet to be broadcast, wherein the reverse communication enabling instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0044] Broadcast and send the BIS data packet during the data broadcast period of the current equal time interval;
[0045] Without allocating an exclusive period for reverse communication to each slave device, when the reverse communication enabling instruction indicates that reverse communication is allowed in the current isochronous interval, the reverse control data packet sent by the slave device is received based on the isochronous synchronous channel in the shared reverse control period.
[0046] A fourth aspect of the present application provides a Bluetooth low energy broadcast communication device, which is configured to be used as a slave device in the Bluetooth low energy broadcast communication method as described above, wherein the slave device is used to broadcast and communicate with the master device in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, wherein the isochronous interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that can be occupied by any one of the slave devices when transmitting a reverse control data packet; the slave device is also used to:
[0047] Receiving a BIS data packet broadcasted by the master device during the data broadcast period, and acquiring a reverse communication enable instruction carried in the BIS data packet, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0048] When the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval and the slave device determines that reverse communication is required, a reverse control data packet is sent based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period without the master device allocating an exclusive time period for reverse communication to the slave device.
[0049] A fifth aspect of the present application provides a Bluetooth low energy broadcast communication system, comprising a master device as described in the third aspect and one or more slave devices as described in the fourth aspect, wherein the master device and the slave device are used to broadcast communication in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, characterized in that a data broadcast period and a shared reverse control period are provided in the isochronous interval, and the shared reverse control period is at least a period that can be occupied by any one of the slave devices when transmitting a reverse control data packet;
[0050] The master device is used to configure a reverse communication enable instruction in a BIS data packet to be broadcast, and broadcast and send the BIS data packet during the data broadcast period of the current equal time interval, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0051] The slave device is used to receive the BIS data packet during the data broadcast period of the current equal time interval and obtain the reverse communication enabling instruction;
[0052] Without the need for the master device to allocate an exclusive time period for reverse communication to each of the slave devices, when the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval, any one of the slave devices that determines that reverse communication is required is also used to send a reverse control data packet based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period, and the master device is also used to receive based on the isochronous synchronization channel during the shared reverse control period to obtain the reverse control data packet.
[0053] A sixth aspect of the present application provides an electronic device, comprising a user interface, a baseband data and protocol processor, and a BLE radio frequency transceiver module, wherein the electronic device is configured to be used as the master device described in the third aspect, or as the slave device described in the fourth aspect, wherein:
[0054] The user interface is used to receive a reverse communication setting instruction input by a user;
[0055] The baseband data and protocol processor is used to control the execution of Bluetooth low energy broadcast communication in a plurality of consecutive equal time intervals, and is also used to control the execution of the Bluetooth low energy broadcast communication method as described in the first aspect and the second aspect;
[0056] The BLE radio frequency transceiver module is used to send and receive Bluetooth low energy wireless signals.
[0057] A seventh aspect of the present application provides a chip, comprising: a processing module and a storage module; the storage module stores instructions that can be executed by the processing module, and the instructions are executed by the processing module so that the processing module can execute:
[0058] In the Bluetooth low energy broadcast communication method as described in the first aspect, the chip is applied to the master device; or
[0059] In the Bluetooth low energy broadcast communication method as described in the second aspect, the chip is applied to the slave device.
[0060] The eighth aspect of the present application provides a computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, it implements the Bluetooth low-power broadcast communication method as described in the first aspect, or implements the Bluetooth low-power broadcast communication method as described in the second aspect.
[0061] In the embodiment of the present application, the master and slave devices of the Bluetooth low-power broadcast communication system, while performing Bluetooth low-power BIS data broadcast communication, also configure a reverse communication enable instruction in the BIS data packet to be broadcast, and the reverse communication enable instruction is used to indicate whether reverse communication is allowed in the current isochronous interval. In addition, a shared reverse control period is set in the isochronous interval. In the case where the reverse communication enable instruction indicates that reverse communication is allowed in the current isochronous interval, any slave device that needs reverse communication can occupy the shared reverse control period to send a reverse control data packet based on the isochronous synchronization channel, and the master device does not need to allocate an exclusive period for reverse communication to each slave device, and can receive the reverse control data packet in the shared reverse control period, thereby realizing the function of two-way communication and slave device controlling the master device. Therefore, relative to the prior art, the embodiment of the present application can realize the reverse control and two-way communication of the single-point to multi-point broadcast system in the case of uncertain slave device information, thereby improving the controllability of Bluetooth low-power broadcast communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following description is given to the drawings of the specification. Obviously, the following drawings are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the listed drawings without paying any creative work.
[0063] Figure 1 It is a structural diagram of a Bluetooth low energy broadcast communication system according to an embodiment of the present application;
[0064] Figure 2 It is a flowchart of a Bluetooth low energy broadcast communication method according to an embodiment of the present application, which is applied to a master device;
[0065] Figure 3 It is a flowchart of a Bluetooth low energy broadcast communication method according to an embodiment of the present application, which is applied to a slave device;
[0066] Figure 4 It is a schematic diagram of a time slot structure of a Bluetooth low energy broadcast communication system according to an embodiment of the present application;
[0067] Figure 5 is a schematic diagram of a packet header structure of a data packet in an embodiment of the present application;
[0068] Figure 6 is a schematic diagram of the packet header format of another data packet in an embodiment of the present application;
[0069] Figure 7 It is a schematic diagram of the format of the reverse control flag in the embodiment of the present application;
[0070] Figure 8A schematic diagram of a load structure of a BIG Control PDU in an embodiment of the present application;
[0071] Fig. 9 A schematic diagram of the structure of a Bluetooth low energy broadcast communication device in an embodiment of the present application;
[0072] Fig.10 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0073] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0074] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0075] Figure 1 Shown is a structural schematic diagram of a Bluetooth low energy broadcast communication system according to an embodiment of the present application.
[0076] These include a master device and one or more slave devices.
[0077] The master device and the slave device are used to perform Bluetooth low energy broadcast communication in a plurality of consecutive isochronous intervals.
[0078] The broadcast communication function of BLE can be implemented using the Isochronous Channels protocol based on Bluetooth broadcast, where the data broadcast by a data source can be received by multiple data receivers based on the broadcast isochronous stream (BIS) of Bluetooth low energy. The communication time of BIS is divided into isochronous intervals (ISO Interval). The data source encapsulates the data to be broadcast into BIS data packets, and broadcasts them based on the BLE isochronous channel in each broadcast time slot of the isochronous interval. After the data receiver is synchronized with the data source, it can scan the BLE isochronous channel in the broadcast time slot to receive the BIS data packet broadcast by the data source.
[0079] In the current BLE Audio technology, the data source uses BIS Data PDU (Broadcast Isochronous Stream Data Protocol Data Unit) to encapsulate the encoded audio data to form a BIS data packet carrying the audio data. After receiving each BIS data packet, the data receiver decodes the audio data in it for playing music.
[0080] The role of the master device is the data source in the BLE broadcast communication, and the role of the slave device is the data receiver. The master device and the slave device can be implemented as various Bluetooth low-power broadcast communication devices, such as: mobile phones, portable game consoles, portable media playback devices, personal computers, car media playback devices, speakers, in-ear headphones, headphones, speakers, etc. It is understandable that in some application scenarios, the master device can change its role and be used as a slave device. The slave device can also change its role and be used as a master device.
[0081] The number of the slave devices may be one or more. In fact, the slave device may be any device that receives a broadcast isochronous stream within the broadcast range, and the number of the slave devices may also change dynamically. The embodiment of the present application does not limit the number of the slave devices.
[0082] In BLE broadcast communication, the data source can also communicate periodically through periodic advertisements (PA). The ACAD (Additional Controller Advertising Data) field of the periodic advertisement can carry BIG information (broadcast isochronous group synchronization information, BIGInfo). The data receiver can receive periodic broadcasts and obtain BIGInfo. The data receiver can synchronize to the BIG based on BIGInfo to obtain the BIS data packet on the BIG. The main parameters of BIGInfo may include parameters specified by the Bluetooth protocol, such as ISOInterval, BIS Num, NSE, BN, IRC, SDU Size, etc., which will not be repeated here.
[0083] like Figure 2 As shown, as the first embodiment of the present application, a Bluetooth low energy broadcast communication method is provided, which is applied to a master device that performs broadcast communication in a broadcast isochronous stream (BIS) manner, wherein the master device and one or more slave devices broadcast communication in multiple consecutive isochronous intervals based on an isochronous synchronization channel.
[0084] The equal time interval is at least provided with a data broadcast period and a shared reverse control period, and the shared reverse control period is at least a period that any one of the slave devices can occupy when sending a reverse control data packet. The method comprises:
[0085] Step 200, configuring a reverse communication enabling instruction in the BIS data packet to be broadcast, wherein the reverse communication enabling instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0086] Step 210, broadcasting and sending the BIS data packet during the data broadcast period of the current equal time interval;
[0087] Step 220, without allocating an exclusive time period for reverse communication to each slave device, when the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval, reception is performed based on the isochronous synchronization channel in the shared reverse control period of the current isochronous interval to obtain a reverse control data packet sent by the slave device.
[0088] like Figure 3 As shown, as a second embodiment of the present application, a Bluetooth low energy broadcast communication method is provided, which is applied to a slave device that broadcasts communication in a broadcast isochronous stream (BIS) manner, and one or more of the slave devices and the master device broadcast communication in multiple consecutive isochronous intervals based on an isochronous synchronization channel.
[0089] The equal time interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that any one of the slave devices can occupy when transmitting a reverse control data packet; the method comprises:
[0090] Step 300, receiving a BIS data packet broadcasted by a master device during the data broadcast period, and acquiring a reverse communication enable instruction carried in the BIS data packet, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0091] Step 310, when the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval, and the slave device determines that reverse communication is required, a reverse control data packet is sent based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period without the need for the master device to allocate an exclusive time period for reverse communication to the slave device.
[0092] Figure 4 Schematic diagram of a time slot structure in an embodiment of the present application. In an equal time interval (labeled ISOInterval), a data broadcast period and a shared reverse control period are set. The data broadcast period is used for the master device to broadcast and send BIS data packets. Figure 4 The box marked with BIS PDU represents a BIS data packet, and accordingly, the time period where the BIS PDU is located represents the data broadcast period. The shared reverse control period is used for at least one slave device to send a reverse control data packet. Figure 4 The box marked with BIG RC PDU represents a reverse control data packet, and accordingly, the time period in which the BIG RC PDU is located represents the shared reverse control time period. It is understandable that other time periods may also be set within the equal time interval for performing other communication actions of broadcast communication, and this application does not impose specific restrictions on this.
[0093] It can be understood that one or more BIS PDUs may be transmitted during the data broadcast period, and one or more BIG RC PDUs may be transmitted during the shared reverse control period.
[0094] The master device and the slave device perform Bluetooth low energy broadcast communication in multiple equal time intervals that are continuous in the time domain. Among them, the master device generates a BIS data packet for broadcasting and sending in equal time intervals, and configures the reverse communication enable instruction in each BIS data packet. In some specific embodiments, the master device can configure the reverse communication enable instruction according to a user input command, or it can configure the reverse communication enable instruction according to the current system operation status. The reverse communication enable instruction is used to indicate whether reverse communication is allowed in the current equal time interval in which the BIS data packet is broadcast. The master device can flexibly adjust the permission and prohibition of reverse communication by configuring each BIS data packet to dynamically adapt to the needs of the system and users.
[0095] The master device Figure 4 The data broadcast period shown broadcasts and sends the BIS data packet configured with the reverse communication enabling instruction. As a specific implementation, within an equal time interval, a BIS data packet can be repeatedly broadcast multiple times within the data broadcast period.
[0096] In some specific embodiments, Figure 4 As shown in , the time domain position of the shared reverse control period in the isochronous interval may be after the data broadcast period. If the reverse communication enable instruction configured in the BIS data packet broadcast in the current isochronous interval indicates that reverse communication is allowed in the current isochronous interval, the master device enters the shared reverse control period after completing the sending action in the data broadcast period, and performs a receiving action in the shared reverse control period to obtain the reverse control data packet sent by the slave device on the isochronous synchronization channel. It can be understood that in other specific embodiments, the time domain position of the shared reverse control period can be set as needed, and the present application does not impose specific restrictions on this.
[0097] Accordingly, all slave devices in the broadcast communication system receive the BIS data packet broadcasted by the master device during the data broadcast period, and obtain the reverse communication enable instruction carried in the BIS data packet. Moreover, any slave device can confirm whether it needs to perform reverse communication based on various factors such as user input commands and system operation needs, and generate the reverse control data packet when confirming that it needs to perform reverse communication.
[0098] When the reverse communication enable instruction obtained by the slave device indicates that reverse communication is allowed within the current isochronous interval and confirms that it needs to perform reverse communication, the slave device can send the reverse control data packet based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period.
[0099] In the Bluetooth low energy broadcast communication method of the embodiment of the present application, all slave devices transmit reverse control data packets in the shared reverse control period. The master device does not need to know each slave device in the system in advance and allocate an exclusive period for reverse communication to each slave device. The slave device does not need to register in the master device in advance, or request the master device to allocate an exclusive period for the device when reverse communication is required. The master device enables reverse communication via a BIS data packet. Any slave device can transmit reverse communication data in a timely manner as long as it receives a BIS data packet. This can achieve reverse control and two-way communication of a single-point to multi-point broadcast system when the slave device information is uncertain, thereby improving the controllability of the Bluetooth low energy broadcast communication system. At the same time, the embodiment of the present application is applied to a Bluetooth system that broadcasts communication in a broadcast isochronous stream BIS manner, and has good compatibility with the existing Bluetooth low energy broadcast Auracast system, which is conducive to implementation and promotion.
[0100] In some specific embodiments, the present application can also implement two-way control in Bluetooth low energy broadcast communication.
[0101] The Bluetooth low energy broadcast communication method further includes: the master device can also configure a control sub-event sending flag in the BIS data packet to be broadcast while configuring the reverse communication enabling instruction, and the control sub-event sending flag is used to indicate whether the master device sends a control data packet within the current equal time interval. The control data packet can at least carry relevant information about the master device controlling the working state of the slave device.
[0102] The master device can generate a control data packet based on user input instructions, information of the reverse control data packet of the slave device or other system operation needs, so as to broadcast relevant control information to the slave devices in the broadcast system, thereby realizing two-way control between the master and slave devices through control data packets and reverse control data packets.
[0103] In some specific embodiments, a control period is also provided within the equal time interval, for the master device to broadcast and send the control data packet.
[0104] The Bluetooth low energy broadcast communication method also includes: when the control sub-event sending flag indicates that the master device sends a control data packet within the current isochronous interval, after the data broadcast period of the current isochronous interval, entering the control period, and sending the control data packet based on the isochronous synchronization channel broadcast during the control period.
[0105] refer to Figure 4 In the second equal time interval ISO Inertval, the box marked with BIG C PDU represents the control data packet, and accordingly, the time period for transmitting the control data packet represents the control time period.
[0106] As a specific embodiment, the time domain position of the shared reverse control period is after the control period. The Bluetooth low energy broadcast communication method can be specifically implemented as follows: if the current equal time interval does not need to send a control data packet, and the current equal time interval allows reverse communication, then Figure 4 As shown in the first or third isochronous interval ISOInertval, after completing the sending action in the data broadcast period, the master device enters the shared reverse control period and performs a receiving action to obtain the reverse control data packet BIG RC PDU sent by the slave device. If the current isochronous interval needs to send a control data packet and the current isochronous interval allows reverse communication, it can be as follows Figure 4 As shown in the second isochronous interval ISO Inertval, after completing the sending action in the data broadcast period, the master device first enters the control period and completes the action of sending the control data packet BIG C PDU. Then it enters the shared reverse control period and performs the receiving action. It can be understood that if the current isochronous interval does not allow reverse communication, the master device may not perform the receiving action in the shared reverse control period to save power consumption.
[0107] In the embodiment of the present application, the time domain position of the shared reverse control period and the control period within the equal time interval can be pre-configured. For example, the time domain position of the data broadcast period can be pre-configured, and the start time of the control period can be pre-set to be the same as the end time of the data broadcast period. The start time of the shared reverse control period is either the same as the end time of the data broadcast period or the same as the end time of the control period. The master device only needs to configure the reverse communication enable instruction and the control sub-event sending flag in the BIS data packet to enable the slave device to accurately know the enable state and working timing of the bidirectional control.
[0108] Correspondingly, in some specific embodiments, the Bluetooth low energy broadcast communication method also includes, the slave device obtaining a control sub-event sending flag carried in the BIS data packet, and the control sub-event sending flag is used to indicate whether the master device sends a control data packet within the current equal time interval.
[0109] In the case where the control sub-event sending flag indicates that the master device sends a control data packet in the current isochronous interval, the slave device enters the control period after the data broadcast period of the current isochronous interval, and receives the control data packet broadcasted by the master device based on the isochronous synchronization channel during the control period. Specifically, if the master device does not need to send a control data packet in the current isochronous interval, and the current isochronous interval allows reverse communication, then Figure 4As shown in the first or third isochronous interval ISO Inertval, the slave device that needs to perform reverse communication enters the shared reverse control period after completing the receiving action in the data broadcast period, and sends a reverse control data packet BIG RC PDU based on the Bluetooth low energy isochronous synchronous channel in the shared reverse control period. If the current isochronous interval master device needs to send a control data packet and the current isochronous interval allows reverse communication, then Figure 4 As shown in the second isochronous interval ISO Inertval, any one of the slave devices, after completing the sending action in the data broadcast period, enters the control period and performs the action of receiving the control data packet BIG CPDU. Afterwards, the slave device that needs to perform reverse communication enters the shared reverse control period to send the reverse control data packet BIG RC PDU. It can be understood that if the current isochronous interval does not allow reverse communication, the slave device that needs to perform reverse communication may not perform the sending action in the shared reverse control period. The slave device that does not need to perform reverse communication does not need to perform sending or receiving actions in the shared reverse control period regardless of whether the current isochronous interval allows reverse communication.
[0110] In some other specific embodiments, the control period is not set in the equal time interval, and the master device can use the shared reverse control period to transmit the control data packet. That is, the shared reverse control period is not only a period that any slave device can occupy when transmitting a reverse control data packet, but also a period that the master device can occupy when sending a control data packet.
[0111] The master device flexibly arranges the use of the shared reverse control period by configuring the control sub-event sending flag and the reverse communication enabling instruction. For example:
[0112] When the control sub-event sending flag is configured to instruct the master device to send a control data packet in the current isochronous interval, the reverse communication enabling instruction is configured to instruct to prohibit reverse communication in the current isochronous interval;
[0113] When the reverse communication enabling instruction is configured to indicate that reverse communication is allowed in the current isochronous interval, the control sub-event sending flag is configured to indicate that the master device does not send a control data packet in the current isochronous interval.
[0114] Furthermore, the Bluetooth low energy broadcast communication method further includes: when the control sub-event sending flag indicates that the master device sends a control data packet in the current isochronous interval, the master device enters the shared reverse control period after the data broadcast period of the current isochronous interval, and broadcasts and sends the control data packet based on the isochronous synchronization channel in the shared reverse control period. Correspondingly, all slave devices enter the shared reverse control period after the data broadcast period of the current isochronous interval, and receive the control data packet broadcasted by the master device based on the isochronous synchronization channel in the shared reverse control period.
[0115] In this embodiment, the bidirectional control of the master and slave devices is all arranged to be completed within the shared reverse control period, which can effectively save time slot resources.
[0116] In some specific embodiments, in order to avoid signal interference caused by multiple slave devices sending reverse control data packets at the same time, the slave device may send the reverse control data packet in a shared reverse control period of equal time intervals corresponding to the delay time period after the randomly generated delay time period when sending the reverse control data packet. Optionally, the delay time period may be an integer multiple of the equal time interval time period.
[0117] In some specific embodiments, the BIS data packet, control data packet and reverse control data packet may all be data packets in the BIS PDU (PDU: Protocol Data Unit) format with a modified header, so as to be compatible with the existing Bluetooth low energy broadcast system.
[0118] According to the specifications related to Bluetooth low energy broadcast technology released by SIG, the BIS PDU transmitted based on the isochronous synchronous channel includes a header part and a payload part. The header part includes a logical link identifier (LLID: Logical Link Identifier) for indicating the BIS PDU payload type, a control subevent sequence number (CSSN: Control Subevent Sequence Number), a control subevent transmission flag (CSTF: Control Subevent Transmission Flag), the length of the BIS PDU payload, and a 2-bit reserved field (RFU: Reserved for Future Use). When the LLID is configured as 0b11, it indicates that the current BIS PDU is a BIS Control PDU for transmitting control information.
[0119] The embodiment of the present application modifies the header of the BIS PDU to obtain the above-mentioned BIS data packet, control data packet and reverse control data packet of the present application. The header of the data packet includes the following flag field:
[0120] The first flag field is used for the master device to configure the reverse communication enable instruction, or the slave device to configure the reverse communication flag, and the reverse communication flag is used to indicate that this data packet is a reverse control data packet sent by the slave device; as a specific implementation method, the first flag field can be set in the reserved field RFU.
[0121] The second flag field is used by the master device to configure the control sub-event sending flag;
[0122] The third flag field is used for the master device and the slave device to configure the logical link identifier LLID of the load type. When the logical link identifier of the data packet is configured as a predetermined value, it indicates that the data packet is the control data packet or the reverse control data packet.
[0123] In some other specific embodiments, the header of the BIS PDU can be further modified, that is, the header of the data packet also includes an extended field for configuring a reverse control flag, the reverse control flag is used by the master device to indicate whether to allow / disable reverse control or information feedback of one or more functions, or is used by the slave device to indicate that the reverse control data packet carries reverse control or information feedback of one or more functions. The payload portion of the reverse control data packet can be used to carry specific control parameters or feedback data.
[0124] The bits of the extended field are set to correspond to the one or more functions respectively.
[0125] The one or more functions may be set according to specific application scenarios, for example, may include one or more of lighting effect control, volume control, media control, transmission power control, version information, and shutdown control.
[0126] It is understandable that the above-mentioned various instructions, flags and information can also be configured in the payload part of the BIS PDU.
[0127] In a system of Bluetooth low energy broadcast isochronous stream BIS broadcast communication, the embodiment of the present application adopts BIS data packets, control data packets and reverse control data packets transmitted on an isochronous synchronization channel to achieve two-way control of broadcast communication. It is compatible with existing Bluetooth broadcast communication systems, and its control information transmission is more stable and the control response is more sensitive, which can effectively improve the controllability of the system and user experience.
[0128] The present application will be described in detail below in conjunction with a specific application scenario, such as the Auracast multi-room distributed speaker (MRDS: Multi-Room Distributed Speaker) system. For ease of description and understanding, referring to the naming conventions of the Bluetooth technology system for similar technologies, the communication protocol implemented by the Bluetooth low-power broadcast communication method of the embodiment of the present application will be referred to as the BIG with reverse control (BIGWRC: BIG with Reverse Control) link protocol. The master device and one or more slave devices establish a reverse control channel through the BIGWRC link protocol, which facilitates the slave device to send control commands or feedback information, thereby improving the controllability of the single-point to multi-point wireless audio broadcast system, and can realize shutdown control, version control, transmission power control, media control, volume control or lighting effect control, etc.
[0129] The Auracast MRDS system can be used as Figure 1 As shown, it consists of an MRDS master speaker and an indefinite number of MRDS slave speakers. The master speaker broadcasts audio to the slave speakers through the BIG and PBP protocols. The master speaker and the indefinite number of slave speakers establish a reverse control channel through the BIGWRC link protocol, which facilitates the slave speakers to send control commands to improve the controllability of MRDS.
[0130] like Figure 5 As shown, as a specific embodiment, the data packet of the BIGWRC link protocol can be used Figure 5The header structure in the BIS PDU header, wherein, based on the current BIS PDU header, a bit reserved field (RFU: Reserved for Future Use) is set as the reverse control subevent transmission flag (RCSTF: Reverse Control Subevent Transmission Flag), the master device configures the value of RCSTF to configure the reverse communication enable instruction, and the slave device can determine whether reverse communication is allowed in the current equal time interval based on the RCATF. When the master device sets the RCSTF in the header of the data packet to 1, the slave device can send a reverse control data packet. When the RCSTF is set to 0, the slave device cannot send a reverse control data packet. When the slave device sends a reverse control data packet, it can set the RCSTF in the header of the reverse control data packet to 1. The functions and usage of other fields of the data packet header of the BIGWRC link protocol are the same as those defined in the header of the current BIS PDU format, including the logical link identifier (LLID: Logical Link Identifier) used to indicate the BIS PDU load type, the control subevent sequence number (CSSN: Control Subevent Sequence Number), the control subevent transmission flag (CSTF: Control Subevent Transmission Flag), the length of the BIS PDU load, and 1 bit RFU. Among them, when CSTF is set to 1, the master device sends the control data packet BIG C PDU in the current equal time interval, and when CSTF is set to 0, the master device does not send the control data packet BIG C PDU in the current equal time interval. When LLID is configured to 0b11, it indicates that the current BIS PDU is a BIS Control PDU used to transmit control information, otherwise the current BIS PDU is a BIS Data PDU (BIS data packet). The BIS Control PDU sent by the master device is a control data packet BIG CPDU, and the BIS Control PDU sent by the slave device is a reverse control data packet BIG RC PDU.
[0131] When the header structure of the data packet is applied to a specific application scenario where both bidirectional controls occupy the shared reverse control period, CSTF and RCSTF cannot be set to 1 at the same time, so that the master device and the slave device can occupy the shared reverse control period respectively.
[0132] When the header structure of the data packet is applied to a specific application scenario where bidirectional control occupies the control period and the shared reverse control period respectively, CSTF and RCSTF can be set to 1 at the same time, that is, the master device and the slave device send BIG C PDU and BIG RC PDU in the same equal time interval. Figure 4 As shown in the second equal time interval of , the shared reverse control period is set immediately after the control period, that is, the slave device sends the BIG RC PDU immediately after the time slot in which the master device sends the BIG C PDU.
[0133] like Figure 6 As shown, as another specific embodiment, the data packet of the BIGWRC link protocol can also be used as follows Figure 6 The structure of the extended header (Extended Header) shown, that is, the header of the data packet also includes an extended field for configuring the reverse control flag. Among them, when the master device sets RCSTF to 1 in the BIS data packet header, in addition to indicating that the slave device can communicate in the reverse direction at the current equal time interval, a certain number of bytes are added to the header as an extended field for configuring the reverse control flag (RCFlags). When the slave device sends a reverse control data packet, it is necessary to set RCSTF to 1 and add a certain number of bytes as the extended field.
[0134] like Figure 7 The figure shows a schematic diagram of the structure of the extended domain, in which each bit corresponds to enabling a certain reverse control function. When a certain bit of the RC Flags of the BIG C PDU sent by the master device is set to 1, it means that the master device indicates that the slave device can send a control command of the corresponding function. When a certain bit of the RC Flags of the BIG RC PDU sent by the slave device is set to 1, it means that the slave device carries the control command of the corresponding function in the payload (Payload) of the BIG RC PDU. For example, when adding a byte as RC Flags, Bit 0 represents lighting effect control (Lighting Pattern), Bit 1 represents volume control (VolumeControl), Bit 2 represents media control (Media Control), Bit 3 represents transmit power control (Tx PowerControl), Bit 4 represents version information (Version Info), Bit 5 represents power off control (Power Off), and Bit 6 and Bit 7 are reserved (RFU: Reserved for Future Use) bits.
[0135] Figure 8The payload structure of the BIG Control PDU is shown in FIG. 1 , which includes an operation code (Opcode) and control data (CtrData). The payload contents of different BIG Control PDUs, namely, Opcode and CtrData, are different.
[0136] In the Auracast MRDS application scenario of the present application, by defining the formats of Opcode and CtrData, BIG Control PDUs corresponding to six commands, namely Lighting Pattern, Volume Control, Media Control, Tx PowerControl, Version Info, and Power Off, can be defined.
[0137] For example, define Opcode=0xA0 for Lighting Pattern, Opcode=0xA1 for Volume Control, Opcode=0xA2 for Media Control, Opcode=0xA3 for Tx Power Control, Opcode=0xA4 for Version Info, and Opcode=0xA5 for Power Off.
[0138] Furthermore, their CtrData formats are defined respectively to configure specific parameters corresponding to different functions. For example:
[0139] The CtrData of Lighting Pattern contains a 6-byte device address and a byte of LightingPattern, supporting up to 256 preset Lighting Patterns. When any slave speaker needs to control all devices in the MRDS system to synchronize their own Lighting Pattern, it sends a BIG RC PDU carrying the Lighting Pattern sequence number to the master device during the shared reverse control period. After the master speaker receives the Lighting Pattern sequence number, it sends it to all slave speakers via BIG C PDU, thereby synchronizing the same Lighting Pattern.
[0140] The CtrData of Volume Control contains a 6-byte device address and a byte of Volume, supporting up to 32 preset Volume levels. When any slave speaker needs to control all speakers in the MRDS system to synchronize the same Volume, it sends a BIG RC PDU carrying the Volume Level to the master speaker during the shared reverse control period. After the master speaker receives the Volume Level, it sends it to all slave speakers via a BIG C PDU, thereby synchronizing the same VolumeLevel.
[0141] The CtrData of Media Control contains a 6-byte device address and a byte of Media Control, supporting five types of control: play, pause, fast forward, previous song, and next song. When any slave speaker needs to control the media status of all speakers in the MRDS system, it sends a BIG RC PDU carrying Media Control to the master speaker during the shared reverse control period. After receiving the Media Control, the master speaker sends it to all slave speakers via a BIG C PDU, thereby controlling the media status of all speakers.
[0142] The CtrData of Tx Power Control contains a 6-byte device address and a byte of Tx PowerControl, supporting up to 16 preset Tx Power levels. When any slave speaker needs to control the Tx Power Level of the master device in the MRDS system, it sends a BIG RC PDU carrying Tx Power Control to the master speaker during the shared reverse control period. After receiving Tx Power Control, the master speaker adjusts its own Tx Power Level.
[0143] The CtrData of Version Info contains a 6-byte device address and a byte of Version Info, supporting up to 256 types of version information. When any slave speaker finds that its PBP version is lower than the PBP version of the MRDS system master device and cannot play, it sends a BIG RC PDU carrying Version Info to the master speaker during the shared reverse control period. After receiving Version Info, the master speaker can adjust its own PBP version to be compatible with the above slave speakers.
[0144] The CtrData of Power Off contains a 6-byte device address and a byte of Power Off, supporting PowerOff control. When any slave speaker needs to control all speakers in the MRDS system to shut down, it sends a BIG RC PDU carrying Power Off to the master speaker during the shared reverse control period. After receiving Power Off, the master speaker sends it to all slave speakers via BIG C PDU, thereby controlling all speakers to shut down.
[0145] The BIG time slot structure based on the BIGWRC link can be referred to Figure 4 As shown in the figure, the communication time is divided into equal time intervals (ISO Interval). Among them, the box marked EA is the extended advertising protocol data packet ADV_EXT_IND PDU sent by the master device on the primary advertising channel, the box marked AA represents the auxiliary advertising protocol data packet AUX_ADV_IND PDU sent by the master device on the secondary advertising channel, and the box marked SA represents the synchronous auxiliary protocol data packet AUX_SYNC_IND PDU carrying BIG information (BIGInfo) sent by the master device on the periodic advertising channel.
[0146] In a specific application scenario, according to the BLE Audio protocol, the master speaker of the Auracast MRDS system sends AUX_SYNC_IND PDU on the Periodic Advertising channel, where the main parameters of the BIGInfo carried may include ISO Interval = 20ms, BIS Num = 1, NSE = 6, BN = 2, IRC = 6, SDU Size = 120 bytes, using the Unframed format and LE 2M PHY. After the master speaker enters the audio playback state, the slave speaker first searches for the ADV_EXT_IND PDU sent by the master speaker on the primary advertising channel, and obtains the information of the AUX_ADV_IND PDU sent by the master speaker on the secondary advertising channel; then receives the AUX_ADV_IND PDU, and obtains the information of the AUX_SYNC_IND PDU sent by the master speaker on the Periodic Advertising channel; then receives the synchronization auxiliary protocol data packet AUX_SYNC_IND PDU sent by the master device on the Periodic Advertising channel to obtain BIGInfo. Thus, the BIS data packet broadcasted by the main speaker during the data broadcast period is received according to BIGInfo, the audio data in the BIS data packet is decoded and the corresponding audio signal is played.
[0147] In the above-mentioned specific application scenario of Auracast MRDS, the CSTF of the BIS data packet sent by the master speaker is set to 0, and the RCSTF is set to 1, thereby indicating that the slave device can send BIG RCPDU in the shared reverse control time slot within the current equal time interval. And Bit 0, Bit 1, Bit 2, Bit 3, Bit 4 and Bit 5 in the RC Flags of the BIS data packet are all set to 1, that is, MRDS supports lighting effect control, volume control, media control, transmission power control, version control and shutdown control through the slave speaker.
[0148] In the above-mentioned specific application scenario of Auracast MRDS, if any slave speaker wants to shut down MRDS after being synchronized with the master speaker, it can input the shutdown command through the user interface of the slave speaker. After receiving the shutdown command, the slave speaker sends a BIG RC PDU carrying the shutdown command to the master speaker. Bit 5 of the RC Flags of the BIG RC PDU carrying the shutdown command is set to 1, which requires the master speaker to execute the shutdown command (Power Off). After receiving the shutdown command from the slave speaker, the master speaker sends the shutdown command to all slave speakers through the BIG C PDU to execute the shutdown action, so that any slave speaker can realize the reverse shutdown control through the BIGWRC link.
[0149] In the above-mentioned specific application scenario of Auracast MRDS, after any slave speaker is synchronized with the master speaker, if it is found that the PBP protocol version of the master speaker is inconsistent and cannot receive or demodulate audio normally, the PBP version information can be fed back to the master speaker through the BIG RC PDU. Bit 4 of the RC Flags of the BIG RC PDU carrying the version information is set to 1, which informs the master speaker of its own version information (Version Info). After the master speaker receives the PBP version information from the slave speaker, it can decide whether to change the current PBP version to be compatible with the slave speaker, so that any slave speaker can achieve reverse control of the PBP version through the BIGWRC link.
[0150] In the above-mentioned specific application scenario of Auracast MRDS, if any slave speaker wants to change the lighting effect (Lighting Pattern) of MRDS after being synchronized with the master speaker, it can input LightingPattern through the user interface of the slave speaker. After receiving the Lighting Pattern, the slave speaker sends a BIG RCPDU carrying the Lighting Pattern to the master speaker. Bit 0 of the RC Flags of the BIG RC PDU carrying the Lighting Pattern is set to 1, which requires the master speaker to execute the command to change the Lighting Pattern (Lighting Pattern). After the master speaker receives the Lighting Pattern command from the slave speaker, it sends the command to change the Lighting Pattern through the BIG C PDU to all slave speakers to execute the action of changing the LightingPattern, so that any slave speaker can achieve reverse control of the Lighting Pattern through the BIGWRC link.
[0151] In the above-mentioned specific application scenario of Auracast MRDS, if any slave speaker wants to change the volume of MRDS after being synchronized with the master speaker, it can input the command to change the volume through the user interface of the slave speaker. After receiving the command to change the volume, the slave speaker sends a BIG RC PDU carrying Volume Control to the master speaker. Bit 1 of RC Flags in the Extended Header of the BIG RCPDU carrying Volume Control is set to 1, which requires the master speaker to execute the volume command (VolumeControl). After receiving the Volume Control command from the slave speaker, the master speaker sends the VolumeControl command to all slave speakers through the BIG C PDU to execute Volume Control, so that any slave speaker can achieve reverse control of the party MRDS volume through the BIGWRC link.
[0152] In the above-mentioned specific application scenario of Auracast MRDS, if any slave speaker wants to perform media control on MRDS after being synchronized with the master speaker, including play, pause, fast forward, previous song, next song, etc., it can receive the media control command through the user interface of the slave speaker. After receiving the media control command, the slave speaker sends a BIG RC PDU carrying Media Control to the master speaker. Bit 2 of RC Flags in the Extended Header of the BIG RC PDU carrying Volume Control is set to 1, which requires the master speaker to execute the media control command (Media Control). After receiving the Media Control command from the slave speaker, the master speaker executes Media Control, so that any slave speaker can realize the media control of the master speaker through the BIGWRC link.
[0153] In the above-mentioned specific application scenario of Auracast MRDS, if any slave speaker wants to control the transmit power of the MRDS master speaker after synchronizing with the master speaker, it can receive the transmit power control command through the user interface of the slave speaker. After receiving the transmit power control command, the slave speaker sends a BIG RC PDU carrying Tx Power Control to the master speaker. Bit 3 of RC Flags in the Extended Header of the BIG RC PDU carrying TxPower Control is set to 1, which requires the master speaker to execute the transmit power control command (Tx Power Control). After receiving the Tx Power Control command from the slave speaker, the master speaker executes Tx Power Control, so that any slave speaker can achieve reverse control of the master speaker's transmit power through the BIGWRC link.
[0154] The embodiment of the present application also provides a Bluetooth low-power broadcast communication device, which is configured as a master device in the above-mentioned Bluetooth low-power broadcast communication method. The master device is used to broadcast and communicate with one or more slave devices in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel. The isochronous interval is provided with a data broadcast period and a shared reverse control period, and the shared reverse control period is at least a period that any one of the slave devices can occupy when sending a reverse control data packet; the master device is also used to:
[0155] Configuring a reverse communication enabling instruction in the BIS data packet to be broadcast, wherein the reverse communication enabling instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0156] Broadcast and send the BIS data packet during the data broadcast period of the current equal time interval;
[0157] Without allocating an exclusive period for reverse communication to each slave device, when the reverse communication enabling instruction indicates that reverse communication is allowed in the current isochronous interval, the reverse control data packet sent by the slave device is received based on the isochronous synchronous channel in the shared reverse control period.
[0158] Furthermore, the master device may also be used to implement the Bluetooth low energy broadcast communication method in the aforementioned multiple embodiments, and the specific details thereof may be referred to the foregoing description and will not be repeated here.
[0159] The embodiment of the present application further provides a Bluetooth low energy broadcast communication device, which is configured to be used as a slave device in the above-mentioned Bluetooth low energy broadcast communication method, wherein the slave device is used to broadcast and communicate with the master device in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, wherein the isochronous interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that can be occupied by any one of the slave devices when transmitting a reverse control data packet; the slave device is also used to:
[0160] Receiving a BIS data packet broadcasted by the master device during the data broadcast period, and acquiring a reverse communication enable instruction carried in the BIS data packet, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval;
[0161] When the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval and the slave device determines that reverse communication is required, a reverse control data packet is sent based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period without the master device allocating an exclusive time period for reverse communication to the slave device.
[0162] Furthermore, the slave device may also be used to implement the Bluetooth low energy broadcast communication method in the aforementioned multiple embodiments, and the specific details thereof may be referred to the above description and will not be repeated here.
[0163] As a specific embodiment, Fig. 9 As shown, the master device or slave device may include a baseband data and protocol processor and a BLE radio frequency transceiver module. The baseband data and protocol processor is used to execute the Bluetooth low energy broadcast communication method and other Bluetooth communication protocols described herein. The BLE radio frequency transceiver module is used to send and receive BLE radio frequency signals and perform corresponding signal processing.
[0164] like Fig.10 As shown, an embodiment of the present application further provides an electronic device, comprising at least a user interface, a baseband data and protocol processor, and a BLE radio frequency transceiver module, wherein the electronic device is configured to be used as the master device or slave device as described above, wherein:
[0165] The user interface is used to receive a reverse communication setting instruction input by a user;
[0166] The baseband data and protocol processor is used to control the execution of Bluetooth low energy broadcast communication in a plurality of consecutive equal time intervals, and is also used to control the execution of the Bluetooth low energy broadcast communication method described in the present application;
[0167] The BLE radio frequency transceiver module is used to send and receive Bluetooth low energy wireless signals.
[0168] As a specific embodiment, the electronic device can be implemented as the main speaker described above, and further includes an audio input unit and an audio processing unit. The audio input unit obtains a digital audio signal and transmits it to the audio processing unit, and the audio processing unit compresses and encodes the digital audio signal into audio data according to the BLE Audio protocol. The baseband data and protocol processor executes BLE Audio-related protocols and the BIGWRC protocol, and processes the audio data into a BIS data packet suitable for transmission by the BLE radio frequency transceiver module. The BLE radio frequency transceiver module is used for BLE wireless signal or various PDU transmission and reception, including sending BIS CPDU and receiving BIS RC PDU. The user interface can be a button, a touch screen, a wireless control interface, etc., which is used to obtain instructions such as shutdown control, transmission power control, media control, volume control, and lighting effect control.
[0169] As another specific embodiment, the electronic device can be implemented as the slave speaker described above, and further includes a user interface, an audio output unit and an audio processing unit. The baseband data and protocol processor executes BLE Audio-related protocols and the BIGWRC protocol, processes the BIS data packet sent by the party networking master speaker received by the BLE RF transceiver module, and sends it to the audio processing unit. The audio processing unit is used for post-processing such as audio decoding, packet loss processing, equalization and sound effects. The audio output unit is used to convert the audio signal into a sound signal. The BLE RF transceiver module is used for BLE wireless signal or various PDU transceiver, including sending BIS RC PDU and receiving BIS C PDU. The user interface can be a button, a touch screen, a wireless control interface, etc., which is used to obtain instructions such as shutdown control, transmission power control, media control, volume control, and lighting effect control.
[0170] The embodiment of the present application also provides a chip, including: a processing module and a storage module; the storage module stores instructions that can be executed by the processing module, and the instructions are executed by the processing module so that the processing module can execute the Bluetooth low energy broadcast communication method in the embodiment of the present application. The chip can be applied to the slave device or the master device to execute the various processes of the above embodiments, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0171] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned Bluetooth low energy broadcast communication method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0172] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A Bluetooth low energy broadcast communication method, applied to a master device that performs broadcast communication in a broadcast isochronous stream (BIS) mode, wherein the master device and one or more slave devices broadcast communication in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, characterized in that: The equal time interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that any one of the slave devices can occupy when sending a reverse control data packet; the method comprises: Configuring a reverse communication enabling instruction in the BIS data packet to be broadcast, wherein the reverse communication enabling instruction is used to indicate whether reverse communication is allowed within the current equal time interval; Broadcasting and sending the BIS data packet during the data broadcast period; Without allocating an exclusive time period for reverse communication to each slave device, when the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval, reception is performed based on the isochronous synchronization channel during the shared reverse control period of the current isochronous interval to obtain a reverse control data packet sent by the slave device.
2. The method according to claim 1, characterized in that The configuring of the reverse communication enabling instruction in the BIS data packet to be broadcast further includes: A control sub-event sending flag is configured in the BIS data packet to be broadcasted, and the control sub-event sending flag is used to indicate whether the master device sends a control data packet within the current equal time interval.
3. The method according to claim 2, characterized in that A control period is also provided in the equal time interval, which is used for the master device to broadcast and send control data packets; The method further comprises: When the control sub-event sending flag indicates that the master device sends a control data packet in the current isochronous interval, the control period is entered after the data broadcast period of the current isochronous interval, and the control data packet is broadcasted based on the isochronous synchronization channel in the control period.
4. The method according to claim 2, characterized in that The time domain position of the shared reverse control period is after the control period.
5. The method according to claim 2, characterized in that The shared reverse control period is also a period that can be occupied by the master device when sending a control data packet; When the control sub-event sending flag is configured to instruct the master device to send a control data packet in the current isochronous interval, the reverse communication enabling instruction is configured to instruct to prohibit reverse communication in the current isochronous interval; When the reverse communication enabling instruction is configured to indicate that reverse communication is allowed in the current isochronous interval, the control sub-event sending flag is configured to indicate that the master device does not send a control data packet in the current isochronous interval; When the control sub-event sending flag indicates that the master device sends a control data packet in the current isochronous interval, after the data broadcast period of the current isochronous interval, the shared reverse control period is entered, and the control data packet is broadcasted based on the isochronous synchronization channel in the shared reverse control period.
6. A Bluetooth low energy broadcast communication method, applied to a slave device that broadcasts communication in a broadcast isochronous stream (BIS) mode, wherein one or more of the slave devices and the master device broadcast communication in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, characterized in that: The equal time interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that any one of the slave devices can occupy when transmitting a reverse control data packet; the method comprises: Receiving a BIS data packet broadcasted by the master device during the data broadcast period, and acquiring a reverse communication enable instruction carried in the BIS data packet, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval; When the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval and the slave device determines that reverse communication is required, a reverse control data packet is sent based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period without the master device allocating an exclusive time period for reverse communication to the slave device.
7. The method according to claim 6, characterized in that The method further comprises: A control sub-event sending flag carried in the BIS data packet is obtained, where the control sub-event sending flag is used to indicate whether the master device sends a control data packet within a current equal time interval.
8. The method according to claim 7, characterized in that A control period is also provided in the equal time interval, which is used for the master device to broadcast and send control data packets; The method also includes: when the control sub-event sending flag indicates that the master device sends a control data packet within the current isochronous interval, after the data broadcast period of the current isochronous interval, entering the control period, and receiving the control data packet broadcasted by the master device based on the isochronous synchronization channel during the control period.
9. The method according to claim 7, characterized in that The shared reverse control period is also a period that can be occupied by the master device when sending a control data packet; When the control sub-event sending flag indicates that the master device sends a control data packet within the current isochronous interval, after the data broadcast period of the current isochronous interval, the shared reverse control period is entered, and the control data packet broadcasted by the master device is received based on the isochronous synchronization channel during the shared reverse control period.
10. The method according to claim 7, characterized in that The sending of a reverse control data packet based on the Bluetooth low energy isochronous channel during the shared reverse control period includes: Based on the randomly generated delay duration, the reverse control data packet is sent in a shared reverse control period of equal time interval corresponding to the delay duration.
11. The method according to any one of claims 1 to 10, characterized in that The BIS data packet, control data packet and reverse control data packet are all data packets in the BIS PDU format with modified packet headers; The header of the data packet includes the following flag fields: A first flag field is used for the master device to configure the reverse communication enable instruction, or for the slave device to configure the reverse communication flag, wherein the reverse communication flag is used to indicate that the data packet is a reverse control data packet sent by the slave device; The second flag field is used by the master device to configure the control sub-event sending flag; The third flag field is used for the master device and the slave device to configure the logical link identifier LLID of the load type. When the logical link identifier of the data packet is configured as a predetermined value, it indicates that the data packet is the control data packet or the reverse control data packet.
12. The method according to claim 11, characterized in that The header of the data packet also includes an extended field for configuring a reverse control flag, wherein the reverse control flag is used by the master device to indicate whether to allow / disable reverse control or information feedback of one or more functions, or is used by the slave device to indicate that the reverse control data packet carries reverse control or information feedback of one or more functions.
13. The method according to claim 12, characterized in that The bits of the extension field correspond to the one or more functions respectively; The one or more functions include one or more of lighting effect control, volume control, media control, transmission power control, version information, and shutdown control.
14. The method according to claim 7, characterized in that Before receiving the BIS data packet broadcasted by the master device during the data broadcast period, the method includes: Search for the extended advertising protocol data packet ADV_EXT_IND PDU sent by the master device on the primary advertising channel, and obtain the information of the auxiliary advertising protocol data packet AUX_ADV_IND PDU sent by the master device on the secondary advertising channel; Receive the auxiliary advertising protocol data packet AUX_ADV_IND PDU sent by the master device on the secondary advertising channel, and obtain the information of the synchronization auxiliary protocol data packet AUX_SYNC_IND PDU sent by the master device on the periodic advertising channel; Receive the synchronization auxiliary protocol data packet AUX_SYNC_IND PDU sent by the master device on the periodic advertising channel, and obtain BIG information. The BIG information is used to receive the BIS data packet broadcasted by the master device during the data broadcast period according to the BIG information.
15. A Bluetooth low energy broadcast communication device, configured to be used as a master device in the Bluetooth low energy broadcast communication method as claimed in any one of claims 1 to 14, wherein the master device is used to broadcast and communicate with one or more slave devices in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, characterized in that: The equal time interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that any one of the slave devices can occupy when sending a reverse control data packet; the master device is further used for: Configuring a reverse communication enabling instruction in the BIS data packet to be broadcast, wherein the reverse communication enabling instruction is used to indicate whether reverse communication is allowed within the current equal time interval; Broadcast and send the BIS data packet during the data broadcast period of the current equal time interval; Without allocating an exclusive period for reverse communication to each slave device, when the reverse communication enabling instruction indicates that reverse communication is allowed in the current isochronous interval, the reverse control data packet sent by the slave device is received based on the isochronous synchronous channel in the shared reverse control period.
16. A Bluetooth low energy broadcast communication device, configured to be used as a slave device in the Bluetooth low energy broadcast communication method as claimed in any one of claims 1 to 14, wherein the slave device is used to broadcast communication with a master device in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, characterized in that: The equal time interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that any one of the slave devices can occupy when transmitting a reverse control data packet; the slave device is further used for: Receiving a BIS data packet broadcasted by the master device during the data broadcast period, and acquiring a reverse communication enable instruction carried in the BIS data packet, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval; When the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval and the slave device determines that reverse communication is required, a reverse control data packet is sent based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period without the master device allocating an exclusive time period for reverse communication to the slave device.
17. A Bluetooth low energy broadcast communication system, comprising a master device as claimed in claim 15 and one or more slave devices as claimed in claim 16, wherein the master device and the slave device are used for broadcast communication in a plurality of consecutive isochronous intervals based on an isochronous synchronization channel, characterized in that: The equal time interval is provided with a data broadcast period and a shared reverse control period, wherein the shared reverse control period is at least a period that any one of the slave devices can occupy when transmitting a reverse control data packet; The master device is used to configure a reverse communication enable instruction in a BIS data packet to be broadcast, and broadcast and send the BIS data packet during the data broadcast period of the current equal time interval, wherein the reverse communication enable instruction is used to indicate whether reverse communication is allowed within the current equal time interval; The slave device is used to receive the BIS data packet during the data broadcast period of the current equal time interval and obtain the reverse communication enabling instruction; Without the need for the master device to allocate an exclusive time period for reverse communication to each of the slave devices, when the reverse communication enable instruction indicates that reverse communication is allowed within the current isochronous interval, any one of the slave devices that determines that reverse communication is required is also used to send a reverse control data packet based on the Bluetooth low energy isochronous synchronization channel during the shared reverse control period, and the master device is also used to receive based on the isochronous synchronization channel during the shared reverse control period to obtain the reverse control data packet.
18. An electronic device, characterized in that: The electronic device comprises a user interface, a baseband data and protocol processor, and a BLE radio frequency transceiver module, the electronic device is configured to be used as a master device as claimed in claim 15, or as a slave device as claimed in claim 16, wherein: The user interface is used to receive a reverse communication setting instruction input by a user; The baseband data and protocol processor is used to control the execution of Bluetooth low energy broadcast communication in a plurality of consecutive equal time intervals, and is also used to control the execution of the Bluetooth low energy broadcast communication method as claimed in any one of claims 1 to 14; The BLE radio frequency transceiver module is used to send and receive Bluetooth low energy wireless signals.
19. A chip, characterized in that: include: A processing module and a storage module; the storage module stores instructions that can be executed by the processing module, and the instructions are executed by the processing module so that the processing module can execute: The Bluetooth low energy broadcast communication method according to any one of claims 1 to 5 and 11 to 14, wherein the chip is applied to the master device; or The Bluetooth low energy broadcast communication method according to any one of claims 6 to 14, wherein the chip is applied to the slave device.
20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the Bluetooth low energy broadcast communication method according to any one of claims 1 to 5 and 11 to 14 is implemented, or the Bluetooth low energy broadcast communication method according to any one of claims 6 to 14 is implemented.