Bluetooth low-power-consumption audio broadcasting method, device and system

By introducing shared reverse control time slots and periodic advertising channels in Bluetooth low-power audio broadcasting systems, the problems of single-point to multi-point reverse control and bidirectional communication in the case of uncertain device information are solved, and the system is improved Controllability and application scenario applicability.

CN119172857APending Publication Date: 2024-12-20WUXI ZGMICRO ELECTRONICS CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310734783.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the existing Bluetooth low-power audio broadcasting technology, it is impossible to achieve single point to multi-point reverse control and bidirectional communication in the case of uncertain device information, which limits the expansion of application scenarios, especially when interactive control functions are required. music sharing party and multi-room distributed speaker scene.

Method used

By introducing shared reverse control time slots within targets and other time intervals in Bluetooth low-power audio broadcasting systems, slave devices are allowed to communicate in reverse without the need for the master to allocate exclusive time slots, and use periodic advertising channels for reverse belts The periodic advertising communication to the control enables the autonomous selection and use of shared reverse control time slots of slave devices.

Benefits of technology

It realizes reverse control and two-way communication from single point to multi-point audio broadcasting when device information is uncertain, improves the controllability of Bluetooth low-power audio broadcasting system, and is suitable for a variety of application scenarios, including music sharing parties and multi-room distributed speakers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172857A_ABST
    Figure CN119172857A_ABST
Patent Text Reader

Abstract

The invention provides a Bluetooth low-power-consumption audio broadcasting method, and a master device and one or more slave devices of a Bluetooth low-power-consumption audio broadcasting system also perform periodic advertisement communication with reverse control based on a periodic advertisement channel within a target equal time interval, the target slave device sends reverse communication data based on a periodic advertisement channel in a shared reverse control time slot of a target equal time interval under the condition that the master device does not need to distribute an exclusive time slot for the target slave device; the target equal time interval is at least a part of equal time intervals in the plurality of continuous equal time intervals, and the shared reverse control time slot is a time slot which can be occupied by any slave device when transmitting reverse communication data. Compared with the prior art, the embodiment of the invention can realize single-point-to-multipoint audio broadcast reverse control and two-way communication under the condition that the equipment information is uncertain, so that the controllability of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a Bluetooth low-power wireless audio broadcasting method and related equipment and systems. 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 synchronous isochronous channel (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] Although the Bluetooth specification version 5.4 adds the PAWR (Periodic Advertising with Response) protocol to support point-to-multipoint bidirectional communication links, the main application scenario of PAWR is the Electronic Shelf Label (ESL). In order to meet the specific requirements of electronic tags for ultra-low power consumption and ultra-long standby, PAWR configures an exclusive reverse communication time slot for each slave device (electronic tag), and the slave device only needs to send information to the master device in its own exclusive time slot. Therefore, the master device of PAWR must predetermine the device information and number of all slave devices in the system before allocating an exclusive communication time slot to each slave device. Only when the slave device of PAWR is pre-registered in the master device and is addressed by the master device, can it respond to the address of the master device in its own exclusive communication time slot according to the requirements of the master device. Obviously, this method cannot be applied to application scenarios such as Auracast, which are not convenient for pre-registering slave devices and counting the number of slave devices.

[0005] Therefore, the existing Bluetooth low energy audio broadcasting technology does not solve the problem of single-point to multi-point reverse control and two-way communication when the slave device information is uncertain. Summary of the invention

[0006] The embodiments of the present application provide a Bluetooth low-power audio broadcasting method, device and system, which can improve the controllability of the Bluetooth low-power audio broadcasting system.

[0007] As a first aspect of the present application, a Bluetooth low-power audio broadcasting method is provided, which is applied to a slave device of a Bluetooth low-power audio broadcasting system, wherein the Bluetooth low-power audio broadcasting system includes a master device and one or more slave devices, wherein the slave device and the master device perform Bluetooth low-power audio data broadcast transmission in a plurality of consecutive isochronous intervals; the slave device and the master device also perform periodic advertising communication with reverse control based on a periodic advertising channel within a target isochronous interval, including:

[0008] The slave device detects whether the slave device is a target slave device that needs to perform reverse communication;

[0009] When determining that the present device is the target slave device, sending reverse communication data based on the periodic advertising channel in the target equitime shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the present device;

[0010] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0011] Further, when determining that the device is the target slave device, without the need for the master device to allocate an exclusive time slot for the device, sending reverse communication data based on a periodic advertising channel in a target equitime shared reverse control time slot may also include:

[0012] In the case where the master device does not need to allocate an exclusive time slot for the device, one or more target shared reverse control time slots are selected from the shared reverse control time slots in one or more target equal time intervals based on a predetermined selection mechanism,

[0013] The target shared reverse control time slot is used for the target slave device to send reverse communication data.

[0014] Furthermore, the predetermined selection mechanism may include:

[0015] Each shared reverse control time slot in a target equal time interval is used as the target shared reverse control time slot, or,

[0016] Based on the number of shared reverse control time slots in the target equal time interval, one or more shared reverse control time slots are selected as the target shared reverse control time slots, or,

[0017] Based on the randomly generated delay time length, selecting a shared reverse control time slot corresponding to the delay time length as the target shared reverse control time slot, or,

[0018] Based on the communication quality and / or the response time efficiency requirement of the reverse communication, one or more target equidistant shared reverse control time slots are selected as the target shared reverse control time slots.

[0019] Furthermore, the target equal time interval is also configured with a periodic advertising time slot, and the periodic advertising communication may further include:

[0020] In the periodic advertising time slot of the target isochronous interval, receiving a reverse communication enable instruction broadcasted by the master device, wherein the reverse communication enable instruction is used to indicate whether to allow / disable reverse control or information feedback of one or more functions;

[0021] When it is determined that the present device is a target slave device, it is determined whether to send reverse communication data based on the reverse communication enabling instruction.

[0022] Furthermore, the target equal time interval is also configured with a periodic advertising time slot, and the periodic advertising communication may further include:

[0023] The number N of shared reverse control time slots broadcasted by the master device is received within the target equidistant periodic advertising time slots, where N is a positive integer greater than or equal to 1.

[0024] Based on the number N of the shared reverse control time slots, a time domain position of each shared reverse control time slot within the target equal time interval is determined.

[0025] Further, the slave device detecting whether the device is a target slave device that needs to perform reverse communication may include:

[0026] Based on the reverse control instruction input from the outside, detecting whether the device is a target slave device that needs to perform reverse communication; and / or,

[0027] In the target isochronous periodic advertising time slot, the target slave device designation instruction broadcasted by the master device is received, and based on the target slave device instruction, it is detected whether the device is designated by the master device as the target slave device requiring reverse communication.

[0028] As a second aspect of the present application, a Bluetooth low-power audio broadcasting method is provided, which is applied to a master device of a Bluetooth low-power audio broadcasting system, wherein the Bluetooth low-power audio broadcasting system includes the master device and one or more slave devices, wherein the master device and the slave device perform Bluetooth low-power audio data broadcast transmission in a plurality of consecutive isochronous intervals; the master device and the slave device also perform periodic advertising communication with reverse control based on a periodic advertising channel within a target isochronous interval, including:

[0029] In the case where it is not necessary to allocate an exclusive time slot to each target slave device, in the target equitimed shared reverse control time slot, based on the periodic advertising channel reception, the reverse communication data sent by the target slave device is obtained;

[0030] The target slave device is a slave device among the one or more slave devices that needs to perform reverse communication;

[0031] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0032] Furthermore, the target equal time interval is also configured with a periodic advertising time slot, and the periodic advertising communication may further include:

[0033] In the target isochronous periodic advertising time slot, a reverse communication enabling instruction is broadcasted, wherein the reverse communication enabling instruction is used to indicate whether to allow / disable reverse control or information feedback of one or more functions; and / or,

