WO2024001384A1 - Bluetooth multimedia packet transmission method and apparatus, device and system - Google Patents

Bluetooth multimedia packet transmission method and apparatus, device and system Download PDF

Info

Publication number
WO2024001384A1
WO2024001384A1 PCT/CN2023/086240 CN2023086240W WO2024001384A1 WO 2024001384 A1 WO2024001384 A1 WO 2024001384A1 CN 2023086240 W CN2023086240 W CN 2023086240W WO 2024001384 A1 WO2024001384 A1 WO 2024001384A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
multimedia
bluetooth device
component
bandwidth
Prior art date
Application number
PCT/CN2023/086240
Other languages
French (fr)
Chinese (zh)
Inventor
颜廷管
余庆华
杨建新
王泷
Original Assignee
哲库科技(上海)有限公司
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 哲库科技(上海)有限公司 filed Critical 哲库科技(上海)有限公司
Publication of WO2024001384A1 publication Critical patent/WO2024001384A1/en

Links

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
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • Embodiments of the present application relate to the field of Bluetooth, and in particular to a transmission method, device, equipment and system for Bluetooth multimedia packets.
  • TWS Bluetooth headsets With the explosive growth and popularity of True Wireless Studio (TWS) Bluetooth headsets, it has become very popular and common for consumers to use TWS Bluetooth headsets in their lives and work. Such as listening to music and making phone calls.
  • TWS Bluetooth headsets such as listening to music and making phone calls.
  • TWS Bluetooth headset Taking listening to music as an example, consumers use their mobile phones to establish Bluetooth connections with TWS Bluetooth headsets.
  • the mobile phone sends the Bluetooth audio packet to the TWS Bluetooth headset, and the TWS Bluetooth headset decodes the Bluetooth audio packet and plays it.
  • Embodiments of the present application provide a Bluetooth multimedia packet transmission method, device, equipment and system, which can realize sharing and playing of Bluetooth multimedia packets among multiple Bluetooth devices.
  • the technical solutions are as follows:
  • embodiments of the present application provide a method for transmitting Bluetooth multimedia packets.
  • the method is executed by a Bluetooth device.
  • the method includes:
  • inventions of the present application provide a device for transmitting Bluetooth multimedia packets.
  • the device includes:
  • a Bluetooth device which includes: a Bluetooth component
  • the Bluetooth component is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and send the Bluetooth multimedia packet to the next Bluetooth device.
  • inventions of the present application provide a Bluetooth multimedia packet transmission system.
  • the system includes: a main Bluetooth device and at least two Bluetooth devices.
  • the at least two Bluetooth devices use a chain transmission path to share data from the Bluetooth device.
  • Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and send the Bluetooth multimedia packet to the next Bluetooth device. Bag;
  • the previous Bluetooth device is located before the Bluetooth device in the chain transmission path; and the next Bluetooth device is located after the Bluetooth device in the chain transmission path.
  • embodiments of the present application provide a Bluetooth chip, and a Bluetooth device installed with the Bluetooth chip is used to perform the Bluetooth multimedia packet transmission method as described above.
  • embodiments of the present application provide a computer storage medium that stores a computer program, and the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia packet transmission method as described above.
  • embodiments of the present application provide a computer program product, the computer program product stores a computer program, and the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia packet transmission method as described above.
  • the current Bluetooth device receives the Bluetooth multimedia sent by the main Bluetooth device or the previous Bluetooth device. Packet; sends a Bluetooth multimedia packet to the next Bluetooth device, so that at least two Bluetooth devices use a chain transmission path to share the Bluetooth multimedia packet from the main Bluetooth device, which not only enables multiple Bluetooth devices to share and play the same Bluetooth multimedia packet. This solution can also try to ensure that the bandwidth used by each Bluetooth device is maximized.
  • Figure 1 shows a schematic diagram of one-to-many sharing of Bluetooth multimedia packets according to an exemplary embodiment of the present application
  • Figure 2 shows a schematic diagram of the transmission of Bluetooth multimedia packets based on a chain propagation path according to an exemplary embodiment of the present application
  • Figure 3 is a schematic diagram of the transmission of Bluetooth multimedia packets based on a chain propagation path according to an exemplary embodiment of the present application
  • Figure 4 is a flow chart of a Bluetooth multimedia packet transmission method illustrated in an exemplary embodiment of the present application.
  • Figure 5 is a schematic diagram of the transmission of Bluetooth multimedia packets based on a chain propagation path according to an exemplary embodiment of the present application
  • Figure 6 is a schematic diagram of a control link and a data link between a master Bluetooth device and at least two Bluetooth devices according to an exemplary embodiment of the present application;
  • Figure 7 is a schematic diagram of a Bluetooth multimedia packet playback method in a song playback scenario according to an exemplary embodiment of the present application
  • Figure 8 is a schematic diagram of a method for playing Bluetooth multimedia packets in a VR game scenario according to an exemplary embodiment of the present application
  • Figure 9 is a flow chart of a Bluetooth multimedia packet transmission/playback method according to an exemplary embodiment of the present application.
  • Figure 10 is a schematic diagram of a one-to-many Bluetooth sharing playback scenario according to an exemplary embodiment of the present application.
  • Figure 11 is a schematic diagram of a one-to-many Bluetooth sharing playback scenario according to an exemplary embodiment of the present application.
  • Figure 12 is a schematic diagram of a Bluetooth device shown in an exemplary embodiment of the present application.
  • Figure 13 shows a block diagram of a Bluetooth device or a first Bluetooth sub-device or a second Bluetooth sub-device according to an exemplary embodiment of the present application.
  • the "plurality” mentioned in this article means two or more than two.
  • “And/or” describes the relationship between associated objects, indicating that there can be three relationships.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
  • the character “/” generally indicates that the related objects are in an "or” relationship.
  • This application hopes to provide a technical solution for a master Bluetooth device to share and play the same Bluetooth multimedia package to multiple (slave) Bluetooth devices. For example, a mobile phone can share the same song to multiple Bluetooth headsets for playback via Bluetooth connection.
  • FIG. 1 shows an exemplary solution in which a mobile phone 10 transmits the same Bluetooth audio packet to four Bluetooth headsets.
  • the Bluetooth transmission bandwidth is W.
  • the mobile phone 10 uses the bandwidth W1 to send a Bluetooth audio packet to the first Bluetooth headset 21; uses the bandwidth W2 to send a Bluetooth audio packet to the second Bluetooth headset 22; uses the bandwidth W3 to send a Bluetooth audio packet to the third Bluetooth headset 23.
  • High-quality songs such as lossless music and high-resolution audio (Hi-Res) have higher requirements for Bluetooth bandwidth, and the above exemplary solution cannot meet the transmission needs.
  • the PCM rate reaches 10Mbps.
  • the bandwidth requirement for Bluetooth is 7Mbps. 1/4 of the Bluetooth bandwidth is used to transmit high-quality audio, which is difficult to achieve.
  • the space occupied by each Bluetooth headset will The narrower the bandwidth, the higher the number of Bluetooth headsets that can be shared by the same mobile phone.
  • FIG. 2 shows an exemplary solution in which a mobile phone 10 transmits the same Bluetooth audio packet to four pairs of Bluetooth headsets.
  • the mobile phone 10 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the first pair of Bluetooth earphones 21, and uses the bandwidth W/2 to send the right channel to the right channel earphone in the first pair of Bluetooth earphones 21.
  • Bluetooth audio package At the same time, the first pair of Bluetooth headphones 21 also plays the left channel Bluetooth audio packet and the right channel Bluetooth audio packet.
  • the left channel earphone in the first pair of Bluetooth earphones 21 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the second pair of Bluetooth earphones 22 , and the right channel earphone in the first pair of Bluetooth earphones 21
  • the right channel Bluetooth audio packet is sent to the right channel earphone in the second pair of Bluetooth earphones 22 using the bandwidth W/2.
  • the second pair of Bluetooth headphones 22 also plays the left channel Bluetooth audio packet and the right channel Bluetooth audio packet.
  • the left channel earphone in the second pair of Bluetooth earphones 22 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the third pair of Bluetooth earphones 23 , and the right channel earphone in the second pair of Bluetooth earphones 22
  • the bandwidth W/2 is used to send the right channel Bluetooth audio packet to the right channel earphone in the third pair of Bluetooth earphones 23 .
  • the third pair of Bluetooth headphones 23 also plays the left channel Bluetooth audio package and the right channel Bluetooth audio package.
  • the left channel earphone in the third pair of Bluetooth earphones 23 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the fourth pair of Bluetooth earphones 24 , and the right channel earphone in the third pair of Bluetooth earphones 23
  • the right channel Bluetooth audio packet is sent to the right channel earphone in the fourth pair of Bluetooth earphones 24 using the bandwidth W/2.
  • the fourth pair of Bluetooth headphones 24 also plays the left channel Bluetooth audio package and the right channel Bluetooth audio package.
  • FIG. 3 shows a block diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment of the present application.
  • the system includes a master Bluetooth device 10 and at least two (slave) Bluetooth devices 21-2n.
  • the master Bluetooth device 10 is the source device that provides Bluetooth multimedia data.
  • Device types of the main Bluetooth device 10 include mobile phones, tablets, televisions, desktops, game consoles, virtual reality (Virtual Reality, VR) devices, augmented reality (Augmented Reality, AR) devices, etc.
  • At least two Bluetooth devices 21-2n share the Bluetooth multimedia packets from the main Bluetooth device 10 using a chain transmission path. Each Bluetooth device in the chain sharing path is connected in sequence.
  • the i-th Bluetooth device among at least two Bluetooth devices transmits the Bluetooth multimedia packet to the i+1-th Bluetooth device, where i is an integer and the initial value is 1 (or 0).
  • the first Bluetooth device 21 sends a Bluetooth multimedia packet to the second Bluetooth device 22, and the second Bluetooth device 22 sends a Bluetooth multimedia packet to the third Bluetooth device, and so on, and the n-1th Bluetooth device sends a Bluetooth multimedia packet to the nth Bluetooth device.
  • a Bluetooth device 2n sends a Bluetooth multimedia packet.
  • any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices 21-2n is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device 10 or the previous Bluetooth device; send it to the next Bluetooth device.
  • the previous Bluetooth device is the Bluetooth device located before the Bluetooth device on the chain transmission path among at least two Bluetooth devices; the next Bluetooth device is the Bluetooth device located after the Bluetooth device on the chain transmission path among at least two Bluetooth devices. equipment.
  • the Bluetooth device 21-2n also plays Bluetooth multimedia packets. Since there are usually multiple Bluetooth multimedia packages, all or part of the multiple Bluetooth multimedia packages can be played on any one of at least two Bluetooth devices. For example, each Bluetooth device plays all Bluetooth multimedia packets, or each Bluetooth device only needs to play a part of the Bluetooth multimedia packets.
  • the above-mentioned at least two Bluetooth devices are Bluetooth devices of the same type, Bluetooth devices of different types, or Bluetooth devices of different types.
  • the Bluetooth transmission capabilities of the at least two Bluetooth devices mentioned above are the same, or different, or not exactly the same.
  • chain transmission path can be understood as: chain path, chain sharing path and other synonyms.
  • FIG. 4 shows a flow chart of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment of the present application. This embodiment illustrates that the method is executed by the Bluetooth device shown in FIG. 3 .
  • the method includes:
  • Step 402 Receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device;
  • At least two Bluetooth devices share at least one Bluetooth multimedia packet from the master Bluetooth device using a chain transmission path.
  • the above-mentioned Bluetooth multimedia packets can be understood as: Bluetooth frames, Bluetooth multimedia frames, Bluetooth audio frames, Bluetooth video frames, Bluetooth VR frames, Bluetooth AR frames, Bluetooth game control frames, Bluetooth audio packets, and Bluetooth video packets. , Bluetooth VR package, Bluetooth AR package, Bluetooth game control package, etc.
  • the Bluetooth device receives the Bluetooth multimedia packet sent by the master Bluetooth device on the chain transmission path, or the Bluetooth device receives the Bluetooth multimedia packet sent by the previous Bluetooth device on the chain transmission path.
  • Bluetooth devices start counting from 0, when the Bluetooth device is the 0th Bluetooth device among at least two Bluetooth devices, receive the Bluetooth multimedia packet sent by the main Bluetooth device; when the Bluetooth device is the 0th Bluetooth device among at least two Bluetooth devices, When there are i(>0) Bluetooth devices, receive the Bluetooth multimedia packet sent by the i-1th Bluetooth device.
  • Bluetooth devices start counting from 1, when the Bluetooth device is the first Bluetooth device among at least two Bluetooth devices, receive the Bluetooth multimedia packet sent by the main Bluetooth device; when the Bluetooth device is the first Bluetooth device among at least two Bluetooth devices, When there are i(>1) Bluetooth devices, receive the Bluetooth multimedia packet sent by the i-1th Bluetooth device.
  • the i-1th Bluetooth device is also the previous Bluetooth device.
  • the previous Bluetooth device, Bluetooth device, and next Bluetooth device share the Bluetooth multimedia packet from the main Bluetooth device using a chain transmission path.
  • the previous Bluetooth device is the Bluetooth device located before the Bluetooth device in the chain transmission path; the next Bluetooth device is the Bluetooth device located after the Bluetooth device in the chain transmission path.
  • the chain transmission path is composed of at least two Bluetooth devices ordered in sequence. For example, unicast communication is performed between the i-th Bluetooth device and the i+1-th Bluetooth device based on Bluetooth technology.
  • Step 404 Send the Bluetooth multimedia packet to the next Bluetooth device.
  • the Bluetooth device When the Bluetooth device is the i-th Bluetooth device among at least two Bluetooth devices and is not the last Bluetooth device, send the Bluetooth multimedia packet to the i+1-th Bluetooth device. That is, the Bluetooth device sends the Bluetooth multimedia packet to the next Bluetooth device on the chain transmission path.
  • all or part of the at least two Bluetooth devices are used to play Bluetooth multimedia packages.
  • step 404 may not be performed for the last Bluetooth device among the at least two Bluetooth devices.
  • the method of this embodiment uses the current Bluetooth device to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and sends the Bluetooth multimedia packet to the next Bluetooth device, so that at least two Bluetooth devices adopt chain transmission.
  • Path sharing of Bluetooth multimedia packets from the main Bluetooth device not only enables multiple Bluetooth devices to share and play the same Bluetooth multimedia packet, but also ensures that the bandwidth used by each Bluetooth device is maximized.
  • the above-mentioned Bluetooth device may be a mono-channel Bluetooth device, a dual-channel Bluetooth device, or a multi-channel Bluetooth device.
  • a Bluetooth device includes a first Bluetooth component and a second Bluetooth component.
  • the first Bluetooth component and the second Bluetooth component are components with Bluetooth transmission capabilities, such as Bluetooth chips that support duplex communication.
  • the first Bluetooth component and the second Bluetooth component have separate bodies, such as TWS earphones; or the first Bluetooth component and the second Bluetooth component are located in the same body, such as a Bluetooth speaker, a Bluetooth handle, and a Bluetooth remote control.
  • the first Bluetooth component and the second Bluetooth component may be divided according to sound channels, functions, or data to be transmitted, which is not limited in this embodiment.
  • the first Bluetooth component is a left channel Bluetooth component
  • the second Bluetooth component is a right channel Bluetooth component.
  • the first Bluetooth component is used to transmit audio
  • the second Bluetooth component is used to Transmit game control stream.
  • the Bluetooth device is the device adjacent to the main Bluetooth device among at least two Bluetooth devices, that is, the 0th Bluetooth device (slave).
  • the Bluetooth device receives the Bluetooth multimedia packet sent by the main Bluetooth device, including:
  • the first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the master Bluetooth device; the second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the master Bluetooth device.
  • the receiving bandwidth occupied by the first Bluetooth component when receiving the first Bluetooth multimedia packet is less than or equal to W/2; the receiving bandwidth occupied by the second Bluetooth component when receiving the second Bluetooth multimedia packet is less than or equal to W/2.
  • the bandwidth occupied by the first Bluetooth component and the second Bluetooth component in the process of receiving the Bluetooth multimedia packet is less than or equal to the receiving bandwidth W.
  • the left channel Bluetooth component of the Bluetooth device receives the left channel Bluetooth multimedia packet sent by the left channel Bluetooth component of the main Bluetooth device; the right channel Bluetooth component of the Bluetooth device receives the right channel Bluetooth component of the main Bluetooth device. Right channel Bluetooth multimedia packet sent.
  • the Bluetooth device is not the device adjacent to the main Bluetooth device among the at least two Bluetooth devices, that is, the i-th Bluetooth device (i is greater than 0, counting from 0) or the i-th Bluetooth device (i is greater than 1, counting from 1), the Bluetooth device receives the Bluetooth multimedia packet sent by the first Bluetooth device, including:
  • the first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the first Bluetooth device; the second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the first Bluetooth device.
  • the receiving bandwidth occupied by the first Bluetooth component when receiving the first Bluetooth multimedia packet is less than or equal to W/2; the receiving bandwidth occupied by the second Bluetooth component when receiving the second Bluetooth multimedia packet is less than or equal to W/2.
  • the bandwidth occupied by the first Bluetooth component and the second Bluetooth component in the process of receiving the Bluetooth multimedia packet is less than or equal to the receiving bandwidth W.
  • the left channel Bluetooth component of the Bluetooth device receives the left channel Bluetooth multimedia packet sent by the left channel Bluetooth component of the previous Bluetooth device; the right channel Bluetooth component of the Bluetooth device receives the right channel of the previous Bluetooth device. Right channel Bluetooth multimedia packet sent by the Bluetooth component.
  • the above-mentioned Bluetooth device sends a Bluetooth multimedia packet to the next Bluetooth device, including:
  • the first Bluetooth component of the Bluetooth device sends a Bluetooth multimedia packet to a Bluetooth component of the next Bluetooth device; the second Bluetooth component of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth component of the next Bluetooth device.
  • the sending bandwidth occupied by the first Bluetooth component when sending the first Bluetooth multimedia packet is less than or equal to W/2
  • the sending bandwidth occupied by the second Bluetooth component when sending the second Bluetooth multimedia packet is less than or equal to W/2
  • the bandwidth occupied by the first Bluetooth component and the second Bluetooth component in the process of sending the Bluetooth multimedia packet is less than or equal to the sending bandwidth W.
  • the left channel Bluetooth component of the Bluetooth device sends the left channel Bluetooth multimedia packet to the left channel Bluetooth component of the next Bluetooth device;
  • the right channel Bluetooth component of the Bluetooth device sends the right channel Bluetooth component of the next Bluetooth device to the right channel Bluetooth component of the next Bluetooth device.
  • Component sends right channel Bluetooth multimedia packets.
  • the first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent; the first Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent; When receiving, it occupies the third sub-bandwidth of the Bluetooth receiving bandwidth; when receiving the second Bluetooth multimedia packet, it occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth.
  • the first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth
  • the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth
  • the third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth
  • the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth.
  • the sub-bandwidth is less than or equal to one-half of the Bluetooth receive bandwidth.
  • the above embodiment is exemplified by taking two Bluetooth components in each Bluetooth device.
  • the main Bluetooth device 30 is a game console, and the game running on the game console 30 is a cloud game.
  • Each user uses his own corresponding Bluetooth device.
  • a Bluetooth device includes three Bluetooth components: a left-channel headset, a right-channel headset, and a game controller.
  • the left channel earphone is used to play the left channel Bluetooth audio package
  • the right channel earphone is used to play the right channel Bluetooth audio package
  • the game controller is used to receive the game feedback data of the game console 30 for vibration feedback or sound and light feedback, and/or Upload handle operation data to the game console 30 .
  • the Bluetooth device, the previous Bluetooth device, and the next Bluetooth device each include a first Bluetooth component, a second Bluetooth component, and a third Bluetooth component.
  • the first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the previous Bluetooth device; the second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the previous Bluetooth device;
  • the third Bluetooth component of the Bluetooth device receives the third Bluetooth multimedia packet sent by the third Bluetooth component of the previous Bluetooth device.
  • the first Bluetooth component of the Bluetooth device sends the first Bluetooth multimedia packet to the first Bluetooth component of the next Bluetooth device; the second Bluetooth component of the Bluetooth device sends the second Bluetooth multimedia packet to the second Bluetooth component of the next Bluetooth device; the Bluetooth device The third Bluetooth component sends the third Bluetooth multimedia packet to the third Bluetooth component of the next Bluetooth device.
  • the Bluetooth device, the previous Bluetooth device, and the next Bluetooth device each include n Bluetooth components.
  • the i-th Bluetooth component of the Bluetooth device receives the i-th Bluetooth multimedia packet sent by the i-th Bluetooth component of the previous Bluetooth device.
  • the i-th Bluetooth component of the Bluetooth device sends the i-th Bluetooth multimedia packet to the i-th Bluetooth component of the next Bluetooth device.
  • i is an integer not greater than n.
  • unicast communication is used when transmitting the above-mentioned Bluetooth multimedia packets between the main Bluetooth device and the Bluetooth device, between the previous Bluetooth device and the Bluetooth device, and between the Bluetooth device and the next Bluetooth device.
  • Multicast communication or broadcast communication The first Bluetooth component in two adjacent Bluetooth devices uses unicast communication when transmitting the first Bluetooth multimedia packet, and the second Bluetooth component in the two adjacent Bluetooth devices uses unicast when transmitting the second Bluetooth multimedia packet. communication.
  • the above-mentioned Bluetooth multimedia packet supports a retransmission mechanism during transmission. That is, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission.
  • the k-th Bluetooth multimedia packet when an acknowledgment feedback (ACK) is received, the k+1-th Bluetooth multimedia packet is transmitted; when a negative feedback (NACK) is received, the k-th Bluetooth multimedia packet is retransmitted. Since Bluetooth transmission is prone to interference, packet loss or decoding errors during transmission, supporting the retransmission mechanism can ensure the transmission quality of high-quality audio data. In Bluetooth broadcast or multicast, the retransmission mechanism cannot be supported.
  • the transmission process of the above-mentioned Bluetooth multimedia packet is controlled by the host Bluetooth device.
  • control links are established between the main Bluetooth device 10 and the four Bluetooth devices 21 - 24 .
  • the control links are used to transmit control information related to the transmission process of Bluetooth multimedia packets.
  • the control information includes: the address of the previous Bluetooth device, the address of the next Bluetooth device, the serial number of the Bluetooth multimedia packet, the feedback information (ACK/NACK) of the Bluetooth multimedia packet, and the initial transmission/retransmission of the Bluetooth multimedia packet. information, the identification of the Bluetooth device that needs to play the Bluetooth multimedia package, etc.
  • a data link is established between the main Bluetooth device 10 and the Bluetooth device 21, between the Bluetooth device 21 and the Bluetooth device 22, between the Bluetooth device 22 and the Bluetooth device 23, and between the Bluetooth device 23 and the Bluetooth device 24.
  • the data link Used to transmit Bluetooth multimedia packets.
  • the Bluetooth devices 21-24 include a left channel Bluetooth component and a right channel Bluetooth component
  • a left channel data link is established between each left channel Bluetooth component
  • a right channel data link is established between each right channel Bluetooth component. Audio channel data link.
  • the transmission process between the main Bluetooth device 10 and the 0/1th Bluetooth device is controlled by the main Bluetooth device.
  • the transmission process between the i-th (greater than 0 or 1) Bluetooth device and the i+1-th Bluetooth device is controlled by the i-th Bluetooth device. That is to say, the transmission process of the i-th Bluetooth device can be controlled by itself rather than by the main Bluetooth device 10 .
  • a control link is established between the Bluetooth devices 21-23 and the main Bluetooth device 10 in Figure 6, and the transmission process between the Bluetooth devices 21-23 is controlled by the main Bluetooth device 10; Since the Bluetooth device 24 is far away from the main Bluetooth device 10, no control link is established between the Bluetooth device 24 and the main Bluetooth device 10. The transmission process between the Bluetooth device 23 and the Bluetooth device 24 is controlled by the Bluetooth device 23.
  • the above method further includes: the Bluetooth device plays the Bluetooth multimedia package. Since the Bluetooth multimedia package is at least one.
  • the Bluetooth device that plays Bluetooth multimedia packages includes at least one of the following:
  • ⁇ Bluetooth devices play all Bluetooth multimedia packages
  • the song audio stream includes multiple Bluetooth audio packets "0", and the Bluetooth audio packet "0" is required by all or every Bluetooth device.
  • the played audio packet is the Bluetooth audio packet that both the Bluetooth device 21 and the Bluetooth device 22 need to play.
  • the Bluetooth device plays a portion of the Bluetooth multimedia package.
  • the Bluetooth multimedia package is the Bluetooth audio package in VR games, and different Bluetooth devices correspond to different users.
  • there are some Bluetooth audio packets "0" that every Bluetooth device needs to play such as Bluetooth music packets related to background music; there are some Bluetooth audio packets that only need to be played by designated Bluetooth devices.
  • Bluetooth audio package "1" is the system feedback sound effect of the game character operated by user A when releasing skills. It only needs to be played by the Bluetooth device 21 used by user A, and does not need to be played by Bluetooth devices used by other users; Bluetooth audio package "2" is The system feedback sound effect when the game character operated by user B releases the skill only needs to be played by the Bluetooth device 22 used by user B, and does not need to be played by the Bluetooth devices used by other users.
  • the Bluetooth multimedia package includes at least one of the following types:
  • the designated or specific Bluetooth device is the Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.
  • a Bluetooth device includes a first multimedia component and a second multimedia component.
  • the first multimedia component of the Bluetooth device plays the first Bluetooth multimedia package; the second multimedia component of the Bluetooth device plays the second Bluetooth multimedia package.
  • the first multimedia component as a left channel component and the second multimedia component as a right channel component as an example, the left channel component of the Bluetooth device plays the left channel Bluetooth multimedia packet; the right channel component of the Bluetooth device plays Right channel Bluetooth multimedia package.
  • the first multimedia component includes: a first decoding component, a first digital to analog converter (Digital to Analog Converter, DAC), a first power amplifier (Amplifier for Power, AMP), and a first playback component; Bluetooth set up
  • the first component of the device plays the first Bluetooth multimedia packet, including: the first decoding component decodes the first Bluetooth multimedia packet into first Pulse Code Modulation (PCM) data; the first DAC converts the first PCM data into The first analog signal; the first AMP amplifies the first analog signal and then outputs it to the first playback component for playback.
  • PCM Pulse Code Modulation
  • the second multimedia component includes: a second decoding component, a second DAC, a second AMP and a second playing component; the second component of the Bluetooth device plays the second Bluetooth multimedia package, including: the second decoding component
  • the second Bluetooth multimedia packet is decoded into second PCM data; the second DAC converts the second PCM data into a second analog signal; the second AMP amplifies the second analog signal and outputs it to the second playback component for playback.
  • the mobile phone 10 performs Bluetooth audio processing on the PCM data provided by the audio source according to the left and right channel data respectively. Encode to get the left channel Bluetooth audio packet and the right channel Bluetooth audio packet.
  • the Bluetooth sending component 11 in the mobile phone 10 sends the left channel Bluetooth audio packet and the right channel Bluetooth audio packet to the Bluetooth device.
  • the left channel Bluetooth headset 31 of the Bluetooth device includes: a left channel Bluetooth receiving component 32, a left channel PCM (decoding component) 33, a left channel DAC 34 and a left channel AMP 35, a left channel playing component 36, and a left channel Bluetooth Send part 37.
  • the left channel Bluetooth receiving component 32 transmits the left channel Bluetooth audio packet to the left channel PCM 33, and the left channel PCM 33 decodes the left channel Bluetooth audio packet into left channel PCM data.
  • the left channel DAC34 converts the left channel PCM data into a left channel analog signal; the left channel AMP35 amplifies the left channel analog signal and outputs it to the left channel playback component 36 for playback.
  • the left channel Bluetooth sending component 37 also sends the left channel Bluetooth audio packet to the next left channel Bluetooth headset.
  • the left channel Bluetooth receiving component 32 and the left channel Bluetooth sending component 37 are implemented as the same Bluetooth chip, that is, the first Bluetooth component.
  • the right channel Bluetooth headset 41 of the Bluetooth device includes: right channel Bluetooth receiving component 42, right channel PCM (decoding component) 43, right channel DAC 44 and right channel AMP 45, right channel playback component 46, right channel Bluetooth Send component 47.
  • the right channel Bluetooth receiving component 42 transmits the right channel Bluetooth audio packet to the right channel PCM 43, and the right channel PCM 43 decodes the right channel Bluetooth audio packet into right channel PCM data.
  • the right channel DAC44 converts the right channel PCM data into a right channel analog signal; the right channel AMP45 amplifies the right channel analog signal and outputs it to the right channel playback component 46 for playback.
  • the right channel Bluetooth sending component 47 also sends the right channel Bluetooth audio packet to the next right channel Bluetooth headset.
  • the right channel Bluetooth receiving component 42 and the right channel Bluetooth sending component 47 are implemented as the same Bluetooth chip, that is, the second Bluetooth component.
  • the establishment of the chain transmission path is controlled by the master Bluetooth device.
  • the master Bluetooth device is based on the signal quality of each Bluetooth device, the distance between each Bluetooth device and the master Bluetooth device, the location of each Bluetooth device, the transmission capability of each Bluetooth device, and the user information of each Bluetooth device. , at least one factor in the device type of each Bluetooth device, selecting at least two Bluetooth devices and sorting the selected at least two Bluetooth devices to construct a chain transmission path. Then, the master Bluetooth device configures the address information of the previous Bluetooth device and/or the next Bluetooth device to each Bluetooth device in the chain transmission path. That is to say, for Bluetooth devices, the previous Bluetooth device and/or the next Bluetooth device are configured by the main Bluetooth device.
  • the master Bluetooth device sorts the Bluetooth devices in order from high to low signal quality to build a chain transmission path.
  • the master Bluetooth device sorts the Bluetooth devices in order of distance from near to far to build a chain transmission path.
  • the master Bluetooth device sorts the Bluetooth devices in order from high to low according to transmission capabilities (such as bandwidth) to build a chain transmission path and so on.
  • the next Bluetooth device is autonomously selected by the Bluetooth device. That is, the main Bluetooth device selects the 0/1th Bluetooth device based on the selection factors, and the i-th (greater than 0/1) Bluetooth device selects the i+1th Bluetooth device based on the selection factors to build a chain transmission path.
  • the selection factors include: the signal quality of each Bluetooth device, the distance between each Bluetooth device and the main Bluetooth device, the location of each Bluetooth device, the transmission capability of each Bluetooth device, the user information of each Bluetooth device, each Bluetooth device at least one factor in the device type. Different Bluetooth devices on the chain transmission path The selection factors used can be the same or different.
  • the transmission quality between a Bluetooth device and the next Bluetooth device changes dynamically. Therefore, the next Bluetooth device for each Bluetooth device supports dynamic changes. During the transmission of Bluetooth multimedia packets, the Bluetooth device changes to the next Bluetooth device.
  • the Bluetooth device changes to the next Bluetooth device based on control of the primary Bluetooth device. In some embodiments, the Bluetooth device changes the Bluetooth device based on the change factor.
  • the changing factors include the signal quality of each Bluetooth device, the distance between each Bluetooth device and the main Bluetooth device, the location of each Bluetooth device, the transmission capability of each Bluetooth device, the user information of each Bluetooth device, and the location of each Bluetooth device. At least one factor in device type.
  • the product implementation of the above Bluetooth device may have multiple implementation methods.
  • the above-mentioned Bluetooth device is implemented as a TWS headset.
  • the above-mentioned Bluetooth device is implemented as a TWS headset.
  • the above-mentioned Bluetooth device is implemented as a set of commercial AR devices.
  • the set of commercial AR devices includes 4 groups of single-person devices, and the 4 groups of single-person devices are respectively used by users 51, Used by User 52, User 53 and User 54, each set of single-person devices includes AR glasses, left-channel earphones, and right-channel earphones.
  • each set of single-person devices includes AR glasses, left-channel earphones, and right-channel earphones.
  • the AR character 55 observed in the AR glasses explains information on the electronic screen
  • all four groups of single devices can hear the voice of the AR character 55.
  • the embodiments of this application do not limit the specific product form of the Bluetooth device.
  • FIG. 12 shows a block diagram of a Bluetooth device provided by an exemplary embodiment of the present application.
  • the Bluetooth device includes:
  • the Bluetooth receiving module 61 is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device;
  • the Bluetooth sending module 62 is used to send the Bluetooth multimedia packet to the next Bluetooth device.
  • the Bluetooth receiving module 61 and the Bluetooth sending module 62 can be implemented as the same Bluetooth module or Bluetooth transceiver module.
  • the previous Bluetooth device, the Bluetooth device, and the next Bluetooth device use a chain transmission path to share the Bluetooth multimedia packet from the main Bluetooth device;
  • the previous Bluetooth device is a Bluetooth device located before the Bluetooth device in the chain transmission path;
  • the next Bluetooth device is a Bluetooth device located after the Bluetooth device in the chain transmission path.
  • the Bluetooth device and the previous Bluetooth device both include a first Bluetooth sub-device and a second Bluetooth sub-device; each Bluetooth sub-device includes a set of Bluetooth receiving modules 61 and Bluetooth sending modules 62 .
  • the first Bluetooth sub-device of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth sub-device of the previous Bluetooth device;
  • the second Bluetooth sub-device of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth sub-device of the previous Bluetooth device.
  • the Bluetooth device and the next Bluetooth device each include a first Bluetooth sub-device and a second Bluetooth sub-device;
  • the first Bluetooth sub-device of the Bluetooth device sends a first Bluetooth multimedia packet to the first Bluetooth sub-device of the next Bluetooth device;
  • the second Bluetooth sub-device of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth sub-device of the next Bluetooth device.
  • the first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent;
  • the first Bluetooth multimedia packet occupies the third sub-bandwidth of the Bluetooth receiving bandwidth when received; the second Bluetooth multimedia packet occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth when received.
  • the first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth
  • the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth
  • the third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth
  • the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth
  • the first Bluetooth multimedia packet and the second Bluetooth multimedia packet adopt unicast communication during transmission.
  • the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission.
  • the transmission process of the first Bluetooth multimedia packet and the second Bluetooth multimedia packet is controlled by the main Bluetooth device.
  • the previous Bluetooth device and/or the next Bluetooth device are configured by the master Bluetooth device; or the next Bluetooth device is selected by the Bluetooth device.
  • the Bluetooth sending module 62 is also used to change the next Bluetooth device during the transmission process of the Bluetooth multimedia packet.
  • the Bluetooth device further includes: a multimedia module 63 for playing the Bluetooth multimedia package.
  • the multimedia module 63 includes a first multimedia sub-module and a second multimedia sub-module
  • the first multimedia sub-module of the Bluetooth device plays the first Bluetooth multimedia packet; the second multimedia sub-module of the Bluetooth device plays the second Bluetooth multimedia packet.
  • the first multimedia sub-module includes: a first decoding sub-module, a first DAC sub-module, a first AMP sub-module and a first playback sub-module;
  • the first decoding sub-module is used to decode the first Bluetooth multimedia packet into first pulse code modulation PCM data;
  • the first DAC sub-module is used to convert the first PCM data into a first analog signal
  • the first AMP sub-module is used to amplify the first analog signal and then output it to the first playback sub-module for playback.
  • the second multimedia sub-module includes: a second decoding sub-module, a second DAC sub-module, a second AMP sub-module and a second playback sub-module;
  • the second decoding sub-module is used to decode the second Bluetooth multimedia packet into second PCM data
  • the second DAC submodule is used to convert the second PCM data into a second analog signal
  • the second AMP sub-module is used to amplify the second analog signal and then output it to the second playback sub-module for playback.
  • the Bluetooth multimedia package includes at least one of the following:
  • Bluetooth multimedia packets that need to be played by the designated Bluetooth device
  • the Bluetooth multimedia package needs to be played by the first multimedia sub-module
  • Bluetooth multimedia packets that need to be played by the first multimedia sub-module in the designated Bluetooth device
  • Bluetooth multimedia packets that need to be played by the second multimedia sub-module in the designated Bluetooth device
  • the specified Bluetooth device is a Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.
  • FIG. 13 shows a block diagram of a Bluetooth device or a first Bluetooth sub-device or a second Bluetooth sub-device provided by an exemplary embodiment of the present application.
  • This Bluetooth device includes:
  • Bluetooth component 71 is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; The device sends the Bluetooth multimedia packet.
  • the Bluetooth component 71 may be a Bluetooth chip that supports both sending and receiving.
  • the previous Bluetooth device, the Bluetooth device, and the next Bluetooth device share the Bluetooth multimedia packet from the main Bluetooth device using a chain transmission path;
  • the previous Bluetooth device is the Bluetooth device located before the Bluetooth device in the chain transmission path;
  • the next Bluetooth device is a Bluetooth device located after the Bluetooth device in the chain transmission path.
  • the Bluetooth device and the previous Bluetooth device each include a first Bluetooth sub-device and a second Bluetooth sub-device; each Bluetooth sub-device includes a Bluetooth component 71 .
  • the first Bluetooth sub-device of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth sub-device of the previous Bluetooth device;
  • the second Bluetooth sub-device of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth sub-device of the previous Bluetooth device.
  • the Bluetooth device and the next Bluetooth device each include a first Bluetooth sub-device and a second Bluetooth sub-device;
  • the first Bluetooth sub-device of the Bluetooth device sends a first Bluetooth multimedia packet to the first Bluetooth sub-device of the next Bluetooth device;
  • the second Bluetooth sub-device of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth sub-device of the next Bluetooth device.
  • the first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent;
  • the first Bluetooth multimedia packet occupies the third sub-bandwidth of the Bluetooth receiving bandwidth when received; the second Bluetooth multimedia packet occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth when received.
  • the first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth
  • the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth
  • the third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth
  • the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth
  • the first Bluetooth multimedia packet and the second Bluetooth multimedia packet adopt unicast communication during transmission.
  • the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission.
  • the transmission process of the first Bluetooth multimedia packet and the second Bluetooth multimedia packet is controlled by the main Bluetooth device.
  • the previous Bluetooth device and/or the next Bluetooth device are configured by the main Bluetooth device; or the next Bluetooth device is selected by the Bluetooth device.
  • the Bluetooth component 71 is also used to change the next Bluetooth device during the transmission process of the Bluetooth multimedia packet.
  • the Bluetooth device further includes: a multimedia component for playing the Bluetooth multimedia package.
  • the multimedia components include: decoding component 72, DAC73, AMP74 and playback component 75.
  • the decoding component 72 is used to decode the Bluetooth multimedia packet into PCM data;
  • the DAC73 is used to convert the PCM data into an analog signal;
  • the AMP74 is used to amplify the analog signal and output it to the playback component 75 for playback.
  • the multimedia component includes a first multimedia subcomponent and a second multimedia subcomponent
  • the first multimedia sub-component of the Bluetooth device plays the first Bluetooth multimedia package; the second multimedia sub-component of the Bluetooth device plays the second Bluetooth multimedia package.
  • the first multimedia subcomponent includes: a first decoding subcomponent, a first DAC subcomponent, a first AMP subcomponent and a first playback subcomponent;
  • the first decoding subcomponent is used to decode the first Bluetooth multimedia packet into first pulse code modulation PCM data;
  • the first DAC subcomponent is used to convert the first PCM data into a first analog signal
  • the first AMP sub-component is used to amplify the first analog signal and then output it to the first playback sub-component for playback.
  • the second multimedia subcomponent includes: a second decoding subcomponent, a second DAC subcomponent, a second AMP subcomponent and a second playback subcomponent;
  • the second decoding subcomponent is used to decode the second Bluetooth multimedia packet into second PCM data
  • the second DAC subcomponent is used to convert the second PCM data into a second analog signal
  • the second AMP sub-component is used to amplify the second analog signal and then output it to the second playback sub-component for playback.
  • the Bluetooth multimedia package includes at least one of the following:
  • Bluetooth multimedia packets that need to be played by the designated Bluetooth device
  • the Bluetooth multimedia package needs to be played by the first Bluetooth sub-component
  • a Bluetooth multimedia package that requires the second multimedia subcomponent to play
  • the specified Bluetooth device is a Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.

