WO2023020439A1 - 蓝牙音频的接收方法、装置、终端及存储介质 - Google Patents

蓝牙音频的接收方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2023020439A1
WO2023020439A1 PCT/CN2022/112530 CN2022112530W WO2023020439A1 WO 2023020439 A1 WO2023020439 A1 WO 2023020439A1 CN 2022112530 W CN2022112530 W CN 2022112530W WO 2023020439 A1 WO2023020439 A1 WO 2023020439A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast
ind
source device
adv
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/112530
Other languages
English (en)
French (fr)
Inventor
任凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2023020439A1 publication Critical patent/WO2023020439A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Definitions

  • the embodiments of the present application relate to the field of Bluetooth broadcasting, and in particular to a method, device, terminal and storage medium for receiving Bluetooth audio.
  • the reception of Bluetooth broadcast is usually to analyze the scanned data frame, and receive the Bluetooth audio broadcast by the broadcast source device according to the synchronization information contained in the data frame.
  • the terminal when the terminal needs to receive the Bluetooth audio broadcast by the broadcast source device, it needs to synchronize with all the Bluetooth broadcast source devices in the environment, and display the identification information of each broadcast source device in the terminal, and determine the target broadcast source based on user selection device, and then receive the Bluetooth audio data of the target broadcast source device.
  • the embodiment of the present application provides a Bluetooth audio receiving method, device, terminal and storage medium, and the technical solution is as follows:
  • the embodiment of the present application provides a method for receiving Bluetooth audio, the method comprising:
  • the first broadcast source device is used for Bluetooth audio broadcast;
  • the Bluetooth audio data broadcast by the first broadcast source device is received.
  • an embodiment of the present application provides a Bluetooth audio receiving device, the device comprising:
  • a first acquisition module configured to acquire synchronous auxiliary information of a first broadcast source device, where the first broadcast source device is used for Bluetooth audio broadcast;
  • a second acquiring module configured to perform periodic broadcast PA synchronization with the first broadcast source device based on the synchronization assistance information, and acquire periodic broadcast synchronization information of the first broadcast source device;
  • the audio receiving module is configured to perform broadcast isochronous data stream BIS synchronization with the first broadcast source device based on the periodic broadcast synchronization information, and receive Bluetooth audio data broadcast by the first broadcast source device.
  • an embodiment of the present application provides a terminal.
  • the terminal includes a processor and a memory, at least one program is stored in the memory, and at least one program is loaded and executed by the processor to implement the Bluetooth audio receiving method provided by the above aspect.
  • an embodiment of the present application provides a computer-readable storage medium, the storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the Bluetooth audio receiving method provided in the above aspect.
  • an embodiment of the present application provides a computer program product, where the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the Bluetooth audio receiving method provided in the above aspect.
  • FIG. 1 shows a schematic diagram of a scene of a Bluetooth audio receiving method provided by an exemplary embodiment of the present application
  • Fig. 2 is the flowchart of the method for receiving Bluetooth audio shown in an exemplary embodiment of the present application
  • FIG. 3 is a flow chart of a method for receiving Bluetooth audio provided in another exemplary embodiment of the present application.
  • FIG. 4 shows a schematic diagram of the frame structure of ADV_EXT_IND provided by an exemplary embodiment of the present application
  • FIG. 5 is a flowchart of a method for receiving Bluetooth audio provided in another exemplary embodiment of the present application.
  • Fig. 6 shows a schematic structural diagram of a resolvable private device address provided by an exemplary embodiment of the present application
  • FIG. 7 shows a schematic diagram of the frame structure of the target AUX_ADV_IND provided by an exemplary embodiment of the present application
  • FIG. 8 shows a schematic diagram of the frame structure of the target AUX_SYNC_IND provided by an exemplary embodiment of the present application
  • FIG. 9 shows a schematic structural diagram of an unresolvable private device address provided by an exemplary embodiment of the present application.
  • FIG. 10 shows a flow chart of data transmission of Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • FIG. 11 is a flow chart of a method for receiving Bluetooth audio provided in another exemplary embodiment of the present application.
  • FIG. 12 shows a structural block diagram of a Bluetooth audio receiving device provided by an embodiment of the present application.
  • Fig. 13 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • the terminal when the terminal is within the radiation range of the Bluetooth broadcast and needs to receive Bluetooth audio, it scans the Bluetooth broadcasts of all broadcast source devices in the field by turning on the Bluetooth broadcast scan switch, and then determines the needs through the displayed Bluetooth broadcast list.
  • the receiving target broadcasting device can only receive and play the Bluetooth audio data when receiving the user's confirmation operation on the target broadcasting source device, and the operation steps are relatively cumbersome.
  • the terminal When there are many broadcast source devices in the environment, the terminal needs to scan all the Bluetooth broadcasts, and the user needs to wait for a long time to obtain the Bluetooth broadcast list, and then receive Bluetooth audio data. During this period, for each Bluetooth broadcast, the terminal needs to adjust the receiving channel multiple times, that is, obtain the instruction frame of the Bluetooth broadcast through multiple frequency hopping methods, which increases the operating power consumption of the Bluetooth component.
  • the terminal obtains the synchronization auxiliary information of the target broadcast source device in advance, selectively scans the instruction frame of the Bluetooth broadcast according to the synchronization auxiliary information, and then performs periodic broadcast synchronization with the target broadcast source device, and There is no need to scan and identify all Bluetooth broadcasts, which can shorten the scanning time of the terminal and reduce the operating power consumption of Bluetooth components.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment may include: a broadcast source device 110 and a terminal 120 .
  • the broadcast source device 110 is used for Bluetooth audio broadcasting, and may be a device such as a smart speaker, a computer, or a server with an audio broadcasting function.
  • the broadcast source device 110 is provided with a Bluetooth component, which can broadcast Bluetooth audio through the Bluetooth component.
  • the Bluetooth audio is similar to wireless broadcasting. It does not need to establish a pairing connection with the receiving device, but directly radiates Bluetooth audio into the environment.
  • Bluetooth audio is a broadcast source
  • the audio stream data broadcast by the device 110 is used for receiving and playing by the terminal 120 .
  • the broadcast source device 110 is provided with a speaker component, and during the process of broadcasting Bluetooth audio, corresponding audio can be played through the speaker component.
  • the terminal 120 is a smart device provided with a bluetooth component, such as a smart phone, a portable computer, a tablet computer, a music player, and the like.
  • the terminal 120 can receive the bluetooth audio broadcast by the broadcast source device 110 through the bluetooth component.
  • a camera component an ultra wide band (Ultra Wide Band, UWB) component, and a near field communication (Near Field Communication, NFC) component may be provided for obtaining the synchronization auxiliary information of the broadcast source device 110.
  • UWB Ultra Wide Band
  • NFC Near Field Communication
  • a speaker component is provided on the terminal 120 for playing corresponding Bluetooth audio.
  • the terminal 120 can also be connected to a Bluetooth audio playback device through a Bluetooth component, and the Bluetooth audio playback device is used to play Bluetooth audio data, such as a Bluetooth headset 130, and the terminal 120 and the Bluetooth headset 130 establish a Bluetooth communication connection, and the acquired synchronous
  • the auxiliary information and the periodic broadcast synchronization information of the broadcast source device 110 are sent to the Bluetooth headset 130, so that the Bluetooth headset 130 performs periodic broadcast synchronization and plays Bluetooth audio.
  • FIG. 2 is a flow chart of a method for receiving Bluetooth audio provided by an exemplary embodiment of the present application. This embodiment uses the method in the terminal shown in FIG. 1 as an example for illustration. The method includes:
  • Step 201 acquire synchronization auxiliary information of a first broadcast source device, which is used for Bluetooth audio broadcast.
  • the terminal When the terminal is within the broadcast range of the first broadcast source device and needs to receive Bluetooth audio data through the terminal, since the terminal does not know information such as the broadcast channel and broadcast frequency when the first broadcast source device broadcasts Bluetooth, and the terminal is located When the environment contains multiple broadcast source devices at the same time, the terminal needs to spend a long time scanning the Bluetooth broadcasts of all broadcast source devices. In order to shorten the scanning time, the terminal needs to obtain the auxiliary synchronization information of the first broadcast source device in advance.
  • the auxiliary synchronization information includes information such as the device address and broadcast identification of the first broadcast source device, which is convenient for determining the actual first broadcast source device from multiple broadcast source devices. Broadcast source device.
  • Step 202 Perform periodic broadcast PA synchronization with the first broadcast source device based on the synchronization assistance information, and acquire periodic broadcast synchronization information of the first broadcast source device.
  • the terminal can determine the Bluetooth broadcasting channel corresponding to the first broadcast source device from the multiple broadcast source devices based on the acquired synchronization assistance information of the first broadcast source device. Broadcast, and then perform periodic broadcast synchronization with the first broadcast source device.
  • broadcast source device A there are broadcast source device A, broadcast source device B, and broadcast source device C in the environment where the terminal is located, and the corresponding Bluetooth broadcasts are Bluetooth broadcast A, Bluetooth broadcast B, and Bluetooth broadcast C respectively.
  • the terminal has acquired the broadcast After receiving the synchronization auxiliary information of the source device A, turn on the signal scanning switch of the Bluetooth component, and scan the Bluetooth broadcast A according to the synchronization auxiliary information.
  • a broadcast source device When the terminal has acquired the broadcast After receiving the synchronization auxiliary information of the source device A, turn on the signal scanning switch of the Bluetooth component, and scan the Bluetooth broadcast A according to the synchronization auxiliary information.
  • the terminal Before receiving Bluetooth audio data, the terminal needs to receive various instruction frames sent by the first broadcast source device. Different instruction frames contain different data information, and usually, limited by the length of the instruction frame and the message structure, the terminal It is necessary to continuously receive multiple indication frames to obtain the periodic synchronization information of the first broadcast source device, and different indication frames are broadcast through different channels. For the same reason, the terminal needs to keep the receiving channel consistent with the broadcast channel. Only then can the periodic broadcast synchronization information be received.
  • indication frames including but not limited to at least one of the following types: advertising extension indication frame (Advertising Extension Indication, ADV_EXT_IND), auxiliary broadcast indication frame (Auxilary Advertising Indication, AUX_ADV_IND), auxiliary synchronization indication frame (Auxilary Synchronization Indication, AUX_SYNC_IND) and auxiliary chain indication frame (Auxilary Chain Indication, AUX_CHAIN_IND).
  • advertising extension indication frame Advertising Extension Indication, ADV_EXT_IND
  • auxiliary broadcast indication frame Auxilary Advertising Indication, AUX_ADV_IND
  • auxiliary synchronization indication frame Auxilary Synchronization Indication, AUX_SYNC_IND
  • auxiliary chain indication frame Auxilary Chain Indication, AUX_CHAIN_IND
  • the terminal sequentially receives ADV_EXT_IND, AUX_ADV_IND, and AUX_SYNC_IND to obtain synchronization auxiliary information for the first broadcast source device
  • the periodic broadcast synchronization information may specifically include Bluetooth audio codec setting (Codec Setting), audio positioning (Audio Location), Program information (Program Info) and rating (Parental Rating) and other information.
  • the terminal determines the first broadcast source device, it can selectively scan the Bluetooth broadcast of the first broadcast source device, that is, only scan the instruction frame according to the receiving frequency band and channel indicated by the first broadcast source device, without further All indication frames of other broadcast source devices are sequentially scanned and identified, by comparison, the operating power consumption of the Bluetooth component can be reduced, and the scanning time can be reduced.
  • Step 203 Based on the periodic broadcast synchronization information, the broadcast isochronous data stream BIS is synchronized with the first broadcast source device, and the Bluetooth audio data broadcast by the first broadcast source device is received.
  • the terminal After obtaining the periodic broadcast synchronization information of the first broadcast source device, the terminal performs broadcast isochronous stream (Broadcast Isochronous Stream, BIS) synchronization with the first broadcast source device according to the content indicated by the periodic broadcast synchronization information.
  • BIS broadcast Isochronous Stream
  • WMA Windows Media Audio
  • mp3 codec format etc.
  • the audio positioning information is used to determine the location information of the Bluetooth audio data playback
  • the program information is used to determine the name of the Bluetooth broadcast.
  • the periodic broadcast synchronization information also includes information such as the receiving channel and scanning frequency of the BIS data packet. For example, if the scanning frequency is set to 10ms and the receiving channel is the 20th channel, the receiver of the Bluetooth component will receive on the 20th channel every 10ms.
  • the BIS data packet from the first broadcast source device contains Bluetooth audio data, and then the Bluetooth audio data is played after operations such as decoding the Bluetooth audio data.
  • the second broadcast source device is obtained.
  • the periodic synchronization information of a broadcast source device does not need to scan and identify all broadcast source devices in the field through multiple frequency hopping methods, which reduces the time for scanning Bluetooth broadcasts and also reduces the operating power consumption of Bluetooth components; in the terminal After obtaining the periodic synchronization information of the first broadcast source device, BIS synchronization can be performed directly according to the periodic synchronization information, without the need for the user to manually select from the list, which simplifies the operation steps and improves the operation efficiency.
  • Fig. 3 is a flow chart of a method for receiving Bluetooth audio provided by another exemplary embodiment of the present application. This embodiment is described by using the method in the terminal shown in Fig. 1 as an example. The method includes:
  • Step 301 Acquire synchronization assistance information of the first broadcast source device in an out-of-band manner, and the out-of-band manner includes at least one of graphic code scanning and NFC near field communication.
  • the terminal mainly obtains the synchronization auxiliary information of the first broadcast source device in advance.
  • the synchronization auxiliary information of the first broadcast source device can be obtained in an out-of-band manner, that is, not through the Bluetooth protocol, but through graphic scanning or The near field communication acquires the synchronization assistance information of the first broadcast device.
  • the terminal is equipped with a camera component, and the terminal can obtain synchronous auxiliary information by scanning a graphic code.
  • the terminal can obtain synchronous auxiliary information by scanning a graphic code.
  • a simultaneous interpretation scene there are multiple broadcast source devices, and different broadcast source devices
  • the terminal when the terminal and the broadcast source device are equipped with NFC components at the same time, the terminal can be moved within the coverage of the near-field signal to receive the near-field signal of the first broadcast source device, and the near-field signal contains the synchronization auxiliary information of the first broadcast source device.
  • the auxiliary synchronization information of the first broadcast source device may also be received according to the location information. Also take the simultaneous interpretation scenario as an example. Users in different locations often need to receive Bluetooth audio in different languages. Therefore, UWB components can be set on the first broadcast source device, and the first broadcast source device can be determined by receiving UWB signals. Therefore, Acquiring the synchronization assistance information can also be implemented through step 302 and step 303 .
  • Step 302 based on the UWB signal received by the UWB component, determine the pointed device as the first broadcast source device.
  • the terminal When the terminal needs to obtain the synchronization auxiliary information of the first broadcast source device, by adjusting the receiving direction of the UWB signal to the signal transmission direction of the first broadcast source device, it is convenient to receive the UWB signal of the first broadcast source device.
  • the angle threshold for receiving UWB signals can also be set. When the terminal determines that the angle at which the UWB signal is received is smaller than the angle threshold, the corresponding broadcast source device is determined to be synchronized. The first broadcast source device.
  • Step 303 Receive synchronization assistance information sent by the first broadcast source device.
  • the UWB signal received by the terminal is only used to determine the first broadcast source device. After the first broadcast source device is determined, the first broadcast source device sends synchronization auxiliary information through the Bluetooth component, and the terminal receives the first broadcast source device through the Bluetooth component. Synchronization assistance information for .
  • Step 304 if the first device address is a public device address or a resolvable private device address, determine a first broadcast extension indication frame ADV_EXT_IND broadcast by the first broadcast source device.
  • the synchronization auxiliary information obtained by the terminal includes the target device address of the first broadcast device.
  • the device address of the broadcast source device can be set to various types, which can be determined according to actual needs.
  • the terminal may perform signal scanning according to the provided first device address to determine the first ADV_EXT_IND of the first broadcast source device.
  • the instruction frame broadcast by the broadcast source device contains the corresponding device address.
  • the terminal scans all the broadcast extension instruction frames ADV_EXT_IND in the field through the Bluetooth component, and obtains the device address in ADV_EXT_IND, and then according to the device address Determine the first ADV_EXT_IND broadcast by the first broadcast source device.
  • the frame structure of ADV_EXT_IND is shown in Figure 4.
  • the frame structure includes header and payload.
  • PDU Type is used to identify the type of broadcast. Reserved For Further is a temporarily unused position reserved for subsequent use.
  • ChSel indicates the device If the frequency hopping algorithm is supported, the corresponding value is set to 1, otherwise it is set to 0,
  • TxAdd is used to indicate the type of device address
  • RxAdd is usually used for directional broadcast, specifying the address type of the receiving device
  • Length indicates the data length of the following payload, and the payload
  • the field contains the data carried by the Bluetooth broadcast and the device address.
  • ADV_EXT_IND is sent through the 37th, 38th or 39th channel, but when the broadcast source device sends ADV_EXT_IND through the specified channel, the terminal must maintain the same channel to receive ADV_EXT_IND normally, and The instruction frame sent by the broadcast source device may appear on different physical channels, so the terminal needs to scan multiple physical channels by frequency hopping, and obtain the device addresses in multiple candidate ADV_EXT_IND, and then determine the first broadcast source The first ADV_EXT_IND of the device. Moreover, in most cases, in order to ensure the security of the data transmitted by the broadcast source device, address encryption is often used. In this case, even if the terminal scans the Bluetooth broadcast, it cannot be connected. As shown in FIG. 5 , for different types of device addresses, specific steps can be divided into the following steps.
  • Step 304A when the first device address is a public device address, receive the second ADV_EXT_IND broadcast by the second broadcast source device.
  • the device address of the first broadcast source device is fixed. This type of device address is mainly used in public places. When other devices know the public device address, periodic broadcasting can be performed at any time. Sex radio sync.
  • the terminal turns on the Bluetooth broadcast scanning switch, the terminal will scan the second ADV_EXT_IND of all broadcast source devices in the field, and extract the device address in the second ADV_EXT_IND.
  • the second ADV_EXT_IND may contain multiple different types of device addresses, and the terminal may determine the address type of the scanned second ADV_EXT_IND according to TxAdd, and then extract the public device address for subsequent address matching.
  • step 304B the second device address contained in the second ADV_EXT_IND matches the first device address, and the second ADV_EXT_IND is determined as the first ADV_EXT_IND.
  • the terminal After the terminal obtains the second device address included in the second ADV_EXT_IND, it matches the first device address with the second device address in the second ADV_EXT_IND, if the two addresses are different, it means that the currently scanned second ADV_EXT_IND It is not sent by the first broadcast source device, continue to scan, if the two addresses are the same, it means that the second ADV_EXT_IND currently scanned is sent by the target broadcast source device, and the second ADV_EXT_IND is determined to be the first ADV_EXT_IND, and its corresponding Bluetooth broadcast That is, the target broadcast that needs to be periodically synchronized.
  • the address of the first device is a public device address, but in most scenarios, address conflicts may occur with the public device address, and the security of the public address is not high.
  • the first device can be The address is set as a resolvable private device address.
  • the resolvable private address has a certain update trigger mechanism. After the preset time is reached, the broadcast source device will update the device address, and then continue to broadcast Bluetooth audio data, which can resolve private devices.
  • the purpose of the address is to prevent malicious third-party devices from tracking the broadcast source device, while still allowing one or more trusted devices to identify the broadcast source device.
  • the matching process for the resolvable private device address may include the following steps.
  • Step 304C when the first device address is a resolvable private device address, receive the second ADV_EXT_IND broadcast by the second broadcast source device, where the second ADV_EXT_IND includes the random number and the first hash value.
  • the obtained synchronization auxiliary information also needs to include an Identity Resolving Key (Identity Resolving Key, IRK), and the second ADV_EXT_IND received by the terminal contains random numbers and The first hash value (hash), the random number and the first hash value together constitute a resolvable private device address.
  • Identity Resolving Key IRK
  • IRK Identity Resolving Key
  • Figure 6 shows the data structure of the resolvable private device address.
  • the length of the resolvable private device address is 48 bits
  • the first hash value and the random number are 24 bits each
  • the highest two bits of the random number must be " 01"
  • at least one bit of the random number must be 0, and at least one bit must be 1.
  • the highest two bits are used to identify the address type, wherein the random number is updated after a preset time, and the first hash value is calculated based on the random number, see step 304D for details.
  • Step 304D perform a hash operation on the IRK and the random number to obtain a second hash value.
  • the terminal After acquiring the random number and the first hash value included in the second ADV_EXT_IND, the terminal calculates the second hash value according to the random number and the IRK, which may be specifically obtained through a hash operation.
  • the first broadcast source device and the terminal use the same hash operation, ah represents the hash operation function, and prand represents a random number. After the terminal obtains the random number, it obtains the second hash value through hash operation, and the first broadcast source device will be updated later. This calculation method is also used for the target device address. If the terminal does not obtain the IRK of the first broadcast source device, the device address cannot be resolved, and the Bluetooth audio data cannot be received.
  • Step 304E if the second hash value matches the first hash value, determine the second ADV_EXT_IND as the first ADV_EXT_IND.
  • the terminal calculates the second hash value, it compares the second hash value with the first hash value specified in the second ADV_EXT_IND, and when the first hash value and the second hash value are the same, the second ADV_EXT_IND That is, it is sent by the first broadcast source device, and the second ADV_EXT_IND is determined as the first ADV_EXT_IND, and its corresponding Bluetooth broadcast is the target broadcast that requires periodic synchronization.
  • the first hash value is different from the second hash value, it indicates that the second ADV_EXT_IND is sent by other broadcast source devices than the first broadcast source device.
  • Step 305 Receive a first auxiliary broadcast indication frame AUX_ADV_IND broadcast by the first broadcast source device based on the first ADV_EXT_IND.
  • receiving Bluetooth audio data needs to obtain various indication frames. After determining the first ADV_EXT_IND, it is also necessary to receive the first AUX_ADV_IND according to the first indication information of the first AUX_ADV_IND contained in the first ADV_EXT_IND.
  • the first indication The information includes a broadcast channel of the first AUX_ADV_IND and an offset time.
  • the first ADV_EXT_IND is broadcast through channels 37, 38, and 39, while the first AUX_ADV_IND is broadcast through channels other than 37, 38, and 39. Therefore, the first ADV_EXT_IND needs to carry the next broadcast channel of the first AUX_ADV_IND for the terminal to perform Frequency hopping means adjusting to receive the target AUX_ADV_IND on the same physical channel as the first broadcast source device. Among them, the offset time is used to indicate the time interval between broadcasting the first ADV_EXT_IND and the first ADV_EXT_IND.
  • the terminal After receiving the target ADV_EXT_IND, the terminal can turn off the receiver, and when the offset time is reached, turn on the receiver again to receive the first ADV_EXT_IND.
  • This method can shorten the scan time of the receiver, which is beneficial to reduce power consumption. For example, if the terminal obtains from the first ADV_EXT_IND that the broadcast channel of the first AUX_ADV_IND is the 17th channel, and the offset time is 10ms, then the terminal can temporarily turn off the receiver, and when the offset time is reached, the receiving channel will be adjusted to the 17th channel channel, receiving the first AUX_ADV_IND.
  • Step 306 Receive the first auxiliary synchronization indication frame AUX_SYNC_IND broadcast by the first broadcast source device based on the first AUX_ADV_IND, and obtain periodic broadcast synchronization information of the first AUX_SYNC_IND.
  • the first AUX_ADV_IND contains the indication information of the first AUX_SYNC_IND
  • the frame structure of the first AUX_ADV_IND is shown in Figure 7, and the payload of the frame structure includes three fields, which are broadcast data, ADI and Aux Ptr, wherein the Aux Ptr field carries second indication information, and the second indication information is used to indicate the time, channel and physical layer when the target AUX_SYNC_IND appears.
  • the terminal After receiving the first AUX_ADV_IND, the terminal also needs to obtain the broadcast channel and offset time of the first AUX_SYNC_IND in the first AUX_ADV_IND, so that the terminal can adjust the receiving channel and receive the first AUX_SYNC_IND in time.
  • the first AUX_SYNC_IND includes periodic broadcast synchronization information, including but not limited to encoder settings, audio positioning, program information, ratings and other information, as well as broadcast period and other content.
  • the frame structure of the first AUX_SYNC_IND is shown in FIG. 8 , and the payload of the frame structure includes three fields, namely ADI, periodic broadcast synchronization information and broadcast data.
  • LTV Length-Type-Value
  • parameter size (bytes) value length 1 N+1 type 1 0x05 value N title and/or abstract
  • the parameters involved in information such as encoder settings, audio positioning, program information and ratings can be set according to actual needs, or set according to the protocol standard of Bluetooth broadcasting.
  • the above parameters are only an exemplary example and are not intended to constitute a limitation of this application.
  • the above embodiments describe the content of matching public device addresses and resolvable private device addresses.
  • the terminal acquires that the target device address of the first broadcast source device is an unresolvable private device address, it cannot directly compare the device addresses, or cannot perform calculation and matching through the IRK.
  • the broadcast identifier contained in AUX_ADV_IND can be matched, which specifically includes the following steps.
  • Step 307 In the case that the first device address is an unresolvable private device address, based on the second ADV_EXT_IND broadcast by each second broadcast source device, receive the second AUX_ADV_IND broadcast by each second broadcast source device.
  • the unresolvable private device address is also regularly updated, but the device address does not contain a hash value, and the random number part is randomly generated, which is more secure. As shown in Figure 9, the highest two bits of the unresolvable private device address are "00", which is used to indicate the address type, and at least one bit of the rest of the random numbers must be 0, and at least one bit must be 1, and the unresolvable The private device address cannot be the same as the public address.
  • the terminal determines that the first device address is an unresolvable private device address, the terminal cannot determine the first broadcast source device through the second ADV_EXT_IND, but matches through the broadcast identifier.
  • the synchronization auxiliary information obtained by the terminal contains The first broadcast identifier of the first broadcast source device, therefore, the terminal needs to first receive the second ADV_EXT_IND broadcast by each second broadcast source device, and then receive each second AUX_ADV_IND.
  • Step 308 based on determining the first AUX_ADV_IND in the first broadcast identifier candidate AUX_ADV_IND, the broadcast identifier included in the first AUX_ADV_IND matches the first broadcast identifier.
  • the frame structure of the second AUX_ADV_IND can refer to Figure 7.
  • the broadcast identifier can be obtained from ADI.
  • ADI includes the broadcast identifier and the broadcast set.
  • the broadcast set is used to identify different broadcast events.
  • the terminal obtains the broadcast identifier in each second AUX_ADV_IND , and then match the corresponding broadcast ID with the first broadcast ID, and when the broadcast ID in the second AUX_ADV_IND is the same as the first broadcast ID, determine the second AUX_ADV_IND as the first AUX_ADV_IND.
  • Step 309 Receive the first AUX_SYNC_IND broadcast by the first broadcast source device based on the first AUX_ADV_IND, and acquire periodic broadcast synchronization information of the first AUX_SYNC_IND.
  • step 306 For the implementation manner of this step, reference may be made to step 306, and details are not described here in this embodiment.
  • Step 310 Synchronize the broadcast isochronous data stream BIS with the first broadcast source device based on the periodic broadcast synchronization information, and receive the Bluetooth audio data broadcast by the first broadcast source device.
  • step 203 For the implementation manner of this step, reference may be made to step 203, and details are not described in this embodiment here.
  • the terminal can obtain the auxiliary synchronization information of the first broadcast source device in advance through an out-of-band method, such as scanning a graphic code or through an NFC component, which improves the convenience of the synchronization auxiliary information acquisition process .
  • the first device address is a public device address
  • the first device address is a resolvable private device address, according to the obtained IRK and the second ADV_EXT_IND contain random numbers and the first
  • the hash value determines the first ADV_EXT_IND, and then receives the first AUX_ADV_IND through the first ADV_EXT_IND; when the first device address is an unresolvable private device address, the first ADV_EXT_IND cannot be directly determined, but the second ADV_EXT_IND needs to be obtained first, Receive the second AUX_ADV_IND according to the second ADV_EXT_IND, and then match the broadcast identifier specified in the second
  • Fig. 10 shows a flow chart of data transmission of Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • the terminal will obtain the candidate ADV_EXT_IND in the field. If the address of the target device in the auxiliary synchronous broadcast information obtained by the terminal is a resolvable address or a public address, the corresponding address of the target broadcast source device will be determined in the first stage.
  • the target ADV_EXT_IND after that, the terminal receives the target AUX_EXT_IND according to the indication information indicated by the target ADV_EXT_IND in the second stage.
  • This process is to set the scanning filtering policy according to the target ADV_EXT_IND, and no longer scan other candidate ADV_EXT_IND and candidate AUX_EXT_IND. Different from the previous method of scanning Bluetooth broadcasts, this process can omit the scanning of other Bluetooth broadcasts, relatively speaking, it can shorten the scanning time of the terminal.
  • the synchronization auxiliary information also includes the broadcast identifier of the target broadcast source device.
  • the terminal needs to obtain all candidate ADV_EXT_IND of Bluetooth broadcasts, and then obtain the candidate ADV_EXT_IND according to the candidate ADV_EXT_IND AUX_EXT_IND, and then determine the target AUX_EXT_IND according to the broadcast identifier in the candidate AUX_EXT_IND, that is, the terminal needs to perform the first phase and the second phase for all Bluetooth broadcasts.
  • the terminal After the terminal determines the target AUX_EXT_IND, it obtains the target AUX_SYNC_IND and periodic broadcast synchronization information through the third stage.
  • the third stage is only for the Bluetooth broadcast of the target broadcast source device. Due to the scanning and filtering strategy, it will not execute the first broadcast for other broadcast source devices.
  • BIS synchronization is performed with the target broadcast source device in the fourth stage, and the BIS data packet is periodically received to obtain the Bluetooth audio data in it.
  • the terminal implements BIS synchronization with the first source broadcasting device based on the obtained synchronous auxiliary information.
  • the terminal does not have the audio playback function or the user needs to play Bluetooth audio data through other audio playback devices, the obtained The received synchronous auxiliary information is sent to the audio playback device, and the audio data packet is received by the audio playback device.
  • Fig. 11 is a flowchart of a method for receiving Bluetooth audio provided by another exemplary embodiment of the present application.
  • Step 1101 the first broadcast source device broadcasts Bluetooth audio.
  • step 1102 the terminal acquires synchronization assistance information.
  • the synchronization assistance information is specifically determined according to the address type of the target broadcast source device, and the terminal performs periodic broadcast synchronization with the first broadcast source device based on the synchronization assistance information.
  • Step 1103 the terminal acquires the periodic broadcast synchronization information of the first broadcast source device.
  • Step 1104 receiving periodic broadcast synchronization information and synchronization auxiliary information.
  • the terminal does not have the ability to obtain synchronization assistance information or the user does not expect to play Bluetooth audio broadcasts through the terminal, but the terminal establishes a communication connection with the Bluetooth audio playback device through the Bluetooth component. At this time, the terminal can use the ACL link Send the obtained periodic broadcast synchronization information and synchronization auxiliary information to the Bluetooth audio playback device.
  • the Bluetooth audio playback device may be a wearable device, such as a smart watch, smart glasses, and in addition, the Bluetooth audio playback device may also be a Bluetooth headset or other devices.
  • the battery capacity of wearable devices is limited. If you directly scan the Bluetooth broadcast, it will increase the operating power consumption. By obtaining it from the terminal, you can reduce the operating power consumption of the wearable device and achieve the purpose of saving power.
  • Step 1105 PA synchronization and BIS synchronization.
  • the Bluetooth audio playback device When the Bluetooth audio playback device acquires the periodic broadcast synchronization information and synchronization auxiliary information, it performs PA synchronization and BIS synchronization with the first broadcast source device.
  • Step 1106 receive Bluetooth audio data.
  • the Bluetooth audio playback device After receiving the Bluetooth audio data, the Bluetooth audio playback device plays the corresponding Bluetooth audio.
  • the terminal obtains the auxiliary synchronization information of the first broadcast source device, and then performs periodic broadcast synchronization with the first broadcast source device.
  • the Synchronous auxiliary information and periodic broadcast synchronization information are sent to the Bluetooth audio playback device for subsequent audio playback by the Bluetooth audio playback device. Since the Bluetooth audio playback device does not need to scan through Bluetooth to obtain the above information, it helps to reduce the Bluetooth audio playback device. Operating power consumption.
  • FIG. 12 shows a structural block diagram of a Bluetooth audio receiving device provided by an embodiment of the present application.
  • the unit includes:
  • the first acquisition module 1201 is configured to acquire synchronization auxiliary information of a first broadcast source device, and the first broadcast source device is used for Bluetooth audio broadcast;
  • the second obtaining module 1202 is configured to perform periodic broadcast PA synchronization with the first broadcast source device based on the synchronization assistance information, and obtain periodic broadcast synchronization information of the first broadcast source device;
  • the audio receiving module 1203 is configured to perform broadcast isochronous data stream BIS synchronization with the first broadcast source device based on the periodic broadcast synchronization information, and receive Bluetooth audio data broadcast by the first broadcast source device.
  • the first obtaining module 1201 includes:
  • a first obtaining unit configured to obtain the synchronization assistance information of the first broadcast source device through an out-of-band method, the out-of-band method including at least one of graphic code scanning and NFC near field communication;
  • the second obtaining unit is configured to determine the pointed device as the first broadcast source device based on the UWB signal received by the ultra-wideband UWB component; and receive the synchronization assistance information sent by the first broadcast source device.
  • the synchronization assistance information includes a target device address of the target broadcast source device
  • the second acquisition module 1202 includes:
  • a first determining unit configured to determine a target broadcast extension indication frame ADV_EXT_IND broadcast by the first broadcast source device in response to the first device address being a public device address or a resolvable private device address;
  • a first receiving unit configured to receive a first auxiliary broadcast indication frame AUX_ADV_IND broadcast by the first broadcast source device based on the first ADV_EXT_IND;
  • the second receiving unit is configured to receive a first auxiliary synchronization indication frame AUX_SYNC_IND broadcast by the first broadcast source device based on the first AUX_ADV_IND, and acquire the periodic broadcast synchronization information of the first AUX_SYNC_IND.
  • the first device address is a public device address
  • the first determination unit is also used for:
  • the second ADV_EXT_IND is determined as the first ADV_EXT_IND.
  • the first device address is a resolvable private device address
  • the synchronization auxiliary information further includes an identity resolution key IRK
  • the first determination unit is also used for:
  • the second ADV_EXT_IND is determined as the first ADV_EXT_IND.
  • the second acquiring module 1202 also includes:
  • the third receiving unit is configured to receive the second ADV_EXT_IND broadcast by each second broadcast source device based on the second ADV_EXT_IND broadcast by each second broadcast source device when the first device address is an unresolvable private device address.
  • the second determination unit is configured to determine the first AUX_ADV_IND from the second AUX_ADV_IND based on the first broadcast identifier, and the second broadcast identifier contained in the first AUX_ADV_IND matches the first broadcast identifier;
  • the fourth receiving unit is configured to receive the first AUX_SYNC_IND broadcast by the first broadcast source device based on the first AUX_ADV_IND, and acquire the periodic broadcast synchronization information of the first AUX_SYNC_IND.
  • the device also includes:
  • a sending module configured to send the periodic broadcast synchronization information and the synchronization auxiliary information to the Bluetooth audio playback device through the ACL link, so that the Bluetooth audio playback device performs PA synchronization and BIS synchronization with the first broadcast source device Afterwards, receiving the Bluetooth audio data broadcast by the first broadcast source device.
  • Fig. 13 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • the terminal 1300 can be a portable mobile terminal, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic Video Expert compresses the standard audio level 4) player, laptop or desktop computer.
  • the terminal 1300 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 1300 includes: a processor 1301 and a memory 1302 .
  • the processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • Processor 1301 can adopt at least one hardware form in DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
  • Processor 1301 may also include a main processor and a coprocessor, the main processor is a processor for processing data in a wake-up state, and is also called a CPU (Central Processing Unit, central processing unit); the coprocessor is Low-power processor for processing data in standby state.
  • CPU Central Processing Unit
  • the processor 1301 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 1301 may also include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 1302 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1301 to implement the greeting card method provided by the method embodiment of the present application .
  • the terminal 1300 may also include a Bluetooth component 1303 for scanning Bluetooth broadcasts, which is mainly composed of related devices such as a receiver, a transmitter, and a memory.
  • the Bluetooth component 1303 is used for receiving Bluetooth broadcasts.
  • it can also Establish Bluetooth communication with Bluetooth audio playback devices, etc.
  • the Bluetooth component 1303 may be integrated inside the terminal 1300, or may be set in an external device, which is not limited in this embodiment.
  • the terminal 1300 may further include a camera component 1304 for scanning a graphic code.
  • the camera component 1304 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • there are at least two rear cameras which are any one of the main camera, depth-of-field camera, wide-angle camera, and telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function.
  • camera assembly 1304 may also include a flash.
  • the flash can be a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the terminal 1300 may further include a speaker component 1305 for converting the Bluetooth audio data received by the Bluetooth component 1303 into a sound signal
  • the speaker may be a traditional film speaker or a piezoelectric ceramic speaker.
  • the speaker is a piezoelectric ceramic speaker, it is possible not only to convert electrical signals into sound waves audible to humans, but also to convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement.
  • the terminal can also be provided with a headphone jack to listen to Bluetooth audio by connecting a wired headphone.
  • the terminal 1300 may further include an NFC component 1306, the NFC component is configured to receive an NFC signal sent by the first broadcast source device, and the NFC signal includes synchronization assistance information.
  • the terminal 1300 may further include a UWB component 1307, which is configured to determine the correspondingly pointed device as the first broadcast source device, and then obtain synchronization assistance information through the Bluetooth component 1303.
  • a UWB component 1307 which is configured to determine the correspondingly pointed device as the first broadcast source device, and then obtain synchronization assistance information through the Bluetooth component 1303.
  • FIG. 13 does not constitute a limitation to the terminal 1300, and may include more or less components than shown in the figure, or combine certain components, or adopt a different component arrangement.
  • the present application provides a computer-readable storage medium, at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the Bluetooth audio receiving method provided by the above method embodiments.
  • the present application also provides a computer program product including computer instructions stored in a computer-readable storage medium.
  • the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method for receiving Bluetooth audio in any one of the above embodiments.
  • the program can be stored in a computer-readable storage medium.
  • the above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