[0034] N shared reverse control time slots are configured for the target equal time interval, and the number N of the shared reverse control time slots is broadcast and sent in the periodic advertising time slot of the target equal time interval, where N is a positive integer greater than or equal to 1.

[0035] Furthermore, the periodic advertising channel-based reception to obtain the reverse communication data sent by the target slave device may include: at least during the reverse communication period allowing one or more functions, receiving in each shared reverse control time slot within each target equal time interval to obtain the reverse communication data sent by the target slave device.

[0036] Further, based on the first aspect or the second aspect of the present application, the periodic advertisement time slot of the target equal time interval has a predetermined time domain position within the target equal time interval;

[0037] A first predetermined time interval is provided between a start time point of a shared reverse control time slot adjacent to the periodic advertising time slot in the time domain and an end time point of the periodic advertising time slot;

[0038] When there are multiple shared reverse control time slots within one of the target equal time intervals, in two adjacent shared reverse control time slots, the interval between the end time point of the previous shared reverse control time slot and the start time point of the next shared reverse control time slot is a second predetermined time length;

[0039] The distance between two target equitemporal intervals adjacent to each other in the time domain is a third predetermined time length.

[0040] Furthermore, the first predetermined time length and the second predetermined time length may both be configured as a minimum event interval or a minimum data frame interval specified by the Bluetooth protocol;

[0041] The third predetermined time length may be configured as an integer multiple of the equal time interval.

[0042] Based on the first aspect or the second aspect of the present application, the master device is used to broadcast and send a periodic advertisement data packet in the periodic advertisement time slot.

[0043] The target slave device is used to send a reverse communication data packet in the shared reverse control time slot,

[0044] The periodic advertising data packet or the reverse communication data packet includes one or more of the following flag fields:

[0045] The first flag field is used by the master device to indicate the number N of shared reverse control time slots carried by the master device, where N is a positive integer greater than or equal to 1;

[0046] A second flag field is used for the master device to indicate that a reverse communication enable instruction is carried to indicate that reverse control or information feedback of one or more functions is allowed / disabled, or for the slave device to carry reverse communication indication information to indicate that the reverse communication data packet carries reverse communication data of one or more functions;

[0047] A third flag field is used to indicate the address of the master device;

[0048] The fourth flag field is used for the master device to carry a designated instruction indicating the target slave device, or for the target slave device to carry an address indicating the device itself;

[0049] The fifth flag field is used to indicate the common tone extension information;

[0050] The sixth flag field is used to indicate advertisement data information;

[0051] The seventh flag field is used to indicate an auxiliary advertisement pointer;

[0052] The eighth flag field is used to indicate synchronization information;

[0053] The ninth flag field is used to indicate the transmit power;

[0054] The tenth flag field is used to indicate additional controller advertisement data ACAD.

[0055] Furthermore, the bits in the second flag field RC Flags respectively correspond to the one or more functions;

[0056] 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.

[0057] Further, the master device and the slave device are used to perform Bluetooth low energy audio data broadcast transmission in a plurality of consecutive isochronous intervals based on a synchronous isochronous channel protocol of Bluetooth low energy broadcast;

[0058] The periodic advertising data packet and the reverse communication data packet are both Bluetooth AUX_SYNC_IND protocol data units with extended headers, and the flag field is configured in the header of the data packet; or,

[0059] The periodic advertising data packet and the reverse communication data packet are both Bluetooth AUX_SYNC_IND protocol data units, the advertising data adv data of the periodic advertising data packet includes the first flag field and the second flag field, and the advertising data adv data of the reverse communication data packet includes the second flag field.

[0060] As a third aspect of the present application, a Bluetooth audio broadcasting device is provided, which is configured to be used as a master device in the Bluetooth low-power audio broadcasting method as described in the first aspect or the second aspect of the present application, wherein the master device is used to perform Bluetooth low-power audio data broadcast transmission with a slave device in the Bluetooth low-power audio broadcasting system in a plurality of consecutive isochronous intervals; the master device is also used to perform periodic advertising communication with a slave device in the Bluetooth low-power audio broadcasting system with reverse control based on a periodic advertising channel within a target isochronous interval, including:

[0061] In the case where it is not necessary to allocate an exclusive time slot to each target slave device, in the target equitimed shared reverse control time slot, based on the periodic advertising channel reception, the reverse communication data sent by the target slave device is obtained;

[0062] The target slave device is a slave device in the Bluetooth low energy audio broadcasting system that needs to perform reverse communication;

[0063] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0064] As a fourth aspect of the present application, a Bluetooth audio broadcasting device is provided, which is configured to be used as a slave device in the Bluetooth low-power audio broadcasting method as described in the first aspect or the second aspect of the present application, wherein the slave device is used to perform Bluetooth low-power audio data broadcast transmission with a master device in a Bluetooth low-power audio broadcasting system in a plurality of consecutive equal-time intervals; the slave device is also used to perform periodic advertising communication with a master device in the Bluetooth low-power audio broadcasting system based on a periodic advertising channel with reverse control within a target equal-time interval, including:

[0065] The slave device is used to detect whether the slave device is a target slave device that needs to perform reverse communication;

[0066] When it is determined that the present device is the target slave device, the slave device is further configured to send reverse communication data based on the periodic advertising channel in the target equitime shared reverse control time slot without the need for the master device to allocate an exclusive time slot to the present device;

[0067] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0068] As a fifth aspect of the present application, a Bluetooth low energy audio broadcasting system is provided, comprising a master device as described in the third aspect of the present application and one or more slave devices as described in the fourth aspect of the present application, wherein the master device and the slave device are used to perform Bluetooth low energy audio data broadcast transmission in a plurality of consecutive equal time intervals.

[0069] The master device and the slave device are further used to perform periodic advertising communication with reverse control based on the periodic advertising channel within a target isochronous interval, the target isochronous interval is at least part of the multiple consecutive isochronous intervals, and a shared reverse control time slot is configured within the target isochronous interval, and the shared reverse control time slot is a time slot that can be occupied by any of the slave devices when transmitting reverse communication data;

[0070] When the broadcasting system is performing the periodic advertising communication with reverse control, the target slave device among the slave devices that needs to perform reverse communication is used to send reverse communication data in the shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the target slave device, and the master device is used to receive in the shared reverse control time slot to obtain the reverse communication data.

[0071] As a sixth aspect of the present application, an electronic device is provided, 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 as described in the third aspect of the present application, or as the slave device as described in the fourth aspect of the present application, wherein:

[0072] The user interface is used to receive a reverse communication setting instruction input by a user;

[0073] The baseband data and protocol processor is used to control the execution of Bluetooth low energy audio data broadcast transmission in a plurality of consecutive isochronous intervals, and is also used to control the execution of periodic advertising communication with reverse control based on a periodic advertising channel within a target isochronous interval;

[0074] The BLE radio frequency transceiver module is used to send and receive Bluetooth low energy wireless signals.

[0075] As a seventh aspect of the present application, a chip is provided, 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:

[0076] As described in the first aspect of the present application, the Bluetooth low energy audio broadcasting method, wherein the chip is applied to the slave device; or,

[0077] As described in the second aspect of the present application, the Bluetooth low energy audio broadcasting method, wherein the chip is applied to the master device.

[0078] As the eighth aspect of the present application, a computer-readable storage medium is provided, storing a computer program, characterized in that when the computer program is executed by a processor, it implements the Bluetooth low-power audio broadcasting method as described in the first aspect of the present application, or implements the Bluetooth low-power audio broadcasting method as described in the second aspect of the present application.