Abstract

Embodiments of the present application relate to the field of Bluetooth, and disclose a Bluetooth multimedia packet transmission method and apparatus, a device and a system. The Bluetooth multimedia packet transmission method comprises: a Bluetooth device receiving a Bluetooth multimedia packet sent by a master Bluetooth device or a previous Bluetooth device; and sending the Bluetooth multimedia packet to the next Bluetooth device. At least two Bluetooth devices are enabled to share a Bluetooth multimedia packet from the master Bluetooth device by using a chain-type transmission path, so that not only is a scheme of sharing and playing back the same Bluetooth multimedia packet among a plurality of Bluetooth devices achieved, but the maximization of the bandwidth used by each Bluetooth device can also be ensured to the greatest extent.

Description

蓝牙多媒体包的传输方法、装置、设备及系统Bluetooth multimedia packet transmission method, device, equipment and system
本申请要求于2022年06月28日提交的、申请号为202210753601.4、发明名称为“蓝牙多媒体包的传输方法、装置、设备及系统”的专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the patent application submitted on June 28, 2022, with application number 202210753601.4 and the invention name "Bluetooth multimedia packet transmission method, device, equipment and system", the entire content of which is incorporated herein by reference. Applying.
技术领域Technical field
本申请实施例涉及蓝牙领域,特别涉及一种蓝牙多媒体包的传输方法、装置、设备及系统。Embodiments of the present application relate to the field of Bluetooth, and in particular to a transmission method, device, equipment and system for Bluetooth multimedia packets.
背景技术Background technique
随着真无线立体声(True Wireless Studio,TWS)蓝牙耳机的爆发式增长和普及,消费者在生活和工作中使用TWS蓝牙耳机已非常普及和常见。比如听音乐,打电话。With the explosive growth and popularity of True Wireless Studio (TWS) Bluetooth headsets, it has become very popular and common for consumers to use TWS Bluetooth headsets in their lives and work. Such as listening to music and making phone calls.
以听音乐为例,消费者使用手机与TWS蓝牙耳机建立蓝牙连接。手机将蓝牙音频包发送至TWS蓝牙耳机,TWS蓝牙耳机对蓝牙音频包进行解码播放。Taking listening to music as an example, consumers use their mobile phones to establish Bluetooth connections with TWS Bluetooth headsets. The mobile phone sends the Bluetooth audio packet to the TWS Bluetooth headset, and the TWS Bluetooth headset decodes the Bluetooth audio packet and plays it.
上述技术无法满足家人或恋人一起分享音乐的播放场景,特别是在机场、地铁、超市等场所。The above technology cannot meet the needs of families or lovers sharing music playback scenarios, especially in airports, subways, supermarkets and other places.
发明内容Contents of the invention
本申请实施例提供了一种蓝牙多媒体包的传输方法、装置、设备及系统,可以实现对蓝牙多媒体包在多个蓝牙设备之间进行分享播放。所述技术方案如下:Embodiments of the present application provide a Bluetooth multimedia packet transmission method, device, equipment and system, which can realize sharing and playing of Bluetooth multimedia packets among multiple Bluetooth devices. The technical solutions are as follows:
一方面,本申请实施例提供了一种蓝牙多媒体包的传输方法,所述方法由蓝牙设备执行,所述方法包括:On the one hand, embodiments of the present application provide a method for transmitting Bluetooth multimedia packets. The method is executed by a Bluetooth device. The method includes:
接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;Receive Bluetooth multimedia packets sent by the main Bluetooth device or the previous Bluetooth device;
向下一蓝牙设备发送所述蓝牙多媒体包。Send the Bluetooth multimedia packet to the next Bluetooth device.
另一方面,本申请实施例提供了一种蓝牙多媒体包的传输装置,所述装置包括:On the other hand, embodiments of the present application provide a device for transmitting Bluetooth multimedia packets. The device includes:
接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;Receive Bluetooth multimedia packets sent by the main Bluetooth device or the previous Bluetooth device;
向下一蓝牙设备发送所述蓝牙多媒体包。Send the Bluetooth multimedia packet to the next Bluetooth device.
另一方面,本申请实施例提供了一种蓝牙设备,所述蓝牙设备包括:蓝牙组件;On the other hand, embodiments of the present application provide a Bluetooth device, which includes: a Bluetooth component;
所述蓝牙组件,用于接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;向下一蓝牙设备发送所述蓝牙多媒体包。The Bluetooth component is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and send the Bluetooth multimedia packet to the next Bluetooth device.
另一方面,本申请实施例提供了一种蓝牙多媒体包的传输系统,所述系统包括:主蓝牙设备和至少两个蓝牙设备,所述至少两个蓝牙设备采用链式传输路径分享来自所述主蓝牙设备的蓝牙多媒体包;On the other hand, embodiments of the present application provide a Bluetooth multimedia packet transmission system. The system includes: a main Bluetooth device and at least two Bluetooth devices. The at least two Bluetooth devices use a chain transmission path to share data from the Bluetooth device. Bluetooth multimedia package for the main Bluetooth device;
所述至少两个蓝牙设备中除最后一个蓝牙设备之外的任一蓝牙设备,用于接收所述主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;向下一蓝牙设备发送所述蓝牙多媒体包;Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and send the Bluetooth multimedia packet to the next Bluetooth device. Bag;
其中,所述上一蓝牙设备在所述链式传输路径中位于所述蓝牙设备之前;所述下一蓝牙设备在所述链式传输路径中位于所述蓝牙设备之后。Wherein, the previous Bluetooth device is located before the Bluetooth device in the chain transmission path; and the next Bluetooth device is located after the Bluetooth device in the chain transmission path.
另一方面,本申请实施例提供了一种蓝牙芯片,安装有所述蓝牙芯片的蓝牙设备用于执行如上所述的蓝牙多媒体包的传输方法。On the other hand, embodiments of the present application provide a Bluetooth chip, and a Bluetooth device installed with the Bluetooth chip is used to perform the Bluetooth multimedia packet transmission method as described above.
另一方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序用于被蓝牙设备执行以实现如上所述的蓝牙多媒体包的传输方法。On the other hand, embodiments of the present application provide a computer storage medium that stores a computer program, and the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia packet transmission method as described above.
另一方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品存储有计算机程序,所述计算机程序用于被蓝牙设备执行以实现如上所述的蓝牙多媒体包的传输方法。On the other hand, embodiments of the present application provide a computer program product, the computer program product stores a computer program, and the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia packet transmission method as described above.
本申请实施例中,通过当前蓝牙设备接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体 包;向下一蓝牙设备发送蓝牙多媒体包,使得至少两个蓝牙设备采用链式传输路径分享来自主蓝牙设备的蓝牙多媒体包,不仅实现了多个蓝牙设备之间分享播放同一份蓝牙多媒体包的方案,还能够尽量保证每个蓝牙设备所使用的带宽最大化。In the embodiment of the present application, the current Bluetooth device receives the Bluetooth multimedia sent by the main Bluetooth device or the previous Bluetooth device. Packet; sends a Bluetooth multimedia packet to the next Bluetooth device, so that at least two Bluetooth devices use a chain transmission path to share the Bluetooth multimedia packet from the main Bluetooth device, which not only enables multiple Bluetooth devices to share and play the same Bluetooth multimedia packet This solution can also try to ensure that the bandwidth used by each Bluetooth device is maximized.
附图说明Description of drawings
图1示出了本申请一个示例性实施例示出的一对多分享蓝牙多媒体包的示意图;Figure 1 shows a schematic diagram of one-to-many sharing of Bluetooth multimedia packets according to an exemplary embodiment of the present application;
图2示出了本申请一个示例性实施例示出的基于链式传播路径进行蓝牙多媒体包的传输示意图;Figure 2 shows a schematic diagram of the transmission of Bluetooth multimedia packets based on a chain propagation path according to an exemplary embodiment of the present application;
图3是本申请一个示例性实施例示出的基于链式传播路径进行蓝牙多媒体包的传输示意图;Figure 3 is a schematic diagram of the transmission of Bluetooth multimedia packets based on a chain propagation path according to an exemplary embodiment of the present application;
图4是本申请一个示例性实施例示出的蓝牙多媒体包的传输方法的流程图;Figure 4 is a flow chart of a Bluetooth multimedia packet transmission method illustrated in an exemplary embodiment of the present application;
图5是本申请一个示例性实施例示出的基于链式传播路径进行蓝牙多媒体包的传输示意图;Figure 5 is a schematic diagram of the transmission of Bluetooth multimedia packets based on a chain propagation path according to an exemplary embodiment of the present application;
图6是本申请一个示例性实施例示出的主蓝牙设备和至少两个蓝牙设备之间的控制链路和数据链路的示意图;Figure 6 is a schematic diagram of a control link and a data link between a master Bluetooth device and at least two Bluetooth devices according to an exemplary embodiment of the present application;
图7是本申请一个示例性实施例示出的在歌曲播放场景下的蓝牙多媒体包的播放方法的示意图;Figure 7 is a schematic diagram of a Bluetooth multimedia packet playback method in a song playback scenario according to an exemplary embodiment of the present application;
图8是本申请一个示例性实施例示出的在VR游戏场景下的蓝牙多媒体包的播放方法的示意图;Figure 8 is a schematic diagram of a method for playing Bluetooth multimedia packets in a VR game scenario according to an exemplary embodiment of the present application;
图9是本申请一个示例性实施例示出的蓝牙多媒体包的传输/播放方法的流程图;Figure 9 is a flow chart of a Bluetooth multimedia packet transmission/playback method according to an exemplary embodiment of the present application;
图10是本申请一个示例性实施例示出的一对多蓝牙分享播放场景的示意图;Figure 10 is a schematic diagram of a one-to-many Bluetooth sharing playback scenario according to an exemplary embodiment of the present application;
图11是本申请一个示例性实施例示出的一对多蓝牙分享播放场景的示意图;Figure 11 is a schematic diagram of a one-to-many Bluetooth sharing playback scenario according to an exemplary embodiment of the present application;
图12是本申请一个示例性实施例示出的蓝牙装置的示意图;Figure 12 is a schematic diagram of a Bluetooth device shown in an exemplary embodiment of the present application;
图13示出了本申请一个示例性实施例示出的蓝牙设备或第一蓝牙子设备或第二蓝牙子设备的框图。Figure 13 shows a block diagram of a Bluetooth device or a first Bluetooth sub-device or a second Bluetooth sub-device according to an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The "plurality" mentioned in this article means two or more than two. "And/or" describes the relationship between associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the related objects are in an "or" relationship.
本申请希望提供一个主蓝牙设备向多个(从)蓝牙设备分享播放同一份蓝牙多媒体包的技术方案。比如,一个手机通过蓝牙连接同时向多个蓝牙耳机分享同一首歌曲进行播放。This application hopes to provide a technical solution for a master Bluetooth device to share and play the same Bluetooth multimedia package to multiple (slave) Bluetooth devices. For example, a mobile phone can share the same song to multiple Bluetooth headsets for playback via Bluetooth connection.
图1示出了一个手机10向4个蓝牙耳机传输同一份蓝牙音频包的示例性方案。假设蓝牙发送带宽为W,手机10采用带宽W1向第一个蓝牙耳机21发送蓝牙音频包;采用带宽W2向第二个蓝牙耳机22发送蓝牙音频包;采用带宽W3向第三个蓝牙耳机23发送蓝牙音频包;采用带宽W4向第四个蓝牙耳机24发送蓝牙音频包。Figure 1 shows an exemplary solution in which a mobile phone 10 transmits the same Bluetooth audio packet to four Bluetooth headsets. Assume that the Bluetooth transmission bandwidth is W. The mobile phone 10 uses the bandwidth W1 to send a Bluetooth audio packet to the first Bluetooth headset 21; uses the bandwidth W2 to send a Bluetooth audio packet to the second Bluetooth headset 22; uses the bandwidth W3 to send a Bluetooth audio packet to the third Bluetooth headset 23. Bluetooth audio packet; using bandwidth W4 to send the Bluetooth audio packet to the fourth Bluetooth headset 24.
在上述传输过程中,W=W1+W2+W3+W4;假设4个蓝牙耳机是同类型的蓝牙耳机或者4个蓝牙耳机的传输能力相当,即W1=W2=W3=W4=W/4。对于每个蓝牙耳机来讲,只能享受到W/4的带宽。而无损(Lossless)音乐和高解析音频(High Resolution Audio,Hi-Res)之类的高品质歌曲对蓝牙带宽的要求较高,上述示例性方案无法满足传输需求。In the above transmission process, W=W1+W2+W3+W4; assuming that the four Bluetooth headsets are of the same type or have the same transmission capabilities, that is, W1=W2=W3=W4=W/4. For each Bluetooth headset, you can only enjoy W/4 bandwidth. High-quality songs such as lossless music and high-resolution audio (Hi-Res) have higher requirements for Bluetooth bandwidth, and the above exemplary solution cannot meet the transmission needs.
以192khz,24bit采样率的双声道歌曲为例,PCM速率达到10Mbps,假设蓝牙编码压缩速率为70%,那么对蓝牙的带宽要求是7Mbps。蓝牙带宽的1/4用于传输高品质的音频难以实现。而且在上述示例方案中,当需要分享的蓝牙耳机数量越多,则每个蓝牙耳机所占用的 带宽越窄,限制了同一个手机10所能分享的蓝牙耳机的数量上限。Taking a two-channel song with 192khz and 24bit sampling rate as an example, the PCM rate reaches 10Mbps. Assuming that the Bluetooth encoding compression rate is 70%, the bandwidth requirement for Bluetooth is 7Mbps. 1/4 of the Bluetooth bandwidth is used to transmit high-quality audio, which is difficult to achieve. Moreover, in the above example solution, when the number of Bluetooth headsets that need to be shared increases, the space occupied by each Bluetooth headset will The narrower the bandwidth, the higher the number of Bluetooth headsets that can be shared by the same mobile phone.
图2示出了一个手机10向4对蓝牙耳机传输同一份蓝牙音频包的示例性方案。FIG. 2 shows an exemplary solution in which a mobile phone 10 transmits the same Bluetooth audio packet to four pairs of Bluetooth headsets.
手机10采用带宽W/2向第一对蓝牙耳机21中的左声道耳机发送左声道蓝牙音频包,采用带宽W/2向第一对蓝牙耳机21中的右声道耳机发送右声道蓝牙音频包。同时第一对蓝牙耳机21还播放该左声道蓝牙音频包和右声道蓝牙音频包。The mobile phone 10 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the first pair of Bluetooth earphones 21, and uses the bandwidth W/2 to send the right channel to the right channel earphone in the first pair of Bluetooth earphones 21. Bluetooth audio package. At the same time, the first pair of Bluetooth headphones 21 also plays the left channel Bluetooth audio packet and the right channel Bluetooth audio packet.
第一对蓝牙耳机21中的左声道耳机采用带宽W/2向第二对蓝牙耳机22中的左声道耳机发送左声道蓝牙音频包,第一对蓝牙耳机21中的右声道耳机采用带宽W/2向第二对蓝牙耳机22中的右声道耳机发送右声道蓝牙音频包。同时第二对蓝牙耳机22还播放该左声道蓝牙音频包和右声道蓝牙音频包。The left channel earphone in the first pair of Bluetooth earphones 21 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the second pair of Bluetooth earphones 22 , and the right channel earphone in the first pair of Bluetooth earphones 21 The right channel Bluetooth audio packet is sent to the right channel earphone in the second pair of Bluetooth earphones 22 using the bandwidth W/2. At the same time, the second pair of Bluetooth headphones 22 also plays the left channel Bluetooth audio packet and the right channel Bluetooth audio packet.
第二对蓝牙耳机22中的左声道耳机采用带宽W/2向第三对蓝牙耳机23中的左声道耳机发送左声道蓝牙音频包,第二对蓝牙耳机22中的右声道耳机采用带宽W/2向第三对蓝牙耳机23中的右声道耳机发送右声道蓝牙音频包。同时第三对蓝牙耳机23还播放该左声道蓝牙音频包和右声道蓝牙音频包。The left channel earphone in the second pair of Bluetooth earphones 22 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the third pair of Bluetooth earphones 23 , and the right channel earphone in the second pair of Bluetooth earphones 22 The bandwidth W/2 is used to send the right channel Bluetooth audio packet to the right channel earphone in the third pair of Bluetooth earphones 23 . At the same time, the third pair of Bluetooth headphones 23 also plays the left channel Bluetooth audio package and the right channel Bluetooth audio package.
第三对蓝牙耳机23中的左声道耳机采用带宽W/2向第四对蓝牙耳机24中的左声道耳机发送左声道蓝牙音频包,第三对蓝牙耳机23中的右声道耳机采用带宽W/2向第四对蓝牙耳机24中的右声道耳机发送右声道蓝牙音频包。同时第四对蓝牙耳机24还播放该左声道蓝牙音频包和右声道蓝牙音频包。The left channel earphone in the third pair of Bluetooth earphones 23 uses the bandwidth W/2 to send the left channel Bluetooth audio packet to the left channel earphone in the fourth pair of Bluetooth earphones 24 , and the right channel earphone in the third pair of Bluetooth earphones 23 The right channel Bluetooth audio packet is sent to the right channel earphone in the fourth pair of Bluetooth earphones 24 using the bandwidth W/2. At the same time, the fourth pair of Bluetooth headphones 24 also plays the left channel Bluetooth audio package and the right channel Bluetooth audio package.
在上述示例性方案中,手机的使用带宽:W=发送带宽W/2+发送带宽W/2;蓝牙耳机的使用带宽:W=接收带宽W/2+发送带宽W/2,达到了蓝牙带宽能力最大化使用,实现了高品质音频不必因蓝牙带宽的损失带来音频质量下降的多耳机分享方案。In the above exemplary solution, the bandwidth used by the mobile phone: W = sending bandwidth W/2 + sending bandwidth W/2; the bandwidth used by the Bluetooth headset: W = receiving bandwidth W/2 + sending bandwidth W/2, reaching the Bluetooth bandwidth Maximize the use of capabilities and realize a multi-headset sharing solution where high-quality audio does not have to suffer from audio quality degradation due to the loss of Bluetooth bandwidth.
图3示出了本申请一个示例性实施例提供的蓝牙多媒体包的传输系统的框图。该系统包括主蓝牙设备10和至少两个(从)蓝牙设备21-2n。Figure 3 shows a block diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment of the present application. The system includes a master Bluetooth device 10 and at least two (slave) Bluetooth devices 21-2n.
主蓝牙设备10是提供蓝牙多媒体数据的源设备。主蓝牙设备10的设备类型包括手机、平板电脑、电视、台式机、游戏主机、虚拟现实(Virtual Reality,VR)设备、增强现实(Augmented Reality,AR)设备等。The master Bluetooth device 10 is the source device that provides Bluetooth multimedia data. Device types of the main Bluetooth device 10 include mobile phones, tablets, televisions, desktops, game consoles, virtual reality (Virtual Reality, VR) devices, augmented reality (Augmented Reality, AR) devices, etc.
至少两个蓝牙设备21-2n采用链式传输路径分享来自主蓝牙设备10的蓝牙多媒体包。该链式分享路径中的各个蓝牙设备依次连接。至少两个蓝牙设备中的第i个蓝牙设备向第i+1个蓝牙设备传递蓝牙多媒体包,i为整数且初始值为1(或0)。例如,第一个蓝牙设备21向第二个蓝牙设备22发送蓝牙多媒体包,第二个蓝牙设备22向第三个蓝牙设备发送蓝牙多媒体包,依次类推,第n-1个蓝牙设备向第n个蓝牙设备2n发送蓝牙多媒体包。At least two Bluetooth devices 21-2n share the Bluetooth multimedia packets from the main Bluetooth device 10 using a chain transmission path. Each Bluetooth device in the chain sharing path is connected in sequence. The i-th Bluetooth device among at least two Bluetooth devices transmits the Bluetooth multimedia packet to the i+1-th Bluetooth device, where i is an integer and the initial value is 1 (or 0). For example, the first Bluetooth device 21 sends a Bluetooth multimedia packet to the second Bluetooth device 22, and the second Bluetooth device 22 sends a Bluetooth multimedia packet to the third Bluetooth device, and so on, and the n-1th Bluetooth device sends a Bluetooth multimedia packet to the nth Bluetooth device. A Bluetooth device 2n sends a Bluetooth multimedia packet.
示例性的,至少两个蓝牙设备21-2n中除最后一个蓝牙设备之外的任一蓝牙设备,用于接收主蓝牙设备10或上一蓝牙设备发送的蓝牙多媒体包;向下一蓝牙设备发送蓝牙多媒体包;Exemplarily, any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices 21-2n is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device 10 or the previous Bluetooth device; send it to the next Bluetooth device. Bluetooth multimedia package;
其中,上一蓝牙设备是至少两个蓝牙设备中在链式传输路径上位于蓝牙设备之前的蓝牙设备;下一蓝牙设备是至少两个蓝牙设备中在链式传输路径上位于蓝牙设备之后的蓝牙设备。Wherein, the previous Bluetooth device is the Bluetooth device located before the Bluetooth device on the chain transmission path among at least two Bluetooth devices; the next Bluetooth device is the Bluetooth device located after the Bluetooth device on the chain transmission path among at least two Bluetooth devices. equipment.
示例性的,蓝牙设备21-2n还播放蓝牙多媒体包。由于蓝牙多媒体包通常为多个,对于至少两个蓝牙设备中的任意一个蓝牙设备,可以播放多个蓝牙多媒体包的全部或一部分。比如,每个蓝牙设备播放全部蓝牙多媒体包,或,每个蓝牙设备仅需要播放一部分蓝牙多媒体包。Exemplarily, the Bluetooth device 21-2n also plays Bluetooth multimedia packets. Since there are usually multiple Bluetooth multimedia packages, all or part of the multiple Bluetooth multimedia packages can be played on any one of at least two Bluetooth devices. For example, each Bluetooth device plays all Bluetooth multimedia packets, or each Bluetooth device only needs to play a part of the Bluetooth multimedia packets.
上述至少两个蓝牙设备是相同类型的蓝牙设备,或不同类型的蓝牙设备,或不完全相同类型的蓝牙设备。上述至少两个蓝牙设备的蓝牙传输能力是相同的,或不同的,或不完全相同的。The above-mentioned at least two Bluetooth devices are Bluetooth devices of the same type, Bluetooth devices of different types, or Bluetooth devices of different types. The Bluetooth transmission capabilities of the at least two Bluetooth devices mentioned above are the same, or different, or not exactly the same.
在不同的实施例中,上述链式传输路径可理解为:链式路径、链式分享路径等其它同义词。 In different embodiments, the above-mentioned chain transmission path can be understood as: chain path, chain sharing path and other synonyms.
基于链式传输路径的一对多分享:One-to-many sharing based on chain transmission path:
图4示出了本申请一个示例性实施例提供的蓝牙多媒体包的传输方法的流程图。本实施例以该方法由图3所示的蓝牙设备执行来举例说明。该方法包括:Figure 4 shows a flow chart of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment of the present application. This embodiment illustrates that the method is executed by the Bluetooth device shown in FIG. 3 . The method includes:
步骤402:接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;Step 402: Receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device;
至少两个蓝牙设备采用链式传输路径分享来自主蓝牙设备的蓝牙多媒体包,该蓝牙多媒体包为至少一个。在不同的实施例中,上述蓝牙多媒体包可理解为:蓝牙帧、蓝牙多媒体帧、蓝牙音频帧、蓝牙视频帧、蓝牙VR帧、蓝牙AR帧、蓝牙游戏控制帧、蓝牙音频包、蓝牙视频包、蓝牙VR包、蓝牙AR包、蓝牙游戏控制包等等。At least two Bluetooth devices share at least one Bluetooth multimedia packet from the master Bluetooth device using a chain transmission path. In different embodiments, the above-mentioned Bluetooth multimedia packets can be understood as: Bluetooth frames, Bluetooth multimedia frames, Bluetooth audio frames, Bluetooth video frames, Bluetooth VR frames, Bluetooth AR frames, Bluetooth game control frames, Bluetooth audio packets, and Bluetooth video packets. , Bluetooth VR package, Bluetooth AR package, Bluetooth game control package, etc.
蓝牙设备接收链式传输路径上的主蓝牙设备发送的蓝牙多媒体包,或,蓝牙设备接收链式传输路径上的上一蓝牙设备发送的蓝牙多媒体包。The Bluetooth device receives the Bluetooth multimedia packet sent by the master Bluetooth device on the chain transmission path, or the Bluetooth device receives the Bluetooth multimedia packet sent by the previous Bluetooth device on the chain transmission path.
假设至少两个蓝牙设备从0开始计数,在蓝牙设备是至少两个蓝牙设备中的第0个蓝牙设备时,接收主蓝牙设备发送的蓝牙多媒体包;在蓝牙设备是至少两个蓝牙设备中第i(>0)个蓝牙设备时,接收第i-1个蓝牙设备发送的蓝牙多媒体包。Assuming that at least two Bluetooth devices start counting from 0, when the Bluetooth device is the 0th Bluetooth device among at least two Bluetooth devices, receive the Bluetooth multimedia packet sent by the main Bluetooth device; when the Bluetooth device is the 0th Bluetooth device among at least two Bluetooth devices, When there are i(>0) Bluetooth devices, receive the Bluetooth multimedia packet sent by the i-1th Bluetooth device.
假设至少两个蓝牙设备从1开始计数,在蓝牙设备是至少两个蓝牙设备中的第1个蓝牙设备时,接收主蓝牙设备发送的蓝牙多媒体包;在蓝牙设备是至少两个蓝牙设备中第i(>1)个蓝牙设备时,接收第i-1个蓝牙设备发送的蓝牙多媒体包。Assuming that at least two Bluetooth devices start counting from 1, when the Bluetooth device is the first Bluetooth device among at least two Bluetooth devices, receive the Bluetooth multimedia packet sent by the main Bluetooth device; when the Bluetooth device is the first Bluetooth device among at least two Bluetooth devices, When there are i(>1) Bluetooth devices, receive the Bluetooth multimedia packet sent by the i-1th Bluetooth device.
第i-1个蓝牙设备也即上一个蓝牙设备。上一蓝牙设备、蓝牙设备、下一蓝牙设备采用链式传输路径分享来自主蓝牙设备的蓝牙多媒体包。上一蓝牙设备是在链式传输路径中位于蓝牙设备之前的蓝牙设备;下一蓝牙设备是在链式传输路径中位于蓝牙设备之后的蓝牙设备。该链式传输路径是由至少两个蓝牙设备依次排序构成的。示例性的,第i个蓝牙设备与第i+1个蓝牙设备之间基于蓝牙技术进行单播通信。The i-1th Bluetooth device is also the previous Bluetooth device. The previous Bluetooth device, Bluetooth device, and next Bluetooth device share the Bluetooth multimedia packet from the main Bluetooth device using a chain transmission path. The previous Bluetooth device is the Bluetooth device located before the Bluetooth device in the chain transmission path; the next Bluetooth device is the Bluetooth device located after the Bluetooth device in the chain transmission path. The chain transmission path is composed of at least two Bluetooth devices ordered in sequence. For example, unicast communication is performed between the i-th Bluetooth device and the i+1-th Bluetooth device based on Bluetooth technology.
步骤404:向下一蓝牙设备发送蓝牙多媒体包。Step 404: Send the Bluetooth multimedia packet to the next Bluetooth device.
在蓝牙设备是至少两个蓝牙设备中的第i个蓝牙设备且不是最后一个蓝牙设备时,向第i+1个蓝牙设备发送蓝牙多媒体包。也即,蓝牙设备向链式传输路径上的下一蓝牙设备发送蓝牙多媒体包。When the Bluetooth device is the i-th Bluetooth device among at least two Bluetooth devices and is not the last Bluetooth device, send the Bluetooth multimedia packet to the i+1-th Bluetooth device. That is, the Bluetooth device sends the Bluetooth multimedia packet to the next Bluetooth device on the chain transmission path.
可选地,至少两个蓝牙设备中的全部蓝牙设备或部分蓝牙设备用于播放蓝牙多媒体包。对于至少两个蓝牙设备中的一个蓝牙设备,可以不播放任意一个蓝牙多媒体包,仅向下一蓝牙设备进行转发传输;或,播放一部分蓝牙多媒体包,比如标识为需要自身播放的蓝牙多媒体包;或,播放所有蓝牙多媒体包。每个蓝牙设备播放哪些蓝牙多媒体包,视具体的实现而定,不再赘述。Optionally, all or part of the at least two Bluetooth devices are used to play Bluetooth multimedia packages. For one Bluetooth device among at least two Bluetooth devices, it is possible not to play any Bluetooth multimedia packet, but only forward and transmit it to the next Bluetooth device; or to play a part of the Bluetooth multimedia packet, such as the Bluetooth multimedia packet identified as needing to be played by itself; Or, play all Bluetooth multimedia packages. Which Bluetooth multimedia packets each Bluetooth device plays depends on the specific implementation and will not be described again.
可选地,对于至少两个蓝牙设备中的最后一个蓝牙设备,可以不执行步骤404。Optionally, step 404 may not be performed for the last Bluetooth device among the at least two Bluetooth devices.
综上所述,本实施例的方法,通过当前蓝牙设备接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;向下一蓝牙设备发送蓝牙多媒体包,使得至少两个蓝牙设备采用链式传输路径分享来自主蓝牙设备的蓝牙多媒体包,不仅实现了多个蓝牙设备之间分享播放同一份蓝牙多媒体包的方案,还能够尽量保证每个蓝牙设备所使用的带宽最大化。To sum up, the method of this embodiment uses the current Bluetooth device to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and sends the Bluetooth multimedia packet to the next Bluetooth device, so that at least two Bluetooth devices adopt chain transmission. Path sharing of Bluetooth multimedia packets from the main Bluetooth device not only enables multiple Bluetooth devices to share and play the same Bluetooth multimedia packet, but also ensures that the bandwidth used by each Bluetooth device is maximized.
上述蓝牙设备可以是单声道的蓝牙设备,也可以是双声道的蓝牙设备,还可以是多声道的蓝牙设备。The above-mentioned Bluetooth device may be a mono-channel Bluetooth device, a dual-channel Bluetooth device, or a multi-channel Bluetooth device.
在一些实施例中,蓝牙设备包括第一蓝牙组件和第二蓝牙组件。第一蓝牙组件和第二蓝牙组件是具有蓝牙传输能力的组件,比如支持双工通信的蓝牙芯片。第一蓝牙组件和第二蓝牙组件具有各自的机体,比如TWS耳机;或第一蓝牙组件和第二蓝牙组件位于同一个机体内,比如蓝牙音箱、蓝牙手柄、蓝牙遥控器。In some embodiments, a Bluetooth device includes a first Bluetooth component and a second Bluetooth component. The first Bluetooth component and the second Bluetooth component are components with Bluetooth transmission capabilities, such as Bluetooth chips that support duplex communication. The first Bluetooth component and the second Bluetooth component have separate bodies, such as TWS earphones; or the first Bluetooth component and the second Bluetooth component are located in the same body, such as a Bluetooth speaker, a Bluetooth handle, and a Bluetooth remote control.
第一蓝牙组件和第二蓝牙组件可以按照声道划分,或者按照功能划分,或者按照所需传输的数据进行划分,本实施例对此不加以限定。例如,第一蓝牙组件是左声道蓝牙组件,第二蓝牙组件是右声道蓝牙组件。又例如,该第一蓝牙组件用于传输音频,第二蓝牙组件用于 传输游戏控制流。The first Bluetooth component and the second Bluetooth component may be divided according to sound channels, functions, or data to be transmitted, which is not limited in this embodiment. For example, the first Bluetooth component is a left channel Bluetooth component, and the second Bluetooth component is a right channel Bluetooth component. For another example, the first Bluetooth component is used to transmit audio, and the second Bluetooth component is used to Transmit game control stream.
在一些实施例中,以蓝牙设备包括第一蓝牙组件和第二蓝牙组件为例,在蓝牙设备是至少两个蓝牙设备中与主蓝牙设备相邻的设备,也即第0个蓝牙设备(从0计数)或第1个蓝牙设备(从1计数)的情况下,蓝牙设备接收主蓝牙设备发送的蓝牙多媒体包,包括:In some embodiments, taking the Bluetooth device including a first Bluetooth component and a second Bluetooth component as an example, the Bluetooth device is the device adjacent to the main Bluetooth device among at least two Bluetooth devices, that is, the 0th Bluetooth device (slave). In the case of the first Bluetooth device (counting from 1) or the first Bluetooth device (counting from 1), the Bluetooth device receives the Bluetooth multimedia packet sent by the main Bluetooth device, including:
蓝牙设备的第一蓝牙组件接收主蓝牙设备的第一蓝牙组件发送的第一蓝牙多媒体包;蓝牙设备的第二蓝牙组件接收主蓝牙设备的第二蓝牙组件发送的第二蓝牙多媒体包。The first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the master Bluetooth device; the second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the master Bluetooth device.
示例性的,第一蓝牙组件在接收第一蓝牙多媒体包时占用的接收带宽小于或等于W/2;第二蓝牙组件在接收第二蓝牙多媒体包时占用的接收带宽小于或等于W/2。或者,第一蓝牙组件和第二蓝牙组件在接收蓝牙多媒体包的过程中所占用的带宽小于或等于接收带宽W。For example, the receiving bandwidth occupied by the first Bluetooth component when receiving the first Bluetooth multimedia packet is less than or equal to W/2; the receiving bandwidth occupied by the second Bluetooth component when receiving the second Bluetooth multimedia packet is less than or equal to W/2. Alternatively, the bandwidth occupied by the first Bluetooth component and the second Bluetooth component in the process of receiving the Bluetooth multimedia packet is less than or equal to the receiving bandwidth W.
结合参考图2,蓝牙设备的左声道蓝牙组件接收主蓝牙设备的左声道蓝牙组件发送的左声道蓝牙多媒体包;蓝牙设备的右声道蓝牙组件接收主蓝牙设备的右声道蓝牙组件发送的右声道蓝牙多媒体包。With reference to Figure 2, the left channel Bluetooth component of the Bluetooth device receives the left channel Bluetooth multimedia packet sent by the left channel Bluetooth component of the main Bluetooth device; the right channel Bluetooth component of the Bluetooth device receives the right channel Bluetooth component of the main Bluetooth device. Right channel Bluetooth multimedia packet sent.
在一些实施例中,以蓝牙设备包括第一蓝牙组件和第二蓝牙组件为例,在蓝牙设备不是至少两个蓝牙设备中与主蓝牙设备相邻的设备,也即第i个蓝牙设备(i大于0,从0计数)或第i个蓝牙设备(i大于1,从1计数)的情况下,蓝牙设备接收第一蓝牙设备发送的蓝牙多媒体包,包括:In some embodiments, taking the Bluetooth device including a first Bluetooth component and a second Bluetooth component as an example, the Bluetooth device is not the device adjacent to the main Bluetooth device among the at least two Bluetooth devices, that is, the i-th Bluetooth device (i is greater than 0, counting from 0) or the i-th Bluetooth device (i is greater than 1, counting from 1), the Bluetooth device receives the Bluetooth multimedia packet sent by the first Bluetooth device, including:
蓝牙设备的第一蓝牙组件接收第一蓝牙设备的第一蓝牙组件发送的第一蓝牙多媒体包;蓝牙设备的第二蓝牙组件接收第一蓝牙设备的第二蓝牙组件发送的第二蓝牙多媒体包。The first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the first Bluetooth device; the second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the first Bluetooth device.
示例性的,第一蓝牙组件在接收第一蓝牙多媒体包时占用的接收带宽小于或等于W/2;第二蓝牙组件在接收第二蓝牙多媒体包时占用的接收带宽小于或等于W/2。或者,第一蓝牙组件和第二蓝牙组件在接收蓝牙多媒体包的过程中所占用的带宽小于或等于接收带宽W。For example, the receiving bandwidth occupied by the first Bluetooth component when receiving the first Bluetooth multimedia packet is less than or equal to W/2; the receiving bandwidth occupied by the second Bluetooth component when receiving the second Bluetooth multimedia packet is less than or equal to W/2. Alternatively, the bandwidth occupied by the first Bluetooth component and the second Bluetooth component in the process of receiving the Bluetooth multimedia packet is less than or equal to the receiving bandwidth W.
结合参考图2,蓝牙设备的左声道蓝牙组件接收上一蓝牙设备的左声道蓝牙组件发送的左声道蓝牙多媒体包;蓝牙设备的右声道蓝牙组件接收上一蓝牙设备的右声道蓝牙组件发送的右声道蓝牙多媒体包。With reference to Figure 2, the left channel Bluetooth component of the Bluetooth device receives the left channel Bluetooth multimedia packet sent by the left channel Bluetooth component of the previous Bluetooth device; the right channel Bluetooth component of the Bluetooth device receives the right channel of the previous Bluetooth device. Right channel Bluetooth multimedia packet sent by the Bluetooth component.
在一些实施例中,以蓝牙设备包括第一蓝牙组件和第二蓝牙组件为例,上述蓝牙设备向下一蓝牙设备发送蓝牙多媒体包,包括:In some embodiments, taking a Bluetooth device including a first Bluetooth component and a second Bluetooth component as an example, the above-mentioned Bluetooth device sends a Bluetooth multimedia packet to the next Bluetooth device, including:
蓝牙设备的第一蓝牙组件向下一蓝牙设备的一蓝牙组件发送一蓝牙多媒体包;蓝牙设备的第二蓝牙组件向下一蓝牙设备的第二蓝牙组件发送第二蓝牙多媒体包。The first Bluetooth component of the Bluetooth device sends a Bluetooth multimedia packet to a Bluetooth component of the next Bluetooth device; the second Bluetooth component of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth component of the next Bluetooth device.
示例性的,第一蓝牙组件在发送第一蓝牙多媒体包时占用的发送带宽小于或等于W/2,第二蓝牙组件在发送第二蓝牙多媒体包时占用的发送带宽小于或等于W/2。或者,第一蓝牙组件和第二蓝牙组件在发送蓝牙多媒体包的过程中所占用的带宽小于或等于发送带宽W。For example, the sending bandwidth occupied by the first Bluetooth component when sending the first Bluetooth multimedia packet is less than or equal to W/2, and the sending bandwidth occupied by the second Bluetooth component when sending the second Bluetooth multimedia packet is less than or equal to W/2. Alternatively, the bandwidth occupied by the first Bluetooth component and the second Bluetooth component in the process of sending the Bluetooth multimedia packet is less than or equal to the sending bandwidth W.
结合参考图2,蓝牙设备的左声道蓝牙组件向下一蓝牙设备的左声道蓝牙组件发送左声道蓝牙多媒体包;蓝牙设备的右声道蓝牙组件向下一蓝牙设备的右声道蓝牙组件发送右声道蓝牙多媒体包。With reference to Figure 2, the left channel Bluetooth component of the Bluetooth device sends the left channel Bluetooth multimedia packet to the left channel Bluetooth component of the next Bluetooth device; the right channel Bluetooth component of the Bluetooth device sends the right channel Bluetooth component of the next Bluetooth device to the right channel Bluetooth component of the next Bluetooth device. Component sends right channel Bluetooth multimedia packets.
在上述实施例中,第一蓝牙多媒体包在发送时占用蓝牙发送带宽中的第一子带宽;第二蓝牙多媒体包在发送时占用蓝牙发送带宽中的第二子带宽;第一蓝牙多媒体包在接收时占用蓝牙接收带宽中的第三子带宽;第二蓝牙多媒体包在接收时占用蓝牙接收带宽中的第四子带宽。In the above embodiment, the first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent; the first Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent; When receiving, it occupies the third sub-bandwidth of the Bluetooth receiving bandwidth; when receiving the second Bluetooth multimedia packet, it occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth.
第一子带宽小于或等于蓝牙发送带宽的二分之一,第二子带宽小于或等于蓝牙发送带宽的二分之一;第三子带宽小于或等于蓝牙接收带宽的二分之一,第四子带宽小于或等于蓝牙接收带宽的二分之一。The first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth, the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth; the third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth, and the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth. The sub-bandwidth is less than or equal to one-half of the Bluetooth receive bandwidth.
以第一子带宽、第二子带宽、第三子带宽和第四子带宽均为二分之一为例,对于主蓝牙 设备来讲,主蓝牙设备所使用的蓝牙带宽为整个蓝牙发送带宽:W/2+W/2=W;对于第一蓝牙部件来讲,第一蓝牙部件所使用的蓝牙带宽为:W/2的蓝牙发送带宽+W/2的蓝牙接收带宽=W;对于第二蓝牙部件来讲,第二蓝牙部件所使用的蓝牙带宽为:W/2的蓝牙发送带宽+W/2的蓝牙接收带宽=W,也即上述实施例中的主蓝牙设备、第一蓝牙部件和第二蓝牙部件均使用了整个蓝牙带宽W,最大化地使用了蓝牙带宽来保证传输质量,以支持高质量的音视频包的传输。Taking the first sub-bandwidth, second sub-bandwidth, third sub-bandwidth and fourth sub-bandwidth as an example, for the main Bluetooth For devices, the Bluetooth bandwidth used by the main Bluetooth device is the entire Bluetooth transmission bandwidth: W/2+W/2=W; for the first Bluetooth component, the Bluetooth bandwidth used by the first Bluetooth component is: W/2 Bluetooth sending bandwidth + W/2 Bluetooth receiving bandwidth = W; for the second Bluetooth component, the Bluetooth bandwidth used by the second Bluetooth component is: W/2 Bluetooth sending bandwidth + W/2 Bluetooth receiving bandwidth = W, that is, the main Bluetooth device, the first Bluetooth component and the second Bluetooth component in the above embodiment all use the entire Bluetooth bandwidth W, maximizing the use of the Bluetooth bandwidth to ensure transmission quality and support high-quality audio and video packets. transmission.
上述实施例以每个蓝牙设备中的蓝牙部件为两个来举例说明。在一些实施例中,每个蓝牙设备中的蓝牙部件也可以为三个或三个以上。示例性的如图5所示,主蓝牙设备30是游戏主机,该游戏主机30上运行的游戏为云游戏。每个用户使用自身对应的一个蓝牙设备。一个蓝牙设备包括三个蓝牙部件:左声道耳机、右声道耳机和游戏手柄。左声道耳机用于播放左声道蓝牙音频包、右声道耳机用于播放右声道蓝牙音频包、游戏手柄用于接收游戏主机30游戏反馈数据进行振动反馈或声光反馈,和/或向游戏主机30上传手柄操作数据。The above embodiment is exemplified by taking two Bluetooth components in each Bluetooth device. In some embodiments, there may be three or more Bluetooth components in each Bluetooth device. As shown in FIG. 5 , the main Bluetooth device 30 is a game console, and the game running on the game console 30 is a cloud game. Each user uses his own corresponding Bluetooth device. A Bluetooth device includes three Bluetooth components: a left-channel headset, a right-channel headset, and a game controller. The left channel earphone is used to play the left channel Bluetooth audio package, the right channel earphone is used to play the right channel Bluetooth audio package, the game controller is used to receive the game feedback data of the game console 30 for vibration feedback or sound and light feedback, and/or Upload handle operation data to the game console 30 .
在一些实施例中,蓝牙设备、上一蓝牙设备和下一蓝牙设备均包括第一蓝牙部件、第二蓝牙部件和第三蓝牙部件。In some embodiments, the Bluetooth device, the previous Bluetooth device, and the next Bluetooth device each include a first Bluetooth component, a second Bluetooth component, and a third Bluetooth component.
蓝牙设备的第一蓝牙部件接收上一蓝牙设备的第一蓝牙部件发送的第一蓝牙多媒体包;蓝牙设备的第二蓝牙部件接收上一蓝牙设备的第二蓝牙部件发送的第二蓝牙多媒体包;蓝牙设备的第三蓝牙部件接收上一蓝牙设备的第三蓝牙部件发送的第三蓝牙多媒体包。The first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the previous Bluetooth device; the second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the previous Bluetooth device; The third Bluetooth component of the Bluetooth device receives the third Bluetooth multimedia packet sent by the third Bluetooth component of the previous Bluetooth device.
蓝牙设备的第一蓝牙部件向下一蓝牙设备的第一蓝牙部件发送第一蓝牙多媒体包;蓝牙设备的第二蓝牙部件向下一蓝牙设备的第二蓝牙部件发送第二蓝牙多媒体包;蓝牙设备的第三蓝牙部件向下一蓝牙设备的第三蓝牙部件发送第三蓝牙多媒体包。The first Bluetooth component of the Bluetooth device sends the first Bluetooth multimedia packet to the first Bluetooth component of the next Bluetooth device; the second Bluetooth component of the Bluetooth device sends the second Bluetooth multimedia packet to the second Bluetooth component of the next Bluetooth device; the Bluetooth device The third Bluetooth component sends the third Bluetooth multimedia packet to the third Bluetooth component of the next Bluetooth device.
示例性的参考图5,第一蓝牙设备(左声道)所使用的蓝牙带宽为:W2/5的蓝牙发送带宽+W2/5的蓝牙接收带宽=W4/5。第二蓝牙设备(右声道)所使用的蓝牙带宽为:W2/5的蓝牙发送带宽+W2/5的蓝牙接收带宽=W4/5。第三蓝牙设备(游戏手柄)所使用的蓝牙带宽为:W1/5的蓝牙发送带宽+W1/5的蓝牙接收带宽=W2/5。虽然第一蓝牙设备或第二蓝牙设备未能占用整个蓝牙带宽,但是也占用到了自身支持的蓝牙带宽的80%,还同时支持了第三路蓝牙设备的同步传输。Referring to Figure 5 as an example, the Bluetooth bandwidth used by the first Bluetooth device (left channel) is: Bluetooth transmission bandwidth of W2/5 + Bluetooth reception bandwidth of W2/5 = W4/5. The Bluetooth bandwidth used by the second Bluetooth device (right channel) is: Bluetooth sending bandwidth of W2/5 + Bluetooth receiving bandwidth of W2/5 = W4/5. The Bluetooth bandwidth used by the third Bluetooth device (game controller) is: Bluetooth sending bandwidth of W1/5 + Bluetooth receiving bandwidth of W1/5 = W2/5. Although the first Bluetooth device or the second Bluetooth device does not occupy the entire Bluetooth bandwidth, it also occupies 80% of the Bluetooth bandwidth it supports, and also supports synchronous transmission of the third Bluetooth device.
在一些实施例中,蓝牙设备、上一蓝牙设备和下一蓝牙设备均包括n个蓝牙部件。In some embodiments, the Bluetooth device, the previous Bluetooth device, and the next Bluetooth device each include n Bluetooth components.
蓝牙设备的第i个蓝牙部件接收上一蓝牙设备的第i个蓝牙部件发送的第i路蓝牙多媒体包。蓝牙设备的第i个蓝牙部件向下一蓝牙设备的第i个蓝牙部件发送第i路蓝牙多媒体包。i为不大于n的整数。The i-th Bluetooth component of the Bluetooth device receives the i-th Bluetooth multimedia packet sent by the i-th Bluetooth component of the previous Bluetooth device. The i-th Bluetooth component of the Bluetooth device sends the i-th Bluetooth multimedia packet to the i-th Bluetooth component of the next Bluetooth device. i is an integer not greater than n.
在一些实施例中,在主蓝牙设备和蓝牙设备之间、上一蓝牙设备和蓝牙设备之间、蓝牙设备和下一蓝牙设备之间,在传输上述蓝牙多媒体包时采用单播通信,而非组播通信或广播通信。相邻的两个蓝牙设备中的第一蓝牙部件在传输第一蓝牙多媒体包时采用单播通信,相邻的两个蓝牙设备中的第二蓝牙部件在传输第二蓝牙多媒体包时采用单播通信。In some embodiments, unicast communication is used when transmitting the above-mentioned Bluetooth multimedia packets between the main Bluetooth device and the Bluetooth device, between the previous Bluetooth device and the Bluetooth device, and between the Bluetooth device and the next Bluetooth device. Multicast communication or broadcast communication. The first Bluetooth component in two adjacent Bluetooth devices uses unicast communication when transmitting the first Bluetooth multimedia packet, and the second Bluetooth component in the two adjacent Bluetooth devices uses unicast when transmitting the second Bluetooth multimedia packet. communication.
在一些实施例中,上述蓝牙多媒体包在传输时支持重传机制。也即,第一蓝牙多媒体包和第二蓝牙多媒体包在传输时支持重传机制。对于第k个蓝牙多媒体包,当接收到确认反馈(ACK)时,开始传输第k+1个蓝牙多媒体包;当接收到否认反馈(NACK)时,重新传输第k个蓝牙多媒体包。由于蓝牙传输在传输时比较容易出现干扰或丢包或译码错误,因此支持重传机制能够保证高质量音频数据的传输质量。而在蓝牙广播或组播时,无法支持重传机制。In some embodiments, the above-mentioned Bluetooth multimedia packet supports a retransmission mechanism during transmission. That is, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission. For the k-th Bluetooth multimedia packet, when an acknowledgment feedback (ACK) is received, the k+1-th Bluetooth multimedia packet is transmitted; when a negative feedback (NACK) is received, the k-th Bluetooth multimedia packet is retransmitted. Since Bluetooth transmission is prone to interference, packet loss or decoding errors during transmission, supporting the retransmission mechanism can ensure the transmission quality of high-quality audio data. In Bluetooth broadcast or multicast, the retransmission mechanism cannot be supported.
在一些实施例中,上述蓝牙多媒体包的传输过程受主蓝牙设备的控制。如图6所示,主蓝牙设备10与四个蓝牙设备21-24均建立有控制链路,该控制链路用于传输与蓝牙多媒体包的传输过程有关的控制信息。该控制信息包括:上一蓝牙设备的地址、下一蓝牙设备的地址、蓝牙多媒体包的序号、蓝牙多媒体包的反馈信息(ACK/NACK)、蓝牙多媒体包的初传/重传 信息、需要播放蓝牙多媒体包的蓝牙设备的标识等等。主蓝牙设备10与蓝牙设备21之间、蓝牙设备21与蓝牙设备22之间、蓝牙设备22与蓝牙设备23之间、蓝牙设备23与蓝牙设备24之间建立有数据链路,该数据链路用于传输蓝牙多媒体包。在蓝牙设备21-24包括左声道蓝牙部件和右声道蓝牙部件的情况下,各个左声道蓝牙部件之间建立有左声道数据链路,各个右声道蓝牙部件之间建立有右声道数据链路。In some embodiments, the transmission process of the above-mentioned Bluetooth multimedia packet is controlled by the host Bluetooth device. As shown in FIG. 6 , control links are established between the main Bluetooth device 10 and the four Bluetooth devices 21 - 24 . The control links are used to transmit control information related to the transmission process of Bluetooth multimedia packets. The control information includes: the address of the previous Bluetooth device, the address of the next Bluetooth device, the serial number of the Bluetooth multimedia packet, the feedback information (ACK/NACK) of the Bluetooth multimedia packet, and the initial transmission/retransmission of the Bluetooth multimedia packet. information, the identification of the Bluetooth device that needs to play the Bluetooth multimedia package, etc. A data link is established between the main Bluetooth device 10 and the Bluetooth device 21, between the Bluetooth device 21 and the Bluetooth device 22, between the Bluetooth device 22 and the Bluetooth device 23, and between the Bluetooth device 23 and the Bluetooth device 24. The data link Used to transmit Bluetooth multimedia packets. In the case where the Bluetooth devices 21-24 include a left channel Bluetooth component and a right channel Bluetooth component, a left channel data link is established between each left channel Bluetooth component, and a right channel data link is established between each right channel Bluetooth component. Audio channel data link.
但不排除在一些实施例中,主蓝牙设备10与第0/1个蓝牙设备之间的传输过程受主蓝牙设备控制。第i(大于0或1)个蓝牙设备与第i+1个蓝牙设备之间的传输过程受第i个蓝牙设备控制。也即第i个蓝牙设备的传输过程可以由自身控制,而非主蓝牙设备10控制。这两种控制方法还可以结合实施,比如图6中的蓝牙设备21-23与主蓝牙设备10之间建立有控制链路,蓝牙设备21-23之间的传输过程受主蓝牙设备10控制;而蓝牙设备24由于距离主蓝牙设备10较远,蓝牙设备24与主蓝牙设备10之间未建立有控制链路,蓝牙设备23和蓝牙设备24之间的传输过程由蓝牙设备23来控制。However, it is not excluded that in some embodiments, the transmission process between the main Bluetooth device 10 and the 0/1th Bluetooth device is controlled by the main Bluetooth device. The transmission process between the i-th (greater than 0 or 1) Bluetooth device and the i+1-th Bluetooth device is controlled by the i-th Bluetooth device. That is to say, the transmission process of the i-th Bluetooth device can be controlled by itself rather than by the main Bluetooth device 10 . These two control methods can also be implemented in combination. For example, a control link is established between the Bluetooth devices 21-23 and the main Bluetooth device 10 in Figure 6, and the transmission process between the Bluetooth devices 21-23 is controlled by the main Bluetooth device 10; Since the Bluetooth device 24 is far away from the main Bluetooth device 10, no control link is established between the Bluetooth device 24 and the main Bluetooth device 10. The transmission process between the Bluetooth device 23 and the Bluetooth device 24 is controlled by the Bluetooth device 23.
蓝牙多媒体包的播放:Playback of Bluetooth multimedia package:
在一些实施例中,上述方法还包括:蓝牙设备播放蓝牙多媒体包。由于蓝牙多媒体包为至少一个。蓝牙设备播放蓝牙多媒体包包括如下至少之一:In some embodiments, the above method further includes: the Bluetooth device plays the Bluetooth multimedia package. Since the Bluetooth multimedia package is at least one. The Bluetooth device that plays Bluetooth multimedia packages includes at least one of the following:
·蓝牙设备播放所有蓝牙多媒体包;·Bluetooth devices play all Bluetooth multimedia packages;
以多个蓝牙设备分享播放同一首歌曲为例,示例性的如图7所示,歌曲音频流包括多个蓝牙音频包“0”,蓝牙音频包“0”是所有或每个蓝牙设备均需要播放的音频包,也即蓝牙设备21和蓝牙设备22均需要播放的蓝牙音频包。Taking multiple Bluetooth devices to share and play the same song as an example, as shown in Figure 7, the song audio stream includes multiple Bluetooth audio packets "0", and the Bluetooth audio packet "0" is required by all or every Bluetooth device. The played audio packet is the Bluetooth audio packet that both the Bluetooth device 21 and the Bluetooth device 22 need to play.
·蓝牙设备播放一部分蓝牙多媒体包。·The Bluetooth device plays a portion of the Bluetooth multimedia package.
以蓝牙多媒体包是VR游戏中的蓝牙音频包,不同蓝牙设备对应不同的用户为例。示例性的如图8所示,存在一部分蓝牙音频包“0”是每个蓝牙设备都需要播放的,比如背景音乐有关的蓝牙音乐包;存在一部分蓝牙音频包是仅需要指定的蓝牙设备播放的。比如蓝牙音频包“1”是用户A操作的游戏角色在释放技能时的系统反馈音效,仅需要用户A使用的蓝牙设备21播放,其它用户使用的蓝牙设备无需播放;蓝牙音频包“2”是用户B操作的游戏角色在释放技能时的系统反馈音效,仅需要用户B使用的蓝牙设备22播放,其它用户使用的蓝牙设备无需播放。For example, the Bluetooth multimedia package is the Bluetooth audio package in VR games, and different Bluetooth devices correspond to different users. As shown in Figure 8, there are some Bluetooth audio packets "0" that every Bluetooth device needs to play, such as Bluetooth music packets related to background music; there are some Bluetooth audio packets that only need to be played by designated Bluetooth devices. . For example, Bluetooth audio package "1" is the system feedback sound effect of the game character operated by user A when releasing skills. It only needs to be played by the Bluetooth device 21 used by user A, and does not need to be played by Bluetooth devices used by other users; Bluetooth audio package "2" is The system feedback sound effect when the game character operated by user B releases the skill only needs to be played by the Bluetooth device 22 used by user B, and does not need to be played by the Bluetooth devices used by other users.
在不同实施例中,蓝牙多媒体包包括如下类型中的至少一种:In different embodiments, the Bluetooth multimedia package includes at least one of the following types:
·需要所有蓝牙设备播放的蓝牙多媒体包;·Bluetooth multimedia package required for playback by all Bluetooth devices;
·需要指定或特定蓝牙设备播放的蓝牙多媒体包;·Bluetooth multimedia packages that need to be played by designated or specific Bluetooth devices;
其中,指定或特定蓝牙设备是被蓝牙多媒体包中携带的设备标识和/或类型标识所指定的蓝牙设备。Wherein, the designated or specific Bluetooth device is the Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.
·需要第一多媒体部件播放的蓝牙多媒体包;·Bluetooth multimedia package that requires the first multimedia component to play;
·需要第二多媒体部件播放的蓝牙多媒体包;·Bluetooth multimedia package that requires a second multimedia component to play;
·需要指定或特定蓝牙设备中的第一多媒体部件播放的蓝牙多媒体包;·Bluetooth multimedia packets that need to be played by the first multimedia component in a designated or specific Bluetooth device;
·需要指定或特定蓝牙设备中的第二多媒体部件播放的蓝牙多媒体包。·Bluetooth multimedia packets that need to be played by the second multimedia component in a designated or specific Bluetooth device.
诸如此类,不再一一赘述。Etc., I won’t go into details one by one.
在一些实施例中,蓝牙设备包括第一多媒体部件和第二多媒体部件。蓝牙设备的第一多媒体部件播放第一蓝牙多媒体包;蓝牙设备的第二多媒体部件播放第二蓝牙多媒体包。以第一多媒体部件是左声道部件,第二多媒体部件是右声道部件为例,蓝牙设备的左声道部件播放左声道蓝牙多媒体包;蓝牙设备的右声道部件播放右声道蓝牙多媒体包。In some embodiments, a Bluetooth device includes a first multimedia component and a second multimedia component. The first multimedia component of the Bluetooth device plays the first Bluetooth multimedia package; the second multimedia component of the Bluetooth device plays the second Bluetooth multimedia package. Taking the first multimedia component as a left channel component and the second multimedia component as a right channel component as an example, the left channel component of the Bluetooth device plays the left channel Bluetooth multimedia packet; the right channel component of the Bluetooth device plays Right channel Bluetooth multimedia package.
示例性的,第一多媒体部件包括:第一解码组件、第一数模转换器(Digital to Analog Converter,DAC)、第一功率放大器(Amplifier for Power,AMP)和第一播放部件;蓝牙设 备的第一部件播放第一蓝牙多媒体包,包括:第一解码组件将第一蓝牙多媒体包解码成第一脉冲编码调制(Pulse Code Modulation,PCM)数据;第一DAC将第一PCM数据转化为第一模拟信号;第一AMP将第一模拟信号放大后,输出至第一播放部件进行播放。Exemplarily, the first multimedia component includes: a first decoding component, a first digital to analog converter (Digital to Analog Converter, DAC), a first power amplifier (Amplifier for Power, AMP), and a first playback component; Bluetooth set up The first component of the device plays the first Bluetooth multimedia packet, including: the first decoding component decodes the first Bluetooth multimedia packet into first Pulse Code Modulation (PCM) data; the first DAC converts the first PCM data into The first analog signal; the first AMP amplifies the first analog signal and then outputs it to the first playback component for playback.
示例性的,第二多媒体部件包括:第二解码组件、第二DAC、第二AMP和第二播放部件;蓝牙设备的第二部件播放第二蓝牙多媒体包,包括:第二解码组件将第二蓝牙多媒体包解码成第二PCM数据;第二DAC将第二PCM数据转化为第二模拟信号;第二AMP将第二模拟信号放大后,输出至第二播放部件进行播放。Exemplarily, the second multimedia component includes: a second decoding component, a second DAC, a second AMP and a second playing component; the second component of the Bluetooth device plays the second Bluetooth multimedia package, including: the second decoding component The second Bluetooth multimedia packet is decoded into second PCM data; the second DAC converts the second PCM data into a second analog signal; the second AMP amplifies the second analog signal and outputs it to the second playback component for playback.
以第一多媒体部件是左声道部件、第二多媒体部件是右声道部件为例,如图9所示:手机10将音源提供的PCM数据按照左右声道数据分别进行蓝牙音频编码,得到左声道蓝牙音频包和右声道蓝牙音频包。手机10中的蓝牙发送部件11将左声道蓝牙音频包和右声道蓝牙音频包发送至蓝牙设备。Taking the first multimedia component as a left channel component and the second multimedia component as a right channel component as an example, as shown in Figure 9: the mobile phone 10 performs Bluetooth audio processing on the PCM data provided by the audio source according to the left and right channel data respectively. Encode to get the left channel Bluetooth audio packet and the right channel Bluetooth audio packet. The Bluetooth sending component 11 in the mobile phone 10 sends the left channel Bluetooth audio packet and the right channel Bluetooth audio packet to the Bluetooth device.
蓝牙设备的左声道蓝牙耳机31包括:左声道蓝牙接收部件32、左声道PCM(解码组件)33、左声道DAC34和左声道AMP35、左声道播放部件36、左声道蓝牙发送部件37。左声道蓝牙接收部件32在接收到左声道蓝牙音频包后,将左声道蓝牙音频包传输给左声道PCM33,左声道PCM33将左声道蓝牙音频包解码成左声道PCM数据;左声道DAC34将左声道PCM数据转化为左声道模拟信号;左声道AMP35将左声道模拟信号放大后,输出至左声道播放部件36进行播放。另一方面,左声道蓝牙发送部件37还将左声道蓝牙音频包发送至下一左声道蓝牙耳机。在一些实施例中,左声道蓝牙接收部件32和左声道蓝牙发送部件37被实现为同一块蓝牙芯片,也即第一蓝牙部件。The left channel Bluetooth headset 31 of the Bluetooth device includes: a left channel Bluetooth receiving component 32, a left channel PCM (decoding component) 33, a left channel DAC 34 and a left channel AMP 35, a left channel playing component 36, and a left channel Bluetooth Send part 37. After receiving the left channel Bluetooth audio packet, the left channel Bluetooth receiving component 32 transmits the left channel Bluetooth audio packet to the left channel PCM 33, and the left channel PCM 33 decodes the left channel Bluetooth audio packet into left channel PCM data. ; The left channel DAC34 converts the left channel PCM data into a left channel analog signal; the left channel AMP35 amplifies the left channel analog signal and outputs it to the left channel playback component 36 for playback. On the other hand, the left channel Bluetooth sending component 37 also sends the left channel Bluetooth audio packet to the next left channel Bluetooth headset. In some embodiments, the left channel Bluetooth receiving component 32 and the left channel Bluetooth sending component 37 are implemented as the same Bluetooth chip, that is, the first Bluetooth component.
蓝牙设备的右声道蓝牙耳机41包括:右声道蓝牙接收部件42、右声道PCM(解码组件)43、右声道DAC44和右声道AMP45、右声道播放部件46、右声道蓝牙发送部件47。右声道蓝牙接收部件42在接收到右声道蓝牙音频包后,将右声道蓝牙音频包传输给右声道PCM43,右声道PCM43将右声道蓝牙音频包解码成右声道PCM数据;右声道DAC44将右声道PCM数据转化为右声道模拟信号;右声道AMP45将右声道模拟信号放大后,输出至右声道播放部件46进行播放。另一方面,右声道蓝牙发送部件47还将右声道蓝牙音频包发送至下一右声道蓝牙耳机。在一些实施例中,右声道蓝牙接收部件42和右声道蓝牙发送部件47被实现为同一块蓝牙芯片,也即第二蓝牙部件。The right channel Bluetooth headset 41 of the Bluetooth device includes: right channel Bluetooth receiving component 42, right channel PCM (decoding component) 43, right channel DAC 44 and right channel AMP 45, right channel playback component 46, right channel Bluetooth Send component 47. After receiving the right channel Bluetooth audio packet, the right channel Bluetooth receiving component 42 transmits the right channel Bluetooth audio packet to the right channel PCM 43, and the right channel PCM 43 decodes the right channel Bluetooth audio packet into right channel PCM data. ; The right channel DAC44 converts the right channel PCM data into a right channel analog signal; the right channel AMP45 amplifies the right channel analog signal and outputs it to the right channel playback component 46 for playback. On the other hand, the right channel Bluetooth sending component 47 also sends the right channel Bluetooth audio packet to the next right channel Bluetooth headset. In some embodiments, the right channel Bluetooth receiving component 42 and the right channel Bluetooth sending component 47 are implemented as the same Bluetooth chip, that is, the second Bluetooth component.
链式传输路径的建立:Establishment of chain transmission path:
在一些实施例中,上述链式传输路径的建立由主蓝牙设备控制。示例性的,主蓝牙设备基于各个蓝牙设备的信号质量、各个蓝牙设备与主蓝牙设备之间的距离远近、各个蓝牙设备所处的位置、各个蓝牙设备的传输能力、各个蓝牙设备的使用者信息、各个蓝牙设备的设备类型中的至少一项因素,选择至少两个蓝牙设备以及对被选择的至少两个蓝牙设备进行排序,构建得到链式传输路径。然后,主蓝牙设备向链式传输路径中的各个蓝牙设备配置上一蓝牙设备和/或下一蓝牙设备的地址信息。也即对于蓝牙设备来讲,上一蓝牙设备和/或下一蓝牙设备是由主蓝牙设备配置的。In some embodiments, the establishment of the chain transmission path is controlled by the master Bluetooth device. For example, the master Bluetooth device is based on the signal quality of each Bluetooth device, the distance between each Bluetooth device and the master Bluetooth device, the location of each Bluetooth device, the transmission capability of each Bluetooth device, and the user information of each Bluetooth device. , at least one factor in the device type of each Bluetooth device, selecting at least two Bluetooth devices and sorting the selected at least two Bluetooth devices to construct a chain transmission path. Then, the master Bluetooth device configures the address information of the previous Bluetooth device and/or the next Bluetooth device to each Bluetooth device in the chain transmission path. That is to say, for Bluetooth devices, the previous Bluetooth device and/or the next Bluetooth device are configured by the main Bluetooth device.
例如,主蓝牙设备将各个蓝牙设备按照信号质量由高到低的顺序排序,以构建链式传输路径。又例如,主蓝牙设备将各个蓝牙设备按照距离远近由近到远的顺序排序,以构建链式传输路径。又例如,主蓝牙设备将各个蓝牙设备按照传输能力(如带宽)由高到低的顺序排序,以构建链式传输路径等等。For example, the master Bluetooth device sorts the Bluetooth devices in order from high to low signal quality to build a chain transmission path. For another example, the master Bluetooth device sorts the Bluetooth devices in order of distance from near to far to build a chain transmission path. For another example, the master Bluetooth device sorts the Bluetooth devices in order from high to low according to transmission capabilities (such as bandwidth) to build a chain transmission path and so on.
在一些实施例中,下一蓝牙设备由蓝牙设备自主选择。也即,主蓝牙设备基于选择因素选择第0/1个蓝牙设备,第i(大于0/1)个蓝牙设备基于选择因素选择第i+1个蓝牙设备,以构建链式传输路径。选择因素包括:各个蓝牙设备的信号质量、各个蓝牙设备与主蓝牙设备之间的距离远近、各个蓝牙设备所处的位置、各个蓝牙设备的传输能力、各个蓝牙设备的使用者信息、各个蓝牙设备的设备类型中的至少一项因素。链式传输路径上的不同蓝牙设备 所使用的选择因素可以相同,也可以不同。In some embodiments, the next Bluetooth device is autonomously selected by the Bluetooth device. That is, the main Bluetooth device selects the 0/1th Bluetooth device based on the selection factors, and the i-th (greater than 0/1) Bluetooth device selects the i+1th Bluetooth device based on the selection factors to build a chain transmission path. The selection factors include: the signal quality of each Bluetooth device, the distance between each Bluetooth device and the main Bluetooth device, the location of each Bluetooth device, the transmission capability of each Bluetooth device, the user information of each Bluetooth device, each Bluetooth device at least one factor in the device type. Different Bluetooth devices on the chain transmission path The selection factors used can be the same or different.
链式传输路径的动态更改:Dynamic changes of chain transmission paths:
由于蓝牙设备的位置可能会发生改变,蓝牙设备与下一蓝牙设备之间的传输质量会动态变化。因此,每个蓝牙设备的下一蓝牙设备支持动态更改。在蓝牙多媒体包的传输过程中,蓝牙设备更改下一蓝牙设备。Because the location of a Bluetooth device may change, the transmission quality between a Bluetooth device and the next Bluetooth device changes dynamically. Therefore, the next Bluetooth device for each Bluetooth device supports dynamic changes. During the transmission of Bluetooth multimedia packets, the Bluetooth device changes to the next Bluetooth device.
在一些实施例中,蓝牙设备基于主蓝牙设备的控制,更改下一蓝牙设备。在一些实施例中,蓝牙设备基于更改因素更改一下蓝牙设备。更改因素包括各个蓝牙设备的信号质量、各个蓝牙设备与主蓝牙设备之间的距离远近、各个蓝牙设备所处的位置、各个蓝牙设备的传输能力、各个蓝牙设备的使用者信息、各个蓝牙设备的设备类型中的至少一项因素。In some embodiments, the Bluetooth device changes to the next Bluetooth device based on control of the primary Bluetooth device. In some embodiments, the Bluetooth device changes the Bluetooth device based on the change factor. The changing factors include the signal quality of each Bluetooth device, the distance between each Bluetooth device and the main Bluetooth device, the location of each Bluetooth device, the transmission capability of each Bluetooth device, the user information of each Bluetooth device, and the location of each Bluetooth device. At least one factor in device type.
上述蓝牙设备的产品实现可能有多种实现方式。在一个示例性的例子中,上述蓝牙设备被实现成为TWS耳机。如图10所示,当婴儿51睡着时,为了不打扰婴儿51的睡眠。爸爸52、妈妈53和哥哥54分别带着一对TWS耳机分享电视机内播放的影视作品,每对TWS耳机包括左声道耳机和右声道耳机。在另一个示例性的例子中,如图11所示,上述蓝牙设备被实现成为一套商业AR设备,该套商业AR设备包括4组单人设备,该4组单人设备分别供用户51、用户52、用户53和用户54使用,每组单人设备包括AR眼镜、左声道耳机、右声道耳机。当AR眼镜中观察到的AR人物55在讲解电子屏幕信息时,4组单人设备都能够听到该AR人物55的声音。本申请实施例对蓝牙设备的具体产品形态不加以限定。The product implementation of the above Bluetooth device may have multiple implementation methods. In an illustrative example, the above-mentioned Bluetooth device is implemented as a TWS headset. As shown in Figure 10, when the baby 51 is asleep, in order not to disturb the sleep of the baby 51. Dad 52, mom 53 and brother 54 each wore a pair of TWS earphones to share the film and television works played on the TV. Each pair of TWS earphones included left-channel earphones and right-channel earphones. In another illustrative example, as shown in Figure 11, the above-mentioned Bluetooth device is implemented as a set of commercial AR devices. The set of commercial AR devices includes 4 groups of single-person devices, and the 4 groups of single-person devices are respectively used by users 51, Used by User 52, User 53 and User 54, each set of single-person devices includes AR glasses, left-channel earphones, and right-channel earphones. When the AR character 55 observed in the AR glasses explains information on the electronic screen, all four groups of single devices can hear the voice of the AR character 55. The embodiments of this application do not limit the specific product form of the Bluetooth device.
需要说明的是,上述各个实施例还可以根据本领域技术人员的理解进行自由拆分和组合,本申请实施例不再赘述。It should be noted that the above-mentioned embodiments can also be freely separated and combined according to the understanding of those skilled in the art, and the embodiments of this application will not be described again.
图12示出了本申请一个示例性实施例提供的蓝牙装置的框图。该蓝牙装置包括:Figure 12 shows a block diagram of a Bluetooth device provided by an exemplary embodiment of the present application. The Bluetooth device includes:
蓝牙接收模块61,用于接收主蓝牙装置或上一蓝牙装置发送的蓝牙多媒体包;The Bluetooth receiving module 61 is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device;
蓝牙发送模块62,用于向下一蓝牙装置发送所述蓝牙多媒体包。The Bluetooth sending module 62 is used to send the Bluetooth multimedia packet to the next Bluetooth device.
在一些实施例中,蓝牙接收模块61和蓝牙发送模块62可实现为同一个蓝牙模块或蓝牙收发模块。In some embodiments, the Bluetooth receiving module 61 and the Bluetooth sending module 62 can be implemented as the same Bluetooth module or Bluetooth transceiver module.
在一些实施例中,所述上一蓝牙装置、所述蓝牙装置、所述下一蓝牙装置采用链式传输路径分享来自所述主蓝牙装置的蓝牙多媒体包;In some embodiments, the previous Bluetooth device, the Bluetooth device, and the next Bluetooth device use a chain transmission path to share the Bluetooth multimedia packet from the main Bluetooth device;
所述上一蓝牙装置是在所述链式传输路径中位于所述蓝牙装置之前的蓝牙装置;The previous Bluetooth device is a Bluetooth device located before the Bluetooth device in the chain transmission path;
所述下一蓝牙装置是在所述链式传输路径中位于所述蓝牙装置之后的蓝牙装置。The next Bluetooth device is a Bluetooth device located after the Bluetooth device in the chain transmission path.
在一些实施例中,所述蓝牙装置和所述上一蓝牙装置均包括第一蓝牙子装置和第二蓝牙子装置;每个蓝牙子装置包括一组蓝牙接收模块61和蓝牙发送模块62。In some embodiments, the Bluetooth device and the previous Bluetooth device both include a first Bluetooth sub-device and a second Bluetooth sub-device; each Bluetooth sub-device includes a set of Bluetooth receiving modules 61 and Bluetooth sending modules 62 .
所述蓝牙装置的第一蓝牙子装置接收所述上一蓝牙装置的第一蓝牙子装置发送的第一蓝牙多媒体包;The first Bluetooth sub-device of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth sub-device of the previous Bluetooth device;
所述蓝牙装置的第二蓝牙子装置接收所述上一蓝牙装置的第二蓝牙子装置发送的第二蓝牙多媒体包。The second Bluetooth sub-device of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth sub-device of the previous Bluetooth device.
在一些实施例中,所述蓝牙装置和所述下一蓝牙装置均包括第一蓝牙子装置和第二蓝牙子装置;In some embodiments, the Bluetooth device and the next Bluetooth device each include a first Bluetooth sub-device and a second Bluetooth sub-device;
所述蓝牙装置的第一蓝牙子装置向所述下一蓝牙装置的第一蓝牙子装置发送第一蓝牙多媒体包;The first Bluetooth sub-device of the Bluetooth device sends a first Bluetooth multimedia packet to the first Bluetooth sub-device of the next Bluetooth device;
所述蓝牙装置的第二蓝牙子装置向所述下一蓝牙装置的第二蓝牙子装置发送第二蓝牙多媒体包。The second Bluetooth sub-device of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth sub-device of the next Bluetooth device.
在一些实施例中,所述第一蓝牙多媒体包在发送时占用蓝牙发送带宽中的第一子带宽;所述第二蓝牙多媒体包在发送时占用所述蓝牙发送带宽中的第二子带宽; In some embodiments, the first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent;
所述第一蓝牙多媒体包在接收时占用蓝牙接收带宽中的第三子带宽;所述第二蓝牙多媒体包在接收时占用所述蓝牙接收带宽中的第四子带宽。The first Bluetooth multimedia packet occupies the third sub-bandwidth of the Bluetooth receiving bandwidth when received; the second Bluetooth multimedia packet occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth when received.
在一些实施例中,所述第一子带宽小于或等于所述蓝牙发送带宽的二分之一,所述第二子带宽小于或等于所述蓝牙发送带宽的二分之一;In some embodiments, the first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth, and the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth;
所述第三子带宽小于或等于所述蓝牙接收带宽的二分之一,所述第四子带宽小于或等于所述蓝牙接收带宽的二分之一。The third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth, and the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth.
在一些实施例中,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包在传输时采用单播通信。In some embodiments, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet adopt unicast communication during transmission.
在一些实施例中,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包在传输时支持重传机制。In some embodiments, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission.
在一些实施例中,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包的传输过程受所述主蓝牙装置的控制。In some embodiments, the transmission process of the first Bluetooth multimedia packet and the second Bluetooth multimedia packet is controlled by the main Bluetooth device.
在一些实施例中,所述上一蓝牙装置和/或所述下一蓝牙装置由所述主蓝牙装置配置;或,所述下一蓝牙装置由所述蓝牙装置选择。In some embodiments, the previous Bluetooth device and/or the next Bluetooth device are configured by the master Bluetooth device; or the next Bluetooth device is selected by the Bluetooth device.
在一些实施例中,所述蓝牙发送模块62,还用于在所述蓝牙多媒体包的传输过程中,更改所述下一蓝牙装置。In some embodiments, the Bluetooth sending module 62 is also used to change the next Bluetooth device during the transmission process of the Bluetooth multimedia packet.
在一些实施例中,所述蓝牙装置还包括:多媒体模块63,用于播放所述蓝牙多媒体包。In some embodiments, the Bluetooth device further includes: a multimedia module 63 for playing the Bluetooth multimedia package.
在一些实施例中,所述多媒体模块63包括第一多媒体子模块和第二多媒体子模块;In some embodiments, the multimedia module 63 includes a first multimedia sub-module and a second multimedia sub-module;
所述蓝牙装置的第一多媒体子模块播放所述第一蓝牙多媒体包;所述蓝牙装置的第二多媒体子模块播放所述第二蓝牙多媒体包。The first multimedia sub-module of the Bluetooth device plays the first Bluetooth multimedia packet; the second multimedia sub-module of the Bluetooth device plays the second Bluetooth multimedia packet.
在一些实施例中,所述第一多媒体子模块包括:第一解码子模块、第一DAC子模块、第一AMP子模块和第一播放子模块;In some embodiments, the first multimedia sub-module includes: a first decoding sub-module, a first DAC sub-module, a first AMP sub-module and a first playback sub-module;
所述第一解码子模块用于将所述第一蓝牙多媒体包解码成第一脉冲编码调制PCM数据;The first decoding sub-module is used to decode the first Bluetooth multimedia packet into first pulse code modulation PCM data;
所述第一DAC子模块用于将所述第一PCM数据转化为第一模拟信号;The first DAC sub-module is used to convert the first PCM data into a first analog signal;
所述第一AMP子模块用于将所述第一模拟信号放大后,输出至所述第一播放子模块进行播放。The first AMP sub-module is used to amplify the first analog signal and then output it to the first playback sub-module for playback.
在一些实施例中,所述第二多媒体子模块包括:第二解码子模块、第二DAC子模块、第二AMP子模块和第二播放子模块;In some embodiments, the second multimedia sub-module includes: a second decoding sub-module, a second DAC sub-module, a second AMP sub-module and a second playback sub-module;
所述第二解码子模块用于将所述第二蓝牙多媒体包解码成第二PCM数据;The second decoding sub-module is used to decode the second Bluetooth multimedia packet into second PCM data;
所述第二DAC子模块用于将所述第二PCM数据转化为第二模拟信号;The second DAC submodule is used to convert the second PCM data into a second analog signal;
所述第二AMP子模块用于将所述第二模拟信号放大后,输出至所述第二播放子模块进行播放。The second AMP sub-module is used to amplify the second analog signal and then output it to the second playback sub-module for playback.
在一些实施例中,所述蓝牙多媒体包包括如下至少之一:In some embodiments, the Bluetooth multimedia package includes at least one of the following:
需要所有蓝牙装置播放的蓝牙多媒体包;Bluetooth multimedia package required for playback by all Bluetooth devices;
需要所述指定蓝牙装置播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the designated Bluetooth device;
需要第一多媒体子模块播放的蓝牙多媒体包;The Bluetooth multimedia package needs to be played by the first multimedia sub-module;
需要第二多媒体子模块播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the second multimedia sub-module;
需要所述指定蓝牙装置中的第一多媒体子模块播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the first multimedia sub-module in the designated Bluetooth device;
需要所述指定蓝牙装置中的第二多媒体子模块播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the second multimedia sub-module in the designated Bluetooth device;
其中,所述指定蓝牙装置是被所述蓝牙多媒体包中携带的装置标识和/或类型标识所指定的蓝牙装置。Wherein, the specified Bluetooth device is a Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.
图13示出了本申请一个示例性实施例提供的蓝牙设备或第一蓝牙子设备或第二蓝牙子设备的框图。该蓝牙设备包括:Figure 13 shows a block diagram of a Bluetooth device or a first Bluetooth sub-device or a second Bluetooth sub-device provided by an exemplary embodiment of the present application. This Bluetooth device includes:
蓝牙部件71,用于接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;向下一蓝牙设 备发送所述蓝牙多媒体包。该蓝牙部件71可以是同时支持收发的蓝牙芯片。Bluetooth component 71 is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; The device sends the Bluetooth multimedia packet. The Bluetooth component 71 may be a Bluetooth chip that supports both sending and receiving.
在一些实施例中,所述上一蓝牙设备、所述蓝牙设备、所述下一蓝牙设备采用链式传输路径分享来自所述主蓝牙设备的蓝牙多媒体包;In some embodiments, the previous Bluetooth device, the Bluetooth device, and the next Bluetooth device share the Bluetooth multimedia packet from the main Bluetooth device using a chain transmission path;
所述上一蓝牙设备是在所述链式传输路径中位于所述蓝牙设备之前的蓝牙设备;The previous Bluetooth device is the Bluetooth device located before the Bluetooth device in the chain transmission path;
所述下一蓝牙设备是在所述链式传输路径中位于所述蓝牙设备之后的蓝牙设备。The next Bluetooth device is a Bluetooth device located after the Bluetooth device in the chain transmission path.
在一些实施例中,所述蓝牙设备和所述上一蓝牙设备均包括第一蓝牙子设备和第二蓝牙子设备;每个蓝牙子设备包括一个蓝牙部件71。In some embodiments, the Bluetooth device and the previous Bluetooth device each include a first Bluetooth sub-device and a second Bluetooth sub-device; each Bluetooth sub-device includes a Bluetooth component 71 .
所述蓝牙设备的第一蓝牙子设备接收所述上一蓝牙设备的第一蓝牙子设备发送的第一蓝牙多媒体包;The first Bluetooth sub-device of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth sub-device of the previous Bluetooth device;
所述蓝牙设备的第二蓝牙子设备接收所述上一蓝牙设备的第二蓝牙子设备发送的第二蓝牙多媒体包。The second Bluetooth sub-device of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth sub-device of the previous Bluetooth device.
在一些实施例中,所述蓝牙设备和所述下一蓝牙设备均包括第一蓝牙子设备和第二蓝牙子设备;In some embodiments, the Bluetooth device and the next Bluetooth device each include a first Bluetooth sub-device and a second Bluetooth sub-device;
所述蓝牙设备的第一蓝牙子设备向所述下一蓝牙设备的第一蓝牙子设备发送第一蓝牙多媒体包;The first Bluetooth sub-device of the Bluetooth device sends a first Bluetooth multimedia packet to the first Bluetooth sub-device of the next Bluetooth device;
所述蓝牙设备的第二蓝牙子设备向所述下一蓝牙设备的第二蓝牙子设备发送第二蓝牙多媒体包。The second Bluetooth sub-device of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth sub-device of the next Bluetooth device.
在一些实施例中,所述第一蓝牙多媒体包在发送时占用蓝牙发送带宽中的第一子带宽;所述第二蓝牙多媒体包在发送时占用所述蓝牙发送带宽中的第二子带宽;In some embodiments, the first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent;
所述第一蓝牙多媒体包在接收时占用蓝牙接收带宽中的第三子带宽;所述第二蓝牙多媒体包在接收时占用所述蓝牙接收带宽中的第四子带宽。The first Bluetooth multimedia packet occupies the third sub-bandwidth of the Bluetooth receiving bandwidth when received; the second Bluetooth multimedia packet occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth when received.
在一些实施例中,所述第一子带宽小于或等于所述蓝牙发送带宽的二分之一,所述第二子带宽小于或等于所述蓝牙发送带宽的二分之一;In some embodiments, the first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth, and the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth;
所述第三子带宽小于或等于所述蓝牙接收带宽的二分之一,所述第四子带宽小于或等于所述蓝牙接收带宽的二分之一。The third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth, and the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth.
在一些实施例中,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包在传输时采用单播通信。In some embodiments, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet adopt unicast communication during transmission.
在一些实施例中,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包在传输时支持重传机制。In some embodiments, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission.
在一些实施例中,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包的传输过程受所述主蓝牙设备的控制。In some embodiments, the transmission process of the first Bluetooth multimedia packet and the second Bluetooth multimedia packet is controlled by the main Bluetooth device.
在一些实施例中,所述上一蓝牙设备和/或所述下一蓝牙设备由所述主蓝牙设备配置;或,所述下一蓝牙设备由所述蓝牙设备选择。In some embodiments, the previous Bluetooth device and/or the next Bluetooth device are configured by the main Bluetooth device; or the next Bluetooth device is selected by the Bluetooth device.
在一些实施例中,所述蓝牙部件71,还用于在所述蓝牙多媒体包的传输过程中,更改所述下一蓝牙设备。In some embodiments, the Bluetooth component 71 is also used to change the next Bluetooth device during the transmission process of the Bluetooth multimedia packet.
在一些实施例中,所述蓝牙设备还包括:多媒体部件,用于播放所述蓝牙多媒体包。多媒体部件包括:解码组件72、DAC73、AMP74和播放部件75。解码部件72用于将蓝牙多媒体包解码成PCM数据;DAC73用于将PCM数据转化为模拟信号;AMP74用于将模拟信号放大后,输出至播放部件75进行播放。In some embodiments, the Bluetooth device further includes: a multimedia component for playing the Bluetooth multimedia package. The multimedia components include: decoding component 72, DAC73, AMP74 and playback component 75. The decoding component 72 is used to decode the Bluetooth multimedia packet into PCM data; the DAC73 is used to convert the PCM data into an analog signal; the AMP74 is used to amplify the analog signal and output it to the playback component 75 for playback.
在一些实施例中,所述多媒体部件包括第一多媒体子部件和第二多媒体子部件;In some embodiments, the multimedia component includes a first multimedia subcomponent and a second multimedia subcomponent;
所述蓝牙设备的第一多媒体子部件播放所述第一蓝牙多媒体包;所述蓝牙设备的第二多媒体子部件播放所述第二蓝牙多媒体包。The first multimedia sub-component of the Bluetooth device plays the first Bluetooth multimedia package; the second multimedia sub-component of the Bluetooth device plays the second Bluetooth multimedia package.
在一些实施例中,所述第一多媒体子部件包括:第一解码子部件、第一DAC子部件、第一AMP子部件和第一播放子部件;In some embodiments, the first multimedia subcomponent includes: a first decoding subcomponent, a first DAC subcomponent, a first AMP subcomponent and a first playback subcomponent;
所述第一解码子部件用于将所述第一蓝牙多媒体包解码成第一脉冲编码调制PCM数据; The first decoding subcomponent is used to decode the first Bluetooth multimedia packet into first pulse code modulation PCM data;
所述第一DAC子部件用于将所述第一PCM数据转化为第一模拟信号;The first DAC subcomponent is used to convert the first PCM data into a first analog signal;
所述第一AMP子部件用于将所述第一模拟信号放大后,输出至所述第一播放子部件进行播放。The first AMP sub-component is used to amplify the first analog signal and then output it to the first playback sub-component for playback.
在一些实施例中,所述第二多媒体子部件包括:第二解码子部件、第二DAC子部件、第二AMP子部件和第二播放子部件;In some embodiments, the second multimedia subcomponent includes: a second decoding subcomponent, a second DAC subcomponent, a second AMP subcomponent and a second playback subcomponent;
所述第二解码子部件用于将所述第二蓝牙多媒体包解码成第二PCM数据;The second decoding subcomponent is used to decode the second Bluetooth multimedia packet into second PCM data;
所述第二DAC子部件用于将所述第二PCM数据转化为第二模拟信号;The second DAC subcomponent is used to convert the second PCM data into a second analog signal;
所述第二AMP子部件用于将所述第二模拟信号放大后,输出至所述第二播放子部件进行播放。The second AMP sub-component is used to amplify the second analog signal and then output it to the second playback sub-component for playback.
在一些实施例中,所述蓝牙多媒体包包括如下至少之一:In some embodiments, the Bluetooth multimedia package includes at least one of the following:
需要所有蓝牙设备播放的蓝牙多媒体包;Bluetooth multimedia package required for playback by all Bluetooth devices;
需要所述指定蓝牙设备播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the designated Bluetooth device;
需要第一蓝牙子部件播放的蓝牙多媒体包;The Bluetooth multimedia package needs to be played by the first Bluetooth sub-component;
需要第二多媒体子部件播放的蓝牙多媒体包;A Bluetooth multimedia package that requires the second multimedia subcomponent to play;
需要所述指定蓝牙设备中的第一多媒体子部件播放的蓝牙多媒体包;A Bluetooth multimedia package that needs to be played by the first multimedia subcomponent in the designated Bluetooth device;
需要所述指定蓝牙设备中的第二多媒体子部件播放的蓝牙多媒体包;A Bluetooth multimedia package that needs to be played by the second multimedia subcomponent in the designated Bluetooth device;
其中,所述指定蓝牙设备是被所述蓝牙多媒体包中携带的设备标识和/或类型标识所指定的蓝牙设备。Wherein, the specified Bluetooth device is a Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (23)

  1. 一种蓝牙多媒体包的传输方法,其特征在于,所述方法由蓝牙设备执行,所述方法包括:A Bluetooth multimedia packet transmission method, characterized in that the method is executed by a Bluetooth device, and the method includes:
    接收主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;Receive Bluetooth multimedia packets sent by the main Bluetooth device or the previous Bluetooth device;
    向下一蓝牙设备发送所述蓝牙多媒体包。Send the Bluetooth multimedia packet to the next Bluetooth device.
  2. 根据权利要求1所述的方法,其特征在于,所述上一蓝牙设备、所述蓝牙设备、所述下一蓝牙设备采用链式传输路径分享来自所述主蓝牙设备的蓝牙多媒体包;The method according to claim 1, characterized in that the previous Bluetooth device, the Bluetooth device, and the next Bluetooth device use a chain transmission path to share the Bluetooth multimedia packet from the main Bluetooth device;
    所述上一蓝牙设备是在所述链式传输路径中位于所述蓝牙设备之前的蓝牙设备;The previous Bluetooth device is the Bluetooth device located before the Bluetooth device in the chain transmission path;
    所述下一蓝牙设备是在所述链式传输路径中位于所述蓝牙设备之后的蓝牙设备。The next Bluetooth device is a Bluetooth device located after the Bluetooth device in the chain transmission path.
  3. 根据权利要求1所述的方法,其特征在于,所述蓝牙设备和所述上一蓝牙设备均包括第一蓝牙组件和第二蓝牙组件;The method according to claim 1, wherein the Bluetooth device and the previous Bluetooth device each include a first Bluetooth component and a second Bluetooth component;
    所述接收上一蓝牙设备发送的蓝牙多媒体包,包括:The receiving of the Bluetooth multimedia packet sent by the previous Bluetooth device includes:
    所述蓝牙设备的第一蓝牙组件接收所述上一蓝牙设备的第一蓝牙组件发送的第一蓝牙多媒体包;The first Bluetooth component of the Bluetooth device receives the first Bluetooth multimedia packet sent by the first Bluetooth component of the previous Bluetooth device;
    所述蓝牙设备的第二蓝牙组件接收所述上一蓝牙设备的第二蓝牙组件发送的第二蓝牙多媒体包。The second Bluetooth component of the Bluetooth device receives the second Bluetooth multimedia packet sent by the second Bluetooth component of the previous Bluetooth device.
  4. 根据权利要求1所述的方法,其特征在于,所述蓝牙设备和所述下一蓝牙设备均包括第一蓝牙组件和第二蓝牙组件;The method according to claim 1, wherein the Bluetooth device and the next Bluetooth device each include a first Bluetooth component and a second Bluetooth component;
    所述向下一蓝牙设备发送所述蓝牙多媒体包,包括:The sending of the Bluetooth multimedia packet to the next Bluetooth device includes:
    所述蓝牙设备的第一蓝牙组件向所述下一蓝牙设备的第一蓝牙组件发送第一蓝牙多媒体包;The first Bluetooth component of the Bluetooth device sends a first Bluetooth multimedia packet to the first Bluetooth component of the next Bluetooth device;
    所述蓝牙设备的第二蓝牙组件向所述下一蓝牙设备的第二蓝牙组件发送第二蓝牙多媒体包。The second Bluetooth component of the Bluetooth device sends a second Bluetooth multimedia packet to the second Bluetooth component of the next Bluetooth device.
  5. 根据权利要求3或4所述的方法,其特征在于,The method according to claim 3 or 4, characterized in that,
    所述第一蓝牙多媒体包在发送时占用蓝牙发送带宽中的第一子带宽;所述第二蓝牙多媒体包在发送时占用所述蓝牙发送带宽中的第二子带宽;The first Bluetooth multimedia packet occupies the first sub-bandwidth of the Bluetooth transmission bandwidth when sent; the second Bluetooth multimedia packet occupies the second sub-bandwidth of the Bluetooth transmission bandwidth when sent;
    所述第一蓝牙多媒体包在接收时占用蓝牙接收带宽中的第三子带宽;所述第二蓝牙多媒体包在接收时占用所述蓝牙接收带宽中的第四子带宽。The first Bluetooth multimedia packet occupies the third sub-bandwidth of the Bluetooth receiving bandwidth when received; the second Bluetooth multimedia packet occupies the fourth sub-bandwidth of the Bluetooth receiving bandwidth when received.
  6. 根据权利要求5所述的方法,其特征在于,The method according to claim 5, characterized in that:
    所述第一子带宽小于或等于所述蓝牙发送带宽的二分之一,所述第二子带宽小于或等于所述蓝牙发送带宽的二分之一;The first sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth, and the second sub-bandwidth is less than or equal to one-half of the Bluetooth transmission bandwidth;
    所述第三子带宽小于或等于所述蓝牙接收带宽的二分之一,所述第四子带宽小于或等于所述蓝牙接收带宽的二分之一。The third sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth, and the fourth sub-bandwidth is less than or equal to one-half of the Bluetooth reception bandwidth.
  7. 根据权利要求3或4所述的方法,其特征在于,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包在传输时采用单播通信。The method according to claim 3 or 4, characterized in that the first Bluetooth multimedia packet and the second Bluetooth multimedia packet adopt unicast communication during transmission.
  8. 根据权利要求3或4所述的方法,其特征在于,所述第一蓝牙多媒体包和所述第二蓝牙多媒体包在传输时支持重传机制。The method according to claim 3 or 4, characterized in that the first Bluetooth multimedia packet and the second Bluetooth multimedia packet support a retransmission mechanism during transmission.
  9. 根据权利要求3或4所述的方法,其特征在于,所述第一蓝牙多媒体包和所述第二蓝 牙多媒体包的传输过程受所述主蓝牙设备的控制。The method according to claim 3 or 4, characterized in that the first Bluetooth multimedia packet and the second Bluetooth The transmission process of Bluetooth multimedia packets is controlled by the main Bluetooth device.
  10. 根据权利要求1至9任一所述的方法,其特征在于,The method according to any one of claims 1 to 9, characterized in that,
    所述上一蓝牙设备和/或所述下一蓝牙设备由所述主蓝牙设备配置;The previous Bluetooth device and/or the next Bluetooth device are configured by the main Bluetooth device;
    或,or,
    所述下一蓝牙设备由所述蓝牙设备选择。The next Bluetooth device is selected by the Bluetooth device.
  11. 根据权利要求1至9任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 9, characterized in that the method further includes:
    在所述蓝牙多媒体包的传输过程中,更改所述下一蓝牙设备。During the transmission process of the Bluetooth multimedia packet, the next Bluetooth device is changed.
  12. 根据权利要求1至9任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 9, characterized in that the method further includes:
    播放所述蓝牙多媒体包。Play the Bluetooth multimedia package.
  13. 根据权利要求12所述的方法,其特征在于,所述蓝牙设备包括第一多媒体部件和第二多媒体部件;The method according to claim 12, characterized in that the Bluetooth device includes a first multimedia component and a second multimedia component;
    所述播放所述蓝牙多媒体包,包括:The playing of the Bluetooth multimedia package includes:
    所述蓝牙设备的第一多媒体部件播放所述第一蓝牙多媒体包;所述蓝牙设备的第二多媒体部件播放所述第二蓝牙多媒体包。The first multimedia component of the Bluetooth device plays the first Bluetooth multimedia package; the second multimedia component of the Bluetooth device plays the second Bluetooth multimedia package.
  14. 根据权利要求13所述的方法,其特征在于,所述第一多媒体部件包括:第一解码组件、第一数模转换器DAC、第一功率放大器AMP和第一播放部件;The method according to claim 13, characterized in that the first multimedia component includes: a first decoding component, a first digital-to-analog converter DAC, a first power amplifier AMP and a first playback component;
    所述蓝牙设备的第一多媒体部件播放所述第一蓝牙多媒体包,包括:The first multimedia component of the Bluetooth device plays the first Bluetooth multimedia package, including:
    所述第一解码组件将所述第一蓝牙多媒体包解码成第一脉冲编码调制PCM数据;The first decoding component decodes the first Bluetooth multimedia packet into first pulse code modulation PCM data;
    所述第一DAC将所述第一PCM数据转化为第一模拟信号;The first DAC converts the first PCM data into a first analog signal;
    所述第一AMP将所述第一模拟信号放大后,输出至所述第一播放部件进行播放。The first AMP amplifies the first analog signal and then outputs it to the first playback component for playback.
  15. 根据权利要求13所述的方法,其特征在于,所述第二多媒体部件包括:第二解码组件、第二DAC、第二AMP和第二播放部件;The method according to claim 13, characterized in that the second multimedia component includes: a second decoding component, a second DAC, a second AMP and a second playback component;
    所述蓝牙设备的第二多媒体部件播放所述第二蓝牙多媒体包,包括:The second multimedia component of the Bluetooth device plays the second Bluetooth multimedia package, including:
    所述第二解码组件将所述第二蓝牙多媒体包解码成第二PCM数据;The second decoding component decodes the second Bluetooth multimedia packet into second PCM data;
    所述第二DAC将所述第二PCM数据转化为第二模拟信号;The second DAC converts the second PCM data into a second analog signal;
    所述第二AMP将所述第二模拟信号放大后,输出至所述第二播放部件进行播放。The second AMP amplifies the second analog signal and then outputs it to the second playback component for playback.
  16. 根据权利要求13至15任一所述的方法,其特征在于,所述蓝牙多媒体包包括如下至少之一:The method according to any one of claims 13 to 15, characterized in that the Bluetooth multimedia package includes at least one of the following:
    需要所有蓝牙设备播放的蓝牙多媒体包;Bluetooth multimedia package required for playback by all Bluetooth devices;
    需要所述指定蓝牙设备播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the specified Bluetooth device;
    需要所述第一多媒体部件播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the first multimedia component;
    需要所述第二多媒体部件播放的蓝牙多媒体包;Bluetooth multimedia packets that need to be played by the second multimedia component;
    需要所述指定蓝牙设备中的第一多媒体部件播放的蓝牙多媒体包;A Bluetooth multimedia package that needs to be played by the first multimedia component in the designated Bluetooth device;
    需要所述指定蓝牙设备中的第二多媒体部件播放的蓝牙多媒体包;A Bluetooth multimedia package that needs to be played by the second multimedia component in the designated Bluetooth device;
    其中,所述指定蓝牙设备是被所述蓝牙多媒体包中携带的设备标识和/或类型标识所指定的蓝牙设备。Wherein, the specified Bluetooth device is a Bluetooth device specified by the device identification and/or type identification carried in the Bluetooth multimedia package.
  17. 一种蓝牙装置,其特征在于,所述蓝牙装置包括:A Bluetooth device, characterized in that the Bluetooth device includes:
    蓝牙接收模块,用于接收主蓝牙装置或上一蓝牙装置发送的蓝牙多媒体包; Bluetooth receiving module, used to receive Bluetooth multimedia packets sent by the main Bluetooth device or the previous Bluetooth device;
    蓝牙发送模块,用于向下一蓝牙设备发送所述蓝牙多媒体包。A Bluetooth sending module is used to send the Bluetooth multimedia packet to the next Bluetooth device.
  18. 一种蓝牙设备,其特征在于,所述蓝牙设备用于执行如权利要求1至16任一所述的蓝牙多媒体包的传输方法。A Bluetooth device, characterized in that the Bluetooth device is configured to perform the Bluetooth multimedia packet transmission method as described in any one of claims 1 to 16.
  19. 一种蓝牙多媒体包的传输系统,其特征在于,所述传输系统包括:主蓝牙设备和至少两个蓝牙设备,所述至少两个蓝牙设备采用链式传输路径分享来自所述主蓝牙设备的蓝牙多媒体包;A Bluetooth multimedia packet transmission system, characterized in that the transmission system includes: a main Bluetooth device and at least two Bluetooth devices, and the at least two Bluetooth devices use a chain transmission path to share the Bluetooth data from the main Bluetooth device. multimedia package;
    所述至少两个蓝牙设备中除最后一个蓝牙设备之外的任一蓝牙设备,用于接收所述主蓝牙设备或上一蓝牙设备发送的蓝牙多媒体包;向下一蓝牙设备发送所述蓝牙多媒体包;Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is used to receive the Bluetooth multimedia packet sent by the main Bluetooth device or the previous Bluetooth device; and send the Bluetooth multimedia packet to the next Bluetooth device. Bag;
    其中,所述上一蓝牙设备是所述至少两个蓝牙设备中在所述链式传输路径上位于所述蓝牙设备之前的蓝牙设备;所述下一蓝牙设备是所述至少两个蓝牙设备中在所述链式传输路径上位于所述蓝牙设备之后的蓝牙设备。Wherein, the previous Bluetooth device is the Bluetooth device located before the Bluetooth device on the chain transmission path among the at least two Bluetooth devices; the next Bluetooth device is the Bluetooth device among the at least two Bluetooth devices. A Bluetooth device located behind the Bluetooth device on the chain transmission path.
  20. 根据权利要求19所述的传输系统,其特征在于,所述蓝牙设备,还用于播放所述蓝牙多媒体包。The transmission system according to claim 19, characterized in that the Bluetooth device is also used to play the Bluetooth multimedia package.
  21. 一种蓝牙芯片,其特征在于,安装有所述蓝牙芯片的蓝牙设备用于执行如权利要求1至16任一所述的蓝牙多媒体包的传输方法。A Bluetooth chip, characterized in that the Bluetooth device installed with the Bluetooth chip is used to execute the Bluetooth multimedia packet transmission method as described in any one of claims 1 to 16.
  22. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序用于被蓝牙设备执行以实现如权利要求1至16任一所述的蓝牙多媒体包的传输方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, and the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia packet transmission method according to any one of claims 1 to 16.
  23. 一种计算机程序产品,其特征在于,所述计算机程序产品存储有计算机程序,所述计算机程序用于被蓝牙设备执行以实现如权利要求1至16任一所述的蓝牙多媒体包的传输方法。 A computer program product, characterized in that the computer program product stores a computer program, and the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia packet transmission method according to any one of claims 1 to 16.
