WO2023010237A1 - 蓝牙广播的发送方法、接收方法、装置、设备及介质 - Google Patents

蓝牙广播的发送方法、接收方法、装置、设备及介质 Download PDF

Info

Publication number
WO2023010237A1
WO2023010237A1 PCT/CN2021/109951 CN2021109951W WO2023010237A1 WO 2023010237 A1 WO2023010237 A1 WO 2023010237A1 CN 2021109951 W CN2021109951 W CN 2021109951W WO 2023010237 A1 WO2023010237 A1 WO 2023010237A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
broadcast
url address
information
target information
Prior art date
Application number
PCT/CN2021/109951
Other languages
English (en)
French (fr)
Inventor
任凯
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21952147.3A priority Critical patent/EP4358547A1/en
Priority to CN202180100456.3A priority patent/CN117652162A/zh
Priority to PCT/CN2021/109951 priority patent/WO2023010237A1/zh
Publication of WO2023010237A1 publication Critical patent/WO2023010237A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/30Resource management for broadcast services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Definitions

  • the present application relates to the field of Bluetooth broadcasting, in particular to a sending method, a receiving method, a device, a device and a medium of Bluetooth broadcasting.
  • the sending and receiving of the Bluetooth broadcast is usually realized through an extended broadcast packet, and the extended broadcast packet carries relevant data information of the Bluetooth broadcast.
  • a first Bluetooth device sends an extended broadcast packet to a second Bluetooth device, and the second Bluetooth device acquires relevant data information of the Bluetooth broadcast by unpacking the extended broadcast packet.
  • the embodiment of the present application provides a Bluetooth broadcast sending method, receiving method, device, equipment and medium, by carrying a Uniform Resource Locator (Uniform Resource Locator, URL) address in the Bluetooth broadcast synchronization information, the information length is reduced, Thereby ensuring the integrity of the data information.
  • Uniform Resource Locator Uniform Resource Locator, URL
  • a method for sending a Bluetooth broadcast comprising:
  • the first Bluetooth device sends Bluetooth broadcast synchronization information to the second Bluetooth device
  • the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to the target information.
  • a method for receiving a Bluetooth broadcast comprising:
  • the second Bluetooth device receives the Bluetooth broadcast synchronization information sent by the first Bluetooth device, and the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to the target information;
  • the second bluetooth device acquires target information according to the URL address.
  • a device for sending Bluetooth broadcasts comprising:
  • the sending module is used for the first bluetooth device to send bluetooth broadcast synchronization information to the second bluetooth device;
  • the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to the target information.
  • a receiving device for Bluetooth broadcast comprising:
  • the receiving module is configured to receive the Bluetooth broadcast synchronization information sent by the first Bluetooth device, the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to the target information;
  • the obtaining module is used for the second bluetooth device to obtain target information according to the URL address.
  • a first Bluetooth device includes a processor and a memory, at least one program code is stored in the memory, and the program code is loaded and executed by the processor to realize the above-mentioned The sending method of the Bluetooth broadcast.
  • a second Bluetooth device includes a processor and a memory, at least one program code is stored in the memory, and the program code is loaded and executed by the processor to realize the above-mentioned The receiving method of the Bluetooth broadcast.
  • a computer-readable storage medium is provided, at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to realize the sending of the Bluetooth broadcast as described above method, or the method for receiving Bluetooth broadcasts as described above.
  • a computer program or computer program product comprising computer instructions stored in a computer-readable storage medium readable by a processor of a computer device from a computer
  • the storage medium reads the computer instructions, and the processor executes the computer instructions, so that the computer device executes to implement the above-mentioned method for sending Bluetooth broadcasts, or the above-mentioned method for receiving Bluetooth broadcasts.
  • a chip includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement the above-mentioned Bluetooth broadcast sending method, or, the above-mentioned How to receive Bluetooth broadcasts.
  • the first Bluetooth device reduces the length of the information by carrying the URL address in the Bluetooth broadcast synchronization information, so that the second Bluetooth device can obtain the target information according to the URL address, thereby ensuring the integrity of the data information transmitted in the Bluetooth broadcast.
  • Fig. 1 is a schematic diagram of the transmission process of Bluetooth broadcast provided by an exemplary embodiment of the present application
  • Fig. 2 is a schematic diagram of a frame structure provided by an exemplary embodiment of the present application.
  • Fig. 3 is a schematic diagram of another frame structure provided by an exemplary embodiment of the present application.
  • FIG. 4 is a flow chart of a method for sending a Bluetooth broadcast provided by an exemplary embodiment of the present application
  • FIG. 5 is a flowchart of a method for sending a Bluetooth broadcast provided by an exemplary embodiment of the present application
  • FIG. 6 is a flowchart of a method for receiving a Bluetooth broadcast provided by an exemplary embodiment of the present application
  • FIG. 7 is a flowchart of data transmission of Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • FIG. 8 is a flowchart of a method for receiving a Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • FIG. 9 is a flow chart of data transmission of Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • FIG. 10 is a schematic diagram of a transmission process of a Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • Fig. 11 is a schematic diagram of a frame structure provided by an exemplary embodiment of the present application.
  • Fig. 12 is a schematic diagram of another frame structure provided by an exemplary embodiment of the present application.
  • FIG. 13 is a schematic diagram of a Bluetooth broadcast sending device provided by an exemplary embodiment of the present application.
  • FIG. 14 is a schematic diagram of a receiving device for Bluetooth broadcast provided by an exemplary embodiment of the present application.
  • Fig. 15 is a schematic diagram of a Bluetooth device provided by an exemplary embodiment of the present application.
  • the Bluetooth device can be a mobile terminal, a smart phone, a tablet computer, a smart home appliance (such as a smart speaker, a smart refrigerator, a smart air conditioner, etc.), a wearable smart device (such as a smart glass, a smart watch, etc.), a smart sensor (such as a temperature sensor, door and window sensor, etc.), the embodiment of the present application does not limit the device type of the Bluetooth device.
  • the Bluetooth device is one of a Bluetooth broadcast source device and a Bluetooth broadcast receiver device.
  • the Bluetooth broadcast source device is used to send related data of Bluetooth broadcast
  • the Bluetooth broadcast receiver device is used to receive related data of Bluetooth broadcast sent by the source device, so as to realize Bluetooth communication.
  • Bluetooth broadcasting is implemented by transmitting broadcast packets.
  • the protocol data unit (Protocol Data Unit, PDU) type of the broadcast packet has multiple types, 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 first Bluetooth device sends the first extended broadcast packet, such as the AUX_SYNC_IND data packet, the first extended broadcast packet carries data information, and the second Bluetooth device passes Receive the first extended broadcast packet to acquire data information.
  • the first Bluetooth device sends the first extended broadcast packet, such as the AUX_SYNC_IND data packet
  • the first extended broadcast packet carries data information
  • the second Bluetooth device passes Receive the first extended broadcast packet to acquire data information.
  • the Bluetooth broadcast source device sends an ADV_EXT_IND data packet, and the ADV_EXT_IND data packet is used to instruct the Bluetooth broadcast receiving end device to receive the AUX_ADV_IND data packet; after receiving the ADV_EXT_IND data packet, the receiving end device obtains the receiving instruction of the AUX_ADV_IND data packet; then, the source device sends AUX_ADV_IND data packet, the AUX_ADV_IND data packet is used to instruct the receiving end device to receive the AUX_SYNC_IND data packet; after receiving the AUX_ADV_IND data packet, the receiving end obtains the receiving instruction of the AUX_SYNC_IND data packet; then, the source device sends the AUX_SYNC_IND data packet, and the receiving end receives the AUX_SYNC_IND data pack.
  • the frame structure of AUX_SYNC_IND is shown in Figure 2.
  • the payload of the frame structure includes four fields, which are advertising data information (Advertising Data Information, ADI), auxiliary pointer (AuxilaryPtrl, Aux Ptr), additional broadcast data, and broadcast data (Advertising Data, Adv data).
  • ADI Advertising Data Information
  • auxiliary pointer AuxilaryPtrl, Aux Ptr
  • additional broadcast data Advertising Data, Adv data
  • broadcast data Advertising Data, Adv data
  • the Aux Ptr field is an optional field
  • the broadcast data field carries Bluetooth broadcast audio stream metadata (Broadcast Audio Stream Metadata).
  • the source device when the data length of the Bluetooth broadcast audio stream metadata exceeds AUX_SYNC_IND, the source device optionally sends one or more AUX_CHAIN_INDs, which carry part of the Bluetooth broadcast audio stream metadata.
  • the frame structure of AUX_CHAIN_IND is shown in Figure 3.
  • the payload of the frame structure includes three fields, which are ADI, Aux Ptr, and broadcast data. Schematically, the ADI field and the Aux Ptr field are optional fields.
  • AUX_CHAIN_IND when the data length of the Bluetooth broadcast audio stream metadata exceeds the longest single-frame frame length of AUX_SYNC_IND, part of the content of the Bluetooth broadcast audio stream metadata exceeding the longest single-frame frame length of AUX_SYNC_IND is carried in AUX_CHAIN_IND, For example, it is carried in the broadcast data field of AUX_CHAIN_IND; the ADI field of AUX_CHAIN_IND appears following the ADI field of AUX_SYNC_IND; the Aux Ptr field included in AUX_CHAIN_IND and AUX_SYNC_IND is used when AUX_CHAIN_IND needs to be sent.
  • the Aux Ptr field can refer to the description of the following table:
  • the channel index is used to describe the position of receiving the data packet of the Bluetooth broadcast;
  • the offset of the auxiliary type data packet is used to describe the interval between the time point of receiving the data packet and the current time, and the interval is represented by an offset unit, For example, there are 2 offset units between the time point of receiving the data packet and the current time interval;
  • the physical layer of the auxiliary type data packet is used to indicate the location of the physical layer of the received data packet.
  • FIG. 4 shows a flowchart of a method for sending a Bluetooth broadcast provided by an exemplary embodiment of the present application. The method is applied to the transmission process of the Bluetooth broadcast shown in FIG. 1, and the method includes:
  • Step 102 the first Bluetooth device sends Bluetooth broadcast synchronization information to the second Bluetooth device.
  • the Bluetooth broadcast synchronization information includes a Uniform Resource Locator (Uniform Resource Locator, URL) address, and the URL address points to the target information.
  • Uniform Resource Locator Uniform Resource Locator, URL
  • the first Bluetooth device is a Bluetooth broadcast source device
  • the second Bluetooth device is a Bluetooth broadcast receiver device.
  • the first Bluetooth device is a smart phone
  • the second Bluetooth device is a tablet computer.
  • the data type of the Bluetooth broadcast includes but is not limited to at least one of the following types: audio data and video data.
  • the Bluetooth broadcast involved in the embodiment of the present application may be a Bluetooth audio broadcast, or a Bluetooth video broadcast supporting augmented reality (Augmented Reality, AR), virtual reality technology (Virtual Reality, VR) and the like.
  • the URL address is a character string used to describe the information resource.
  • the location and access method of the information resource can be obtained according to the URL address, and the corresponding information can be uniquely determined according to a URL address.
  • the URL address can be divided into a long URL address and a short URL address according to the size of bytes occupied, and the bytes occupied by the long URL address are greater than the bytes occupied by the short URL address.
  • the URL address involved in this embodiment of the present application may be implemented as a URL short address, which is used to reduce the length of Bluetooth broadcast synchronization information.
  • the format and byte size of the URL short address can be set according to protocol standards or actual needs.
  • the data pointed to by the URL address carries target information, wherein the URL address points to at least one of a webpage or a two-dimensional code.
  • the target information is carried in the web page data pointed to by the URL address.
  • the web page data includes but not limited to at least one of the following: text information, picture information, audio information, and video information.
  • the web page data pointed to by the URL address includes text information, picture information and audio information of a song, and the target information is the audio information of the song.
  • the Bluetooth broadcast synchronization information includes at least one of the following:
  • UUID Universalally Unique Identifier
  • Broadcast_ID used to identify the specified Bluetooth broadcast audio data stream.
  • BIGInfo Broadcast Isochronous Group Info
  • Bluetooth broadcast audio stream metadata used to further understand the Bluetooth broadcast audio stream under the current broadcast ID, such as audio stream language, program information, etc.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information (ProgramInfo).
  • the language of the audio stream includes at least one of language (Language) and rating (Parental Rating).
  • the Bluetooth broadcast audio stream metadata is sent in the form of Length-Type-Value (LTV), and the sending of voice, rating and program information can refer to the following three tables:
  • parameter size (bytes) value length 1 N+1 type 1 0x05 value N title and/or abstract
  • the parameters involved in the voice, rating, and program information can be set according to actual needs, or set according to the protocol standard of Bluetooth broadcasting.
  • the Bluetooth broadcast audio stream metadata includes at least one of voice, rating, and program information, and the parameters involved in the voice, rating, and program information are shown in Table 1-3.
  • the target information pointed to by the URL address may be information related to Bluetooth broadcast synchronization information, or information not related to Bluetooth broadcast synchronization information.
  • the target information includes but not limited to at least one of the following information: UUID related information, broadcast ID related information, Bluetooth broadcast isochronous group information related information, Bluetooth broadcast audio stream metadata related information.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the URL address points to related information of the Bluetooth broadcast audio stream.
  • the web page data pointed to by the URL address includes UUID, broadcast ID, and Bluetooth broadcast audio stream metadata.
  • the target information includes: all or part of the content in the metadata of the Bluetooth broadcast audio stream.
  • the Bluetooth broadcast audio stream metadata includes audio stream language, program information, and so on.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • the URL address points to a QR code
  • the second Bluetooth device can share the QR code with a third-party device.
  • the third-party device can be another Bluetooth device. equipment.
  • the second bluetooth device can obtain the bluetooth broadcast synchronization information sent by the first bluetooth device, thereby obtaining the URL address; then, the second bluetooth device can obtain the URL address through the browser, and obtain the target address according to the URL address information.
  • the first Bluetooth device sends Bluetooth broadcast synchronization information to the second Bluetooth device, and the information carries a URL short address; after receiving the information, the second Bluetooth device parses the URL short address , and obtain the web page data pointed to by the URL short address through the browser, and the target information carried in the web page data includes album cover, lyrics information and audio information.
  • the Bluetooth broadcast synchronization information may include both the URL address and the Bluetooth broadcast audio stream metadata.
  • the URL address points to part of the metadata of the Bluetooth broadcast audio stream.
  • the metadata of the Bluetooth broadcast audio stream includes the entire content of the language of the audio stream and part of the content of the program information, and the URL address points to the remaining content of the program information.
  • the first Bluetooth device carries the URL address in the Bluetooth broadcast synchronization information, which reduces the length of the information, so that the second Bluetooth device can obtain the target address according to the URL address. information, thereby ensuring the integrity of the data information transmitted in the Bluetooth broadcast.
  • Fig. 5 shows a flow chart of a method for sending a Bluetooth broadcast provided by an exemplary embodiment of the present application. The method is applied to the transmission process of the Bluetooth broadcast shown in Fig. 1, and the method includes:
  • Step 202 the first bluetooth device sends an extended broadcast packet to the second bluetooth device.
  • the URL address is carried in the extended broadcast packet, and the URL address points to the target information.
  • the first Bluetooth device is a Bluetooth broadcast source device
  • the second Bluetooth device is a Bluetooth broadcast receiver device.
  • the URL address can be divided into a long URL address and a short URL address according to the occupied byte size.
  • the URL address involved in this embodiment of the present application may be implemented as a short URL address.
  • the target information pointed to by the URL address may be information related to Bluetooth broadcast synchronization information, or information not related to Bluetooth broadcast synchronization information.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the target information includes: all or part of the metadata of the Bluetooth broadcast audio stream.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • the extended broadcast packet is different from the main broadcast packet, and the channels where the main broadcast packet and the extended broadcast packet are located are different.
  • the optional PDU type of the main broadcast packet is ADV_EXT_IND;
  • the PDU type of the extended broadcast packet includes but not limited to at least one of the following: AUX_ADV_IND, AUX_SYNC_IND, AUX_CHAIN_IND.
  • the PDU type of the extended broadcast packet is AUX_SYNC_IND.
  • the extended broadcast packet is periodically sent by the first Bluetooth device.
  • the first Bluetooth device periodically sends AUX_SYNC_IND data packets.
  • the field where the URL address is located is also different.
  • the URL address is carried in the broadcast data field of the extended broadcast packet.
  • the URL address points to the target information.
  • the content carried in the broadcast data field of the extended broadcast packet has the following optional implementation methods:
  • the broadcast data field of the extended broadcast packet carries a URL address, and the URL address points to: the entire content of the target information;
  • the broadcast data field of the extended broadcast packet carries a URL address and the first content in the target information, and the URL address points to: remaining content in the target information except the first content.
  • the target information is the related information of the Bluetooth broadcast audio stream.
  • the broadcast data field of the extended broadcast packet only carries a URL address, wherein the URL address points to the entire content of the Bluetooth broadcast audio stream metadata.
  • the broadcast data field of the extended broadcast packet carries the first content and the URL address in the Bluetooth broadcast audio stream metadata, wherein the URL address points to the Bluetooth broadcast audio The remaining content in stream metadata other than the first content.
  • the second Bluetooth device can obtain the extended broadcast packet sent by the first Bluetooth device, thereby obtaining the URL address; then, the second Bluetooth device can obtain the URL address through the browser, and obtain the target information according to the URL address .
  • the first Bluetooth device sends an extended broadcast packet to the second Bluetooth device, and the PDU type of the extended broadcast packet is AUX_SYNC_IND; and the broadcast data field of the extended broadcast packet carries a URL short address, and the URL
  • the target information pointed to by the short address includes part of the metadata of the Bluetooth broadcast audio stream.
  • the second Bluetooth device analyzes the URL short address, and the second Bluetooth device can obtain the web page data pointed to by the URL short address, thereby obtaining part of the metadata of the Bluetooth broadcast audio stream.
  • the extended broadcast package may include both the URL address and the metadata of the Bluetooth broadcast audio stream.
  • the URL address points to part of the metadata of the Bluetooth broadcast audio stream.
  • the Bluetooth broadcast audio stream metadata includes the language of the audio stream and part of the program information, and the URL address points to the rest of the program information.
  • the Bluetooth broadcast sending method provided by the embodiment of the present application provides a specific sending method of the URL address.
  • the first Bluetooth device can carry the URL address by sending an extended broadcast packet to the second Bluetooth device, so that The second bluetooth device acquires the target information.
  • FIG. 6 shows a flowchart of a method for receiving a Bluetooth broadcast provided by an exemplary embodiment of the present application. The method is applied to the transmission process of the Bluetooth broadcast shown in FIG. 1, and the method includes:
  • Step 302 The second Bluetooth device receives the Bluetooth broadcast synchronization information sent by the first Bluetooth device.
  • the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to target information.
  • the first Bluetooth device is a Bluetooth broadcast source device
  • the second Bluetooth device is a Bluetooth broadcast receiver device.
  • the Bluetooth broadcast synchronization information includes at least one of the following: UUID of the Bluetooth broadcast service, broadcast ID, Bluetooth broadcast isochronous group information, and Bluetooth broadcast audio stream metadata.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the URL address can be divided into a long URL address and a short URL address according to the size of bytes occupied, and the bytes occupied by the long URL address are greater than the bytes occupied by the short URL address.
  • the URL address involved in this embodiment of the present application may be implemented as a short URL address.
  • the target information pointed to by the URL address may be information related to Bluetooth broadcast synchronization information, or information not related to Bluetooth broadcast synchronization information.
  • the target information includes but not limited to at least one of the following information: UUID related information, broadcast ID related information, Bluetooth broadcast isochronous group information related information, Bluetooth broadcast audio stream metadata related information.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the URL address points to related information of the Bluetooth broadcast audio stream.
  • the URL address points to at least one of UUID, broadcast ID and Bluetooth broadcast audio stream metadata.
  • the target information includes: all or part of the content in the metadata of the Bluetooth broadcast audio stream.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information includes at least one of audio stream language and program information.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • the URL address points to a two-dimensional code, and the two-dimensional code is used to share the Bluetooth broadcast audio stream.
  • Step 304 The second bluetooth device acquires target information according to the URL address.
  • the URL address points to the target information.
  • the second Bluetooth device After receiving the Bluetooth broadcast synchronization information sent by the first Bluetooth device, the second Bluetooth device can obtain the URL address carried in the information.
  • the data pointed to by the URL address carries target information.
  • the target information is carried in the web page data pointed to by the URL.
  • step 304 can be implemented as follows:
  • the second bluetooth device acquires the web page data pointed to by the URL address through the browser
  • the second bluetooth device obtains the target information from the web page data.
  • the second Bluetooth device after the second Bluetooth device receives the Bluetooth broadcast synchronization information sent by the first Bluetooth device, it can obtain the URL address.
  • the second Bluetooth device can obtain the URL through the browser on the device.
  • the webpage data pointed to by the address, and subsequently, the second bluetooth device acquires target information from the network data.
  • the first Bluetooth device sends Bluetooth broadcast synchronization information to the second Bluetooth device, the information carries a URL short address, and the webpage data pointed to by the URL short address includes the above target information.
  • the second bluetooth device obtains the synchronous information of the bluetooth broadcast by scanning, then analyzes the short URL address, and obtains the webpage data pointed to by the short URL address through the browser. Based on this, the second Bluetooth device can obtain all the content in the metadata of the Bluetooth broadcast audio stream and the shared graphic code of the Bluetooth broadcast audio stream, and then the second Bluetooth device can send the shared graphic code to the third-party device, and the third-party device Can be other bluetooth devices.
  • Fig. 7 shows a flow chart of data transmission of Bluetooth broadcast provided by an exemplary embodiment of the present application, which is applied to the transmission process of Bluetooth broadcast shown in Fig. 1, and the data transmission includes:
  • Step 402 the first Bluetooth device sends Bluetooth broadcast synchronization information to the second Bluetooth device.
  • the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to target information.
  • the first Bluetooth device is a Bluetooth broadcast source device
  • the second Bluetooth device is a Bluetooth broadcast receiver device.
  • the Bluetooth broadcast synchronization information includes at least one of the following: UUID of the Bluetooth broadcast service, broadcast ID, Bluetooth broadcast isochronous group information, and Bluetooth broadcast audio stream metadata.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the URL address involved in this embodiment of the present application may be implemented as a short URL address.
  • the URL address points to the target information, which may be information related to the Bluetooth broadcast synchronization information, or information not related to the Bluetooth broadcast synchronization information.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the target information includes: all or part of the metadata of the Bluetooth broadcast audio stream.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • Step 404 the second Bluetooth device receives the Bluetooth broadcast synchronization information sent by the first Bluetooth device.
  • the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to target information.
  • Step 404 is the same as step 302, which can be used as a reference, and will not be repeated here.
  • Step 406 The second bluetooth device acquires target information according to the URL address.
  • the URL address points to the target information.
  • the second Bluetooth device After receiving the Bluetooth broadcast synchronization information sent by the first Bluetooth device, the second Bluetooth device can obtain the URL address carried in the information.
  • Step 406 is the same as step 304, which can be used as a reference, and will not be repeated here.
  • the first Bluetooth device carries the URL address in the Bluetooth broadcast synchronization information, which reduces the length of the information, so that the second Bluetooth device can obtain the target URL according to the URL address. information, thereby ensuring the integrity of the data information transmitted in the Bluetooth broadcast.
  • FIG. 8 shows a flow chart of a method for receiving a Bluetooth broadcast provided by an exemplary embodiment of the present application. The method is applied to the transmission process of the Bluetooth broadcast shown in FIG. 1, and the method includes:
  • Step 502 The second Bluetooth device receives the extended broadcast packet sent by the first Bluetooth device.
  • the URL address is carried in the extended broadcast packet, and the URL address points to the target information.
  • the first Bluetooth device is a Bluetooth broadcast source device
  • the second Bluetooth device is a Bluetooth broadcast receiver device.
  • the URL address can be divided into a long URL address and a short URL address according to the occupied byte size.
  • the URL address involved in this embodiment of the present application may be implemented as a short URL address.
  • the target information pointed to by the URL address may be information related to Bluetooth broadcast synchronization information, or information not related to Bluetooth broadcast synchronization information.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the target information includes: all or part of the metadata of the Bluetooth broadcast audio stream.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • the extended broadcast packet is different from the main broadcast packet, and the physical layers of the main broadcast packet and the extended broadcast packet are different.
  • the PDU type of the extended broadcast packet includes but not limited to at least one of the following: AUX_ADV_IND, AUX_SYNC_IND, AUX_CHAIN_IND.
  • the PDU type of the extended broadcast packet is AUX_SYNC_IND.
  • the extended broadcast packet is periodically sent by the first Bluetooth device.
  • the URL address points to the target information.
  • the content carried in the broadcast data field of the extended broadcast packet has the following optional implementation methods:
  • the broadcast data field of the extended broadcast packet carries a URL address, and the URL address points to: the entire content of the target information;
  • the broadcast data field of the extended broadcast packet carries a URL address and the first content in the target information, and the URL address points to: remaining content in the target information except the first content.
  • the target information is the related information of the Bluetooth broadcast audio stream.
  • the broadcast data field of the extended broadcast packet only carries a URL address, wherein the URL address points to the entire content including the metadata of the Bluetooth broadcast audio stream.
  • the broadcast data field of the extended broadcast packet carries the first content and the URL address in the Bluetooth broadcast audio stream metadata, wherein the URL address points to the Bluetooth broadcast audio The remaining content in stream metadata other than the first content.
  • Step 504 the second bluetooth device acquires target information according to the URL address.
  • the URL address points to the target information.
  • the second Bluetooth device After receiving the extended broadcast packet sent by the first Bluetooth device, the second Bluetooth device can obtain the URL address carried in the information.
  • the second Bluetooth device can obtain the extended broadcast packet sent by the first Bluetooth device, thereby obtaining the URL address; then, the second Bluetooth device can obtain the URL address through the browser, and obtain the target information according to the URL address .
  • the extended broadcast package may include both the URL address and the metadata of the Bluetooth broadcast audio stream.
  • the URL address points to part of the metadata of the Bluetooth broadcast audio stream.
  • step 502 is similar to step 304, which can be used as a reference, and will not be repeated here.
  • Figure 9 and Figure 10 show a flow chart of Bluetooth broadcast data transmission provided by an exemplary embodiment of the present application, which is applied to the transmission process of Bluetooth broadcast shown in Figure 1 middle.
  • the PDU type of the broadcast packet includes at least one of the following: ADV_EXT_IND, auxiliary extension indication frame (Auxilary Extension Indication, AUX_EXT_IND) and AUX_SYNC_IND, and the Bluetooth broadcast synchronization information is carried in the AUX_SYNC_IND data packet.
  • ADV_EXT_IND auxiliary extension indication frame
  • AUX_SYNC_IND auxiliary Extension Indication
  • the Bluetooth broadcast synchronization information is carried in the AUX_SYNC_IND data packet.
  • the data transmission of the Bluetooth broadcast provided by the embodiment of the present application includes:
  • Step 602 the first bluetooth device sends an ADV_EXT_IND data packet to the second bluetooth device.
  • the ADV_EXT_IND data packet is used to instruct the second Bluetooth device to receive the AUX_EXT_IND data packet.
  • the frame structure of AUX_EXT_IND is shown in Figure 11, and the payload of the frame structure includes three fields, which are broadcast data, ADI and Aux Ptr.
  • the Aux Ptr field of the AUX_EXT_IND data packet carries first indication information, and the first indication information is used to indicate the time, channel and physical layer where the AUX_EXT_IND data packet appears.
  • the first Bluetooth device is a Bluetooth broadcast source device
  • the second Bluetooth device is a Bluetooth broadcast receiver device.
  • Step 603 The second Bluetooth device receives the ADV_EXT_IND data packet.
  • the second Bluetooth device can receive the ADV_EXT_IND data packet sent by the first Bluetooth device through scanning.
  • the second Bluetooth device after the second Bluetooth device receives the ADV_EXT_IND data packet, it obtains the first indication information, and the first indication information is used to indicate the relevant information of the AUX_EXT_IND data packet, including but not limited to the occurrence of the AUX_EXT_IND data packet time, channel and physical layer.
  • Step 604 the first bluetooth device sends an AUX_EXT_IND data packet to the second bluetooth device.
  • the AUX_EXT_IND data packet is used to instruct the second Bluetooth device to receive the AUX_SYNC_IND data packet.
  • the frame structure of AUX_EXT_IND is shown in FIG. 12 , and the payload of the frame structure includes three fields, namely ADI, synchronization information (Synclnfo) and broadcast data.
  • the synchronization information field of the AUX_EXT_IND data packet carries second indication information, and the second indication information is used to indicate the relevant information of the AUX_SYNC_IND data packet, including but not limited to the time, channel, physical layer and transmission time of the AUX_SYNC_IND data packet. cycle.
  • Step 605 The second Bluetooth device receives the AUX_EXT_IND data packet.
  • the second Bluetooth device can receive the AUX_EXT_IND data packet sent by the first Bluetooth device through scanning.
  • the second Bluetooth device after receiving the AUX_EXT_IND data packet, the second Bluetooth device obtains second indication information, and the second indication information is used to indicate the occurrence time, channel, physical layer and sending period of the AUX_SYNC_IND data packet.
  • Step 606 the first Bluetooth device sends an AUX_SYNC_IND data packet to the second Bluetooth device.
  • the AUX_SYNC_IND data packet includes a URL address, and the URL address points to target information.
  • the URL address can be divided into URL long address and URL short address according to the byte size occupied, and the byte occupied by the long URL address is larger than the byte occupied by the short URL address.
  • the URL address involved in this embodiment of the present application may be implemented as a short URL address.
  • the target information pointed to by the URL address may be information related to Bluetooth broadcast synchronization information, or information not related to Bluetooth broadcast synchronization information.
  • the target information is carried in the web page data pointed to by the URL address.
  • the target information includes but not limited to at least one of the following information: UUID related information, broadcast ID related information, Bluetooth broadcast isochronous group information related information, Bluetooth broadcast audio stream metadata related information.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the target information optionally includes: all or part of the content in the metadata of the Bluetooth broadcast audio stream.
  • the bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information may optionally include a shared graphic code of the Bluetooth broadcast audio stream.
  • Step 607 The second Bluetooth device receives the AUX_SYNC_IND data packet.
  • the second Bluetooth device can receive the AUX_SYNC_IND data packet sent by the first Bluetooth device through scanning.
  • the second Bluetooth device obtains the URL address after receiving the AUX_SYNC_IND data packet.
  • the first Bluetooth device sends an ADV_EXT_IND data packet, and the ADV_EXT_IND data packet is used to instruct the second Bluetooth device to receive the AUX_EXT_IND data packet; after receiving the ADV_EXT_IND data packet, the second Bluetooth device obtains The receiving instruction of the AUX_EXT_IND data packet; subsequently, the first Bluetooth device sends the AUX_EXT_IND data packet, and the AUX_EXT_IND data packet is used to instruct the second Bluetooth device to receive the AUX_SYNC_IND data packet; after receiving the AUX_ADV_IND data packet, the second Bluetooth device performs the AUX_ADV_IND data packet Unpack to get multiple broadcast isochronous stream audio packets (Broadcast Isochronous Stream Audio Packet, BIS Audio Packet).
  • the AUX_ADV_IND data packet carries a URL address, and the URL address points to target information, and the target information is part or all of the transmission data of the Bluetooth broadcast.
  • the second Bluetooth device unpacks the AUX_ADV_IND data packet, part or all of the content of the Bluetooth broadcast can be obtained.
  • the AUX_ADV_IND data packet also carries receiving information of the AUX_SYNC_IND data packet, and the second Bluetooth device can receive the AUX_SYNC_IND data packet accordingly.
  • the second Bluetooth device may also unpack the AUX_SYNC_IND data packet.
  • the second Bluetooth device When the second Bluetooth device receives the AUX_SYNC_IND data packet, the second Bluetooth device unpacks the AUX_ADV_IND data packet and the AUX_SYNC_IND data packet respectively, so as to obtain multiple broadcast synchronous stream audio packets to form the entire content of the Bluetooth broadcast transmission data.
  • the transmission mode of the Bluetooth broadcast is shown in the right group of diagrams in FIG. 10 .
  • Step 608 The second bluetooth device acquires target information according to the URL address.
  • the URL address points to the target information.
  • the second Bluetooth device After receiving the Bluetooth broadcast synchronization information sent by the first Bluetooth device, the second Bluetooth device can obtain the URL address carried in the information.
  • Step 608 is the same as step 304, which can be used as a reference, and will not be repeated here.
  • the receiving method of Bluetooth broadcast provided by the embodiment of the present application provides a specific sending method of the URL address.
  • the first Bluetooth device can carry the URL address by sending an extended broadcast packet to the second Bluetooth device, so that The second bluetooth device obtains the target information.
  • Fig. 13 shows a schematic structural diagram of a Bluetooth broadcast sending device provided by another exemplary embodiment.
  • the device can be implemented as a first Bluetooth device or a part of the first Bluetooth device, and the device includes:
  • Sending module 1320 configured to send Bluetooth broadcast synchronization information to the second Bluetooth device
  • the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to the target information.
  • the sending module 1320 is configured to send an extended broadcast packet of the Bluetooth broadcast to the second Bluetooth device, and the URL address is carried in the extended broadcast packet.
  • the broadcast data field of the extended broadcast packet carries a URL address, and the URL address points to: the entire content of the target information; or, the broadcast data field of the extended broadcast packet carries the URL address and the The first content, the URL address points to: the remaining content in the target information except the first content.
  • the PDU type of the extended broadcast packet is AUX_SYNC_IND.
  • the extended broadcast packet is sent periodically.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the target information includes: all or part of the content in the Bluetooth broadcast audio stream metadata.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • Fig. 14 shows a schematic structural diagram of a Bluetooth broadcast receiving device provided by another exemplary embodiment.
  • the device can be implemented as a second Bluetooth device or a part of the second Bluetooth device, and the device includes:
  • the receiving module 1420 is configured to receive the Bluetooth broadcast synchronization information sent by the first Bluetooth device, the Bluetooth broadcast synchronization information includes a URL address, and the URL address points to the target information;
  • An acquisition module 1440 configured to acquire target information according to the URL address.
  • the receiving module 1420 is configured to receive an extended broadcast packet of the Bluetooth broadcast sent by the first Bluetooth device, and the URL address is carried in the extended broadcast packet.
  • the broadcast data field of the extended broadcast packet carries a URL address, and the URL address points to: the entire content of the target information; or, the broadcast data field of the extended broadcast packet carries the URL address and the The first content, the URL address points to: the remaining content in the target information except the first content.
  • the PDU type of the extended broadcast packet is AUX_SYNC_IND.
  • the extended broadcast packet is sent periodically.
  • the target information is information related to the Bluetooth broadcast audio stream.
  • the target information includes: all or part of the content in the Bluetooth broadcast audio stream metadata.
  • the Bluetooth broadcast audio stream metadata includes at least one of audio stream language and program information.
  • the target information includes a shared graphic code of the Bluetooth broadcast audio stream.
  • the acquiring module 1440 is configured to acquire webpage data pointed to by a URL address through a browser; and acquire target information from the webpage data.
  • FIG. 15 shows a schematic structural diagram of a Bluetooth device (a first Bluetooth device or a second Bluetooth device) provided by an exemplary embodiment of the present application.
  • the communication device includes: a processor 1501, a receiver 1502, a transmitter 1503, and a memory 1504 and bus 1505.
  • the processor 1501 includes one or more processing cores, and the processor 1501 executes various functional applications and information processing by running software programs and modules.
  • the receiver 1502 and the transmitter 1503 can be implemented as a communication component, which can be a communication chip.
  • the memory 1504 is connected to the processor 1501 through the bus 1505 .
  • the memory 1504 may be used to store at least one instruction, and the processor 1501 is used to execute the at least one instruction, so as to implement various steps of the Bluetooth broadcast sending method or receiving method mentioned in the above method embodiments.
  • volatile or non-volatile storage device includes but not limited to: magnetic disk or optical disk, electrically erasable and programmable Electrically-Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Static Random Access Memory (SRAM), Read-Only Memory (Read-Only Memory, ROM), magnetic memory, flash memory, programmable read-only memory (Programmable Read-Only Memory, PROM).
  • EEPROM Electrically-Erasable Programmable Read Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • SRAM Static Random Access Memory
  • Read-Only Memory Read-Only Memory
  • PROM Programmable Read-Only Memory
  • a computer-readable storage medium is provided, at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to realize the sending of the Bluetooth broadcast as described above method, or the method for receiving Bluetooth broadcasts as described above.
  • a computer program or computer program product comprising computer instructions stored in a computer-readable storage medium readable by a processor of a computer device from a computer
  • the storage medium reads the computer instructions, and the processor executes the computer instructions, so that the computer device executes to implement the above-mentioned method for sending Bluetooth broadcasts, or the above-mentioned method for receiving Bluetooth broadcasts.
  • a chip includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement the above-mentioned Bluetooth broadcast sending method, or, the above-mentioned How to receive Bluetooth broadcasts.