[0079] In an embodiment of the present application, the master and slave devices of the Bluetooth low-power audio broadcasting system, while performing Bluetooth low-power audio data broadcasting communication, also perform periodic advertising communication with reverse control based on the periodic advertising channel within the target isochronous interval, the target isochronous interval being at least part of the multiple continuous isochronous intervals, and the target isochronous interval is configured with a shared reverse control time slot, and the shared reverse control time slot is a time slot that any of the slave devices can occupy when transmitting reverse communication data. During the periodic advertising communication with reverse control, the master device does not need to allocate an exclusive time slot for any target slave device, and all target slave devices that need to perform reverse communication can occupy the shared reverse control time slot of the target isochronous interval to send reverse communication data. Therefore, relative to the prior art, the embodiment of the present application can realize single-point to multi-point audio broadcast reverse control and two-way communication when the slave device information is uncertain, thereby improving the controllability of the Bluetooth low-power audio broadcasting system. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] 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.

[0081] Figure 1 It is a structural schematic diagram of a Bluetooth low energy audio broadcasting system according to an embodiment of the present application;

[0082] Figure 2 It is a schematic diagram of a time slot structure of a Bluetooth low energy audio broadcasting system according to an embodiment of the present application;

[0083] Figure 3 It is a flow chart of a Bluetooth low energy audio broadcasting method according to an embodiment of the present application, which is applied to a master device of the Bluetooth low energy audio broadcasting system;

[0084] Figure 4 It is a flow chart of a Bluetooth low energy audio broadcasting method according to an embodiment of the present application, which is applied to a slave device of the Bluetooth low energy audio broadcasting system;

[0085] Figure 5 It is a schematic diagram of the extended packet header format of the periodic advertising data packet and the reverse communication data packet in the embodiment of the present application;

[0086] Figure 6 It is a schematic diagram of the format of the Extended Header Flags field in the extended header in the embodiment of the present application;

[0087] Figure 7 Schematic diagram of the format of the reverse control flag (RC Flags) in the embodiment of the present application;

[0088] Figure 8 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0089] 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.

[0090] 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.

[0091] Figure 1 Shown is a schematic structural diagram of a Bluetooth low energy audio broadcasting system according to an embodiment of the present application.

[0092] These include a master device and one or more slave devices.

[0093] The master device and the slave device are used to perform Bluetooth low energy consumption audio data broadcast transmission in a plurality of consecutive isochronous intervals.

[0094] The broadcast communication function of BLE can be implemented using the Bluetooth broadcast-based synchronous isochronous channel (Isochronous Channels) protocol, in which the data broadcast by a data source can be received by multiple data receivers based on the Bluetooth low energy broadcast isochronous stream (BIS). The communication time of BIS is divided into isochronous intervals (ISO Interval). The data source encapsulates the audio data into BIS packets and broadcasts them based on the BLE isochronous channel in each isochronous interval broadcast time slot. 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 packets broadcast by the data source and convert them into audio playback.

[0095] 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 can be implemented as any of the following electronic devices: a mobile phone, a portable game console, a portable media player, a personal computer, a car media player, etc. The slave device can be any type of audio output device for converting audio files into audio, such as a speaker, an in-ear headset, a headphone, a speaker, 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.

[0096] The number of the slave devices may be one or more. In fact, the slave device may be any device that receives an 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.

[0097] 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 BIG based on BIGInfo to obtain the audio broadcast data on the BIG, that is, the BIS data packet. The main parameters of BIGInfo may include, for example, parameters specified by the Bluetooth protocol, such as ISO Interval, BIS Num, NSE, BN, IRC, SDU Size, etc., which will not be repeated here.

[0098] In the embodiment of the present application, the master device and the slave device also perform periodic advertising communication with reverse control (PAWRC: Periodic Advertising with Reverse Control) based on the periodic advertising channel within the target equal time interval.

[0099] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0100] In some specific embodiments, a periodic advertising time slot may also be configured within the target equation interval.

[0101] When the broadcasting system is performing the periodic advertising communication with reverse control, the target slave device among the slave devices that needs to perform reverse communication is used to send reverse communication data in the shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the target slave device, and the master device is used to receive in the shared reverse control time slot to obtain the reverse communication data.

[0102] Figure 2 Schematic diagram of a time slot structure in an embodiment of the present application. It shows three time domain continuous equal time intervals ISO Interval1, ISO Interval2 and ISO Interval3. ISO Interval3 is a target equal time interval, the box marked SA represents a periodic advertising time slot, the box marked RC represents a shared reverse control time slot, and the box marked BIS PDU represents a broadcast time slot.

[0103] It is understandable that the target isochronous interval may be part or all of the isochronous interval. The shared reverse control time slot may also be configured as one or more.

[0104] In some specific embodiments, the time domain position of the target equal time interval in the communication time, as well as the time domain positions of the periodic advertising time slot and the shared reverse control time slot in the target equal time interval can be predetermined, so that any slave device can know these time domain positions after being synchronized to the broadcast system. Specifically, the periodic advertising time slot has a predetermined time domain position in the target equal time interval; the start time point of the shared reverse control time slot adjacent to the periodic advertising time slot in the time domain is separated from the end time point of the periodic advertising time slot by a first predetermined time length; when there are multiple shared reverse control time slots in one target equal time interval, the end time point of the previous shared reverse control time slot and the start time point of the next shared reverse control time slot in two adjacent shared reverse control time slots are separated by a second predetermined time length; and the distance between two target equal time intervals adjacent in the time domain is a third predetermined time length.

[0105] In the embodiment of the present application, the first predetermined time length and the second predetermined time length are configured to be shortened as much as possible, which can reduce the time slot resources occupied by periodic advertising communications, speed up the response speed of reverse communications, and improve transmission efficiency.

[0106] As a preferred embodiment, the first predetermined time length and the second predetermined time length can be configured as the minimum event interval T_MSS or the minimum data frame interval T_IFS specified in the Bluetooth protocol. According to the current Bluetooth protocol, T_MSS and T_IFS are both 150us.

[0107] In some specific embodiments, the target isochronous interval can be set with reference to the periodic advertising method of the existing BLE broadcast communication, or after the reverse communication function is allowed, some isochronous intervals can be selected from the isochronous intervals during the period when the reverse communication function is allowed as the target isochronous interval. It can be set specifically according to the application scenario. In some preferred embodiments, the third predetermined duration is configured as an integer multiple of the isochronous interval.

[0108] In some specific embodiments, the master device broadcasts a periodic advertisement data packet in the periodic advertisement time slot SA, and the target slave device sends a reverse communication data packet in the shared reverse control time slot RC.

[0109] The periodic advertising data packet or the reverse communication data packet may include one or more of the following flag fields, thereby carrying relevant communication data:

[0110] The first flag field (RC Slot Num) is used by the master device to indicate the number N of shared reverse control time slots, where N is a positive integer greater than or equal to 1;

[0111] The second flag field (RC Flags) is used by the master device to indicate a reverse communication enable instruction 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 reverse communication indication information to indicate that the reverse communication data packet carries reverse communication data of one or more functions;

[0112] The third flag field (AdvA) is used to indicate the address of the master device;

[0113] The fourth flag field (TargetA) is used by the master device to indicate the target slave device to specify the instruction, or used by the target slave device to indicate the address of the device. In some specific embodiments, the master device indicates the target slave device to specify the instruction by indicating the address of the target slave device;

[0114] The fifth flag field (CTEInfo) is used to indicate the common tone extension information;

[0115] The sixth flag field (ADI) is used to indicate advertisement data information;

[0116] The seventh flag field (AuxPtr) is used to indicate the auxiliary advertisement pointer;

[0117] The eighth flag field (SyncInfo) is used to indicate synchronization information;

[0118] The ninth flag field (TxPower) is used to indicate the transmit power;

[0119] The tenth flag field (ACAD) is used to indicate additional controller advertising data (ACAD: Additional Controller Advertising Data).

[0120] In some specific embodiments, the bits in the second flag field RC Flags correspond to the one or more functions respectively, so that by configuring the bit values ​​of the bits, the master device can transmit enable instructions for allowing and prohibiting various functions, and the slave device can transmit reverse communication indication information corresponding to the various functions.

[0121] It can be understood that the above-mentioned flag field can be set in the packet header of the data packet, and can also be set in the advertisement data Adv Data part of the data packet.