Landscapes

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

Abstract

本申请公开了一种蓝牙音频的接收方法、装置、终端及存储介质,涉及蓝牙广播领域。该方法包括:获取第一广播源设备的同步辅助信息,第一广播源设备用于进行蓝牙音频广播(201);基于同步辅助信息与第一广播源设备进行周期性广播PA同步,获取第一广播源设备的周期性广播同步信息(202);基于周期性广播同步信息与第一广播源设备进行广播等时数据流BIS同步,接收第一广播源设备广播的蓝牙音频数据(203)。

Description

蓝牙音频的接收方法、装置、终端及存储介质
本申请要求于2021年08月18日提交的申请号为202110949568.8、发明名称为“蓝牙音频的接收方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及蓝牙广播领域,特别涉及一种蓝牙音频的接收方法、装置、终端及存储介质。
背景技术
蓝牙广播的接收通常是对扫描到的数据帧进行解析,根据数据帧中包含的同步信息接收广播源设备广播的蓝牙音频。
相关技术中,当终端需要接收广播源设备广播的蓝牙音频时,需要和环境中所有蓝牙广播源设备进行同步,并在终端中显示各个广播源设备的标识信息,基于用户选择确定出目标广播源设备,进而接收目标广播源设备的蓝牙音频数据。
发明内容
本申请实施例提供了一种蓝牙音频的接收方法、装置、终端及存储介质,所述技术方案如下:
一方面,本申请实施例提供一种蓝牙音频的接收方法,该方法包括:
获取第一广播源设备的同步辅助信息,所述第一广播源设备用于进行蓝牙音频广播;
基于所述同步辅助信息与所述第一广播源设备进行周期性广播PA同步,获取所述第一广播源设备的周期性广播同步信息;
基于所述周期性广播同步信息与所述第一广播源设备进行广播等时数据流BIS同步,接收所述第一广播源设备广播的蓝牙音频数据。
另一方面,本申请实施例提供一种蓝牙音频的接收装置,该装置包括:
第一获取模块,用于获取第一广播源设备的同步辅助信息,所述第一广播源设备用于进行蓝牙音频广播;
第二获取模块,用于基于所述同步辅助信息与所述第一广播源设备进行周期性广播PA同步,获取所述第一广播源设备的周期性广播同步信息;
音频接收模块,用于基于所述周期性广播同步信息与所述第一广播源设备进行广播等时数据流BIS同步,接收所述第一广播源设备广播的蓝牙音频数据。
另一方面,本申请实施例提供了一种终端,终端包括处理器和存储器,存储器中存储有至少一段程序,至少一段程序由处理器加载并执行以实现上述方面提供的蓝牙音频的接收方法。
另一方面,本申请实施例提供了一种计算机可读存储介质,存储介质存储有至少一条指令,至少一条指令用于被处理器执行以实现如上述方面提供的蓝牙音频的接收方法。
另一方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的蓝牙音频的接收方法。
附图说明
图1示出了本申请一个示例性实施例提供的蓝牙音频的接收方法的场景示意图;
图2是本申请一个示例性实施例示出的蓝牙音频的接收方法的流程图;
图3是本申请另一个示例性实施例提供的蓝牙音频的接收方法的流程图;
图4示出了本申请一个示例性实施例提供的ADV_EXT_IND的帧结构示意图;
图5是本申请另一个示例性实施例提供的蓝牙音频的接收方法的流程图;
图6示出了本申请一个示例性实施例提供的可解析私有设备地址的结构示意图;
图7示出了本申请一个示例性实施例提供的目标AUX_ADV_IND的帧结构示意图;
图8示出了本申请一个示例性实施例提供的目标AUX_SYNC_IND的帧结构示意图;
图9示出了本申请一个示例性实施例提供的不可解析私有设备地址的结构示意图;
图10示出了本申请一个示例性实施例提供的蓝牙广播的数据传输的流程图;
图11是本申请另一个示例性实施例提供的蓝牙音频的接收方法的流程图;
图12示出了本申请一个实施例提供的蓝牙音频的接收装置的结构框图;
图13示出了本申请一个示例性实施例提供的终端的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步的详细描述。
相关技术中,当终端处于蓝牙广播的辐射范围内,且需要接收蓝牙音频时,通过开启蓝牙广播扫描开关,扫描场域内的所有广播源设备的蓝牙广播,进而通过显示的蓝牙广播列表确定出需要接收的目标广播设备,进而在接收到用户对目标广播源设备的确认操作时,才能接收并播放蓝牙音频数据,操作步骤较为繁琐。
当环境内包含较多广播源设备时,终端需要扫描所有的蓝牙广播,用户需要等待较长时间才能获取到蓝牙广播列表,进而接收蓝牙音频数据。期间,针对每个蓝牙广播,终端都需要多次调节接收信道,即通过多次跳频的方式获取蓝牙广播的指示帧,增加了蓝牙组件的运行功耗。
本申请实施例提供的方案中,终端通过提前获取目标广播源设备的同步辅助信息,根据同步辅助信息有选择性的扫描蓝牙广播的指示帧,进而与目标广播源设备进行周期性广播同步,而无需对所有的蓝牙广播进行扫描和识别,可以缩短终端的扫描时间,且降低蓝牙组件的运行功耗。
请参考图1,其示出了本申请一个实施例提供的实施环境的示意图。该实施环境可以包括:广播源设备110和终端120。
广播源设备110用于进行蓝牙音频广播,可以是具有音频广播功能的智能音响、计算机和服务器等设备等。广播源设备110上设置有蓝牙组件,其可以通过蓝牙组件广播蓝牙音频,该蓝牙音频类似于无线广播,无需和接收设备建立配对连接,而是直接向环境内辐射蓝牙音频,蓝牙音频是广播源设备110广播的音频流数据,用于终端120接收并播放。
可选的,广播源设备110上设置有扬声器组件,在广播蓝牙音频的过程中,可以通过扬声器组件播放对应的音频。
终端120是设置有蓝牙组件的智能设备,如智能手机、便携式计算机、平板电脑、音乐播放器等设备,终端120通过蓝牙组件可以接收广播源设备110广播的蓝牙音频,可选的,终端120上可以设置有摄像头组件、超宽带(Ultra Wide Band,UWB)组件和近场通信(Near Field Communication,NFC)组件中的至少一种,用于获取广播源设备110的同步辅助信息。
可选的,终端120上设置有扬声器组件,用于播放对应的蓝牙音频。可选的,终端120还可以通过蓝牙组件与蓝牙音频播放设备连接,蓝牙音频播放设备用于播放蓝牙音频数据, 如蓝牙耳机130,终端120和蓝牙耳机130建立蓝牙通信连接,将获取到的同步辅助信息和广播源设备110的周期性广播同步信息发送至蓝牙耳机130,以便蓝牙耳机130进行周期性广播同步,并播放蓝牙音频。
图2是本申请一个示例性实施例提供的蓝牙音频的接收方法的流程图,本实施例以该方法用于图1所示的终端为例进行说明。该方法包括:
步骤201,获取第一广播源设备的同步辅助信息,第一广播源设备用于进行蓝牙音频广播。
当终端处于第一广播源设备的广播范围内,且需要通过终端接收蓝牙音频数据时,由于终端并不知晓第一广播源设备进行蓝牙广播时的广播信道和广播频率等信息,而终端所处环境内同时包含多个广播源设备时,终端需要花费较长时间扫描所有广播源设备的蓝牙广播。为了缩短扫描时间,终端需要提前获取第一广播源设备的同步辅助信息,同步辅助信息包括第一广播源设备的设备地址和广播标识等信息,便于从多个广播源设备中确定出实第一广播源设备。
步骤202,基于同步辅助信息与第一广播源设备进行周期性广播PA同步,获取第一广播源设备的周期性广播同步信息。
当终端所处场域内覆盖多个广播源设备的蓝牙广播时,终端可以基于获取到的第一广播源设备的同步辅助信息,从多个广播源设备中确定出第一广播源设备对应的蓝牙广播,进而与该第一广播源设备进行周期性广播同步。
示意性的,终端所处环境内存在广播源设备A、广播源设备B和广播源设备C,其对应的蓝牙广播分别为蓝牙广播A、蓝牙广播B和蓝牙广播C,当终端已经获取到广播源设备A的同步辅助信息后,开启蓝牙组件的信号扫描开关,并根据同步辅助信息扫描蓝牙广播A,在终端扫描到蓝牙广播A后,将对应的广播源设备A确定为需要进行同步的第一广播源设备。
终端接收蓝牙音频数据前,需要先接收第一广播源设备发送的各种指示帧,不同指示帧中包含有不同的数据信息,且通常情况下,受指示帧的长度和报文结构限制,终端需要连续接收多个指示帧,才能获取到第一广播源设备的周期性同步信息,且不同的指示帧分别通过不同的信道进行广播,同样的道理,终端需将接收信道与广播信道保持一致,才能够接收到周期性广播同步信息。其中,指示帧的类型有多种,包括但不限于如下类型中的至少一种:广播扩展指示帧(Advertising Extension Indication,ADV_EXT_IND)、辅助广播指示帧(Auxilary Advertising Indication,AUX_ADV_IND)、辅助同步指示帧(Auxilary Synchronization Indication,AUX_SYNC_IND)和辅助链指示帧(Auxilary Chain Indication,AUX_CHAIN_IND)。例如,终端依次接收ADV_EXT_IND、AUX_ADV_IND和AUX_SYNC_IND来获取到对第一广播源设备的同步辅助信息,周期性广播同步信息具体可以包括蓝牙音频的编码器设置(Codec Setting)、音频定位(Audio Location)、节目信息(Program Info)和评级(Parental Rating)等信息内容。
而且,在终端确定出第一广播源设备后,可以有选择性的扫描第一广播源设备的蓝牙广播,即只按照第一广播源设备指示的接收频段和信道扫描指示帧,而无需再对其他广播源设备的所有指示帧依次扫描和识别,相比之下,可以减少蓝牙组件的运行功耗,且减少了扫描时间。
步骤203,基于周期性广播同步信息与第一广播源设备进行广播等时数据流BIS同步,接收第一广播源设备广播的蓝牙音频数据。
当终端获取到第一广播源设备的周期性广播同步信息后,根据周期性广播同步信息所指示的内容与第一广播源设备进行广播等时数据流(Broadcast Isochronous Stream,BIS)同步,如采用视窗媒体音频(Windows Media Audio,WMA)编解码格式,或采用mp3的编解码格式等,音频定位信息用于确定出蓝牙音频数据播放的位置信息,节目信息用于确定蓝牙广播 的名称等。此外,周期性广播同步信息还包括BIS数据包的接收信道以及扫描频率等信息,如设置扫描频率为10ms,接收信道为第20信道,则蓝牙组件的接收器每隔10ms在第20信道上接收来自第一广播源设备的BIS数据包,BIS数据包中包含有蓝牙音频数据,进而通过对蓝牙音频数据进行解码等操作后播放蓝牙音频。
而传统接收蓝牙音频的方式中,则需要先通过跳频技术扫描场域内所有的蓝牙广播,在蓝牙广播列表中选择指定的广播源设备后才能建立周期性广播同步,而本方案则省略此步骤,在获取到第一广播源设备的同步辅助信息后,可以直接与第一广播源设备进行BIS同步,并接收蓝牙音频数据,简化了操作流程。
综上所述,本申请实施例中,通过提前获取到第一广播源设备的同步辅助信息,进而根据同步辅助信息与场域中的第一广播源设备建立周期性广播同步,来获取到第一广播源设备的周期性同步信息,无需通过多次跳频的方式扫描并识别场域内所有的广播源设备,减少了扫描蓝牙广播的时间,同时也降低了蓝牙组件的运行功耗;在终端获取到第一广播源设备的周期性同步信息后,可以直接根据周期性同步信息进行BIS同步,而无需用户再从列表中手动选择,简化了操作步骤,提高了操作效率。
图3是本申请另一个示例性实施例提供的蓝牙音频的接收方法的流程图,本实施例以该方法用于图1所示的终端为例进行说明。该方法包括:
步骤301,通过带外方式,获取第一广播源设备的同步辅助信息,带外方式包括图形码扫描和NFC近场通信中的至少一种。
上述实施例中终端主要提前获取到第一广播源设备的同步辅助信息,具体可以通过带外的方式获取第一广播源设备的同步辅助信息,即不通过蓝牙协议获取,而是通过图形扫描或近场通信获取第一广播设备的同步辅助信息。
在一种可能的实施方式中,终端设置有摄像头组件,终端可以通过扫描图形码的方式获取同步辅助信息,如在同声传译的场景中包含有多个广播源设备,不同的广播源设备用于向场域中广播不同语言的蓝牙广播,针对不同的广播源设备设置相应的二维码,用户根据实际需要扫描对应语言的二维码,进而获取到第一广播源设备的同步辅助信息。
在另一种可能的实施方式中,当终端和广播源设备同时设置有NFC组件时,可以将终端移动到近场信号的覆盖范围内,接收第一广播源设备的近场信号,近场信号中包含有第一广播源设备的同步辅助信息。
除了通过带外方式获取同步辅助信息外,还可以根据位置信息接收第一广播源设备的同步辅助信息。同样以同声传译场景为例,在不同位置区域的用户往往需要接收不同语言的蓝牙音频,因此可以在第一广播源设备上设置UWB组件,通过接收UWB信号确定第一广播源设备,因此,获取同步辅助信息还可以通过步骤302和步骤303实现。
步骤302,基于UWB组件接收到的UWB信号,将指向的设备确定为第一广播源设备。
当终端需要获取第一广播源设备的同步辅助信息时,通过将UWB信号的接收方向调整为第一广播源设备的信号发射方向,便于接收到第一广播源设备的UWB信号,由于终端所处的场域内可能包含有多个广播源设备,因此,还可以设置接收UWB信号的角度阈值,当终端确定出接收UWB信号的角度小于角度阈值时,则将对应的广播源设备确定为需要进行同步的第一广播源设备。
步骤303,接收第一广播源设备发送的同步辅助信息。
终端接收的UWB信号仅用于确定第一广播源设备,当确定出第一广播源设备后,第一广播源设备再通过蓝牙组件发送同步辅助信息,终端通过蓝牙组件接收第一广播源设备发送的同步辅助信息。
步骤304,在第一设备地址为公共设备地址或可解析私有设备地址的情况下,确定第一广播源设备广播的第一广播扩展指示帧ADV_EXT_IND。
终端获取到的同步辅助信息包括第一广播设备的目标设备地址,通常情况下,广播源设备的设备地址可以设置成多种类型,具体可以根据实际需要决定,当获取到的第一设备地址为公共设备地址或可解析私有设备地址时,则终端可以根据提供的第一设备地址进行信号扫描,确定出第一广播源设备的第一ADV_EXT_IND。
广播源设备广播的指示帧中包含有对应的设备地址,终端确定出设备地址的类型后,通过蓝牙组件扫描场域内所有的广播扩展指示帧ADV_EXT_IND,并获取ADV_EXT_IND中的设备地址,进而根据设备地址确定出第一广播源设备广播的第一ADV_EXT_IND。
其中,ADV_EXT_IND的帧结构如图4所示,在该帧结构包括头部和有效载荷,PDU Type用于标识广播的类型,Reserved For Further是暂时不用的位置,为后续预留,ChSel表示本设备支持跳频算法,则相应数值设置成为1,否则置0,TxAdd用于表示设备地址的类型,RxAdd通常用于定向广播,指定接收设备的地址类型,Length指示后面有效载荷的数据长度,有效载荷字段包含蓝牙广播的携带的数据以及设备地址。
由于蓝牙协议将2.4GHz频段分成了40个物理信道,ADV_EXT_IND通过第37、38或39信道发送,但当广播源设备通过该指定信道发送ADV_EXT_IND后,终端必须保持相同的信道才能正常接收ADV_EXT_IND,而广播源设备发送的指示帧可能出现在不同的物理信道上,因此终端需要通过跳频的方式对多个物理信道进行扫描,并获取多个候选ADV_EXT_IND中的设备地址,进而确定出第一广播源设备的第一ADV_EXT_IND。而且,在多数情况下,为了确保广播源设备传输数据的安全性,往往会采用地址加密,此种情况下,即使终端扫描到蓝牙广播,也无法进行连接。如图5所示,对于不同类型的设备地址,具体可以分为如下步骤。
步骤304A,在第一设备地址为公共设备地址的情况下,接收第二广播源设备广播的第二ADV_EXT_IND。
当第一设备地址为公共设备地址时,第一广播源设备的设备地址固定不变,此种类型的设备地址主要用于公共场所,在其他设备已知公共设备地址的情况,可以随时进行周期性广播同步。当终端开启蓝牙广播扫描开关后,终端会扫描场域内所有广播源设备的第二ADV_EXT_IND,并提取第二ADV_EXT_IND中的设备地址。可选的,第二ADV_EXT_IND可能会包含多种不同类型的设备地址,终端可以根据TxAdd确定扫描到的第二ADV_EXT_IND的地址类型,进而提取公共设备地址,以便后续进行地址匹配。
步骤304B,在第二ADV_EXT_IND中包含的第二设备地址与第一设备地址匹配,将第二ADV_EXT_IND确定为第一ADV_EXT_IND。
当终端获取到第二ADV_EXT_IND中包含的第二设备地址后,将第一设备地址与第二ADV_EXT_IND中的第二设备地址进行匹配,若二者地址不相同,则说明当前扫描到的第二ADV_EXT_IND并非第一广播源设备发送,继续进行扫描,若二者地址相同,则说明当前扫描到的第二ADV_EXT_IND即为目标广播源设备发送,将第二ADV_EXT_IND确定为第一ADV_EXT_IND,其对应的蓝牙广播即为需要进行周期性同步的目标广播。
上述情况为第一设备地址为公共设备地址,但对于多数场景下,公共设备地址可能会发生地址冲突,且公共地址的安全性不高,为了提高安全性和避免地址冲突,可以将第一设备地址设置为可解析私有设备地址,可解析私有地址具有一定的更新触发机制,可以在到达预设时间后,广播源设备会对设备地址进行更新,然后继续进行广播蓝牙音频数据,可解析私有设备地址的目的是防止恶意第三方设备跟踪广播源设备,同时仍然允许一个或多个受信任设备识别广播源设备。对于可解析私有设备地址的匹配过程可以包括如下步骤。
步骤304C,在第一设备地址为可解析私有设备地址的情况下,接收第二广播源设备广播的第二ADV_EXT_IND,第二ADV_EXT_IND中包含随机数和第一哈希值。
当第一设备地址为可解析私有设备地址时,在获取到的同步辅助信息中还需包含有身份解析密钥(Identity Resolving Key,IRK),而终端接收到的第二ADV_EXT_IND中包含随机 数和第一哈希值(hash),随机数和第一哈希值共同构成可解析私有设备地址。
图6为可解析私有设备地址的数据结构,可解析私有设备地址的长度为48比特位,第一哈希值和随机数各站24比特位,其中,随机数的最高位两位必须为“01”,随机数部分至少要有一位是0,至少有一位是1。最高两位用于标识地址类型,其中,随机数在到达预设时间后进行更新,而第一哈希值则根据随机数计算得到,具体见步骤304D。
步骤304D,对IRK和随机数进行哈希运算,得到第二哈希值。
终端获取到第二ADV_EXT_IND中的包含随机数和第一哈希值后,根据随机数和IRK计算第二哈希值,具体可以经过hash运算得到。
hash=ah(IRK,prand)
第一广播源设备和终端采用同样的hash运算,ah表示hash运算函数,prand表示随机数,当终端获取到随机数后,通过hash运算得到第二哈希值,第一广播源设备在后续更新目标设备地址时,同样采用此运算方式。在终端未获取到第一广播源设备的IRK的情况下,则无法对设备地址进行解析,也无法接收蓝牙音频数据。
步骤304E,在第二哈希值与第一哈希值匹配的情况下,将第二ADV_EXT_IND确定为第一ADV_EXT_IND。
终端计算得到第二哈希值后,将第二哈希值和第二ADV_EXT_IND中规定第一哈希值进行比较,当第一哈希值和第二哈希值相同时,则该第二ADV_EXT_IND即为第一广播源设备发送,将第二ADV_EXT_IND确定为第一ADV_EXT_IND,其对应的蓝牙广播即为需要进行周期性同步的目标广播。当第一哈希值和第二哈希值不相同时,则说明该第二ADV_EXT_IND由第一广播源设备外的其他广播源设备发送。
步骤305,基于第一ADV_EXT_IND接收第一广播源设备广播的第一辅助广播指示帧AUX_ADV_IND。
上述实施例说到,接收蓝牙音频数据需要获取到多种指示帧,在确定第一ADV_EXT_IND后,还需根据第一ADV_EXT_IND中包含的第一AUX_ADV_IND的第一指示信息接收第一AUX_ADV_IND,第一指示信息包括第一AUX_ADV_IND的广播信道以及偏移时间。
第一ADV_EXT_IND通过第37,38,39信道广播,而第一AUX_ADV_IND则是通过非37,38,39信道进行广播,因此,第一ADV_EXT_IND需要携带接下来第一AUX_ADV_IND的广播信道,用于终端进行跳频,即调整到与第一广播源设备相同的物理信道上接收目标AUX_ADV_IND。其中,偏移时间用于指示广播第一ADV_EXT_IND和第一ADV_EXT_IND之间的时间间隔,终端接收到目标ADV_EXT_IND后即可关闭接收器,当到达偏移时间后再次开启接收器接收第一ADV_EXT_IND,此种方式可以缩短接收器的扫描时间,有利于降低功耗。例如,终端从第一ADV_EXT_IND中获取到第一AUX_ADV_IND的广播信道为第17信道,偏移时间为10ms,则终端可以暂时关闭接收器,当到达偏移时间后,将将接收信道调整为第17信道,接收第一AUX_ADV_IND。
步骤306,基于第一AUX_ADV_IND接收第一广播源设备广播的第一辅助同步指示帧AUX_SYNC_IND,并获取第一AUX_SYNC_IND的周期性广播同步信息。
与第一ADV_EXT_IND类似的,第一AUX_ADV_IND中包含有第一AUX_SYNC_IND的指示信息,第一AUX_ADV_IND的帧结构如图7所示,在该帧结构的有效荷载中包括三个字段,分别是广播数据、ADI和Aux Ptr,其中,Aux Ptr字段中携带有第二指示信息,第二指示信息用于指示目标AUX_SYNC_IND出现的时间、信道和物理层等。
当终端接收到第一AUX_ADV_IND后,同样需要获取第一AUX_ADV_IND中关于第一AUX_SYNC_IND的广播信道以及偏移时间,便于终端调节接收信道并及时接收第一AUX_SYNC_IND。第一AUX_SYNC_IND中包含有周期性广播同步信息,包括但不限于编码器设置、音频定位、节目信息、评级等信息以及广播周期等内容。
第一AUX_SYNC_IND的帧结构如图8所示,在该帧结构的有效荷载中包括三个字段, 分别是ADI、周期性广播同步信息和广播数据。
以节目信息为例,其可以通过长度-类型-值(Length-Type-Value,LTV)的方式进行表示,如表1所示:
表1节目信息
参数 大小(字节)
长度 1 N+1
类型 1 0x05
N 标题和/或摘要
其中,编码器设置、音频定位、节目信息和评级等信息中分别涉及的参数可根据实际需要进行设定,或者根据蓝牙广播的协议标准进行设定,上述参数仅是一个示例性的举例,不对本申请构成限定。
以上实施例描述的是对公共设备地址以及可解析私有设备地址进行匹配的内容。当终端获取到第一广播源设备的目标设备地址为不可解析私有设备地址时,无法直接将设备地址进行对比,或无法通过IRK进行运算和匹配。此时可以对AUX_ADV_IND中包含的广播标识进行匹配,具体包括如下步骤。
步骤307,在第一设备地址为不可解析私有设备地址的情况下,基于各个第二广播源设备广播的第二ADV_EXT_IND,接收各个第二广播源设备广播的第二AUX_ADV_IND。
不可解析私有设备地址同样也是定期更新,但该设备地址并不包含哈希值,随机数部分是随机生成的,此种该方式的安全性更高。如图9所示,该不可解析私有设备地址的最高两位为“00”,用于表示地址类型,其余部分的随机数中至少要有一位是0,至少有一位是1,且该不可解析私有设备地址不能和公共地址相同。
当终端确定出第一设备地址为不可解析私有设备地址时,终端无法通过第二ADV_EXT_IND确定第一广播源设备,而是通过广播标识进行匹配,对应的,终端获取到的同步辅助信息则包含有第一广播源设备的第一广播标识,因此终端需要先接收到各个第二广播源设备广播的第二ADV_EXT_IND,进而根据第二ADV_EXT_IND中包含的第二选AUX_ADV_IND的第三指示信息接收各个第二AUX_ADV_IND。
步骤308,基于第一广播标识候选AUX_ADV_IND中确定第一AUX_ADV_IND,第一AUX_ADV_IND中包含的广播标识与第一广播标识相匹配。
第二AUX_ADV_IND的帧结构可以参考图7,广播标识可以从ADI获取,ADI中包括广播标识以及广播集,广播集用于标识不同的广播事件,当终端获取到各个第二AUX_ADV_IND中的广播标识后,进而将对应的广播标识与第一广播标识相匹配,当第二AUX_ADV_IND中的广播标识与第一广播标识相同时,则将第二AUX_ADV_IND确定为第一AUX_ADV_IND。
步骤309,基于第一AUX_ADV_IND接收第一广播源设备广播的第一AUX_SYNC_IND,并获取第一AUX_SYNC_IND的周期性广播同步信息。
本步骤的实施方式可以参考步骤306,本实施例在此不做赘述。
步骤310,基于周期性广播同步信息与第一广播源设备进行广播等时数据流BIS同步,接收第一广播源设备广播的蓝牙音频数据。
本步骤的实施方式可以参考步骤203,本实施例在此不做赘述。
综上所述,本申请实施例中,终端可以通过带外的方式,如扫描图形码或通过NFC组件提前获取到第一广播源设备的同步辅助信息,提高了同步辅助信息获取过程的便捷性。
在与第一广播源设备进行周期性广播同步的过程中,首先根据第一广播源设备的第一设 备地址确定获取周期性广播同步信息的具体方式,当第一设备地址为公共设备地址时,则可以与第二ADV_EXT_IND中的设备地址进行匹配,进而确定出第一ADV_EXT_IND;当第一设备地址为可解析私有设备地址时,则根据获取到的IRK和第二ADV_EXT_IND中包含随机数以及第一哈希值确定出第一ADV_EXT_IND,进而再通过第一ADV_EXT_IND接收第一AUX_ADV_IND;当第一设备地址为不可解析私有设备地址时,无法直接确定出第一ADV_EXT_IND,而是需要先获取第二ADV_EXT_IND,根据第二ADV_EXT_IND接收第二AUX_ADV_IND,进而将第二AUX_ADV_IND中规定广播标识和目标广播标识进行匹配,来确定出第一AUX_ADV_IND;进一步地,在确定出第一AUX_ADV_IND后,再根据第一AUX_ADV_IND接收第一AUX_SYNC_IND,并获取周期性广播同步信息,以便后续与目标广播源设备进行BIS同步,接收蓝牙音频数据。
图10示出了本申请一个示例性实施例提供的蓝牙广播的数据传输的流程图。
终端扫描蓝牙广播过程中,会获取到场域内的候选ADV_EXT_IND,若终端获取到的辅助同步广播信息中目标设备地址为可解析地址或公共地址,则在第一阶段即会确定出目标广播源设备对应的目标ADV_EXT_IND,此后,终端在第二阶段根据目标ADV_EXT_IND指示的指示信息接收目标AUX_EXT_IND,该过程就是根据目标ADV_EXT_IND设置扫描过滤策略,不再去扫描其他候选ADV_EXT_IND以及候选AUX_EXT_IND。和以往扫描蓝牙广播的方式不同,该过程可以省略对其他蓝牙广播的扫描,相对来说,可以缩短终端的扫描时间。
若终端获取到的目标设备地址为不可解析地址或公共地址,则同步辅助信息中还包括有目标广播源设备的广播标识,此时终端需要获取所有蓝牙广播的候选ADV_EXT_IND,然后根据候选ADV_EXT_IND获取候选AUX_EXT_IND,进而根据候选AUX_EXT_IND中的广播标识确定出目标AUX_EXT_IND,也就是说,终端需要对所有蓝牙广播执行第一阶段和第二阶段。
当终端确定目标AUX_EXT_IND后,再通过第三阶段获取到目标AUX_SYNC_IND以及周期性广播同步信息,第三阶段只针对目标广播源设备的蓝牙广播,由于扫描过滤策略,不会对其他广播源设备执行第三阶段的操作,同理,在获取到周期性广播同步信息后,进而在第四阶段与目标广播源设备进行BIS同步,周期性接收BIS数据包,获取其中的蓝牙音频数据。
上述实施例中,终端基于获取到的同步辅助信息实现与第一源广播设备进行BIS同步,当终端不具备音频播放功能或用户需要通过其他音频播放设备播放蓝牙音频数据时,则还以将获取到的同步辅助信息发送至音频播放设备,由音频播放设备接收音频数据包。
图11是本申请另一个示例性实施例提供的蓝牙音频的接收方法的流程图。
步骤1101,第一广播源设备进行蓝牙音频广播。
步骤1102,终端获取同步辅助信息。
同步辅助信息具体根据目标广播源设备的地址类型确定,终端基于同步辅助信息与第一广播源设备进行周期性广播同步。
步骤1103,终端获取第一广播源设备的周期性广播同步信息。
步骤1104,接收周期性广播同步信息和同步辅助信息。
在一种可能的实施方式中,终端不具备获取同步辅助信息或用户不期望通过终端播放蓝牙音频广播,但终端通过蓝牙组件与蓝牙音频播放设备建立通信连接,此时,终端可以通过ACL链路向蓝牙音频播放设备发送获取到的周期性广播同步信息以及同步辅助信息。其中,蓝牙音频播放设备可以是可穿戴式设备,如智能手表、智能眼眼镜,此外,蓝牙音频播放设备还可以是蓝牙耳机等设备。可穿戴式设备的电池容量有限,若直接对蓝牙广播进行扫描,会额外增加运行功耗,通过从终端获取的方式,可以降低可穿戴式设备的运行功耗,达到省电的目的。
步骤1105,PA同步和BIS同步。
当蓝牙音频播放设备获取到周期性广播同步信息以及同步辅助信息,与第一广播源设备进行PA同步和BIS同步。
步骤1106,接收蓝牙音频数据。
当蓝牙音频播放设备接收到蓝牙音频数据后,播放对应的蓝牙音频。
本申请实施例中,通过终端获取第一广播源设备的同步辅助信息,进而与第一广播源设备进行周期性广播同步,在获取到第一广播源和设备的周期性广播同步信息后,将同步辅助信息和周期性广播同步信息发送至蓝牙音频播放设备,以便蓝牙音频播放设备进行后续音频播放,由于蓝牙音频播放设备无需通过蓝牙扫描以获取上述信息,因此有助于降低蓝牙音频播放设备的运行功耗。
参考图12,其示出了本申请一个实施例提供的蓝牙音频的接收装置的结构框图。该装置包括:
第一获取模块1201,用于获取第一广播源设备的同步辅助信息,所述第一广播源设备用于进行蓝牙音频广播;
第二获取模块1202,用于基于所述同步辅助信息与所述第一广播源设备进行周期性广播PA同步,获取所述第一广播源设备的周期性广播同步信息;
音频接收模块1203,用于基于所述周期性广播同步信息与所述第一广播源设备进行广播等时数据流BIS同步,接收所述第一广播源设备广播的蓝牙音频数据。
可选的,所述第一获取模块1201,包括:
第一获取单元,用于通过带外方式,获取所述第一广播源设备的所述同步辅助信息,所述带外方式包括图形码扫描和NFC近场通信中的至少一种;
或,
第二获取单元,用于基于超宽带UWB组件接收到的UWB信号,将指向的设备确定为所述第一广播源设备;接收所述第一广播源设备发送的所述同步辅助信息。
可选的,所述同步辅助信息中包含所述目标广播源设备的目标设备地址;
所述第二获取模块1202,包括:
第一确定单元,用于响应于所述第一设备地址为公共设备地址或可解析私有设备地址,确定所述第一广播源设备广播的目标广播扩展指示帧ADV_EXT_IND;
第一接收单元,用于基于所述第一ADV_EXT_IND接收所述第一广播源设备广播的第一辅助广播指示帧AUX_ADV_IND;
第二接收单元,用于基于所述第一AUX_ADV_IND接收所述第一广播源设备广播的第一辅助同步指示帧AUX_SYNC_IND,并获取所述第一标AUX_SYNC_IND的所述周期性广播同步信息。
可选的,所述第一设备地址为公共设备地址;
所述第一确定单元,还用于:
接收第二广播源设备广播的第二ADV_EXT_IND;
在所述第二ADV_EXT_IND中包含的第二设备地址与所述第一设备地址匹配的情况下,将所述第二ADV_EXT_IND确定为所述第一ADV_EXT_IND。
可选的,所述第一设备地址为可解析私有设备地址,所述同步辅助信息中还包含身份解析密钥IRK;
所述第一确定单元,还用于:
接收第二广播源设备广播的第二ADV_EXT_IND,所述第二ADV_EXT_IND中包含随机数和第一哈希值;
对所述IRK和所述随机数进行哈希运算,得到第二哈希值;
在所述第二哈希值与所述第一哈希值匹配的情况下,将所述第二ADV_EXT_IND确定为所述第一ADV_EXT_IND。
可选的,所述第二获取模块1202,还包括:
第三接收单元,用于在所述第一设备地址为不可解析私有设备地址的情况下,基于各个第二广播源设备广播的第二ADV_EXT_IND,接收各个所述第二广播源设备广播的第二AUX_ADV_IND;
第二确定单元,用于基于所述第一广播标识从所述第二AUX_ADV_IND中确定第一AUX_ADV_IND,所述第一AUX_ADV_IND中包含的第二广播标识与所述第一广播标识匹配;
第四接收单元,用于基于所述第一AUX_ADV_IND接收所述第一广播源设备广播的第一AUX_SYNC_IND,并获取所述第一AUX_SYNC_IND的所述周期性广播同步信息。
可选的,所述装置还包括:
发送模块,用于通过ACL链路向蓝牙音频播放设备发送所述周期性广播同步信息以及所述同步辅助信息,以便所述蓝牙音频播放设备与所述第一广播源设备进行PA同步和BIS同步后,接收所述第一广播源设备广播的所述蓝牙音频数据。
图13示出了本申请一个示例性实施例提供的终端的结构框图。该终端1300可以是便携式移动终端,比如:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端1300还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端1300包括有:处理器1301和存储器1302。
处理器1301可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1301可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1301也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1301可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1301还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1302可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1302还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1302中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1301所执行以实现本申请中方法实施例提供的贺卡方法。
本申请实施例中,终端1300还可以包括用于扫描蓝牙广播的蓝牙组件1303,主要由接收器、发射器和存储器等相关器件构成,蓝牙组件1303用于接收蓝牙广播,可选的,还可以与蓝牙音频播放设备建立蓝牙通信等。该蓝牙组件1303可以集成在终端1300内部,也可以设置在外接设备中,本实施例对此不作限定。
本申请实施例中,终端1300还可以包括用于扫描图形码的摄像头组件1304,可选地,摄像头组件1304包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现 实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1304还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
本申请实施例中,终端1300还可以包括扬声器组件1305,用于将蓝牙组件1303接收到的蓝牙音频数据转化为声音信号,扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,终端还可以设置耳机插孔,通过连接有线耳机收听蓝牙音频。
本申请实施例中,终端1300还可以包括NFC组件1306,NFC组件用于接收第一广播源设备发送的NFC信号,NFC信号中包含有同步辅助信息。
本申请实施例中,终端1300还可以包括UWB组件1307,UWB组件用于将对应指向的设备确定为第一广播源设备,进而通过蓝牙组件1303获取同步辅助信息。
本领域技术人员可以理解,图13中示出的结构并不构成对终端1300的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请提供了一种计算机可读存储介质,存储介质中存储有至少一条指令,至少一条指令由处理器加载并执行以实现上述各个方法实施例提供的蓝牙音频的接收方法。
本申请还提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述实施例中任一的蓝牙音频的接收方法。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (17)

  1. 一种蓝牙音频的接收方法,所述方法包括:
    获取第一广播源设备的同步辅助信息,所述第一广播源设备用于进行蓝牙音频广播;
    基于所述同步辅助信息与所述第一广播源设备进行周期性广播PA同步,获取所述第一广播源设备的周期性广播同步信息;
    基于所述周期性广播同步信息与所述第一广播源设备进行广播等时数据流BIS同步,接收所述第一广播源设备广播的蓝牙音频数据。
  2. 根据权利要求1所述的方法,其中,所述获取第一广播源设备的同步辅助信息,包括:
    通过带外方式,获取所述第一广播源设备的所述同步辅助信息,所述带外方式包括图形码扫描和NFC近场通信中的至少一种;
    或,
    基于超宽带UWB组件接收到的UWB信号,将指向的设备确定为所述第一广播源设备;接收所述第一广播源设备发送的所述同步辅助信息。
  3. 根据权利要求1所述的方法,其中,所述同步辅助信息中包含所述第一广播源设备的第一设备地址;
    所述基于所述同步辅助信息与所述第一广播源设备进行PA同步,获取所述第一广播源设备的周期性广播同步信息,包括:
    在所述第一设备地址为公共设备地址或可解析私有设备地址的情况下,确定所述第一广播源设备广播的第一广播扩展指示帧ADV_EXT_IND;
    基于所述第一ADV_EXT_IND接收所述第一广播源设备广播的第一辅助广播指示帧AUX_ADV_IND;
    基于所述第一AUX_ADV_IND接收所述第一广播源设备广播的第一辅助同步指示帧AUX_SYNC_IND,并获取所述第一AUX_SYNC_IND的所述周期性广播同步信息。
  4. 根据权利要求3所述的方法,其中,所述第一设备地址为公共设备地址;
    所述确定所述第一广播源设备广播的ADV_EXT_IND,包括:
    接收第二广播源设备广播的第二ADV_EXT_IND;
    在所述第二ADV_EXT_IND中包含的第二设备地址与所述第一设备地址匹配的情况下,将所述第二ADV_EXT_IND确定为所述第一ADV_EXT_IND。
  5. 根据权利要求3所述的方法,其中,所述第一设备地址为可解析私有设备地址,所述同步辅助信息中还包含身份解析密钥IRK;
    所述确定所述第一广播源设备广播的第一ADV_EXT_IND,包括:
    接收第二广播源设备广播的第二ADV_EXT_IND,所述第二ADV_EXT_IND中包含随机数和第一哈希值;
    对所述IRK和所述随机数进行哈希运算,得到第二哈希值;
    在所述第二哈希值与所述第一哈希值匹配的情况下,将所述第二ADV_EXT_IND确定为所述第一ADV_EXT_IND。
  6. 根据权利要求3所述的方法,其中,所述同步辅助信息中包含所述第一广播源设备的第一广播标识;
    所述基于所述同步辅助信息与所述第一广播源设备进行PA同步,获取所述第一广播源 设备的周期性广播同步信息,包括:
    在所述第一设备地址为不可解析私有设备地址的情况下,基于各个第二广播源设备广播的第二ADV_EXT_IND,接收各个所述第二广播源设备广播的第二AUX_ADV_IND;
    基于所述第一广播标识从所述第二AUX_ADV_IND中确定第一AUX_ADV_IND,所述第一AUX_ADV_IND中包含的广播标识与所述第一广播标识相匹配;
    基于所述第一AUX_ADV_IND接收所述第一广播源设备广播的第一AUX_SYNC_IND,并获取所述第一AUX_SYNC_IND的所述周期性广播同步信息。
  7. 根据权利要求1至6任一所述的方法,其中,所述基于所述同步辅助信息与所述第一广播源设备进行周期性广播PA同步,获取所述第一广播源设备的周期性广播同步信息之后,所述方法还包括:
    通过ACL链路向蓝牙音频播放设备发送所述周期性广播同步信息以及所述同步辅助信息,以便所述蓝牙音频播放设备与所述第一广播源设备进行PA同步和BIS同步后,接收所述第一广播源设备广播的所述蓝牙音频数据。
  8. 一种蓝牙音频的接收装置,所述装置包括:
    第一获取模块,用于获取第一广播源设备的同步辅助信息,所述第一广播源设备用于进行蓝牙音频广播;
    第二获取模块,用于基于所述同步辅助信息与所述第一广播源设备进行周期性广播PA同步,获取所述第一广播源设备的周期性广播同步信息;
    音频接收模块,用于基于所述周期性广播同步信息与所述第一广播源设备进行广播等时数据流BIS同步,接收所述第一广播源设备广播的蓝牙音频数据。
  9. 根据权利要求8所述的装置,其中,所述第一获取模块,包括:
    第一获取单元,用于通过带外方式,获取所述第一广播源设备的所述同步辅助信息,所述带外方式包括图形码扫描和NFC近场通信中的至少一种;
    或,
    第二获取单元,用于基于超宽带UWB组件接收到的UWB信号,将指向的设备确定为所述第一广播源设备;接收所述第一广播源设备发送的所述同步辅助信息。
  10. 根据权利要求8所述的装置,其中,所述同步辅助信息中包含所述第一广播源设备的第一设备地址;
    所述第二获取模块,包括:
    第一确定单元,用于在所述第一设备地址为公共设备地址或可解析私有设备地址的情况下,确定所述第一广播源设备广播的第一广播扩展指示帧ADV_EXT_IND;
    第一接收单元,用于基于所述第一ADV_EXT_IND接收所述第一广播源设备广播的第一辅助广播指示帧AUX_ADV_IND;
    第二接收单元,用于基于所述第一AUX_ADV_IND接收所述第一广播源设备广播的第一辅助同步指示帧AUX_SYNC_IND,并获取所述第一AUX_SYNC_IND的所述周期性广播同步信息。
  11. 根据权利要求10所述的装置,其中,所述第一设备地址为公共设备地址;
    所述第一确定单元,用于:
    接收第二广播源设备广播的第二ADV_EXT_IND;
    在所述第二ADV_EXT_IND中包含的第二设备地址与所述第一设备地址匹配的情况下,将所述第二ADV_EXT_IND确定为所述第一ADV_EXT_IND。
  12. 根据权利要求10所述的装置,其中,所述第一设备地址为可解析私有设备地址,所述同步辅助信息中还包含身份解析密钥IRK;
    所述第一确定单元,用于:
    接收第二广播源设备广播的第二ADV_EXT_IND,所述第二ADV_EXT_IND中包含随机数和第一哈希值;
    对所述IRK和所述随机数进行哈希运算,得到第二哈希值;
    在所述第二哈希值与所述第一哈希值匹配的情况下,将所述第二ADV_EXT_IND确定为所述第一ADV_EXT_IND。
  13. 根据权利要求10所述的装置,其中,所述同步辅助信息中包含所述第一广播源设备的第一广播标识;
    所述第二获取模块,包括:
    第三接收单元,用于在所述第一设备地址为不可解析私有设备地址的情况下,基于各个第二广播源设备广播的第二ADV_EXT_IND,接收各个所述第二广播源设备广播的第二AUX_ADV_IND;
    第二确定单元,用于基于所述第一广播标识从所述第二AUX_ADV_IND中确定第一AUX_ADV_IND,所述第一AUX_ADV_IND中包含的广播标识与所述第一广播标识相匹配;
    第四接收单元,用于基于所述第一AUX_ADV_IND接收所述第一广播源设备广播的第一AUX_SYNC_IND,并获取所述第一AUX_SYNC_IND的所述周期性广播同步信息。
  14. 根据权利要求8至13任一所述的装置,其中,所述装置还包括:
    发送模块,用于通过ACL链路向蓝牙音频播放设备发送所述周期性广播同步信息以及所述同步辅助信息,以便所述蓝牙音频播放设备与所述第一广播源设备进行PA同步和BIS同步后,接收所述第一广播源设备广播的所述蓝牙音频数据。
  15. 一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至7任一所述的蓝牙音频的接收方法。
  16. 一种计算机可读存储介质,所述可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如权利要求1至7任一所述的蓝牙音频的接收方法。
  17. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令时实现如权利要求1至7任一所述的蓝牙音频的接收方法。