Abstract

本申请公开了一种蓝牙广播的发送方法、接收方法、装置、设备及介质,涉及蓝牙广播领域。所述蓝牙广播的发送方法包括:第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息;其中,蓝牙广播同步信息中包括统一资源定位器URL地址,URL地址指向目标信息。

Description

蓝牙广播的发送方法、接收方法、装置、设备及介质 技术领域
本申请涉及蓝牙广播领域,特别涉及蓝牙广播的发送方法、接收方法、装置、设备及介质。
背景技术
蓝牙广播的发送和接收通常是通过扩展广播包来实现的,扩展广播包中携带有蓝牙广播的相关数据信息。
相关技术中,第一蓝牙设备向第二蓝牙设备发送扩展广播包,第二蓝牙设备通过对扩展广播包的拆包来获取蓝牙广播的相关数据信息。
发明内容
本申请实施例提供了一种蓝牙广播的发送方法、接收方法、装置、设备及介质,通过在蓝牙广播同步信息中携带统一资源定位器(Uniform Resource Locator,URL)地址,减小了信息长度,从而保证了数据信息的完整性。所述技术方案如下:
根据本申请的一个方面,提供了一种蓝牙广播的发送方法,所述方法包括:
第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息;
其中,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息。
根据本申请的一个方面,提供了一种蓝牙广播的接收方法,所述方法包括:
第二蓝牙设备接收第一蓝牙设备发送的蓝牙广播同步信息,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息;
第二蓝牙设备根据URL地址,获取目标信息。
根据本申请的一个方面,提供了一种蓝牙广播的发送装置,所述装置包括:
发送模块,用于第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息;
其中,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息。
根据本申请的一个方面,提供了一种蓝牙广播的接收装置,所述装置包括:
接收模块,用于接收第一蓝牙设备发送的蓝牙广播同步信息,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息;
获取模块,用于第二蓝牙设备根据URL地址,获取目标信息。
根据本申请的一个方面,提供了一种第一蓝牙设备,所述第一蓝牙设备包括处理器和存储器,存储器中存储有至少一条程序代码,程序代码由处理器加载并执行以实现如上所述的蓝牙广播的发送方法。
根据本申请的一个方面,提供了一种第二蓝牙设备,所述第二蓝牙设备包括处理器和存储器,存储器中存储有至少一条程序代码,程序代码由处理器加载并执行以实现如上所述的蓝牙广播的接收方法。
根据本申请的一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,程序代码由处理器加载并执行以实现如上所述的蓝牙广播的发送方法,或者,如上所述的蓝牙广播的接收方法。
根据本申请的一个方面,提供了一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行以实现如上所述的蓝牙广播的发送方法,或者,如上所述的蓝牙广播的接收方法。
根据本申请的一个方面,提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,当芯片运行时,用于实现如上所述的蓝牙广播的发送方法,或者,如上所述的蓝牙广播的接收方法。
本申请实施例提供的技术方案至少包括如下有益效果:
第一蓝牙设备通过在蓝牙广播同步信息中携带URL地址,减小了信息长度,使得第二蓝牙设备根据URL地址能够获取到目标信息,从而保证了蓝牙广播中传输的数据信息的完整性。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个示例性实施例提供的蓝牙广播的传输过程示意图;
图2是本申请一个示例性实施例提供的一种帧结构的示意图;
图3是本申请一个示例性实施例提供的另一种帧结构的示意图;
图4是本申请一个示例性实施例提供的蓝牙广播的发送方法的流程图;
图5是本申请一个示例性实施例提供的蓝牙广播的发送方法的流程图;
图6是本申请一个示例性实施例提供的蓝牙广播的接收方法的流程图;
图7是本申请一个示例性实施例提供的蓝牙广播的数据传输的流程图;
图8是本申请一个示例性实施例提供的蓝牙广播的接收方法的流程图;
图9是本申请一个示例性实施例提供的蓝牙广播的数据传输的流程图;
图10是本申请一个示例性实施例提供的蓝牙广播的传输过程示意图;
图11是本申请一个示例性实施例提供的一种帧结构的示意图;
图12是本申请一个示例性实施例提供的另一种帧结构的示意图;
图13是本申请一个示例性实施例提供的蓝牙广播的发送装置的示意图;
图14是本申请一个示例性实施例提供的蓝牙广播的接收装置的示意图;
图15是本申请一个示例性实施例提供的蓝牙设备的示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
蓝牙技术是一种支持设备短距离通信的无线电技术,能够在蓝夜设备之间进行无线信息交换。其中,蓝牙设备可以是移动终端、智能手机、平板电脑、智能家电(比如智能音箱、智能冰箱、智能空调等)、可穿戴式智能设备(比如智能眼镜、智能手表等)、智能传感器(比如温度传感器、门窗传感器等),本申请实施例不对蓝牙设备的设备类型进行限定。
示例性的,蓝牙设备为蓝牙广播源设备和蓝牙广播接收端设备中的一种。其中,蓝牙广播源设备用于发送蓝牙广播的相关数据,蓝牙广播接收端设备用于接收源设备发送的蓝牙广播的相关数据,从而实现蓝牙通信。
示意性的,蓝牙广播通过广播包的传输来实现。
其中,广播包的协议数据单元(Protocol Data Unit,PDU)类型有多种,包括但不限于如下类型中的至少一种:广播扩展指示帧(Advertising Extension Indication,ADV_EXT_IND)、辅助广播指示帧(Auxilary Advertising Indication,AUX_ADV_IND)、辅助同步指示帧(Auxilary Synchronization Indication,AUX_SYNC_IND)和辅助链指示帧(Auxilary Chain Indication,AUX_CHAIN_IND)。
以第一蓝牙设备和第二蓝牙设备进行蓝牙广播的传输为例:第一蓝牙设备发送第一扩展广播包,比如AUX_SYNC_IND数据包,第一扩展广播包中携带有数据信息,第二蓝牙设备通过接收第一扩展广播包来获取数据信息。
在传输过程中,由于数据信息的长度较长,存在超出第一扩展广播包的最长单帧帧长的可能性,也即第一扩展广播包中无法携带数据信息的全部内容的可能性。基于此,需要增加一个或多个第二扩展广播包,比如AUX_CHAIN_IND数据包,将数据信息的剩余内容携带在第二扩展广播包中,以实现数据的完整发送。
参考图1,蓝牙广播的传输过程具体阐述如下:
蓝牙广播源设备发送ADV_EXT_IND数据包,ADV_EXT_IND数据包用于指示蓝牙广播接收端设备接收AUX_ADV_IND数据包;接收端设备在接收到 ADV_EXT_IND数据包后,获取到AUX_ADV_IND数据包的接收指令;随后,源设备发送AUX_ADV_IND数据包,AUX_ADV_IND数据包用于指示接收端设备接收AUX_SYNC_IND数据包;接收端在接收到AUX_ADV_IND数据包后,获取到AUX_SYNC_IND数据包的接收指令;随后,源设备发送AUX_SYNC_IND数据包,接收端接收AUX_SYNC_IND数据包。
其中,AUX_SYNC_IND的帧结构如图2所示。在该帧结构的有效荷载中包括四个字段,分别是广播数据信息(Advertising Data Information,ADI)、辅助指针(AuxilaryPtrl,Aux Ptr)、额外广播数据、广播数据(Advertising Data,Adv数据)。示意性的,Aux Ptr字段是可选字段,广播数据字段中携带有蓝牙广播音频流元数据(Broadcast Audio Stream Metadata)。
参考图1,在蓝牙广播音频流元数据的数据长度超过AUX_SYNC_IND的情况下,源设备可选地发送一个或多个AUX_CHAIN_IND,AUX_CHAIN_IND中携带有蓝牙广播音频流元数据的部分内容。
其中,AUX_CHAIN_IND的帧结构如图3所示。在该帧结构的有效荷载中包括三个字段,分别是ADI、Aux Ptr、广播数据。示意性的,ADI字段和Aux Ptr字段是可选字段。
示例性的,在蓝牙广播音频流元数据的数据长度超过AUX_SYNC_IND的最长单帧帧长时,蓝牙广播音频流元数据中超过AUX_SYNC_IND的最长单帧帧长的部分内容被携带在AUX_CHAIN_IND中,比如携带在AUX_CHAIN_IND的广播数据字段中;AUX_CHAIN_IND的ADI字段跟随AUX_SYNC_IND的ADI字段出现而出现;AUX_CHAIN_IND和AUX_SYNC_IND中包括的Aux Ptr字段在需要发送AUX_CHAIN_IND的情况下使用。
其中,Aux Ptr字段可参考如下表格的描述:
Figure PCTCN2021109951-appb-000001
示例性的,频道索引用于描述接收蓝牙广播的数据包的位置;辅助类型数据包偏移量用于描述接收数据包的时间点与当前时间的间隔量,该间隔量用偏移单位表示,比如,接收数据包的时间点与当前时间间隔2个偏移单位;辅助类型数据包物理层用于指示接收数据包物理层位置。
图4示出了本申请一个示例性实施例提供的蓝牙广播的发送方法的流程图,该方法应用于图1示出的蓝牙广播的传输过程中,该方法包括:
步骤102:第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息。
示意性的,蓝牙广播同步信息中包括统一资源定位器(Uniform Resource Locator,URL)地址,URL地址指向目标信息。
示例性的,第一蓝牙设备为蓝牙广播源设备,第二蓝牙设备为蓝牙广播接收端设备。比如,第一蓝牙设备是智能手机,第二蓝牙设备是平板电脑。
其中,蓝牙广播的数据类型包括但不限于如下类型中的至少一种:音频数据、视频数据。示例性的,本申请实施例涉及的蓝牙广播可以是蓝牙音频广播,也可以是支持增强现实(Augmented Reality,AR)、虚拟现实技术(Virtual Reality,VR)等的蓝牙视频广播。
URL地址是用于描述信息资源的字符串,根据URL地址可以获取到信息资源的位置和访问方法,根据一个URL地址可以唯一确定对应的信息。
示例性的,URL地址根据占用的字节大小可分为URL长地址和URL短地址,URL长地址占用的字节大于URL短地址占用的字节。
在一种可选的实施场景下,本申请实施例所涉及的URL地址可实现为URL短地址,用于减少蓝牙广播同步信息的长度。其中,URL短地址的格式、字节大小可根据协议标准或者实际需要来设定。
示例性的,URL地址指向的数据中携带有目标信息,其中,URL地址指向网页或者二维码中的至少一种。可选的,目标信息携带在URL地址指向的网页数据中。其中,网页数据中包括但不限于如下中的至少一种:文字信息、图片信息、音频信息、视频信息。比如,URL地址指向的网页数据中包括一首歌曲的文字信息、图片信息和音频信息,目标信息是歌曲的音频信息。
示意性的,蓝牙广播同步信息中包括如下中的至少一种:
·蓝牙广播服务的通用唯一标识码(Universally Unique Identifier,UUID)。
·广播ID(Broadcast_ID),用于识别指定的蓝牙广播音频数据流。
·蓝牙广播等时群组信息(Broadcast Isochronous Group Info,BIGInfo),用于进行蓝牙广播等时群组同步。
·蓝牙广播音频流元数据,用于进一步了解当前广播ID下的蓝牙广播音频流,例如音频流语种、节目信息等。
示例性的,蓝牙广播音频流元数据包括音频流语种和节目信息(ProgramInfo)中的至少一种。可选的,音频流语种包括语言(Language)和评级(Parental Rating)中的至少一种。
示例性的,蓝牙广播音频流元数据通过长度-类型-值(Length-Type-Value,LTV)的方式发送,语音、评级和节目信息的发送可参考如下三个表格:
表1语言
参数 大小(字节)
长度 1 0x04
类型 1 0x03
3 协议中定义的3字节语言代码
表2评级
参数 大小(字节)
长度 1 0x04
类型 1 0x03
1 代表上级评分的值
表3节目信息
参数 大小(字节)
长度 1 N+1
类型 1 0x05
N 标题和/或摘要
其中,语音、评级以及节目信息中分别涉及的参数可根据实际需要进行设定,或者根据蓝牙广播的协议标准进行设定。
在一种可选的实施场景下,蓝牙广播音频流元数据包括语音、评级和节目信息中的至少一种,语音、评级和节目信息中分别涉及的参数如表1-3所示。
需要注意的是,上述参数仅是一个示例性的举例,不对本申请构成限定。
URL地址指向的目标信息,可以是与蓝牙广播同步信息相关的信息,也可以是与蓝牙广播同步信息无关的信息。
示意性的,目标信息包括但不限于如下信息中的至少一种:UUID的相关信息、广播ID的相关信息、蓝牙广播等时群组信息的相关信息、蓝牙广播音频流元数据的相关信息。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
第一蓝牙设备向第二蓝牙设备发送的蓝牙广播同步信息中,URL地址指向蓝牙广播音频流的相关信息。比如,URL地址指向的网页数据中包括UUID、广播ID和蓝牙广播音频流元数据。
可选的,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。
示意性的,蓝牙广播音频流元数据包括音频流语种、节目信息等。
在一种可选的实施场景下,目标信息中包括蓝牙广播音频流的分享图形码。比如,第一蓝牙设备向第二蓝牙设备发送的蓝牙广播同步信息中,URL地址指向一个二维码,第二蓝牙设备可将该二维码分享给第三方设备,第三方设备可以是其他蓝牙设备。
根据步骤102,第二蓝牙设备能够获取到第一蓝牙设备发送的蓝牙广播同步信息,从而获取到URL地址;随后,第二蓝牙设备通过浏览器能够获取到URL 地址,并根据URL地址获取到目标信息。
以URL地址是短地址为例,第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息,该信息中携带有URL短地址;第二蓝牙设备在接收到该信息后,对URL短地址进行解析,并通过浏览器获取到URL短地址指向的网页数据,该网页数据中携带的目标信息包括唱片封面、歌词信息和音频信息。
在一种可选的实施场景下,蓝牙广播同步信息中可同时包括URL地址和蓝牙广播音频流元数据。其中,URL地址指向蓝牙广播音频流元数据的部分内容。比如,蓝牙广播音频流元数据包括音频流语种的全部内容和节目信息的部分内容,URL地址指向节目信息的剩余内容。
综上所述,本申请实施例提供的蓝牙广播的发送方法,第一蓝牙设备通过在蓝牙广播同步信息中携带URL地址,减小了信息长度,使得第二蓝牙设备根据URL地址能够获取到目标信息,从而保证了蓝牙广播中传输的数据信息的完整性。
图5示出了本申请一个示例性实施例提供的蓝牙广播的发送方法的流程图,该方法应用于图1示出的蓝牙广播的传输过程中,该方法包括:
步骤202:第一蓝牙设备向第二蓝牙设备发送扩展广播包。
示意性的,URL地址携带在扩展广播包中,URL地址指向目标信息。
示例性的,第一蓝牙设备为蓝牙广播源设备,第二蓝牙设备为蓝牙广播接收端设备。
示例性的,URL地址根据占用的字节大小可分为URL长地址和URL短地址。在一种可选的实施场景下,本申请实施例所涉及的URL地址可实现为URL短地址。URL地址的描述可参考前述内容,在此不再赘述。
URL地址指向的目标信息,可以是与蓝牙广播同步信息相关的信息,也可以是与蓝牙广播同步信息无关的信息。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
根据前述内容,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。可选的,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。可选的,目标信息中包括蓝牙广播音频流的分享图形码。
扩展广播包区别于主广播包,主广播包和扩展广播包所在的信道不同。其中,主广播包的PDU类型可选的是ADV_EXT_IND;扩展广播包的PDU类型包括但不限于如下中的至少一种:AUX_ADV_IND、AUX_SYNC_IND、AUX_CHAIN_IND。
在一种可选的实施场景下,扩展广播包的PDU类型是AUX_SYNC_IND。
可选的,扩展广播包是第一蓝牙设备周期性发送的。
比如,第一蓝牙设备周期性地发送AUX_SYNC_IND数据包。
根据扩展广播包的PDU类型的不同,URL地址所在的字段也不同。可选的,URL地址携带在扩展广播包的广播数据字段中。
根据前述内容,URL地址指向目标信息,基于此,扩展广播包的广播数据字段中携带的内容有如下可选的实现方式:
扩展广播包的广播数据字段携带有URL地址,URL地址指向:目标信息的全部内容;
或,扩展广播包的广播数据字段携带有URL地址和目标信息中的第一内容,URL地址指向:目标信息中除第一内容外的剩余内容。
以目标信息是蓝牙广播音频流的相关信息为例。
在目标信息包括蓝牙广播音频流元数据的全部内容的情况下,扩展广播包的广播数据字段中只携带有URL地址,其中,URL地址指向蓝牙广播音频流元数据的全部内容。
在目标信息包括蓝牙广播音频流元数据的部分内容的情况下,扩展广播包的广播数据字段中携带有蓝牙广播音频流元数据中的第一内容和URL地址,其中,URL地址指向蓝牙广播音频流元数据中除第一内容外的剩余内容。
根据步骤202,第二蓝牙设备能够获取到第一蓝牙设备发送的扩展广播包,从而获取到URL地址;随后,第二蓝牙设备通过浏览器能够获取到URL地址,并根据URL地址获取到目标信息。
以URL地址是短地址为例,第一蓝牙设备向第二蓝牙设备发送扩展广播包,该扩展广播包的PDU类型是AUX_SYNC_IND;且扩展广播包的广播数据字段中携带有URL短地址,该URL短地址指向的目标信息包括蓝牙广播音频流元数据的部分内容。第二蓝牙设备在接收到AUX_SYNC_IND数据包后,对URL短地址进行解析,第二蓝牙设备可以获取到URL短地址指向的网页数据,从而获取到蓝牙广播音频流元数据的部分内容。
在一种可选的实施场景下,扩展广播包中可同时包括URL地址和蓝牙广播音频流元数据。其中,URL地址指向蓝牙广播音频流元数据的部分内容。比如,蓝牙广播音频流元数据包括音频流语种和节目信息的部分内容,URL地址指向节目信息的剩余内容。
综上所述,本申请实施例提供的蓝牙广播的发送方法,给出了URL地址的具体发送方式,第一蓝牙设备可以通过向第二蓝牙设备发送扩展广播包的方式携带URL地址,从而使得第二蓝牙设备获取到目标信息。
图6示出了本申请一个示例性实施例提供的蓝牙广播的接收方法的流程图,该方法应用于图1示出的蓝牙广播的传输过程中,该方法包括:
步骤302:第二蓝牙设备接收第一蓝牙设备发送的蓝牙广播同步信息。
示意性的,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息。
示例性的,第一蓝牙设备为蓝牙广播源设备,第二蓝牙设备为蓝牙广播接收端设备。
示意性的,蓝牙广播同步信息中包括如下中的至少一种:蓝牙广播服务的UUID、广播ID、蓝牙广播等时群组信息、蓝牙广播音频流元数据。其中,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。关于蓝牙广播同步信息的描述可参考前述内容,在此不再赘述。
示例性的,URL地址根据占用的字节大小可分为URL长地址和URL短地址,URL长地址占用的字节大于URL短地址占用的字节。在一种可选的实施场景下,本申请实施例所涉及的URL地址可实现为URL短地址。URL地址的描述可参考前述内容,在此不再赘述。
URL地址指向的目标信息,可以是与蓝牙广播同步信息相关的信息,也可以是与蓝牙广播同步信息无关的信息。
示意性的,目标信息包括但不限于如下信息中的至少一种:UUID的相关信息、广播ID的相关信息、蓝牙广播等时群组信息的相关信息、蓝牙广播音频流元数据的相关信息。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
第一蓝牙设备向第二蓝牙设备发送的蓝牙广播同步信息中,URL地址指向蓝牙广播音频流的相关信息。比如,URL地址指向UUID、广播ID和蓝牙广播音频流元数据中的至少一种。
可选的,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。
根据前述内容,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。基于此,目标信息中包括音频流语种和节目信息中的至少一种。
在一种可选的实施场景下,目标信息中包括蓝牙广播音频流的分享图形码。比如,第一蓝牙设备向第二蓝牙设备发送的蓝牙广播同步信息中,URL地址指向二维码,该二维码用于分享蓝牙广播音频流。
步骤304:第二蓝牙设备根据URL地址,获取目标信息。
根据前述内容,URL地址指向目标信息。
第二蓝牙设备在接收到第一蓝牙设备发送的蓝牙广播同步信息后,可以获取到信息中携带的URL地址。
在一种可选的实施场景下,URL地址指向的数据中携带有目标信息。其中,URL指向的网页或者二维码中的至少一种。示例性的,目标信息携带在URL指向的网页数据中。
示意性的,步骤304可实现为如下:
第二蓝牙设备通过浏览器获取URL地址指向的网页数据;
第二蓝牙设备从网页数据中获取目标信息。
示例性的,第二蓝牙设备在接收到第一蓝牙设备发送的蓝牙广播同步信息后,可以获取到URL地址,通过对URL地址的解析,第二蓝牙设备能够通过设备上的浏览器获取到URL地址指向的网页数据,随后,第二蓝牙设备从网络数据中获取目标信息。
以目标信息包括蓝牙广播音频流元数据中的全部内容和蓝牙广播音频流的分享图形码为例。第一蓝牙设备向向第二蓝牙设备发送蓝牙广播同步信息,该信息中携带有URL短地址,该URL短地址指向的网页数据中包括上述目标信息。第二蓝牙设备通过扫描获取到蓝牙广播同步信息,随后对URL短地址进行解析,并通过浏览器获取到URL短地址指向的网页数据。基于此,第二蓝牙设备能够获取到蓝牙广播音频流元数据中的全部内容和蓝牙广播音频流的分享图形码,随后,第二蓝牙设备可以将分享图形码发送给第三方设备,第三方设备可以是其他蓝牙设备。
图7示出了本申请一个示例性实施例提供的蓝牙广播的数据传输的流程图,应用于图1示出的蓝牙广播的传输过程中,数据传输包括:
步骤402:第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息。
示意性的,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息。
示例性的,第一蓝牙设备为蓝牙广播源设备,第二蓝牙设备为蓝牙广播接收端设备。
示意性的,蓝牙广播同步信息中包括如下中的至少一种:蓝牙广播服务的UUID、广播ID、蓝牙广播等时群组信息、蓝牙广播音频流元数据。其中,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。关于蓝牙广播同步信息的描述可参考前述内容,在此不再赘述。
在一种可选的实施场景下,本申请实施例所涉及的URL地址可实现为URL短地址。URL地址指向目标信息,可以是与蓝牙广播同步信息相关的信息,也可以是与蓝牙广播同步信息无关的信息。
可选的,目标信息是蓝牙广播音频流的相关信息。根据前述内容,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。可选的,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。可选的,目标信息中包括蓝牙广播音频流的分享图形码。
步骤404:第二蓝牙设备接收第一蓝牙设备发送的蓝牙广播同步信息。
示意性的,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息。
步骤404与步骤302相同,可作参考,在此不再赘述。
步骤406:第二蓝牙设备根据URL地址,获取目标信息。
根据前述内容,URL地址指向目标信息。
第二蓝牙设备在接收到第一蓝牙设备发送的蓝牙广播同步信息后,可以获取到信息中携带的URL地址。
步骤406与步骤304相同,可作参考,在此不再赘述。
综上所述,本申请实施例提供的蓝牙广播的接收方法,第一蓝牙设备通过在蓝牙广播同步信息中携带URL地址,减小了信息长度,使得第二蓝牙设备根据URL地址能够获取到目标信息,从而保证了蓝牙广播中传输的数据信息的完整性。
图8示出了本申请一个示例性实施例提供的蓝牙广播的接收方法的流程图,该方法应用于图1示出的蓝牙广播的传输过程中,该方法包括:
步骤502:第二蓝牙设备接收第一蓝牙设备发送的扩展广播包。
示意性的,URL地址携带在扩展广播包中,URL地址指向目标信息。
示例性的,第一蓝牙设备为蓝牙广播源设备,第二蓝牙设备为蓝牙广播接收端设备。
示例性的,URL地址根据占用的字节大小可分为URL长地址和URL短地址。在一种可选的实施场景下,本申请实施例所涉及的URL地址可实现为URL短地址。URL地址的描述可参考前述内容,在此不再赘述。
URL地址指向的目标信息,可以是与蓝牙广播同步信息相关的信息,也可以是与蓝牙广播同步信息无关的信息。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
根据前述内容,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。可选的,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。可选的,目标信息中包括蓝牙广播音频流的分享图形码。
扩展广播包区别于主广播包,主广播包和扩展广播包所在的物理层不同。其中,扩展广播包的PDU类型包括但不限于如下中的至少一种:AUX_ADV_IND、AUX_SYNC_IND、AUX_CHAIN_IND。
在一种可选的实施场景下,扩展广播包的PDU类型是AUX_SYNC_IND。
可选的,扩展广播包是第一蓝牙设备周期性发送的。
根据前述内容,URL地址指向目标信息,基于此,扩展广播包的广播数据字段中携带的内容有如下可选的实现方式:
扩展广播包的广播数据字段携带有URL地址,URL地址指向:目标信息的全部内容;
或,扩展广播包的广播数据字段携带有URL地址和目标信息中的第一内容, URL地址指向:目标信息中除第一内容外的剩余内容。
以目标信息是蓝牙广播音频流的相关信息为例。
在目标信息包括蓝牙广播音频流元数据的全部内容的情况下,扩展广播包的广播数据字段中只携带有URL地址,其中,URL地址指向包括蓝牙广播音频流元数据的全部内容。
在目标信息包括蓝牙广播音频流元数据的部分内容的情况下,扩展广播包的广播数据字段中携带有蓝牙广播音频流元数据中的第一内容和URL地址,其中,URL地址指向蓝牙广播音频流元数据中除第一内容外的剩余内容。
步骤504:第二蓝牙设备根据URL地址,获取目标信息。
根据前述内容,URL地址指向目标信息。
第二蓝牙设备在接收到第一蓝牙设备发送的扩展广播包后,可以获取到信息中携带的URL地址。
根据步骤502,第二蓝牙设备能够获取到第一蓝牙设备发送的扩展广播包,从而获取到URL地址;随后,第二蓝牙设备通过浏览器能够获取到URL地址,并根据URL地址获取到目标信息。
在一种可选的实施场景下,扩展广播包中可同时包括URL地址和蓝牙广播音频流元数据。其中,URL地址指向蓝牙广播音频流元数据的部分内容。
示意性的,步骤502与步骤304类似,可作参考,在此不再赘述。
以蓝牙广播的数据通过广播包发送为例,图9和图10示出了本申请一个示例性实施例提供的蓝牙广播的数据传输的流程图,应用于图1示出的蓝牙广播的传输过程中。
其中,广播包的PDU类型包括如下中的至少一种:ADV_EXT_IND、辅助扩展指示帧(Auxilary Extension Indication,AUX_EXT_IND)和AUX_SYNC_IND,蓝牙广播同步信息携带在AUX_SYNC_IND数据包中。示意性的,本申请实施例提供的蓝牙广播的数据传输包括:
步骤602:第一蓝牙设备向第二蓝牙设备发送ADV_EXT_IND数据包。
示意性的,ADV_EXT_IND数据包用于指示第二蓝牙设备接收AUX_EXT_IND数据包。
其中,AUX_EXT_IND的帧结构如图11所示,在该帧结构的有效荷载中包括三个字段,分别是广播数据、ADI和Aux Ptr。
可选的,AUX_EXT_IND数据包的Aux Ptr字段中携带有第一指示信息,第一指示信息用于指示AUX_EXT_IND数据包出现的时间、信道和物理层。
示例性的,第一蓝牙设备为蓝牙广播源设备,第二蓝牙设备为蓝牙广播接收端设备。
步骤603:第二蓝牙设备接收ADV_EXT_IND数据包。
根据步骤602,第二蓝牙设备通过扫描可以接收到第一蓝牙设备发送的ADV_EXT_IND数据包。
在一种可选的实施场景下,第二蓝牙设备接收到ADV_EXT_IND数据包后,获取到第一指示信息,第一指示信息用于指示AUX_EXT_IND数据包的相关信息,包括但不限于AUX_EXT_IND数据包出现的时间、信道和物理层。
步骤604:第一蓝牙设备向第二蓝牙设备发送AUX_EXT_IND数据包。
示意性的,AUX_EXT_IND数据包用于指示第二蓝牙设备接收AUX_SYNC_IND数据包。
其中,AUX_EXT_IND的帧结构如图12所示,在该帧结构的有效荷载中包括三个字段,分别是ADI、同步信息(Synclnfo)和广播数据。
可选的,AUX_EXT_IND数据包的同步信息字段中携带有第二指示信息,第二指示信息用于指示AUX_SYNC_IND数据包的相关信息,包括但不限于AUX_SYNC_IND数据包出现的时间、信道、物理层和发送周期。
步骤605:第二蓝牙设备接收AUX_EXT_IND数据包。
根据步骤604,第二蓝牙设备通过扫描可以接收到第一蓝牙设备发送的AUX_EXT_IND数据包。
在一种可选的实施场景下,第二蓝牙设备接收到AUX_EXT_IND数据包后,获取到第二指示信息,第二指示信息用于指示AUX_SYNC_IND数据包出现的时间、信道、物理层和发送周期。
步骤606:第一蓝牙设备向第二蓝牙设备发送AUX_SYNC_IND数据包。
示意性的,AUX_SYNC_IND数据包中包括URL地址,URL地址指向目标信息。
其中,URL地址根据占用的字节大小可分为URL长地址和URL短地址,URL长地址占用的字节大于URL短地址占用的字节。在一种可选的实施场景下,本申请实施例所涉及的URL地址可实现为URL短地址。
URL地址指向的目标信息,可以是与蓝牙广播同步信息相关的信息,也可以是与蓝牙广播同步信息无关的信息。
可选的,目标信息携带在URL地址指向的网页数据中。
示意性的,目标信息包括但不限于如下信息中的至少一种:UUID的相关信息、广播ID的相关信息、蓝牙广播等时群组信息的相关信息、蓝牙广播音频流元数据的相关信息。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
根据前述内容,目标信息可选地包括:蓝牙广播音频流元数据中的全部或部分内容。其中,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少 一种。另外,目标信息中可选地包括蓝牙广播音频流的分享图形码。
步骤607:第二蓝牙设备接收AUX_SYNC_IND数据包。
根据步骤606,第二蓝牙设备通过扫描可以接收到第一蓝牙设备发送的AUX_SYNC_IND数据包。
在一种可选的实施场景下,第二蓝牙设备接收到AUX_SYNC_IND数据包后,获取到URL地址。
参考图10,蓝牙广播的传输过程中,存在如下可选的传输方式:
如图10中的左侧组图所示,第一蓝牙设备发送ADV_EXT_IND数据包,ADV_EXT_IND数据包用于指示第二蓝牙设备接收AUX_EXT_IND数据包;第二蓝牙设备在接收到ADV_EXT_IND数据包后,获取到AUX_EXT_IND数据包的接收指令;随后,第一蓝牙设备发送AUX_EXT_IND数据包,AUX_EXT_IND数据包用于指示第二蓝牙设备接收AUX_SYNC_IND数据包;第二蓝牙设备在接收到AUX_ADV_IND数据包后,对AUX_ADV_IND数据包进行拆包,得到多个广播同步流音频包(Broadcast Isochronous Stream Audio Packet,BIS Audio Packet)。
示例性的,AUX_ADV_IND数据包中携带有URL地址,URL地址指向目标信息,该目标信息是蓝牙广播的传输数据的部分或全部内容。第二蓝牙设备对AUX_ADV_IND数据包进行拆包后,即可得到蓝牙广播的部分或全部内容。
可选的,AUX_ADV_IND数据包中还携带有AUX_SYNC_IND数据包的接收信息,第二蓝牙设备可以据此接收AUX_SYNC_IND数据包。示意性的,第二蓝牙设备也可以对AUX_SYNC_IND数据包进行拆包。
在第二蓝牙设备接收AUX_SYNC_IND数据包的情况下,第二蓝牙设备对AUX_ADV_IND数据包和AUX_SYNC_IND数据包分别进行拆包,从而得到多个广播同步流音频包以形成蓝牙广播的传输数据的全部内容。
在第二蓝牙设备不接收AUX_SYNC_IND数据包的情况下,蓝牙广播的传输方式如图10中的右侧组图所示。
步骤608:第二蓝牙设备根据URL地址,获取目标信息。
根据前述内容,URL地址指向目标信息。
第二蓝牙设备在接收到第一蓝牙设备发送的蓝牙广播同步信息后,可以获取到信息中携带的URL地址。
步骤608与步骤304相同,可作参考,在此不再赘述。
综上所述,本申请实施例提供的蓝牙广播的接收方法,给出了URL地址的具体发送方式,第一蓝牙设备可以通过向第二蓝牙设备发送扩展广播包的方式携带URL地址,从而使得第二蓝牙设备获取到目标信息。
图13示出了另一个示例性实施例提供的的蓝牙广播的发送装置结构示意图,该装置可以实现为第一蓝牙设备或者第一蓝牙设备中的一部分,该装置包括:
发送模块1320,用于向第二蓝牙设备发送蓝牙广播同步信息;
其中,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息。
在一种可选的实施场景下,所述发送模块1320,用于向第二蓝牙设备发送蓝牙广播的扩展广播包,URL地址携带在扩展广播包中。
在一种可选的实施场景下,扩展广播包的广播数据字段携带有URL地址,URL地址指向:目标信息的全部内容;或,扩展广播包的广播数据字段携带有URL地址和目标信息中的第一内容,URL地址指向:目标信息中除第一内容外的剩余内容。
在一种可选的实施场景下,扩展广播包的PDU类型是AUX_SYNC_IND。
在一种可选的实施场景下,扩展广播包是周期性发送的。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
在一种可选的实施场景下,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。
在一种可选的实施场景下,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。
在一种可选的实施场景下,目标信息中包括蓝牙广播音频流的分享图形码。
图14示出了另一个示例性实施例提供的的蓝牙广播的接收装置结构示意图,该装置可以实现为第二蓝牙设备或者第二蓝牙设备中的一部分,该装置包括:
接收模块1420,用于接收第一蓝牙设备发送的蓝牙广播同步信息,蓝牙广播同步信息中包括URL地址,URL地址指向目标信息;
获取模块1440,用于根据URL地址,获取目标信息。
在一种可选的实施场景下,所述接收模块1420,用于接收第一蓝牙设备发送的蓝牙广播的扩展广播包,URL地址携带在扩展广播包中。
在一种可选的实施场景下,扩展广播包的广播数据字段携带有URL地址,URL地址指向:目标信息的全部内容;或,扩展广播包的广播数据字段携带有URL地址和目标信息中的第一内容,URL地址指向:目标信息中除第一内容外的剩余内容。
在一种可选的实施场景下,扩展广播包的PDU类型是AUX_SYNC_IND。
在一种可选的实施场景下,扩展广播包是周期性发送的。
在一种可选的实施场景下,目标信息是蓝牙广播音频流的相关信息。
在一种可选的实施场景下,目标信息包括:蓝牙广播音频流元数据中的全部或部分内容。
在一种可选的实施场景下,蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。
在一种可选的实施场景下,目标信息中包括蓝牙广播音频流的分享图形码。
在一种可选的实施场景下,所述获取模块1440,用于通过浏览器获取URL地址指向的网页数据;从网页数据中获取目标信息。
图15示出了本申请一个示例性实施例提供的蓝牙设备(第一蓝牙设备或第二蓝牙设备)的结构示意图,该通信设备包括:处理器1501、接收器1502、发射器1503、存储器1504和总线1505。
处理器1501包括一个或者一个以上处理核心,处理器1501通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。
接收器1502和发射器1503可以实现为一个通信组件,该通信组件可以是一块通信芯片。
存储器1504通过总线1505与处理器1501相连。
存储器1504可用于存储至少一个指令,处理器1501用于执行该至少一个指令,以实现上述方法实施例中提到的蓝牙广播的发送方法或者接收方法的各个步骤。
此外,存储器1504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(Electrically-Erasable Programmable Read Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM),静态随时存取存储器(Static Random Access Memory,SRAM),只读存储器(Read-Only Memory,ROM),磁存储器,快闪存储器,可编程只读存储器(Programmable Read-Only Memory,PROM)。
根据本申请的一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,程序代码由处理器加载并执行以实现如上所述的蓝牙广播的发送方法,或者,如上所述的蓝牙广播的接收方法。
根据本申请的一个方面,提供了一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行以实现如上所述的蓝牙广播的发送方法,或者,如上所述的蓝牙广播的接收方法。
根据本申请的一个方面,提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,当芯片运行时,用于实现如上所述的蓝牙广播的发送方法,或者,如上所述的蓝牙广播的接收方法。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的 精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (27)

  1. 一种蓝牙广播的发送方法,其特征在于,所述方法包括:
    第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息;
    其中,所述蓝牙广播同步信息中包括统一资源定位器URL地址,所述URL地址指向目标信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一蓝牙设备向第二蓝牙设备发送蓝牙广播同步信息,包括:
    所述第一蓝牙设备向所述第二蓝牙设备发送蓝牙广播的扩展广播包,所述URL地址携带在所述扩展广播包中。
  3. 根据权利要求2所述的方法,其特征在于,
    所述扩展广播包的广播数据字段携带有所述URL地址,所述URL地址指向:所述目标信息的全部内容;
    或,
    所述扩展广播包的广播数据字段携带有所述URL地址和所述目标信息中的第一内容,所述URL地址指向:所述目标信息中除所述第一内容外的剩余内容。
  4. 根据权利要求2所述的方法,其特征在于,所述扩展广播包的协议数据单元PDU类型是辅助同步指示帧AUX_SYNC_IND。
  5. 根据权利要求2所述的方法,其特征在于,所述扩展广播包是周期性发送的。
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述目标信息是蓝牙广播音频流的相关信息。
  7. 根据权利要求6所述的方法,其特征在于,所述目标信息包括:所述蓝牙广播音频流元数据中的全部或部分内容。
  8. 根据权利要求7所述的方法,其特征在于,
    所述蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。
  9. 根据权利要求6所述的方法,其特征在于,所述目标信息中包括所述蓝牙广播音频流的分享图形码。
  10. 一种蓝牙广播的接收方法,其特征在于,所述方法包括:
    第二蓝牙设备接收第一蓝牙设备发送的蓝牙广播同步信息,所述蓝牙广播同步信息中包括统一资源定位器URL地址,所述URL地址指向目标信息;
    所述第二蓝牙设备根据所述URL地址,获取所述目标信息。
  11. 根据权利要求10所述的方法,其特征在于,所述第二蓝牙设备接收第一蓝牙设备发送的蓝牙广播同步信息,包括:
    所述第二蓝牙设备接收所述第一蓝牙设备发送的蓝牙广播的扩展广播包,所述URL地址携带在所述扩展广播包中。
  12. 根据权利要求11所述的方法,其特征在于,
    所述扩展广播包的广播数据字段携带有所述URL地址,所述URL地址指向:所述目标信息的全部内容;
    或,
    所述扩展广播包的广播数据字段携带有所述URL地址和所述目标信息中的第一内容,所述URL地址指向:所述目标信息中除所述第一内容外的剩余内容。
  13. 根据权利要求11所述的方法,其特征在于,所述扩展广播包的协议数据单元PDU类型是辅助同步指示帧AUX_SYNC_IND。
  14. 根据权利要求11所述的方法,其特征在于,所述扩展广播包是周期性发送的。
  15. 根据权利要求10至14任一所述的方法,其特征在于,所述目标信息是蓝牙广播音频流的相关信息。
  16. 根据权利要求15所述的方法,其特征在于,所述目标信息包括:所述蓝牙广播音频流元数据中的全部或部分内容。
  17. 根据权利要求16所述的方法,其特征在于,
    所述蓝牙广播音频流元数据包括音频流语种和节目信息中的至少一种。
  18. 根据权利要求15所述的方法,其特征在于,所述目标信息中包括所述蓝牙广播音频流的分享图形码。
  19. 根据权利要求10至14任一所述的方法,其特征在于,所述第二蓝牙设备根据所述URL地址,获取所述目标信息,包括:
    所述第二蓝牙设备通过浏览器获取所述URL地址指向的网页数据;
    所述第二蓝牙设备从所述网页数据中获取所述目标信息。
  20. 一种蓝牙广播的发送装置,其特征在于,所述装置包括:
    发送模块,用于向第二蓝牙设备发送蓝牙广播同步信息;
    其中,所述蓝牙广播同步信息中包括统一资源定位器URL地址,所述URL地址指向有目标信息。
  21. 一种蓝牙广播的接收装置,其特征在于,所述装置包括:
    接收模块,用于接收第一蓝牙设备发送的蓝牙广播同步信息,所述蓝牙广播同步信息中包括统一资源定位器URL地址,所述URL地址指向目标信息;
    获取模块,用于根据所述URL地址,获取所述目标信息。
  22. 一种第一蓝牙设备,其特征在于,所述第一蓝牙设备包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述程序代码由所述处理器加载并执行以实现如权利要求1至9任一项所述的蓝牙广播的发送方法。
  23. 一种第二蓝牙设备,其特征在于,所述第二蓝牙设备包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述程序代码由所述处理器加载并执行以实现如权利要求10至19任一项所述的蓝牙广播的接收方法。
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条程序代码,所述程序代码由处理器加载并执行以实现如权利要求1至9任一项所述的蓝牙广播的发送方法,或者,如权利要求10至19任一项所述的蓝牙广播的接收方法。
  25. 一种计算机程序,其特征在于,所述计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,处理器执行所述计算机指令,使得所述计算机设备执行以实现如权利要求1至9任一项所述的蓝牙广播的发送方法,或者,如权利要求10至19任一项所述的蓝牙广播的接收方法。
  26. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,处理器执行所述计算机指令,使得所述计算机设备执行以实现如权利要求1至9任一项所述的蓝牙广播的发送方法,或者,如权利要求10至19任一项所述的蓝牙广播的接收方法。
  27. 一种芯片,其特征在于,所述芯片包括可编程逻辑电路和/或程序指令,当芯片运行时,用于实现如权利要求1至9任一项所述的蓝牙广播的发送方法,或者,如权利要求10至19任一项所述的蓝牙广播的接收方法。