[0122] The Bluetooth low energy audio broadcasting method of the embodiment of the present application will be described in detail below in combination with the master device and the slave device in the Bluetooth low energy audio broadcasting system.

[0123] Figure 3A Bluetooth low energy audio broadcasting method according to an embodiment of the present application is shown, which is applied to a master device of the Bluetooth low energy audio broadcasting system. The Bluetooth low energy audio broadcasting system includes the master device and one or more slave devices.

[0124] As shown in step 310, the master device and the slave device perform Bluetooth low energy audio data broadcast transmission in a plurality of consecutive isochronous intervals.

[0125] As shown in step 320, the master device and the slave device also perform periodic advertising communication with reverse control based on the periodic advertising channel within the target isochronous interval, which specifically includes:

[0126] As shown in step 323, the master device receives the reverse communication data sent by the target slave device based on the periodic advertising channel in the target equitimed shared reverse control time slot without allocating an exclusive time slot to each target slave device.

[0127] The target slave device is a slave device among the one or more slave devices that needs to perform reverse communication.

[0128] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0129] In the embodiment of the present application, the master device does not need to individually control the reverse communication process of each slave device. Therefore, the slave devices for reverse communication do not need to be pre-registered in the master device, and the master device does not need to count the number of slave devices for reverse communication. The master device does not need to allocate an exclusive time slot that can be used by only one slave device to each slave device. This can meet the needs of various music sharing scenarios, especially the reverse interaction function in application scenarios where the slave device information is not determined in advance, save time slot resources, and reduce the power consumption of the master device.

[0130] The target isochronous interval may also be configured with a periodic advertisement time slot. The periodic advertisement communication may also include some steps of the master device configuring and sending relevant parameters of the reverse communication.

[0131] In some specific embodiments, as shown in step 321, the master device configures a reverse communication enable instruction, and the reverse communication enable instruction is used to indicate whether to allow / disable reverse control or information feedback of one or more functions; as shown in step 322, the master device broadcasts the reverse communication enable instruction within the periodic advertising time slot of the target isochronous interval.

[0132] The one or more functions may include one or more of lighting effect control, volume control, media control, transmission power control, version information, and shutdown control. Of course, other functions may also be included according to specific application scenarios, which are not listed here one by one. In a preferred embodiment, the master device may indicate the enabling status of reverse control or information feedback of multiple functions at the same time through a reverse communication enable instruction.

[0133] The master device may configure the reverse communication enable instruction according to the external input instruction. In some specific embodiments, the user may issue a reverse communication enable instruction to the master device through the user interface on the master device. For example, if the user does not want the slave device to change the lighting effect of the system during the current period, the user may issue a reverse communication instruction to the master device to prohibit the lighting effect control through the button on the master device. The master device sends the reverse communication enable instruction through broadcasting to inform all slave devices, thereby stopping the function of the slave device to reversely adjust the lighting effect of the system.

[0134] The master device may also automatically configure the reverse communication enabling instruction according to the system operation status, such as periodically allowing / disabling reverse communication, allowing / disabling reverse communication when certain information errors are found, and so on.

[0135] In some specific embodiments, the reverse communication enabling instruction may also be issued to one or more slave devices. For example, a target slave device designation instruction may be configured, and the target slave device designation instruction may be sent at the same time as the reverse communication enabling instruction is sent, so as to achieve a control effect that the master device actively selects the target slave device for reverse communication. As a preferred embodiment, the target slave device designation instruction may be information such as the device number and Bluetooth address of the slave device.

[0136] In some specific embodiments, as shown in step 321, the master device configures N shared reverse control time slots for the target equal-time interval; as shown in step 322, the master device broadcasts the number N of the shared reverse control time slots in the periodic advertising time slot of the target equal-time interval, where N is a positive integer greater than or equal to 1.

[0137] The master device can improve the reverse communication quality and transmission efficiency of the system in different application scenarios and communication environments by flexibly adjusting the number N of the shared reverse control time slots. For example, under normal circumstances, only one shared reverse control time slot can be configured in a target equal time interval, which can save time slot resources. In cases where a large number of slave devices are expected, faster reverse information interaction is required, and the communication environment has large interference, multiple shared reverse control time slots can be configured for each target equal time interval, so that the opportunity for the target slave device to send reverse communication data is increased, thereby improving the transmission efficiency and communication quality of reverse communication.

[0138] The master device may perform a receiving action in each shared reverse control time slot, or may perform a receiving action in part of the shared reverse control time slots, to further save power consumption. In some specific embodiments, the master device receives in each shared reverse control time slot in each target equal time interval at least during the reverse communication period allowing one or more functions, to obtain the reverse communication data sent by the target slave device.

[0139] Figure 4 A Bluetooth low energy audio broadcasting method according to an embodiment of the present application is applied to a slave device of the Bluetooth low energy audio broadcasting system. The Bluetooth low energy audio broadcasting system includes a master device and one or more slave devices.

[0140] As shown in step 410, the slave device and the master device perform Bluetooth low energy audio data broadcast transmission in a plurality of consecutive isochronous intervals;

[0141] As shown in step 420, the slave device and the master device perform periodic advertising communication with reverse control based on the periodic advertising channel within the target isochronous interval, including:

[0142] As shown in step 422, the slave device detects whether the slave device is a target slave device that needs to perform reverse communication;

[0143] As shown in step 423, when it is determined that the device is the target slave device, the reverse communication data is sent based on the periodic advertising channel in the target equitime shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the device;

[0144] The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

[0145] In the embodiment of the present application, the master device does not need to individually control the reverse communication process of each slave device. Therefore, to determine itself as a slave device that needs reverse communication, there is no need to pre-register in the master device, nor to wait for the master device to allocate an exclusive time slot that only it can use. Instead, the master device can decide on its own to use any time slot in the shared reverse control time slot to transmit reverse communication data. This allows the slave device to have more autonomy in reverse communication, thereby meeting the needs of various music sharing scenarios, especially the reverse interaction function in application scenarios where the slave device information is not determined in advance, and providing a better user experience.

[0146] In some specific embodiments, the slave device shown in step 422 detects whether the device is a target slave device that needs to perform reverse communication, and can detect whether the device is a target slave device that needs to perform reverse communication based on a reverse control instruction input from an external source. The slave device can be configured with a user interface, such as a button, a touch screen, a voice recognition system, etc., so that the user of the slave device can input a reverse control instruction through the user interface to control the slave device to enter a reverse communication state. For example, the user can use the system volume increase / decrease button on the slave device to send reverse communication data for increasing / decreasing the system volume to the master device, thereby realizing the function of the slave device reversely controlling the volume of the entire broadcasting system through the master device.

[0147] In some specific embodiments, the slave device shown in step 422 detects whether the device is a target slave device that needs to perform reverse communication, and can also receive a target slave device designation instruction broadcasted by the master device in a periodic advertising time slot of the target isochronous interval, and detects whether the device is designated by the master device as a target slave device that needs to perform reverse communication based on the target slave device instruction. As a preferred embodiment, the target slave device designation instruction can be information such as the device number and Bluetooth address of the slave device.

[0148] In some specific embodiments, a periodic advertising time slot may also be configured within the target isochronous interval. Referring to step 421, the periodic advertising communication also includes: receiving a reverse communication enable instruction broadcasted by the master device within the periodic advertising time slot of the target isochronous interval, the reverse communication enable instruction being used to indicate the permission / prohibition of reverse control or information feedback of one or more functions; when determining that the device is a target slave device, determining whether to send reverse communication data based on the reverse communication enable instruction. When the reverse communication enable instruction indicates that reverse control or information feedback of a certain function is prohibited, the slave device does not send reverse communication data for such prohibited function even if it determines that the device is a target slave device.