PCT/CN2022/112530 2021-08-18 2022-08-15 蓝牙音频的接收方法、装置、终端及存储介质 Ceased WO2023020439A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110949568.8 2021-08-18
CN202110949568.8A CN115708373B (zh) 2021-08-18 2021-08-18 蓝牙音频的接收方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2023020439A1 true WO2023020439A1 (zh) 2023-02-23

Family

ID=85212451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/112530 Ceased WO2023020439A1 (zh) 2021-08-18 2022-08-15 蓝牙音频的接收方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN115708373B (zh)
WO (1) WO2023020439A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550909A (zh) * 2022-09-21 2022-12-30 恒玄科技(上海)股份有限公司 音频传输方法、音频发送、接收和传输设备及计算机介质
CN116527785A (zh) * 2023-05-18 2023-08-01 展讯半导体(成都)有限公司 一种数据传输方法、装置、芯片及模组设备
CN116647827A (zh) * 2023-06-14 2023-08-25 深圳市中科蓝讯科技股份有限公司 蓝牙通信方法、装置、设备、系统及存储介质
CN116866874A (zh) * 2023-03-30 2023-10-10 海信视像科技股份有限公司 显示设备、音频接收设备及多路音频接收设备的配置方法
CN118158620A (zh) * 2024-02-23 2024-06-07 广州安凯微电子股份有限公司 一种蓝牙广播数据的传输方法及系统
WO2025227400A1 (zh) * 2024-04-30 2025-11-06 北京小米移动软件有限公司 信息传输方法、设备和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116249100A (zh) * 2023-03-30 2023-06-09 北京字跳网络技术有限公司 一种设备发现方法及装置
WO2025199908A1 (zh) * 2024-03-28 2025-10-02 北京小米移动软件有限公司 蓝牙通信方法、设备、通信系统及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142535A1 (en) * 2015-11-17 2017-05-18 Caavo Inc Multi-channel audio over a wireless network
CN108702720A (zh) * 2016-02-24 2018-10-23 高通股份有限公司 源设备广播与蓝牙等时信道相关联的同步信息
US20200162852A1 (en) * 2018-11-02 2020-05-21 Zgmicro Nanjing Ltd Method, device and system for audio data communication
CN112449328A (zh) * 2019-08-30 2021-03-05 华为技术有限公司 一种蓝牙搜索方法、系统及相关装置

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090057846A (ko) * 2007-12-03 2009-06-08 엘지전자 주식회사 이동 단말기의 방송출력 장치 및 방법
EP3050332B1 (en) * 2013-09-27 2019-02-06 Koninklijke KPN N.V. Public safety system
CN103888177A (zh) * 2014-02-25 2014-06-25 南京邮电大学 一种快速建立蓝牙连接的方法
CN105516896A (zh) * 2015-12-02 2016-04-20 惠州Tcl移动通信有限公司 一种可穿戴设备与移动终端的蓝牙互连方法及系统
US10154384B2 (en) * 2016-06-22 2018-12-11 Qualcomm Incorporated Systems and methods for back channel communication
WO2018135926A1 (ko) * 2017-01-23 2018-07-26 엘지전자(주) 블루투스 통신 방법 및 장치
US11310649B2 (en) * 2018-02-20 2022-04-19 Lg Electronics Inc. Method for wireless connection in wireless LAN system and wireless device using same
TWI666889B (zh) * 2018-05-18 2019-07-21 瑞昱半導體股份有限公司 藍牙通信系統及相關的傳送端藍牙裝置與接收端藍牙裝置
CN108494610B (zh) * 2018-05-23 2021-03-23 南京邮电大学 基于6LoBLE的低功耗蓝牙IPv6地址自动配置方法
US11115902B2 (en) * 2018-09-11 2021-09-07 Qualcomm Incorporated Broadcast isochronous relay over ESCO
WO2020107485A1 (zh) * 2018-11-30 2020-06-04 华为技术有限公司 一种蓝牙连接方法及设备
CN111385045B (zh) * 2018-12-29 2022-04-15 南京中感微电子有限公司 一种音频数据通信系统
CN111343622B (zh) * 2020-03-02 2024-04-09 北京服装学院 一种蓝牙音箱同步播放方法、装置及系统
CN111464957A (zh) * 2020-03-31 2020-07-28 Oppo(重庆)智能科技有限公司 蓝牙音频传输方法和装置、电子设备及存储介质
GB2598326A (en) * 2020-08-26 2022-03-02 Geoffrey Ma Qingping Method to connect bluetooth slaves to a bluetooth broadcaster with NFC
CN111935815B (zh) * 2020-09-15 2021-03-02 深圳市汇顶科技股份有限公司 同步通信方法、电子设备及存储介质
KR102223408B1 (ko) * 2020-09-28 2021-03-05 아주대학교산학협력단 블루투스 저전력 파라미터 설정 방법
CN112636901B (zh) * 2020-12-17 2023-09-29 拉扎斯网络科技(上海)有限公司 身份识别方法、装置、存储介质和电子设备
CN113225722B (zh) * 2021-07-08 2021-12-10 深圳市汇顶科技股份有限公司 数据传输方法、系统、芯片、电子设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142535A1 (en) * 2015-11-17 2017-05-18 Caavo Inc Multi-channel audio over a wireless network
CN108702720A (zh) * 2016-02-24 2018-10-23 高通股份有限公司 源设备广播与蓝牙等时信道相关联的同步信息
US20200162852A1 (en) * 2018-11-02 2020-05-21 Zgmicro Nanjing Ltd Method, device and system for audio data communication
CN112449328A (zh) * 2019-08-30 2021-03-05 华为技术有限公司 一种蓝牙搜索方法、系统及相关装置

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550909A (zh) * 2022-09-21 2022-12-30 恒玄科技(上海)股份有限公司 音频传输方法、音频发送、接收和传输设备及计算机介质
CN116866874A (zh) * 2023-03-30 2023-10-10 海信视像科技股份有限公司 显示设备、音频接收设备及多路音频接收设备的配置方法
CN116527785A (zh) * 2023-05-18 2023-08-01 展讯半导体(成都)有限公司 一种数据传输方法、装置、芯片及模组设备
CN116647827A (zh) * 2023-06-14 2023-08-25 深圳市中科蓝讯科技股份有限公司 蓝牙通信方法、装置、设备、系统及存储介质
CN118158620A (zh) * 2024-02-23 2024-06-07 广州安凯微电子股份有限公司 一种蓝牙广播数据的传输方法及系统
WO2025227400A1 (zh) * 2024-04-30 2025-11-06 北京小米移动软件有限公司 信息传输方法、设备和存储介质