PCT/CN2023/086240 2022-06-28 2023-04-04 Bluetooth multimedia packet transmission method and apparatus, device and system WO2024001384A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210753601.4A CN115175154A (en) 2022-06-28 2022-06-28 Method, device, equipment and system for transmitting Bluetooth multimedia packet
CN202210753601.4 2022-06-28

Publications (1)

Publication Number Publication Date
WO2024001384A1 true WO2024001384A1 (en) 2024-01-04

Family

ID=83489554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/086240 WO2024001384A1 (en) 2022-06-28 2023-04-04 Bluetooth multimedia packet transmission method and apparatus, device and system

Country Status (2)

Country Link
CN (1) CN115175154A (en)
WO (1) WO2024001384A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175154A (en) * 2022-06-28 2022-10-11 哲库科技(上海)有限公司 Method, device, equipment and system for transmitting Bluetooth multimedia packet
CN115278623A (en) * 2022-07-20 2022-11-01 哲库科技(上海)有限公司 Multimedia packet transmission method, apparatus, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391118A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
US20200107108A1 (en) * 2018-09-30 2020-04-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmitting method and system
CN210351670U (en) * 2019-05-24 2020-04-17 深圳市小瑞科技股份有限公司 System for increasing transmission distance of Bluetooth headset
CN115175154A (en) * 2022-06-28 2022-10-11 哲库科技(上海)有限公司 Method, device, equipment and system for transmitting Bluetooth multimedia packet
CN115278623A (en) * 2022-07-20 2022-11-01 哲库科技(上海)有限公司 Multimedia packet transmission method, apparatus, device and medium
CN115278625A (en) * 2022-07-26 2022-11-01 哲库科技(上海)有限公司 Method, device, equipment and system for transmitting Bluetooth multimedia packet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391118A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
US20200107108A1 (en) * 2018-09-30 2020-04-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmitting method and system
CN210351670U (en) * 2019-05-24 2020-04-17 深圳市小瑞科技股份有限公司 System for increasing transmission distance of Bluetooth headset
CN115175154A (en) * 2022-06-28 2022-10-11 哲库科技(上海)有限公司 Method, device, equipment and system for transmitting Bluetooth multimedia packet
CN115278623A (en) * 2022-07-20 2022-11-01 哲库科技(上海)有限公司 Multimedia packet transmission method, apparatus, device and medium
CN115278625A (en) * 2022-07-26 2022-11-01 哲库科技(上海)有限公司 Method, device, equipment and system for transmitting Bluetooth multimedia packet