[0149] In some specific embodiments, the target equal-time interval may also be configured with periodic advertising time slots. Referring to step 421, the periodic advertising communication may also include: the slave device receives the number N of shared reverse control time slots broadcasted by the master device in the periodic advertising time slot of the target equal-time interval, where N is a positive integer greater than or equal to 1. Based on the number N of shared reverse control time slots, the time domain position of each shared reverse control time slot in the target equal-time interval is determined. Referring to the foregoing, in the embodiment of the present application, the master device can flexibly adjust the number N of shared reverse control time slots, and the slave device can determine the time domain position of each shared reverse control time slot in each target equal-time interval based on the number N of shared reverse control time slots received, the time domain position of the periodic advertising time slot in the target equal-time interval, the interval between the shared reverse control time slot and the periodic advertising time slot, the interval between two adjacent shared reverse control time slots and other parameters.

[0150] In some specific embodiments, the periodic advertising communication with reverse control also includes that the slave device selects one or more target shared reverse control time slots from the shared reverse control time slots in one or more target equal time intervals based on a predetermined selection mechanism without the need for the master device to allocate an exclusive time slot for the slave device, and the target shared reverse control time slots are used for the target slave device to send reverse communication data.

[0151] It is understandable that the slave device may select and determine the target shared reverse control time slot before determining itself as the target slave device, or may perform this operation after determining itself as the target slave device.

[0152] In some specific embodiments, the predetermined selection mechanism may include one or more of the following, which may be used independently or in combination with each other. It is understandable that, in specific implementation, other more specific selection mechanisms may be set according to specific application scenarios.

[0153] Mechanism 1: Each shared reverse control time slot in a target equal time interval is used as the target shared reverse control time slot;

[0154] This selection mechanism can make full use of all shared reverse control time slots and speed up the response speed of reverse communication from the device.

[0155] Mechanism 2: Based on the randomly generated delay time, selecting a shared reverse control time slot corresponding to the delay time as the target shared reverse control time slot;

[0156] This selection mechanism can help slave devices reduce mutual interference in reverse communication. When two slave devices in the system are simultaneously determined as target slave devices, they each stagger the target shared reverse control time slot through random delay, thereby avoiding signal interference when sending reverse communication data at the same time.

[0157] As a preferred embodiment, the randomly generated delay duration may be an integer multiple of the equal time interval, for example, a random delay of 0 to M equal time intervals, where M is a positive integer.

[0158] Mechanism 3: based on the number of shared reverse control time slots in the target equal time interval, one or more shared reverse control time slots are selected as the target shared reverse control time slots;

[0159] Since the master device can flexibly configure the number of shared reverse control time slots, the slave device can adjust the target shared reverse control time slot according to the number configuration when selecting the target shared reverse control time slot. For example, when the number of shared reverse control time slots N is 1, the shared reverse control time slots in each target equal time interval can be selected as the target shared reverse control time slot. When N is 4, the first and third of them can be selected as the target shared reverse control time slots, so that the reverse communication data is sent twice in one target equal time interval, thereby improving the success rate of the master device receiving the reverse communication data.

[0160] Mechanism 4: Based on the communication quality and / or the response time requirement of the reverse communication, one or more target equidistant shared reverse control time slots are selected as the target shared reverse control time slots.

[0161] In an embodiment of the present application, the slave device can actively adjust the timing and frequency of sending reverse communication data according to the current communication status. This active adjustment can be achieved by selecting the target shared reverse control time slot. In a specific embodiment, the slave device can detect its own broadcast communication quality, for example, according to the success rate of receiving BIS PDU, and can also evaluate the current communication quality according to the signal strength of receiving BLE audio data broadcast signal or periodic advertising signal, or according to the channel quality of periodic advertising channel, so as to select the target shared reverse control time slot based on the communication quality. In the case of good communication quality, such as when the packet loss rate of the received data packet is lower than the predetermined threshold, or the signal strength is higher than the predetermined threshold, or the channel quality is higher than the predetermined threshold, it is considered that the current communication condition is good, and the number of target shared reverse control time slots can be reduced, and the spacing in the time domain of two adjacent target shared reverse control time slots can be increased. On the contrary, in the case of poor communication conditions, the number of target shared reverse control time slots can be increased, and the time domain spacing can be reduced, thereby improving the transmission efficiency of reverse communication data.

[0162] In an embodiment of the present application, the slave device can also actively adjust the timing and frequency of sending reverse communication data according to the response time requirements of the reverse communication. For example, when performing user-oriented reverse communications including volume control, lighting effect control, media control, shutdown control, etc., the number of the target shared reverse control time slots can be increased and their time domain spacing can be reduced, thereby improving the transmission efficiency of reverse communication data, shortening the response time of the master device, and providing a better user experience. When performing non-user-oriented reverse communications including transmission power control, version information feedback, etc., the number of the target shared reverse control time slots can be appropriately reduced and their time domain spacing can be increased, thereby reducing the occupancy of the shared reverse control time slot by the slave device, so as to improve the reverse communication transmission efficiency of other target slave devices.

[0163] The Bluetooth low-power audio broadcasting system provided by the embodiment of the present application, and the method of Bluetooth low-power audio broadcasting applied in the broadcasting system, configure a shared reverse control time slot for the target equal time interval in the periodic advertising communication within the target equal time interval, and the shared reverse control time slot is a time slot that any of the slave devices can occupy when transmitting reverse communication data. During the periodic advertising communication with reverse control, the master device does not need to allocate an exclusive time slot for any target slave device, and all target slave devices that need to perform reverse communication can occupy the shared reverse control time slot of the target equal time interval to send reverse communication data. Therefore, compared with the prior art, the embodiment of the present application can realize single-point to multi-point audio broadcast reverse control and two-way communication when the slave device information is uncertain, thereby improving the controllability of the Bluetooth low-power audio broadcasting system.

[0164] The core inventive concept of the embodiments of the present application will be described in detail below in conjunction with a specific application scenario.

[0165] The following will take Auracast party network speakers as a specific application scenario. For ease of description and understanding, referring to the naming conventions of similar technologies in the Bluetooth technology system, the periodic advertising communication method with reverse control implemented by the Bluetooth low-power audio broadcasting method of the embodiment of the present application will be referred to as the periodic advertising with reverse control (PAWRC: Periodic Advertising with Reverse Control) link protocol. The master device and the slave device establish a reverse control channel through the periodic advertising with reverse control (PAWRC: Periodic Advertising with Reverse Control) link protocol, which is convenient for the slave device to send control commands or feedback information, thereby improving the controllability of the audio broadcasting system, and can realize shutdown control, version control, transmission power control, media control, volume control or lighting effect control, etc.

[0166] like Figure 1 The Bluetooth low energy audio broadcasting system (or wireless point-to-multipoint audio system) shown is an Auracast party networking speaker, which consists of a party networking master speaker and multiple party networking slave speakers. The master speaker broadcasts audio data to the slave speakers through the BIG and PBP protocols. The master speaker and the slave speakers establish a reverse control channel through the PAWRC link protocol, which facilitates the slave speaker to send control commands to improve the controllability of the party networking speaker.

[0167] The master speaker sends a periodic advertisement data packet in the periodic advertisement time slot, and the slave speaker transmits reverse communication data via a reverse communication data packet in the shared reverse control time slot. The formats of the periodic advertisement data packet and the reverse communication data packet can be set according to specific application scenarios.

[0168] As a specific embodiment, in order to be more compatible with the current Bluetooth technical specifications, the periodic advertising data packet of the PAWRC link protocol and the reverse communication data packet can both use the AUX_SYNC_IND protocol data unit (PDU: Protocol Data Unit) with a modified extended header (Extended Header). In order to distinguish the two, the periodic advertising data packet can be named AUX_SYNC_IND PDU, and the reverse communication data packet can be named AUX_SYNC_RC PDU.

[0169] like Figure 5 The figure shows the extended header format of AUX_SYNC_IND PDU and AUX_SYNC_RC PDU, in which the reverse control flag (RC Flags) field and reverse control slot number (RCSlot Num) are added based on the existing Bluetooth protocol.