Also Published As

Publication number Publication date
CN115708373A (zh) 2023-02-21
CN115708373B (zh) 2024-11-29

Similar Documents

Publication Publication Date Title
WO2023020439A1 (zh) 蓝牙音频的接收方法、装置、终端及存储介质
CN117376615B (zh) 一种投屏显示方法及电子设备
CN110582109A (zh) 一种无线局域网wlan网络接入方法及装置
CN111010693B (zh) 一种提供无线保真网络接入服务的方法及电子设备
US11622197B2 (en) Audio enhancement for hearing impaired in a shared listening environment
US20220408247A1 (en) Key information synchronization method and system, and device
CN116017614B (zh) 一种通信方法及电子设备
CN112449336B (zh) 一种设备能力发现方法及p2p设备
CN108093134A (zh) 电子设备的抗干扰方法及相关产品
CN113038627B (zh) 一种文件分享方法、移动设备、计算机存储介质
WO2024199086A9 (zh) 电子设备、音频接收设备及音频处理方法
CN114499587A (zh) 音频同步的通信方法、系统及电子设备
CN112771828B (zh) 一种音频数据的通信方法及电子设备
CN113301544B (zh) 一种音频设备间语音互通的方法及设备
WO2023045687A1 (zh) 投屏方法、设备及系统
CN118233821A (zh) 声场校准方法及电子设备
US20230337147A1 (en) Device Configuration Method and Device
CN118632063A (zh) 延时校准方法、装置、设备及介质
CN115412387B (zh) 一种音频播放方法、系统及电子设备
CN118354281A (zh) 组网设备通信的方法以及电子设备
CN118233822A (zh) 声场校准方法及电子设备
CN117376608A (zh) 一种音频同步播放方法及相关装置
CN114980238B (zh) Wi-Fi接入的方法及相关设备
US12563259B2 (en) Method for resuming playing audio and system
CN118900381B (zh) 音频播放方法、电子设备及芯片系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22857751

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22857751

Country of ref document: EP

Kind code of ref document: A1