PCT/CN2021/109951 2021-08-01 2021-08-01 蓝牙广播的发送方法、接收方法、装置、设备及介质 WO2023010237A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21952147.3A EP4358547A1 (en) 2021-08-01 2021-08-01 Sending method, receiving method and apparatuses for bluetooth broadcasting, devices and medium
CN202180100456.3A CN117652162A (zh) 2021-08-01 2021-08-01 蓝牙广播的发送方法、接收方法、装置、设备及介质
PCT/CN2021/109951 WO2023010237A1 (zh) 2021-08-01 2021-08-01 蓝牙广播的发送方法、接收方法、装置、设备及介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/109951 WO2023010237A1 (zh) 2021-08-01 2021-08-01 蓝牙广播的发送方法、接收方法、装置、设备及介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/398,803 Continuation US20240137954A1 (en) 2023-12-28 Sending method, receiving method for bluetooth broadcasting, and device

Publications (1)

Publication Number Publication Date
WO2023010237A1 true WO2023010237A1 (zh) 2023-02-09

Family

ID=85154018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109951 WO2023010237A1 (zh) 2021-08-01 2021-08-01 蓝牙广播的发送方法、接收方法、装置、设备及介质

Country Status (3)

Country Link
EP (1) EP4358547A1 (zh)
CN (1) CN117652162A (zh)
WO (1) WO2023010237A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018481A (zh) * 2017-04-28 2017-08-04 北京萤芯科技有限公司 一种基于BLE5的Beacon广播方法和装置
CN107071711A (zh) * 2017-04-12 2017-08-18 安徽华米信息科技有限公司 多媒体共享方法、装置及蓝牙设备
CN108781473A (zh) * 2016-12-12 2018-11-09 华为技术有限公司 一种在不同终端间共享文件的方法及设备
WO2019021048A1 (en) * 2017-07-24 2019-01-31 Yogesh Chunilal Rathod EPHEMER CONTENT SHARING AND USER CONNECTION BASED ON SINGLE LINK SHARING FROM 3R PART APPLICATIONS AND STORING AND ASSOCIATING A SINGLE CODE OR IDENTITY OF A USER SHARING A LINK WITH A USER ACCESSING A LINK

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108781473A (zh) * 2016-12-12 2018-11-09 华为技术有限公司 一种在不同终端间共享文件的方法及设备
CN107071711A (zh) * 2017-04-12 2017-08-18 安徽华米信息科技有限公司 多媒体共享方法、装置及蓝牙设备
CN107018481A (zh) * 2017-04-28 2017-08-04 北京萤芯科技有限公司 一种基于BLE5的Beacon广播方法和装置
WO2019021048A1 (en) * 2017-07-24 2019-01-31 Yogesh Chunilal Rathod EPHEMER CONTENT SHARING AND USER CONNECTION BASED ON SINGLE LINK SHARING FROM 3R PART APPLICATIONS AND STORING AND ASSOCIATING A SINGLE CODE OR IDENTITY OF A USER SHARING A LINK WITH A USER ACCESSING A LINK