[0170] like Figure 6 The following is a schematic diagram of the format of the Extended Header Flags field in the extended header, where the reserved 7th bit of the Extended Header Flags in the existing Bluetooth protocol is defined as the reverse control flag (RC Flags) enable bit. Each bit of the Extended Header Flags is set to 1 to indicate that the extended header contains Figure 5The corresponding fields are shown in the figure. The 7th bit of the Extended Header Flags of the AUX_SYNC_IND PDU is set to 1, indicating that the Extended Header includes the RC Flags field and the RC Slot Num field. The 7th bit of the Extended Header Flags of the AUX_SYNC_RC PDU is set to 1, indicating that the Extended Header includes the RC Flags field.

[0171] The specific meanings of other fields in Extended Header are as follows: AdvA indicates the address of the advertising sending device, TargetA indicates the address of the target device, CTEInfo indicates constant tone extension (CTE: Constant Tone Extension) information, ADI indicates advertising data information, AuxPtr indicates auxiliary advertising pointer, SyncInfo indicates synchronization information, TxPower indicates transmission power, and ACAD indicates additional controller advertising data (Additional Controller AdvertisingData). ACAD is usually used to carry BIG information (BIGInfo).

[0172] like Figure 7 The figure shows the format of the reverse control flag (RC Flags), where each bit corresponds to enabling a certain reverse control function or feedback information. When a certain bit of the RC Flags of the AUX_SYNC_IND PDU is set to 1, it means that the master device indicates that the slave device can send a control command for the corresponding function. When a certain bit of the RC Flags of the AUX_SYNC_RC PDU is set to 1, it means that the slave device has sent a control command for the corresponding function in the advertising data (Adv Data). For example, Bit 0 represents lighting effect control (Lighting Pattern), Bit 1 represents volume control (Volume Control), Bit 2 represents media control (Media Control), Bit 3 represents transmit power control (Tx Power Control), 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.

[0173] In some other embodiments, the advertisement data adv data of the periodic advertisement data packet includes the first flag field and the second flag field, and the advertisement data adv data of the reverse communication data packet includes the second flag field.

[0174] Figure 2 The BIG time slot structure based on the PAWRC link is also shown, where the box marked EA represents the time slot of the extended advertising protocol data packet ADV_EXT_IND PDU sent by the master device on the primary advertising channel, and the box marked AA represents the time slot of the auxiliary advertising protocol data packet AUX_ADV_IND PDU sent by the master device on the secondary advertising channel. The box marked SA represents the time slot of the periodic advertising data packet AUX_SYNC_IND PDU carrying BIG information (BIGInfo) sent by the master device on the periodic advertising channel, the box marked BIS PDU represents the time slot of the broadcast isochronous stream protocol data packet sent by the master device on the isochronous channel, and the box marked RC represents the time slot of the reverse communication data packet AUX_SYNC_RC PDU sent by the slave device on the periodic advertising channel.

[0175] In some specific embodiments, Figure 5 In the BIG time slot structure based on the PAWRC link shown, only Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_IND PDU is set to 1, and the Extended Header only includes the RC Flags field carrying the reverse control flag, the reverse control time slot number (RC Slot Num) and the ACAD carrying the BIGInfo. Optionally, the Extended HeaderFlags in the Extended Header of the AUX_SYNC_IND PDU can also set Bit 1 to 1 to indicate that the control command is sent from the speaker at a specific address through TargetA to avoid interference. Only Bit 0 and Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_RC PDU are set to 1, and the Extended Header only includes AdvA and the RC Flags carrying the reverse control flag. Both the AUX_SYNC_INDPDU and the AUX_SYNC_RC PDU carry specific control commands through Adv Data and are defined by the application layer.

[0176] Without loss of generality, according to the BLE Audio protocol, the main parameters of the BIGInfo carried by the AUX_SYNC_IND PDU sent by the master speaker on the periodic advertising channel include ISO Interval = 20ms, BISNum = 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 to obtain the information of the AUX_ADV_IND PDU sent by the master speaker on the secondary advertising channel, and then receives the AUX_ADV_IND PDU to obtain the AUX_SYNC_IND PDU sent by the master speaker on the periodic advertising channel to obtain BIGInfo, and then receives the BISPDU according to the BIGInfo, and finally decodes the audio data in the BIS PDU and plays the corresponding audio signal.

[0177] In the application scenario of the party networking speaker, Bit 0, Bit 1, Bit 2, Bit 3, Bit 4 and Bit 5 of the RC Flags field of the AUX_SYNC_IND PDU sent by the master speaker are all set to 1, that is, the party networking speaker supports light effect control, volume control, media control, transmission power control, version control and shutdown control through the slave speakers. The RC Slot Num of the AUX_SYNC_IND PDU sent by the master speaker is 1, that is, the slave speaker has only one opportunity to send the AUX_SYNC_RC PDU in each equal time interval. In the scenario with a large number of slave devices, the RC Slot Num can also be set to be greater than 1.

[0178] In the application scenario of the party networking speakers, if any slave speaker wants to end the party networking and turn off all the networked speakers after synchronizing with the master speaker, the power-off command can be input through the user interface of the slave speaker. After receiving the power-off command, the slave speaker sends an AUX_SYNC_RC PDU carrying the power-off command to the master speaker. Bit 0 and Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_RCPDU carrying the power-off command are set to 1, and the ExtendedHeader includes the AdvA of the slave speaker and the RC Flags carrying the reverse control flag. Among them, Bit 5 of the RC Flags is set to 1, which requires the master speaker to execute the power-off command (Power Off). After receiving the power-off command from the slave speaker, the master speaker sends a power-off command (defined by the application layer) to all the slave speakers through the Adv Data of the AUX_SYNC_IND PDU to execute the power-off action, so that any slave speaker can realize the reverse control of power-off through the PAWRC link.

[0179] In the application scenario of the party networking speakers, 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 AUX_SYNC_RC PDU. Bit 0 and Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_RC PDU carrying the version information are set to 1. The Extended Header includes the AdvA of the slave speaker and the RC Flags carrying the reverse control flag. Among them, Bit 4 of the RC Flags 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 of 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 PBP version reverse control through the PAWRC link.

[0180] In the application scenario of the party networking speakers, if any slave speaker wants to change the lighting effect (Lighting Pattern) of the party networking speakers after synchronizing with the master speaker, the Lighting Pattern can be input through the user interface of the slave speaker. After receiving the Lighting Pattern, the slave speaker sends the AUX_SYNC_RC PDU carrying the Lighting Pattern to the master speaker. Bit 0 and Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_RC PDU carrying the Lighting Pattern are set to 1, and the Extended Header includes the AdvA of the slave speaker and the RC Flags carrying the reverse control flag. Among them, Bit 0 of the RC Flags 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 (specifically defined by the application layer) through the Adv Data of the AUX_SYNC_IND PDU to all slave speakers to execute the action of changing the Lighting Pattern, so that any slave speaker can achieve reverse control of the Lighting Pattern through the PAWRC link.

[0181] In the application scenario of the party networking speakers, if any slave speaker wants to change the volume of the party networking speakers after synchronizing with the master speaker, the command to change the volume can be input through the user interface of the slave speaker. After receiving the command to change the volume, the slave speaker sends an AUX_SYNC_RC PDU carrying Volume Control to the master speaker. Bit 0 and Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_RC PDU carrying VolumeControl are set to 1, and the Extended Header includes the AdvA of the slave speaker and the RC Flags carrying the reverse control flag. Among them, Bit 1 of the RC Flags is set to 1, which requires the master speaker to execute the volume command (Volume Control). After receiving the Volume Control command from the slave speaker, the master speaker sends the Volume Control command (defined by the application layer) to all slave speakers through the Adv Data of the AUX_SYNC_IND PDU to execute Volume Control, so that any slave speaker can achieve reverse control of the volume of the party networking speakers through the PAWRC link.