Also Published As

Publication number Publication date
CN115175154A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
WO2024001384A1 (en) Bluetooth multimedia packet transmission method and apparatus, device and system
CN100592653C (en) Portable audio playback device with bass enhancement
US8315724B2 (en) Wireless audio streaming transport system
US6684060B1 (en) Digital wireless premises audio system and method of operation thereof
CN104640013B (en) Audio amplifier control method and system
JP5265524B2 (en) Method and system for real-time wireless transmission of multi-channel audio or video data
CN102456347B (en) Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN102272840A (en) Distributed spatial audio decoder
CN105161121B (en) To the control method and audio transfer control of audio peripheral hardware transmission audio
RU2002123586A (en) APPLIED USE OF THE VOICE / AUDIO SYSTEM (G / ZS)
JP2015208024A (en) Wireless audio sharing
US20060008094A1 (en) Wireless multi-channel audio system
JP2002186079A (en) Non-connected personal on-demand audio entertainment system permitting wireless downloading of contents
WO2024016754A1 (en) Multimedia packet transmission method and apparatus, device and medium
CN1898957B (en) Using multiple communication links in conjunction with a media adapter
CN107431859A (en) The radio broadcasting of the voice data of encapsulation with control data
KR100918032B1 (en) Apparatus and System for providing wireless network service
KR20150130894A (en) Method and apparatus for communicating audio data
WO2023202152A1 (en) Audio redirection method and apparatus, and device and storage medium
US9271079B2 (en) Data processing method and electronic device
JP2012209880A (en) Communication device and communication system
CN202772917U (en) Multimedia-file split-type multi-channel synchronized broadcast implement system based on wireless transmission technology
TW202224444A (en) Multimedia playback synchronization
US20120070019A1 (en) Methods for addressing equipment in tree networks
CN114697817A (en) Audio data processing system and electronic device

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: 23829574

Country of ref document: EP

Kind code of ref document: A1