Also Published As

Publication number Publication date
EP4358547A1 (en) 2024-04-24
CN117652162A (zh) 2024-03-05

Similar Documents

Publication Publication Date Title
US8774225B2 (en) Mapping service components in a broadcast environment
KR102249788B1 (ko) Mmt 및 dash를 이용한 브로드캐스트 및 브로드밴드 하이브리드 서비스
JP2018148577A (ja) ダウンローディング及びストリーミングをサポートするパケットの送信装置
KR20150068308A (ko) 이동 단말 상에 검색 결과를 표시하기 위한 방법 및 장치
US10567455B2 (en) Reception device, reception method, transmission device, and transmission method
US11349756B2 (en) Apparatus and method for transmitting and receiving signal in multimedia system
CN110740481B (zh) 基于服务质量的数据处理方法、设备和计算机存储介质
EP3062521B1 (en) Reception apparatus, reception method, transmission apparatus, and transmission method for services transmitted on a broadcast wave using ip packets
CN110545472B (zh) 视频数据的处理方法、装置、电子设备及计算机可读介质
EP3522546A1 (en) Epg information extension method and device, and computer readable storage medium
CN107787586B (zh) 用于在多媒体系统中发送和接收信号的方法和装置
US9578397B2 (en) Media file format, system, and method
CN110489474B (zh) 一种数据处理的方法、装置、介质和电子设备
CN101695124B (zh) 马赛克节目导航方法
WO2023010237A1 (zh) 蓝牙广播的发送方法、接收方法、装置、设备及介质
CN108810575B (zh) 一种发送目标视频的方法和装置
US20240137954A1 (en) Sending method, receiving method for bluetooth broadcasting, and device
US20160092461A1 (en) Inline keyed metadata
CN118018964A (zh) 蓝牙广播的发送方法、接收方法、装置、设备及介质
KR101532877B1 (ko) 무선 공유기를 통해 사용자 단말에 광고를 제공하는 시스템 및 광고 서비스 제공 서버
CN112243159A (zh) 基于dvb的数据处理、读取方法及服务器、终端以及系统
KR102344599B1 (ko) 멀티미디어 시스템에서 미디어 콘텐츠에 관련된 정보를 송/수신하는 장치 및 방법
KR102465142B1 (ko) 멀티미디어 시스템에서 신호를 송신 및 수신하는 장치 및 방법
KR20180105052A (ko) 유니캐스트 기반 멀티미디어 서비스 제공 방법 및 장치
CN115225586A (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: 21952147

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2021952147

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2021952147

Country of ref document: EP

Effective date: 20240115

NENP Non-entry into the national phase

Ref country code: DE