[0182] In the application scenario of the party networking speakers, if any slave speaker wants to perform media control on the party networking speakers after synchronizing 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 an AUX_SYNC_RC PDU carrying MediaControl to the master speaker. Bit 0 and Bit 7 of the Extended Header Flags in the Extended Header of the AUX_SYNC_RC PDU carrying Volume Control are set to 1, and the Extended Header includes the AdvA of the slave speaker and the RC Flags carrying the reverse control flag. Among them, Bit 2 of the RC Flags 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 MediaControl, so that any slave speaker can realize the media control of the master speaker through the PAWRC link.

[0183] In the application scenario of the party networking speakers, if any slave speaker wants to control the transmit power of the master speaker of the party networking speakers 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 an AUX_SYNC_RCPDU carrying Tx Power Control to the master speaker. Bit 0 and Bit 7 of the Extended HeaderFlags in the Extended Header of the AUX_SYNC_RC PDU carrying Tx Power Control are set to 1, and the Extended Header includes the AdvA of the slave speaker and the RC Flags carrying the reverse control flag. Among them, Bit 3 of RC Flags is set to 1, which requires the master speaker to execute the transmit power control command (Tx PowerControl). 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 transmit power of the master speaker through the PAWRC link.

[0184] In the application scenario of the party networking speakers, in order to improve the reliability of the reverse control command, optionally, the Extended Header Flags in the Extended Header of the AUX_SYNC_IND PDU can also set Bit 1 to 1 to instruct the slave speaker at a specific address to send a control command through TargetA to avoid interference. Taking the lighting effect control as an example, the master speaker receives the AUX_SYNC_RC PDU carrying the Lighting Pattern command from the slave speaker. Although it can recognize the AdvA and RC Flags of the slave device, the Lighting Pattern data in the Adv Data is wrong, and the slave speaker needs to resend the LightingPattern data. The master speaker can send an AUX_SYNC_IND PDU to this specific slave speaker, with Bit 1 and Bit 7 of the Extended Header Flags in its Extended Header set to 1, and the Extended Header includes TargetA and RC Flags carrying the reverse control flag, and only Bit 0 of the RC Flags is set to 1. Only the slave speaker with the address specified by TargetA can send AUX_SYNC_RC PDU after receiving AUX_SYNC_IND PDU, thus avoiding interference. The master speaker will not send AUX_SYNC_IND PDU without TargetA until it receives the Lighting Pattern data correctly.

[0185] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, wherein the electronic device is configured to be used as the master device or the master speaker, and the electronic device can also be configured to be used as the slave device or the slave speaker.

[0186] The electronic device includes a user interface, a baseband data and protocol processor, and a BLE radio frequency transceiver module, wherein:

[0187] The user interface is used to receive a reverse communication setting instruction input by a user;

[0188] The baseband data and protocol processor is used to control the execution of Bluetooth low energy audio data broadcast transmission in a plurality of consecutive isochronous intervals, and is also used to control the execution of periodic advertising communication with reverse control based on a periodic advertising channel within a target isochronous interval;

[0189] The BLE radio frequency transceiver module is used to send and receive Bluetooth low energy wireless signals.

[0190] In some specific embodiments, for example, when the electronic device is the main speaker, the electronic device may further include an audio input unit and an audio processing unit. The audio input unit is used to obtain a digital audio signal and transmit it to the audio processing unit, and the audio processing unit is used to compress and encode the digital audio signal into audio data according to the BLE Audio protocol. The baseband data and protocol processor executes the BIG and PBP protocols and the PAWRC protocol related to BLE Audio, and processes the audio data into a BIS PDU suitable for sending by the BLE radio frequency transceiver module, and processes the PAWRC protocol into an AUX_SYNC_IND PDU suitable for sending by the BLE radio frequency transceiver module. The BLE radio frequency transceiver module is used for sending and receiving BLE wireless signals or various PDUs, including sending AUX_SYNC_IND PDU and receiving AUX_SYNC_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.

[0191] In some specific embodiments, for example, when the electronic device is the slave speaker, the electronic device may further include an audio output unit and an audio processing unit. The baseband data and protocol processor executes the BIG and PBP protocols related to BLE Audio and the PAWRC protocol, processes the BISPDU 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 AUX_SYNC_RC PDU and receiving AUX_SYNC_IND 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.

[0192] 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 audio broadcasting method in the embodiment of the present application. The chip can be applied to the slave device or the master device, so that the various processes of the above embodiments can achieve the same technical effect, and to avoid repetition, it will not be repeated here.

[0193] 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 audio broadcasting 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.

[0194] 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 audio broadcasting method, applied to a slave device of a Bluetooth low energy audio broadcasting system, wherein the Bluetooth low energy audio broadcasting system comprises a master device and one or more slave devices, wherein the slave device and the master device perform Bluetooth low energy audio data broadcasting transmission in a plurality of consecutive equal time intervals; It is characterized in that The slave device and the master device also perform periodic advertising communication with reverse control based on the periodic advertising channel within the target isochronous interval, including: The slave device detects whether the slave device is a target slave device that needs to perform reverse communication; When determining that the device is the target slave device, sending reverse communication data based on the periodic advertising channel in the target equitime shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the device; The target isochronous interval is at least part of the multiple continuous isochronous intervals, and the shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

2. The method according to claim 1, It is characterized in that The method further comprises: when determining that the device is the target slave device, sending reverse communication data based on the periodic advertising channel in the target equitime shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the device, and further comprising: In the case where the master device does not need to allocate an exclusive time slot for the device, one or more target shared reverse control time slots are selected from the shared reverse control time slots in one or more target equal time intervals based on a predetermined selection mechanism, The target shared reverse control time slot is used for the target slave device to send reverse communication data.

3. The method according to claim 2, It is characterized in that The predetermined selection mechanism includes: Each shared reverse control time slot in a target equal time interval is used as the target shared reverse control time slot, or, Based on the number of shared reverse control time slots in the target equal time interval, one or more shared reverse control time slots are selected as the target shared reverse control time slots, or, Based on the randomly generated delay time length, selecting a shared reverse control time slot corresponding to the delay time length as the target shared reverse control time slot, or, Based on the communication quality and / or the response time efficiency requirement of the reverse communication, one or more target equidistant shared reverse control time slots are selected as the target shared reverse control time slots.

4. The method according to claim 1, It is characterized in that The target isochronous time interval is also configured with a periodic advertising time slot, and the periodic advertising communication further includes: In the periodic advertising time slot of the target isochronous interval, receiving a reverse communication enable instruction broadcasted by the master device, wherein the reverse communication enable instruction is used to indicate whether to allow / disable reverse control or information feedback of one or more functions; When it is determined that the present device is a target slave device, it is determined whether to send reverse communication data based on the reverse communication enabling instruction.

5. The method according to claim 1, It is characterized in that The target isochronous time interval is also configured with a periodic advertising time slot, and the periodic advertising communication further includes: The number N of shared reverse control time slots broadcasted by the master device is received within the target equidistant periodic advertising time slots, where N is a positive integer greater than or equal to 1. Based on the number N of the shared reverse control time slots, a time domain position of each shared reverse control time slot within the target equal time interval is determined.

6. The method according to any one of claims 1 to 5, It is characterized in that The slave device detects whether the slave device is a target slave device that needs to perform reverse communication, including: Based on the reverse control instruction input from the outside, detecting whether the device is a target slave device that needs to perform reverse communication; and / or, In the target isochronous periodic advertising time slot, the target slave device designation instruction broadcasted by the master device is received, and based on the target slave device instruction, it is detected whether the device is designated by the master device as the target slave device requiring reverse communication.

7. A Bluetooth low energy audio broadcasting method, applied to a master device of a Bluetooth low energy audio broadcasting system, wherein the Bluetooth low energy audio broadcasting system comprises the master device and one or more slave devices, wherein the master device and the slave device perform Bluetooth low energy audio data broadcasting transmission in a plurality of consecutive equal time intervals; It is characterized in that The master device and the slave device also perform periodic advertising communication with reverse control based on the periodic advertising channel within the target isochronous interval, including: In the case where it is not necessary to allocate an exclusive time slot to each target slave device, in the target equitimed shared reverse control time slot, based on the periodic advertising channel reception, the reverse communication data sent by the target slave device is obtained; The target slave device is a slave device among the one or more slave devices that needs to perform reverse communication; The target isochronous interval is at least part of the multiple continuous isochronous intervals, and the shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

8. The method according to claim 7, It is characterized in that The target isochronous time interval is also configured with a periodic advertising time slot, and the periodic advertising communication further includes: In the target isochronous periodic advertising time slot, a reverse communication enabling instruction is broadcasted, wherein the reverse communication enabling instruction is used to indicate whether to allow / disable reverse control or information feedback of one or more functions; and / or, N shared reverse control time slots are configured for the target equal time interval, and the number N of the shared reverse control time slots is broadcast and sent in the periodic advertising time slot of the target equal time interval, where N is a positive integer greater than or equal to 1.

9. The method according to claim 7, It is characterized in that The periodic advertising channel-based reception to obtain the reverse communication data sent by the target slave device includes: at least during the reverse communication period allowing one or more functions, receiving in each shared reverse control time slot in each target isochronous interval to obtain the reverse communication data sent by the target slave device.

10. The method according to claim 1 or 7, It is characterized in that The periodic advertisement time slots within the target equal time interval have a predetermined time domain position within the target equal time interval; A first predetermined time interval is provided between a start time point of a shared reverse control time slot adjacent to the periodic advertising time slot in the time domain and an end time point of the periodic advertising time slot; When there are multiple shared reverse control time slots within one of the target equal time intervals, in two adjacent shared reverse control time slots, the interval between the end time point of the previous shared reverse control time slot and the start time point of the next shared reverse control time slot is a second predetermined time length; The distance between two target equitemporal intervals adjacent to each other in the time domain is a third predetermined time length.

11. The method according to claim 10, It is characterized in that The first predetermined time length and the second predetermined time length are both configured as a minimum event interval or a minimum data frame interval specified by the Bluetooth protocol; The third predetermined time length is configured as an integer multiple of the equal time interval.

12. The method according to claim 1 or 7, It is characterized in that The master device is used to broadcast and send periodic advertising data packets in the periodic advertising time slots of the target equitime interval, The target slave device is used to send a reverse communication data packet in the shared reverse control time slot, The periodic advertising data packet or the reverse communication data packet includes one or more of the following flag fields: The first flag field is used by the master device to indicate the number N of shared reverse control time slots, where N is a positive integer greater than or equal to 1; A second flag field is used for the master device to indicate a reverse communication enable instruction to indicate whether to allow / disable reverse control or information feedback of one or more functions, or for the slave device to indicate reverse communication indication information to indicate that the reverse communication data packet carries reverse communication data of one or more functions; A third flag field is used to indicate the address of the master device; The fourth flag field is used by the master device to indicate the target slave device to specify the instruction, or used by the target slave device to indicate the address of the device; The fifth flag field is used to indicate the common tone extension information; The sixth flag field is used to indicate advertisement data information; The seventh flag field is used to indicate an auxiliary advertisement pointer; The eighth flag field is used to indicate synchronization information; The ninth flag field is used to indicate the transmit power; The tenth flag field is used to indicate additional controller advertisement data ACAD.

13. The method according to claim 12, It is characterized in that The bits in the second flag field RC Flags respectively correspond to the one or more functions; 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 13, It is characterized in that The master device and the slave device are used to perform Bluetooth low energy consumption audio data broadcast transmission in a plurality of consecutive isochronous intervals based on a synchronous isochronous channel protocol of Bluetooth low energy consumption broadcast; The periodic advertising data packet and the reverse communication data packet are both Bluetooth AUX_SYNC_IND protocol data units with extended headers, and the flag field is configured in the header of the data packet; or, The periodic advertising data packet and the reverse communication data packet are both Bluetooth AUX_SYNC_IND protocol data units, the advertising data adv data of the periodic advertising data packet includes the first flag field and the second flag field, and the advertising data adv data of the reverse communication data packet includes the second flag field.

15. A Bluetooth audio broadcasting device, configured to be used as a master device in the Bluetooth low energy audio broadcasting method as claimed in any one of claims 1 to 14, wherein the master device is used to perform Bluetooth low energy audio data broadcasting transmission with a slave device in a Bluetooth low energy audio broadcasting system in a plurality of consecutive equal time intervals; It is characterized in that The master device is also used to perform periodic advertising communication with reverse control with a slave device in the Bluetooth low energy audio broadcasting system based on a periodic advertising channel within a target equal time interval, including: In the case where it is not necessary to allocate an exclusive time slot to each target slave device, in the target equitimed shared reverse control time slot, based on the periodic advertising channel reception, the reverse communication data sent by the target slave device is obtained; The target slave device is a slave device in the Bluetooth low energy audio broadcasting system that needs to perform reverse communication; The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

16. A Bluetooth audio broadcasting device, It is characterized in that The method is configured to be used as a slave device in the Bluetooth low energy audio broadcasting method according to any one of claims 1 to 14, wherein the slave device is used to perform Bluetooth low energy audio data broadcast transmission with a master device in a Bluetooth low energy audio broadcasting system in a plurality of consecutive isochronous intervals; wherein the slave device is also used to perform periodic advertising communication with reverse control with a master device in the Bluetooth low energy audio broadcasting system based on a periodic advertising channel within a target isochronous interval, including: The slave device is used to detect whether the slave device is a target slave device that needs to perform reverse communication; When it is determined that the present device is the target slave device, the slave device is further configured to send reverse communication data based on the periodic advertising channel in the target equitime shared reverse control time slot without the need for the master device to allocate an exclusive time slot to the present device; The target isochronous interval is at least part of the multiple continuous isochronous intervals, and a shared reverse control time slot is configured in the target isochronous interval. The shared reverse control time slot is a time slot that any slave device can occupy when transmitting reverse communication data.

17. A Bluetooth low energy audio broadcasting 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 to perform Bluetooth low energy audio data broadcast transmission in a plurality of consecutive equal time intervals, It is characterized in that The master device and the slave device are further used to perform periodic advertising communication with reverse control based on the periodic advertising channel within a target isochronous interval, the target isochronous interval is at least part of the multiple consecutive isochronous intervals, and a shared reverse control time slot is configured within the target isochronous interval, and the shared reverse control time slot is a time slot that can be occupied by any of the slave devices when transmitting reverse communication data; When the broadcasting system is performing the periodic advertising communication with reverse control, the target slave device among the slave devices that needs to perform reverse communication is used to send reverse communication data in the shared reverse control time slot without the need for the master device to allocate an exclusive time slot for the target slave device, and the master device is used to receive in the shared reverse control time slot to obtain the reverse communication data.

18. An electronic device, It is 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 audio data broadcast transmission in a plurality of consecutive isochronous intervals, and is also used to control the execution of periodic advertising communication with reverse control based on a periodic advertising channel within a target isochronous interval; The BLE radio frequency transceiver module is used to send and receive Bluetooth low energy wireless signals.

19. A chip, It is 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 audio broadcasting method according to any one of claims 1 to 6, wherein the chip is applied to the slave device; or The Bluetooth low energy audio broadcasting method according to any one of claims 7 to 9, wherein the chip is applied to the master device.

20. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the Bluetooth low energy audio broadcast method according to any one of claims 1 to 6 is implemented, or the Bluetooth low energy audio broadcast method according to any one of claims 7 to 9 is implemented.

Citation Information

Cited By

  • Communication method and device of wireless battery management system and related equipment

    CN119697620A

  • A communication method and apparatus of a wireless battery management system and related device

    CN119697620B

  • Audio stream wireless transmission method supporting multiple transmission and one reception

    CN122420799A