CN115278625A - Method, device, equipment and system for transmitting Bluetooth multimedia packet - Google Patents

Method, device, equipment and system for transmitting Bluetooth multimedia packet Download PDF

Info

Publication number
CN115278625A
CN115278625A CN202210887310.4A CN202210887310A CN115278625A CN 115278625 A CN115278625 A CN 115278625A CN 202210887310 A CN202210887310 A CN 202210887310A CN 115278625 A CN115278625 A CN 115278625A
Authority
CN
China
Prior art keywords
bluetooth
bluetooth device
transmission
bandwidth
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210887310.4A
Other languages
Chinese (zh)
Inventor
颜廷管
余庆华
王泷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zeku Technology Shanghai Corp Ltd
Original Assignee
Zeku Technology Shanghai Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zeku Technology Shanghai Corp Ltd filed Critical Zeku Technology Shanghai Corp Ltd
Priority to CN202210887310.4A priority Critical patent/CN115278625A/en
Publication of CN115278625A publication Critical patent/CN115278625A/en
Priority to PCT/CN2023/092083 priority patent/WO2024021736A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The application discloses a method, a device, equipment and a system for transmitting a Bluetooth multimedia packet, and relates to the field of Bluetooth. The method comprises the following steps: determining a first chained transmission path based on a transmission bandwidth between at least two Bluetooth devices; controlling at least two Bluetooth devices to transmit Bluetooth multimedia packets according to a first chain transmission path; and the first Bluetooth equipment in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment. According to the scheme, the same Bluetooth multimedia packet is transmitted among the plurality of Bluetooth devices, the first chain transmission path is determined based on the transmission bandwidth between at least two Bluetooth devices, the condition that the transmission performances of different Bluetooth devices are inconsistent is fully considered, the utilization rate of the transmission bandwidth can be maximized, the total bandwidth used by the plurality of Bluetooth devices is maximized as far as possible, and the longest total using duration of the plurality of Bluetooth devices can be further ensured.

Description

Method, device, equipment and system for transmitting Bluetooth multimedia packet
Technical Field
The embodiment of the application relates to the field of Bluetooth, in particular to a method, a device, equipment and a system for transmitting Bluetooth multimedia packets.
Background
With the development of the bluetooth field, bluetooth devices have been explosively increased and popularized, and for example, a bluetooth device is a True Wireless Stereo (TWS) bluetooth headset, users have been very popular and common in life and work using the TWS bluetooth headset, such as listening to music, making a call, playing games, and the like.
For example, when listening to music, the user uses a mobile phone to connect with a TWS bluetooth headset, so as to share music with family or lovers. In the related art, a chain transmission path is adopted between the mobile phone and the TWS bluetooth headset to share bluetooth audio data, and the TWS bluetooth headset decodes and plays the bluetooth audio data.
However, the related art does not consider the case where the transmission performance of the bluetooth device in the chain transmission path is not uniform.
Disclosure of Invention
The application provides a method, a device, equipment and a system for transmitting Bluetooth multimedia packets, which fully consider the condition that the transmission performance of Bluetooth equipment in a chain transmission path is inconsistent. The technical scheme is as follows:
in one aspect, a method for transmitting bluetooth multimedia packets is provided, the method being performed by a master bluetooth device, the method comprising:
determining a first chained transmission path based on a transmission bandwidth between at least two Bluetooth devices;
controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path;
wherein the first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
In another aspect, there is provided a method of transmitting bluetooth multimedia packets, the method being performed by a bluetooth device, the method including:
based on the control of the master Bluetooth device, the first Bluetooth device in the first chain transmission path sends a Bluetooth multimedia packet to the second Bluetooth device;
wherein the first chained transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
In another aspect, there is provided a transmission control apparatus of bluetooth multimedia packets, the control apparatus including:
a path determination module for determining a first chained transmission path based on a transmission bandwidth between at least two bluetooth devices;
the Bluetooth control module is used for controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path;
wherein the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
In another aspect, an apparatus for transmitting bluetooth multimedia packets is provided, the apparatus comprising:
the Bluetooth sending module is used for sending a Bluetooth multimedia packet to the second Bluetooth equipment as the first Bluetooth equipment in the first chain transmission path based on the control of the main Bluetooth equipment;
wherein the first chained transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
In another aspect, there is provided a transmission system of bluetooth multimedia packets, the transmission system comprising: a master bluetooth device and at least two bluetooth devices;
the master Bluetooth device is used for determining a first chain transmission path based on the transmission bandwidth between the at least two Bluetooth devices; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path; wherein a first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device;
any one of the at least two bluetooth devices except the last bluetooth device is configured to send the bluetooth multimedia packet to a second bluetooth device as a first bluetooth device in the first chain transmission path based on the control of the master bluetooth device.
On the other hand, a Bluetooth chip is provided, and a main Bluetooth device provided with the Bluetooth chip is used for executing the transmission method of the Bluetooth multimedia packet; or the Bluetooth device provided with the Bluetooth chip is used for executing the transmission method of the Bluetooth multimedia packet.
In another aspect, there is provided a computer-readable storage medium storing a computer program for execution by a master bluetooth device to implement the above-described bluetooth multimedia packet transmission method; or, the computer program is used for being executed by a Bluetooth device to realize the transmission method of the Bluetooth multimedia packet.
In another aspect, a computer program product is provided, where the computer program product includes computer instructions stored in a computer-readable storage medium, and a master bluetooth device obtains the computer instructions from the computer-readable storage medium, so that the master bluetooth device loads and executes the computer instructions to implement the bluetooth multimedia packet transmission method; or, the bluetooth device obtains the computer instruction from the computer-readable storage medium, so that the bluetooth device is loaded and executed to implement the transmission method of the bluetooth multimedia packet.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
through the chain transmission path, the same Bluetooth multimedia packet can be transmitted among a plurality of Bluetooth devices, and the sharing of the Bluetooth multimedia packet is realized. In the embodiment of the application, the chain transmission path is determined based on the transmission bandwidth among the Bluetooth devices, and the condition that the transmission performances of different Bluetooth devices are inconsistent is fully considered, so that the utilization rate of the transmission bandwidth is maximized, the maximum total bandwidth used by the Bluetooth devices is ensured as much as possible, and the maximum total using duration of the Bluetooth devices can be further ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a diagram illustrating a transmission method of bluetooth multimedia packets according to an exemplary embodiment;
fig. 2 is a diagram illustrating a transmission method of bluetooth multimedia packets according to an exemplary embodiment;
fig. 3 is a diagram illustrating a transmission method of bluetooth multimedia packets according to an exemplary embodiment;
FIG. 4 is a diagram illustrating a method for transmitting Bluetooth multimedia packets in accordance with an exemplary embodiment;
fig. 5 is a block diagram illustrating a bluetooth multimedia packet transmission system according to an exemplary embodiment;
fig. 6 is a flowchart illustrating a method for transmitting bluetooth multimedia packets according to an exemplary embodiment;
fig. 7 is a flowchart illustrating a method for transmitting bluetooth multimedia packets according to an exemplary embodiment;
FIG. 8 is a diagram illustrating a transmission system for Bluetooth multimedia packets provided in an exemplary embodiment;
FIG. 9 is a diagram illustrating a transmission system for Bluetooth multimedia packets provided by an exemplary embodiment;
fig. 10 is a diagram illustrating a transmission method of bluetooth multimedia packets according to an exemplary embodiment;
fig. 11 is a block diagram showing a configuration of a transmission control apparatus for bluetooth multimedia packets according to an exemplary embodiment;
fig. 12 is a block diagram showing a transmission apparatus of bluetooth multimedia packets according to an exemplary embodiment;
fig. 13 is a block diagram illustrating a master bluetooth device provided in an exemplary embodiment;
fig. 14 shows a block diagram of a bluetooth device according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter, without departing from the scope of the present application. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context.
In the related scheme, the technical scheme that one master Bluetooth device shares and plays the same Bluetooth multimedia packet to a plurality of (slave) Bluetooth devices can be realized. For example, a mobile phone shares the same song with a plurality of bluetooth headsets through bluetooth connection to play.
In one example, fig. 1 shows an exemplary scheme in which a handset 10 transmits the same bluetooth audio packet to 4 bluetooth headsets. Assuming that the bluetooth transmission bandwidth is W, the mobile phone 10 transmits a bluetooth audio packet to the first bluetooth headset 21 by using the bandwidth W1; sending a bluetooth audio packet to the second bluetooth headset 22 using the bandwidth W2; sending a bluetooth audio packet to the third bluetooth headset 23 using the bandwidth W3; the bandwidth W4 is used to send bluetooth audio packets to the fourth bluetooth headset 24.
Fig. 2 shows a schematic diagram of bluetooth audio packet transmission and playing in the above scheme, in which the mobile phone 10 decodes a sound source into Pulse Code Modulation (PCM) data, performs bluetooth audio encoding, and finally transmits the bluetooth audio encoding to the bluetooth headset through bluetooth wireless transmission by the bluetooth transmitting module. The bluetooth headset 21 receives the bluetooth audio code through the bluetooth receiving module, decodes the bluetooth audio code into PCM data, the PCM data performs Digital-to-Analog conversion through a Digital-to-Analog Converter (DAC) and performs Power amplification through a Power Amplifier (AMP), generates Analog data, and finally, the playing unit completes playing.
During the transmission, W = W1+ W2+ W3+ W4; it is assumed that the 4 bluetooth headsets are of the same type or that the transmission performance of the 4 bluetooth headsets is comparable, i.e. W1= W2= W3= W4= W/4. For each bluetooth headset, only W/4 bandwidth can be enjoyed. High quality songs such as Lossless (Lossless) music and High Resolution Audio (High-Res) have High requirements for bluetooth bandwidth, and the above exemplary scheme cannot meet the transmission requirements.
Taking a two-channel song with a 192khz,24bit sampling rate as an example, the PCM rate is up to 10Mbps, assuming a bluetooth encoding compression rate of 70%, then the bandwidth requirement for bluetooth is 7Mbps. 1/4 of the bluetooth bandwidth is difficult to implement for transmitting high quality audio. In the above exemplary scheme, when the number of the bluetooth headsets to be shared is larger, the bandwidth occupied by each bluetooth headset is narrower, and the upper limit of the number of the bluetooth headsets that can be shared by the same mobile phone 10 is limited.
In another example, fig. 3 shows an exemplary scenario where one handset 10 transmits the same bluetooth audio packet to 4 pairs of bluetooth headsets.
The mobile phone 10 sends the left channel bluetooth audio packet to the left channel earphone of the first pair of bluetooth earphones 21 by using the bandwidth W/2, and sends the right channel bluetooth audio packet to the right channel earphone of the first pair of bluetooth earphones 21 by using the bandwidth W/2. While the first pair of bluetooth headsets 21 also plays the left channel bluetooth audio packets and the right channel bluetooth audio packets.
The left channel earphone of the first pair of bluetooth earphones 21 sends a left channel bluetooth audio packet to the left channel earphone of the second pair of bluetooth earphones 22 using the bandwidth W/2, and the right channel earphone of the first pair of bluetooth earphones 21 sends a right channel bluetooth audio packet to the right channel earphone of the second pair of bluetooth earphones 22 using the bandwidth W/2. While the second pair of bluetooth headsets 22 also play the left channel bluetooth audio packets and the right channel bluetooth audio packets.
The left channel earphone of the second pair of bluetooth earphones 22 sends a left channel bluetooth audio packet to the left channel earphone of the third pair of bluetooth earphones 23 using the bandwidth W/2, and the right channel earphone of the second pair of bluetooth earphones 22 sends a right channel bluetooth audio packet to the right channel earphone of the third pair of bluetooth earphones 23 using the bandwidth W/2. While the third pair of bluetooth headsets 23 also play the left channel bluetooth audio packets and the right channel bluetooth audio packets.
The left channel earphone in the third pair of bluetooth earphones 23 sends a left channel bluetooth audio packet to the left channel earphone in the fourth pair of bluetooth earphones 24 using the bandwidth W/2, and the right channel earphone in the third pair of bluetooth earphones 23 sends a right channel bluetooth audio packet to the right channel earphone in the fourth pair of bluetooth earphones 24 using the bandwidth W/2. While the fourth pair of bluetooth headsets 24 also play the left channel bluetooth audio packets and the right channel bluetooth audio packets.
Fig. 4 shows a schematic diagram of bluetooth audio packet transmission and playing in the above scheme, where the mobile phone 10 performs bluetooth audio coding on PCM data provided by the sound source according to left and right channel data, respectively, to obtain a left channel bluetooth audio packet and a right channel bluetooth audio packet. The bluetooth transmission section 11 in the mobile phone 10 transmits 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 reception section 32, a left channel PCM (decoding component) 33, a left channel DAC34, and a left channel AMP35, a left channel playing section 36, and a left channel bluetooth transmission section 37. The left channel Bluetooth receiving component 32 transmits the left channel Bluetooth audio packet to the left channel PCM33 after receiving the left channel Bluetooth audio packet, and the left channel PCM33 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 the amplified signal to the left channel playback section 36 for playback. On the other hand, the left channel bluetooth transmission section 37 also transmits the left channel bluetooth audio packet to the next left channel bluetooth headset.
The right channel bluetooth headset 41 of the bluetooth device includes: a right channel bluetooth reception section 42, a right channel PCM (decoding component) 43, a right channel DAC44, and a right channel AMP45, a right channel playing section 46, and a right channel bluetooth transmission section 47. The right channel bluetooth receiving part 42 transmits the right channel bluetooth audio packet to the right channel PCM43 after receiving the right channel bluetooth audio packet, and the right channel PCM43 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 the amplified signal to the right channel playback section 46 for playback. On the other hand, the right channel bluetooth transmission section 47 also transmits the right channel bluetooth audio packet to the next right channel bluetooth headset.
In the above exemplary scenario, the usage bandwidth of the handset: w = transmission bandwidth W/2+ transmission bandwidth W/2; bandwidth of bluetooth headset: w = receiving bandwidth W/2+ sending bandwidth W/2, the maximum use of the Bluetooth bandwidth capability is achieved, and the multi-earphone sharing scheme that the audio quality is not reduced due to the loss of the Bluetooth bandwidth is achieved.
However, the performance of each bluetooth headset in the related art scheme is comparable, and the situation that the transmission performance of the bluetooth headset is not consistent is not considered. For example, for the same bluetooth chip, performance inconsistency may be caused by different product designs, or product performance inconsistency is caused by bluetooth chip upgrade. Therefore, the embodiment of the application provides a solution which fully considers the inconsistency of the transmission performance of the Bluetooth equipment.
Fig. 5 shows a block diagram of a bluetooth multimedia packet transmission system according to an exemplary embodiment of the present application. The transmission system includes: a master bluetooth device and at least two (slave) bluetooth devices.
The master bluetooth device is denoted as master bluetooth device 10, and the master bluetooth device 10 is a source device providing bluetooth multimedia packets. The device types of the master bluetooth device 10 include a mobile phone, a tablet computer, a television, a desktop computer, a game console, a Virtual Reality (VR) device, an Augmented Reality (AR) device, and the like. At least two (slave) bluetooth devices are denoted as bluetooth device 21, bluetooth device 22 \8230 \ 8230;, bluetooth device 2n, in that order. The at least two bluetooth devices share the bluetooth multimedia packet from the main bluetooth device 10 by using a chain transmission path, and the bluetooth devices in the chain transmission path are connected in sequence.
The master Bluetooth device determines a first chained transmission path based on a transmission bandwidth between at least two Bluetooth devices; controlling at least two Bluetooth devices to transmit Bluetooth multimedia packets according to a first chain transmission path; and the first Bluetooth equipment in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
Illustratively, the first chain transmission path includes a plurality of bluetooth devices, the first bluetooth device is a preceding bluetooth device of any two adjacent bluetooth devices in the first chain transmission path, and the second bluetooth device is a succeeding bluetooth device of any two adjacent bluetooth devices in the first chain transmission path. For bluetooth devices other than the first bluetooth device and the last bluetooth device, the bluetooth device may be used as the first bluetooth device or the second bluetooth device.
Illustratively, the transmission bandwidth between the bluetooth device 21 and the bluetooth device 22 is transmission bandwidth 1, the transmission bandwidth between the bluetooth device 22 and the bluetooth device 23 is transmission bandwidth 2, and so on, the transmission bandwidth between the bluetooth device 2n-1 and the bluetooth device 2n is transmission bandwidth n. Then, the master bluetooth device 10 may determine a first chained transmission path based on the transmission bandwidth 1, the transmission bandwidth 2, and the transmission bandwidth n, assuming that the master bluetooth device 10 sends a bluetooth multimedia packet to the bluetooth device 21, the bluetooth device 21 sends a bluetooth multimedia packet to the bluetooth device 22, the bluetooth device 22 sends a bluetooth multimedia packet to the bluetooth device 23, and so on, and the bluetooth device 2n-1 sends a bluetooth multimedia packet to the bluetooth device 2n, then each bluetooth device in the first chained transmission path sequentially: bluetooth device 21, bluetooth device 22 to bluetooth device 2n.
Illustratively, in the first chain transmission path, bluetooth device 21 is adjacent bluetooth device 22, bluetooth device 22 is adjacent bluetooth device 23, and so on, bluetooth device 2n-1 is adjacent bluetooth device 2n. For the bluetooth device 21 and the bluetooth device 22, the bluetooth device 21 is the first bluetooth device, the bluetooth device 22 is the second bluetooth device, for the bluetooth device 22 and the bluetooth device 23, the bluetooth device 22 is the first bluetooth device, the bluetooth device 23 is the second bluetooth device, and so on, for the bluetooth device 2n-1 and the bluetooth device 2n, the bluetooth device 2n-1 is the first bluetooth device, and the bluetooth device 2n is the second bluetooth device.
It can be seen that the master bluetooth device 10 sends a bluetooth multimedia packet to the bluetooth device 21, then, in the first chain transmission path, the bluetooth device 21 sends a bluetooth multimedia packet to the bluetooth device 22, the bluetooth device 22 sends a bluetooth multimedia packet to the bluetooth device 23, and so on, the bluetooth device 2n-1 sends a bluetooth multimedia packet to the bluetooth device 2n.
And any one of the at least two Bluetooth devices except the last Bluetooth device is used for serving as the first Bluetooth device in the first chain transmission path to send the Bluetooth multimedia packet to the second Bluetooth device based on the control of the master Bluetooth device.
Illustratively, any one of the at least two bluetooth devices except the last bluetooth device 2n is configured to transmit a bluetooth multimedia packet to the second bluetooth device as the first bluetooth device in the first chain transmission path based on the control of the master bluetooth device 10.
Illustratively, the bluetooth device 21 transmits bluetooth multimedia packets to the second bluetooth device, i.e., the bluetooth device 22, as the first bluetooth device in the first chain transmission path based on the control of the master bluetooth device 10, the bluetooth device 22 transmits bluetooth multimedia packets to the second bluetooth device, i.e., the bluetooth device 23, as the first bluetooth device in the first chain transmission path based on the control of the master bluetooth device 10, and so on, and the bluetooth device 2n-1 transmits bluetooth multimedia packets to the second bluetooth device, i.e., the bluetooth device 2n, as the first bluetooth device in the first chain transmission path based on the control of the master bluetooth device 10.
When the change degree of the transmission bandwidth between at least two Bluetooth devices reaches a condition, the main Bluetooth device determines a second chain transmission path based on the changed transmission bandwidth, wherein the second chain transmission path is different from the first chain transmission path; controlling at least two Bluetooth devices to transmit Bluetooth multimedia packets according to a second chain transmission path; and the first Bluetooth equipment in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
For example, the condition refers to a condition that the first chain transmission path needs to be adjusted, for example, the condition may be set that the increase or decrease of the transmission bandwidth is greater than or equal to a preset amount, or the like. The master bluetooth device 10 performs the path adjustment when the degree of change of the transmission bandwidth between at least two bluetooth devices reaches a condition, that is, the first chain transmission path is required. A second chain transmission path may be determined based on the changed transmission bandwidth, the determination principle of the second chain transmission path being identical to that of the first chain transmission path.
And any one of the at least two Bluetooth devices except the last Bluetooth device is used for serving as the first Bluetooth device in the second chain transmission path to send the Bluetooth multimedia packet to the second Bluetooth device based on the control of the master Bluetooth device.
The at least two bluetooth devices may be the same type of bluetooth device, or different types of bluetooth devices, or not all of the same type of bluetooth device. The transmission capabilities of the at least two bluetooth devices may be the same, or different, or not identical. The transmission performance may refer to transmission bandwidth, transmission rate, power consumption size, latency size, and the like.
In various embodiments, the chain transmission path may be understood as: chained paths, chained shared paths, and other synonyms. The bluetooth multimedia packet 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, bluetooth video packets, bluetooth VR packets, bluetooth AR packets, bluetooth game control packets, and the like.
Fig. 6 is a flowchart illustrating a method for transmitting bluetooth multimedia packets according to an exemplary embodiment of the present application, where the method is performed by the master bluetooth device shown in fig. 5. The method comprises the following steps:
in step 620, a first chained transmission path is determined based on a transmission bandwidth between at least two bluetooth devices.
The transmission bandwidth refers to the bandwidth occupied or used when the Bluetooth multimedia packet is transmitted between the Bluetooth devices. The transmission bandwidth may include a transmission bandwidth between the master bluetooth device and each of the at least two bluetooth devices, and a transmission bandwidth between any two of the at least two bluetooth devices.
And the main Bluetooth device and the at least two Bluetooth devices carry out the transmission of Bluetooth multimedia packets through a chain transmission path. A chain transmission path determined by the master bluetooth device based on the transmission bandwidth between at least two bluetooth devices is referred to as a first chain transmission path.
For example, the bluetooth device may receive the bluetooth multimedia packet sent by the master bluetooth device on the chain transmission path, or the bluetooth device may receive the bluetooth multimedia packet sent by the previous bluetooth device before the bluetooth device on the chain transmission path.
For example, when at least two bluetooth devices are 2 bluetooth devices, such as bluetooth device 1 and bluetooth device 2, there are the following 2 cases for the transmission of bluetooth multimedia packets:
the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 1, and then the bluetooth device 1 sends the bluetooth multimedia packet to the bluetooth device 2; or, the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 2, and then the bluetooth device 2 sends the bluetooth multimedia packet to the bluetooth device 1.
The transmission bandwidth between the at least two bluetooth devices may include a transmission bandwidth between the master bluetooth device and each bluetooth device, and a transmission bandwidth between any two bluetooth devices of the at least two bluetooth devices, which specifically includes: a transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1, a transmission bandwidth 2 between the master bluetooth device and the bluetooth device 2, and a transmission bandwidth 12 between the bluetooth device 1 and the bluetooth device 2. The transmission bandwidth 1, the transmission bandwidth 2 and the transmission bandwidth 12 may be used to indicate the positions of the master bluetooth device, the bluetooth device 1 and the bluetooth device 2 in the first chain transmission path. Thus, the first chain transmission path is determined.
For example, when at least two bluetooth devices are 3 bluetooth devices, such as bluetooth device 1, bluetooth device 2, and bluetooth device 3, there are the following 6 cases for the transmission of bluetooth multimedia packets:
the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 1, the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 2, and the bluetooth device 2 then sends the bluetooth multimedia packet to the bluetooth device 3; or, the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 1, the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 3, and the bluetooth device 3 then sends the bluetooth multimedia packet to the bluetooth device 2; or, the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 2, the bluetooth device 2 then sends the bluetooth multimedia packet to the bluetooth device 1, and the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 3; or, the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 2, the bluetooth device 2 then sends the bluetooth multimedia packet to the bluetooth device 3, and the bluetooth device 3 then sends the bluetooth multimedia packet to the bluetooth device 1; or, the master bluetooth device may first send the bluetooth multimedia packet to the bluetooth device 3, the bluetooth device 3 then sends the bluetooth multimedia packet to the bluetooth device 1, and the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 2; or, the master bluetooth device may send the bluetooth multimedia packet to the bluetooth device 3 first, the bluetooth device 3 sends the bluetooth multimedia packet to the bluetooth device 2, and the bluetooth device 2 sends the bluetooth multimedia packet to the bluetooth device 1.
The transmission bandwidth between the at least two bluetooth devices may include a transmission bandwidth between the master bluetooth device and each bluetooth device, and a transmission bandwidth between any two bluetooth devices of the at least two bluetooth devices, which specifically includes: a transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1, a transmission bandwidth 2 between the master bluetooth device and the bluetooth device 2, a transmission bandwidth 3 between the master bluetooth device and the bluetooth device 3, a transmission bandwidth 12 between the bluetooth device 1 and the bluetooth device 2, a transmission bandwidth 13 between the bluetooth device 1 and the bluetooth device 3, and a transmission bandwidth 23 between the bluetooth device 2 and the bluetooth device 3. The transmission bandwidth 1, the transmission bandwidth 2 and the transmission bandwidth 3 may be used to indicate which bluetooth device 1, the bluetooth device 2 or the bluetooth device 3 is the next bluetooth device in the first chain transmission path of the master bluetooth device, and the transmission bandwidth 12, the transmission bandwidth 13 and the transmission bandwidth 23 are used to indicate the positions of the bluetooth device 1, the bluetooth device 2 and the bluetooth device 3 in the first chain transmission path. Thus, the first chain transmission path is determined.
Step 640, controlling at least two bluetooth devices to transmit bluetooth multimedia packets according to a first chain transmission path; and the first Bluetooth equipment in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
After determining the first chain transmission path, the master bluetooth device may control the at least two bluetooth devices to transmit the bluetooth multimedia packets according to the first chain transmission path. And the first Bluetooth equipment in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
Illustratively, a plurality of bluetooth devices are included in the first chain transmission path, the first bluetooth device being a preceding bluetooth device of any two adjacent bluetooth devices in the first chain transmission path, and the second bluetooth device being a succeeding bluetooth device of any two adjacent bluetooth devices in the first chain transmission path. For bluetooth devices other than the first bluetooth device and the last bluetooth device, the bluetooth device may be used as the first bluetooth device or the second bluetooth device.
For example, for a bluetooth device of at least two bluetooth devices, the bluetooth device may receive a bluetooth multimedia packet sent by a master bluetooth device, or the bluetooth device may receive bluetooth multimedia packets sent by other bluetooth devices located before the bluetooth device in the first chain transmission path.
Illustratively, in the chain transmission path of the embodiment of the present application, the first bluetooth device and the second bluetooth device perform unicast communication based on bluetooth technology. The bluetooth multimedia packet also supports a retransmission mechanism during transmission to ensure transmission quality.
Alternatively, when the bluetooth device is the last bluetooth device in the first chain transmission path, the master bluetooth device may not perform the step of controlling the bluetooth device to continue transmitting the bluetooth multimedia packet.
To sum up, the method provided by the embodiment of the present application can realize that the same bluetooth multimedia packet is transmitted among a plurality of bluetooth devices through the chain transmission path, thereby realizing sharing of the bluetooth multimedia packet. In the embodiment of the application, the first chained transmission path is determined based on the transmission bandwidth between at least two Bluetooth devices, and the condition that the transmission performances of different Bluetooth devices are inconsistent is fully considered, so that the utilization rate of the transmission bandwidth is maximized, the maximization of the total bandwidth used by the plurality of Bluetooth devices is ensured as much as possible, the transmission quality of the Bluetooth multimedia packets in the chained transmission path is ensured, and the longest total using duration of the plurality of Bluetooth devices can be further ensured.
In one example of the present application, the first bandwidth in the first chained transmission path is greater than or equal to the second bandwidth; the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being a master bluetooth device or other bluetooth devices located before the first bluetooth device in the first chain transmission path; the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
Illustratively, the first chained transmission path is determined based on sequentially descending transmission bandwidths between the at least two bluetooth devices. Further, according to the position of the bluetooth device in the first chain transmission path, when the bluetooth device is used as the first bluetooth device, the transmission bandwidth between the bluetooth device and the previous bluetooth device may be used as the first bandwidth, and when the bluetooth device is used as the second bluetooth device, the transmission bandwidth between the bluetooth device and the previous bluetooth device (i.e., the first bluetooth device) may also be used as the second bandwidth, which is specifically determined according to the actual situation.
Exemplarily, when the at least two bluetooth devices are 2 bluetooth devices, such as the bluetooth device 1 and the bluetooth device 2, it is assumed that the master bluetooth device sends the bluetooth multimedia packet to the bluetooth device 1 first, and then the bluetooth device 1 sends the bluetooth multimedia packet to the bluetooth device 2, that is, the sequence of each bluetooth device in the first chain transmission path is: bluetooth device 1, bluetooth device 2. The bluetooth device 1 is a first bluetooth device, the bluetooth device 2 is a second bluetooth device, the transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1 is a first bandwidth, the transmission bandwidth 12 between the bluetooth device 1 and the bluetooth device 2 is a second bandwidth, and the first bandwidth is greater than or equal to the first bandwidth.
Exemplarily, when at least two bluetooth devices are 3 bluetooth devices, such as the bluetooth device 1, the bluetooth device 2, and the bluetooth device 3, it is assumed that the master bluetooth device first sends a bluetooth multimedia packet to the bluetooth device 1, the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 2, and the bluetooth device 2 then sends the bluetooth multimedia packet to the bluetooth device 3, that is, the sequence of each bluetooth device in the first chain transmission path is: bluetooth device 1, bluetooth device 2, bluetooth device 3. Then, for the bluetooth device 1 and the bluetooth device 2, the bluetooth device 1 is a first bluetooth device, and the bluetooth device 2 is a second bluetooth device; for the bluetooth device 2 and the bluetooth device 3, the bluetooth device 2 is a first bluetooth device, and the bluetooth device 3 is a second bluetooth device. The transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1 is greater than or equal to the transmission bandwidth 12 between the bluetooth device 1 and the bluetooth device 2, and greater than or equal to the transmission bandwidth 23 between the bluetooth device 2 and the bluetooth device 3. Then, for the transmission bandwidth 1 and the transmission bandwidth 12, the transmission bandwidth 1 is the first bandwidth, and the transmission bandwidth 12 is the second bandwidth. For the transmission bandwidth 12 and the transmission bandwidth 13, the transmission bandwidth 12 is a first bandwidth, and the transmission bandwidth 13 is a second bandwidth.
In this embodiment, the first bandwidth in the first chain transmission path is greater than or equal to the second bandwidth, and the first chain transmission path may be determined according to the bandwidth capability of the bluetooth device in consideration of the situation that the transmission performances of different bluetooth devices are inconsistent, so as to ensure the transmission quality of the bluetooth multimedia packets in the chain transmission path.
In an example of the present application, the master bluetooth device needs to acquire data related to all transmission bandwidths of the bluetooth devices involved, so that the first chained transmission path may be determined based on the transmission bandwidths between at least two bluetooth devices. The method further comprises: the method includes acquiring a transmission bandwidth between any two of the at least two Bluetooth devices, and acquiring a transmission bandwidth between a master Bluetooth device and the at least two Bluetooth devices.
For example, the transmission bandwidth may include a transmission bandwidth between the master bluetooth device and each of the at least two bluetooth devices, and a transmission bandwidth between any two of the at least two bluetooth devices. That is, the transmission bandwidth between any two bluetooth devices of the at least two bluetooth devices can be acquired, and the transmission bandwidth between the master bluetooth device and the at least two bluetooth devices can be acquired. Thus, the first chain transmission path is determined.
In this embodiment, by obtaining the transmission bandwidth of the above type, it is ensured that all relevant information transmitted by the bluetooth multimedia packet is obtained as much as possible, and the accuracy of the subsequently determined first chained transmission path is improved.
In one embodiment, acquiring a transmission bandwidth between any two bluetooth devices of the at least two bluetooth devices comprises: and receiving the transmission bandwidth reported by each of the at least two Bluetooth devices, wherein the transmission bandwidth is the transmission bandwidth between each Bluetooth device and other Bluetooth devices.
For example, the transmission bandwidth acquired by the master bluetooth device may be reported by each of the at least two bluetooth devices. The reporting timing reported by each bluetooth device may be periodic reporting, for example, periodic reporting according to a predetermined time period. The reporting may also be event-triggered, for example, the reporting is triggered when a new bluetooth device joins in the bluetooth communication process, or when a bluetooth device exits from the bluetooth communication process, or other events. The bluetooth device quitting can be the situation that a user operates the bluetooth device to quit actively, or the bluetooth device quits due to insufficient electric quantity, and the like. For the master bluetooth device, a transmission bandwidth reported by each of the at least two bluetooth devices may be received, where the transmission bandwidth is a transmission bandwidth between each bluetooth device and another bluetooth device.
For any one of the at least two bluetooth devices, the time when the bluetooth device reports the transmission bandwidth to the master bluetooth device may be any time when the bluetooth device establishes the bluetooth communication connection with the master bluetooth device this time and performs at least one bluetooth data transmission; or, the time when the bluetooth device establishes the bluetooth communication connection with the master bluetooth device this time and does not perform bluetooth data transmission may also be.
The bluetooth data transmission may specifically include at least one of the following situations: all other Bluetooth devices in the at least two Bluetooth devices and the master Bluetooth device do not perform Bluetooth data transmission; or the bluetooth device does not perform bluetooth data transmission, but at least one other bluetooth device of the at least two bluetooth devices performs bluetooth data transmission with the master bluetooth device at least once.
Optionally, the bluetooth data may include at least one of a bluetooth multimedia packet and a bluetooth message, and the bluetooth message may be at least one of a bluetooth broadcast message and a bluetooth data message.
In this embodiment, by receiving the transmission bandwidth reported by each bluetooth device, the speed of acquiring multiple transmission bandwidths can be increased, and the efficiency of determining the first chained transmission path can be increased.
In one example of the application, for at least two bluetooth devices involved, the transmission bandwidth between each bluetooth device and the other bluetooth devices is determined by each bluetooth device based on at least one of:
determining based on bandwidth capability information of other Bluetooth equipment in an initial negotiation process;
determining based on the signal strength of Bluetooth messages from other Bluetooth devices;
and determining based on the packet sending success rate or the packet loss rate in the transmission process.
Illustratively, the initial negotiation process refers to a process of performing handshake negotiation through a bluetooth transmission protocol when any two bluetooth devices of the at least two bluetooth devices establish bluetooth communication connection this time.
The initial negotiation process may carry bandwidth capability information of two bluetooth devices performing handshake negotiation, where the bandwidth capability information may be a maximum transmission bandwidth supported by the bluetooth devices or a sub-transmission bandwidth of each bluetooth component of the bluetooth devices. Each bluetooth device may determine a transmission bandwidth between each bluetooth device and other bluetooth devices based on bandwidth capability information of the other bluetooth devices in an initial negotiation process.
Alternatively, the bluetooth transmission protocol may be at least one of bluetooth Control telephony protocol (HFP), bluetooth Audio transmission protocol (A2 DP), audio/Video Remote Control Profile (AVRCP), and the like.
Alternatively, the bluetooth transmission protocol may also be a proprietary communication protocol, i.e. a communication protocol followed by bluetooth communication only between target bluetooth devices of the at least two bluetooth devices, and not between all bluetooth devices of the at least two bluetooth devices, e.g. the same proprietary communication protocol is followed between target bluetooth devices of the same manufacturer.
Alternatively, the bluetooth message may be at least one of a bluetooth broadcast message and a bluetooth data message. The bluetooth data message can be understood by two bluetooth devices which establish bluetooth communication connection, and the bluetooth broadcast message can be broadcast to a plurality of bluetooth devices or only to a specific bluetooth device.
Illustratively, the signal strength of a bluetooth message between two bluetooth devices is positively correlated with the transmission bandwidth between the two bluetooth devices. The stronger the signal strength of the bluetooth message is, the larger the transmission bandwidth between the two corresponding bluetooth devices is. Thus, each bluetooth device can determine the transmission bandwidth between each bluetooth device and other bluetooth devices based on the signal strength of bluetooth messages from other bluetooth devices.
Optionally, the signal strength of each bluetooth packet may be directly compared, and the size of the transmission bandwidth is represented by the size of the signal strength, or a signal strength threshold of the bluetooth packet may be set according to actual technical requirements, when the signal strength of the bluetooth packet is greater than or equal to the signal strength threshold, the signal strength of the bluetooth packet may be considered to be strong, and when the signal strength of the bluetooth packet is less than the signal strength threshold, the signal strength of the bluetooth packet may be considered to be weak, and the size of the transmission bandwidth is represented by the relative strength of the signal strength.
Illustratively, the packet sending success rate or the packet loss rate in the transmission process is used to characterize whether the bluetooth multimedia packet is successfully sent from the first bluetooth device to the second bluetooth device. It should be noted that, the packet sending and packet loss herein may refer to sending a bluetooth multimedia packet, and may also refer to sending other specific bluetooth data packets, which is not limited herein.
The packet sending success rate between the two Bluetooth devices in the transmission process is positively correlated with the transmission bandwidth between the two Bluetooth devices, and the packet loss rate between the two Bluetooth devices in the transmission process is negatively correlated with the transmission bandwidth between the two Bluetooth devices. The larger the packet sending success rate between two bluetooth devices is, or the smaller the packet loss rate is, the larger the transmission bandwidth between the two bluetooth devices is. Thus, each first bluetooth device may determine the transmission bandwidth between the first bluetooth device and the second bluetooth device based on the packet sending success rate or the packet loss rate in the transmission process.
Optionally, the packet sending success rate or the packet loss rate in the transmission process may be directly compared to represent the size of the transmission bandwidth, or a correspondence between the packet sending success rate or the packet loss rate in the transmission process and a value of the transmission bandwidth may be preset, and the value of the corresponding transmission bandwidth may be determined according to the packet sending success rate or the packet loss rate.
In this embodiment, each bluetooth device may acquire the transmission bandwidth between each bluetooth device and other bluetooth devices in multiple ways, so that the efficiency of determining the transmission bandwidth and the feasibility of determining the ways are improved.
In one example of the present application, the master bluetooth device acquiring a transmission bandwidth between the master bluetooth device and at least two bluetooth devices includes at least one of the following steps:
determining transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices based on the bandwidth capability information of the at least two Bluetooth devices in the initial negotiation process;
determining transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices based on the signal strength of the Bluetooth messages from the at least two Bluetooth devices;
and determining the transmission bandwidth between the main Bluetooth device and at least two Bluetooth devices based on the packet sending success rate or the packet loss rate in the transmission process.
Illustratively, the initial negotiation process refers to a process of performing handshake negotiation through a bluetooth transmission protocol when any bluetooth device of the at least two bluetooth devices establishes a bluetooth communication connection with the master bluetooth device this time.
The initial negotiation process may carry bandwidth capability information of the master bluetooth device performing the handshake negotiation and any bluetooth device of the at least two bluetooth devices, where the bandwidth capability information may be a maximum transmission bandwidth supported by the bluetooth devices or a sub-transmission bandwidth of each bluetooth component of the bluetooth devices. The master bluetooth device may determine a transmission bandwidth between the master bluetooth device and each of the at least two bluetooth devices based on the bandwidth capability information of the at least two bluetooth devices in the initial negotiation process.
Alternatively, the bluetooth transmission protocol may be at least one of a bluetooth Control telephony protocol (HFP), an Advanced Audio Distribution Profile (A2 DP), an Audio/Video Remote Control Profile (AVRCP), and the like.
Alternatively, the bluetooth transmission protocol may also be a private communication protocol, i.e. a communication protocol only followed by bluetooth communication between the master bluetooth device and a target bluetooth device of the at least two bluetooth devices, and not a communication protocol followed between the master bluetooth device and all bluetooth devices of the at least two bluetooth devices, e.g. the same private communication protocol is followed between the master bluetooth device and the target bluetooth device of the same manufacturer.
Illustratively, the bluetooth message may be at least one of a bluetooth broadcast message and a bluetooth data message. The bluetooth data message can be understood by the master bluetooth device and the bluetooth device that have established the bluetooth communication connection, and the bluetooth broadcast message can be broadcast to a plurality of bluetooth devices or only to a specific bluetooth device.
The signal intensity of the bluetooth message between the master bluetooth device and the bluetooth device is positively correlated with the transmission bandwidth between the master bluetooth device and the bluetooth device. The stronger the signal strength of the bluetooth message is, the larger the transmission bandwidth between the corresponding master bluetooth device and the bluetooth device is. Thus, the master bluetooth device may determine a transmission bandwidth between the master bluetooth device and each of the at least two bluetooth devices based on the signal strength of the bluetooth packets from the at least two bluetooth devices.
Optionally, the signal strength of each bluetooth packet may be directly compared, and the size of the transmission bandwidth is represented by the size of the signal strength, or a signal strength threshold of the bluetooth packet may be set according to actual technical requirements, when the signal strength of the bluetooth packet is greater than or equal to the signal strength threshold, the signal strength of the bluetooth packet may be considered to be strong, and when the signal strength of the bluetooth packet is less than the signal strength threshold, the signal strength of the bluetooth packet may be considered to be weak, and the size of the transmission bandwidth is represented by the relative strength of the signal strength.
Illustratively, the packet sending success rate or the packet loss rate during the transmission process is used to characterize whether the bluetooth multimedia packet is successfully sent to the bluetooth device by the master bluetooth device. It should be noted that, the packet sending and packet loss herein may refer to sending a bluetooth multimedia packet, and may also refer to sending other specific bluetooth data packets, which is not limited herein.
The packet sending success rate between the main Bluetooth device and the Bluetooth device in the transmission process is positively correlated with the transmission bandwidth between the main Bluetooth device and the Bluetooth device, and the packet loss rate between the main Bluetooth device and the Bluetooth device in the transmission process is negatively correlated with the transmission bandwidth between the main Bluetooth device and the Bluetooth device. The larger the packet sending success rate between the main bluetooth device and the bluetooth device is, or the smaller the packet loss rate is, the larger the transmission bandwidth between the main bluetooth device and the bluetooth device is.
Optionally, the packet sending success rate or the packet loss rate in the transmission process may be directly compared to represent the size of the transmission bandwidth, or a correspondence between the packet sending success rate or the packet loss rate in the transmission process and a value of the transmission bandwidth may be preset, and the value of the corresponding transmission bandwidth may be determined according to the packet sending success rate or the packet loss rate.
In this embodiment, the transmission bandwidth between the master bluetooth device and the at least two bluetooth devices may be acquired in multiple ways, and the speed of acquiring the transmission bandwidth may be increased, thereby improving the efficiency of subsequently determining the chain transmission path.
In one example of the application, the number and the types of the Bluetooth devices in Bluetooth communication with the master Bluetooth device are variable in combination with actual technical scenes. For example, a new bluetooth device is added or a bluetooth device is withdrawn during bluetooth communication between the master bluetooth device and the bluetooth device, and thus the chain transmission path is also variable. The method may further comprise:
when the change degree of the transmission bandwidth between at least two Bluetooth devices reaches a condition, determining a second chain transmission path based on the changed transmission bandwidth, wherein the second chain transmission path is different from the first chain transmission path;
controlling at least two Bluetooth devices to transmit Bluetooth multimedia packets according to a second chain transmission path; and the first Bluetooth equipment in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
Illustratively, the transmission bandwidth between at least two bluetooth devices changes, and the change may be a change in the amount and/or value of the transmission bandwidth, and the change may be a change generated at any time and/or a change generated periodically during bluetooth communication. The above variations can be combined arbitrarily.
For example, when a new bluetooth device is added or a bluetooth device is exited at any time, the amount and value of the transmission bandwidth may change at any time. For example, the master bluetooth device detects the transmission bandwidth between at least two bluetooth devices according to a predetermined time period to ensure the transmission quality of the chain transmission path, and there is no new bluetooth device to join before and after the detection of the transmission bandwidth, or there is exit of the bluetooth device, and the value of the transmission bandwidth may change periodically.
For example, the variation degree of the transmission bandwidth between at least two bluetooth devices may be determined by at least one of bandwidth capability information of at least two bluetooth devices, signal strength of a bluetooth message, and a packet sending success rate or a packet loss rate during transmission. Accordingly, the condition to be met for the degree of change in the transmission bandwidth between at least two bluetooth devices is matched with the manner of determining the degree of change in the transmission bandwidth. The degree of change may be characterized by an increase or decrease, and the like. The degree of change reaches a condition that the first chain transmission path needs to be subjected to path adjustment.
For example, if it is determined that the amount of increase or decrease in the transmission bandwidth between the at least two bluetooth devices is greater than or equal to the preset amount according to the bandwidth capability information of the at least two bluetooth devices, or it is determined that the amount of increase or decrease in the transmission bandwidth between the at least two bluetooth devices is greater than or equal to the preset amount, it is determined that the degree of change in the transmission bandwidth between the at least two bluetooth devices meets the condition, that is, the first chain transmission path needs to be adjusted.
For another example, it is determined that the amount of increase or decrease in the transmission bandwidth between the at least two bluetooth devices is greater than or equal to a preset amount according to the signal strength of the bluetooth messages of the at least two bluetooth devices, or it is determined that the amount of increase or decrease in the transmission bandwidth between the at least two bluetooth devices is greater than or equal to a preset amount, it is determined that the degree of change in the transmission bandwidth between the at least two bluetooth devices meets a condition, that is, the first chain transmission path needs to be adjusted.
In one example, when the degree of change in the transmission bandwidth between at least two bluetooth devices reaches a condition, then the first chain transmission path needs to be path-adjusted. The chain transmission path determined based on the changed transmission bandwidth is referred to as a second chain transmission path, and it is understood that the second chain transmission path is different from the first chain transmission path.
For example, when the at least two bluetooth devices are 3 bluetooth devices, such as the bluetooth device 1, the bluetooth device 2, and the bluetooth device 3, it is assumed that the master bluetooth device first sends the bluetooth multimedia packet to the bluetooth device 1, the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 2, and the bluetooth device 2 then sends the bluetooth multimedia packet to the bluetooth device 3. Assuming that the bluetooth device 2 exits from the bluetooth communication, the transmission system includes the master bluetooth device, the bluetooth device 1, and the bluetooth device 3 at this time, and it can be determined that the degree of change in the transmission bandwidth between at least two bluetooth devices meets the condition. At this time, the transmission bandwidth includes a transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1, a transmission bandwidth 3 between the master bluetooth device and the bluetooth device 3, and a transmission bandwidth 13 between the bluetooth device 1 and the bluetooth device 3. The master bluetooth device may determine the second chain transmission path based on the transmission bandwidth 1, the transmission bandwidth 3, and the transmission bandwidth 13 described above.
For example, after determining the second chain transmission path, the master bluetooth device may control at least two bluetooth devices to transmit bluetooth multimedia packets according to the second chain transmission path. And the first Bluetooth equipment in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
It should be noted that the principle of the manner in which the master bluetooth device controls the at least two bluetooth devices to transmit the bluetooth multimedia packets according to the second chain transmission path is consistent with the principle of the manner in which the master bluetooth device controls the at least two bluetooth devices to transmit the bluetooth multimedia packets according to the first chain transmission path, and details are not repeated here.
In this embodiment, when a certain condition is reached, the chain transmission path is re-determined based on the changed transmission bandwidth, so that real-time dynamic adjustment of the chain transmission path can be realized, the accuracy of the chain transmission path can be always ensured, and the transmission quality of the bluetooth multimedia packets in the chain transmission path is ensured.
In one example of the present application, consistent with the first chain transmission path, the first bandwidth in the second chain transmission path is greater than or equal to the second bandwidth; the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being a master bluetooth device or other bluetooth devices located before the first bluetooth device in the second chain transmission path; the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
Illustratively, the second chained transmission path is determined based on sequentially descending order of transmission bandwidths between the at least two bluetooth devices. Further, according to the position of the bluetooth device in the first chain transmission path, when the bluetooth device is used as a first bluetooth device, the transmission bandwidth between the bluetooth device and the previous bluetooth device may be used as a first bandwidth, and when the bluetooth device is used as a second bluetooth device, the transmission bandwidth between the bluetooth device and the previous bluetooth device (i.e., the first bluetooth device) may also be used as a second bandwidth, which is specifically determined according to actual conditions.
For example, when the at least two bluetooth devices are 2 bluetooth devices, for example, the bluetooth device 1 and the bluetooth device 3, it is assumed that the master bluetooth device sends the bluetooth multimedia packet to the bluetooth device 1 first, and the bluetooth device 1 sends the bluetooth multimedia packet to the bluetooth device 3 again, that is, the sequence of each bluetooth device in the second chain transmission path is: bluetooth device 1, bluetooth device 3. The transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1 is greater than or equal to the transmission bandwidth 13 between the bluetooth device 1 and the bluetooth device 3. For the transmission bandwidth 1 and the transmission bandwidth 13, the transmission bandwidth 1 is a first bandwidth, and the transmission bandwidth 13 is a second bandwidth.
For another example, based on the above embodiment, when the at least two bluetooth devices further include the bluetooth device 4, it is assumed that the master bluetooth device first sends the bluetooth multimedia packet to the bluetooth device 1, the bluetooth device 1 then sends the bluetooth multimedia packet to the bluetooth device 3, and the bluetooth device 3 then sends the bluetooth multimedia packet to the bluetooth device 4, that is, the sequence of each bluetooth device in the second chain transmission path is: bluetooth device 1, bluetooth device 3, bluetooth device 4. The transmission bandwidth 1 between the master bluetooth device and the bluetooth device 1 is greater than or equal to the transmission bandwidth 13 between the bluetooth device 1 and the bluetooth device 3, and greater than or equal to the transmission bandwidth 14 between the bluetooth device 3 and the bluetooth device 4. For the transmission bandwidth 1 and the transmission bandwidth 13, the transmission bandwidth 1 is a first bandwidth, and the transmission bandwidth 13 is a second bandwidth. For the transmission bandwidth 13 and the transmission bandwidth 14, the transmission bandwidth 13 is a first bandwidth, and the transmission bandwidth 14 is a second bandwidth.
In this embodiment, the second chained transmission path is determined in the same determination manner as the first chained transmission path, so that accuracy and consistency of data transmission of bluetooth multimedia packets in the same transmission system can be ensured, the situation that transmission performances of different bluetooth devices are inconsistent is fully considered, and transmission quality is ensured as much as possible.
In one example of the present application, each of the at least two bluetooth devices comprises at least two bluetooth components. For example, if the bluetooth device is a TWS bluetooth headset, the bluetooth device includes 2 bluetooth components for a left channel bluetooth headset and a right channel bluetooth headset. The bluetooth device is a bluetooth gamepad, and the bluetooth device may include 2 or more bluetooth gamepad components.
Illustratively, when each bluetooth device includes at least two bluetooth components, the transmission bandwidth between the at least two bluetooth devices refers to a sum of sub-transmission bandwidths of each of the at least two bluetooth components.
For example, the transmission bandwidth between the master bluetooth device and the bluetooth headset refers to the sum of the sub-transmission bandwidth of the left channel bluetooth headset and the sub-transmission bandwidth of the right channel bluetooth headset.
Illustratively, the transmission bandwidth between at least two bluetooth devices refers to a minimum sub-transmission bandwidth among sub-transmission bandwidths of each of at least two bluetooth components, considering a case where transmission performances of each of at least two bluetooth components included in each bluetooth device are not identical.
For example, if the sub-transmission bandwidth between the main bluetooth device and the left channel bluetooth headset of the bluetooth headset is greater than the sub-transmission bandwidth between the right channel bluetooth headset, that is, the transmission performance of the right channel bluetooth headset is weak, it is determined that the transmission bandwidth between the main bluetooth device and the bluetooth device is the sub-transmission bandwidth between the right channel bluetooth headset.
In this embodiment, the transmission bandwidth can be determined more accurately by the two determination methods of the transmission bandwidth, so that the accuracy of the determined chain transmission path is improved.
It should be further noted that, when each of the at least two bluetooth devices includes at least two bluetooth components, the implementation manner of the embodiment of the present application may be:
the master Bluetooth device determines a first chained transmission path based on a transmission bandwidth between at least two Bluetooth devices; and controlling a first Bluetooth component in the at least two Bluetooth devices to transmit the first Bluetooth multimedia packet according to the first chain transmission path, and controlling a second Bluetooth component in the at least two Bluetooth devices to transmit the second Bluetooth multimedia packet according to the first chain transmission path.
The first Bluetooth part of the first Bluetooth device in the first chain transmission path sends a first Bluetooth multimedia packet to the first Bluetooth part of the second Bluetooth device, and the second Bluetooth part of the first Bluetooth device in the first chain transmission path sends a second Bluetooth multimedia packet to the second Bluetooth part of the second Bluetooth device.
Optionally, the first bluetooth multimedia packet and the second bluetooth multimedia packet are transmitted by unicast communication. The first Bluetooth multimedia packet and the second Bluetooth multimedia packet also support a retransmission mechanism during transmission so as to ensure the transmission quality.
For example, in the case that the bluetooth device is a TWS bluetooth headset, after the first chain transmission path is determined, the left channel bluetooth headset is controlled to transmit the left channel bluetooth multimedia packets according to the first chain transmission path, and the right channel bluetooth headset is controlled to transmit the right channel bluetooth multimedia packets according to the first chain transmission path.
In this embodiment, transmit the bluetooth multimedia package according to controlling the sound track respectively, can realize the pertinence transmission, can also make the transmission process of bluetooth multimedia package more independent, do not influence the bluetooth multimedia package transmission of another sound track when the bluetooth multimedia package transmission of one of them sound track takes place the error, can improve user experience to a certain extent.
In one example, the method further comprises: and playing the Bluetooth multimedia packet.
Optionally, the master bluetooth device may not play any bluetooth multimedia packet, and only perform transmission of the bluetooth multimedia packet; or, playing a part of the bluetooth multimedia packet, such as a bluetooth multimedia packet identified as needing to be played by itself; or all bluetooth multimedia packets are played. The bluetooth multimedia packet played by the master bluetooth device may be determined according to a specific implementation, and is not described herein again.
In this embodiment, the master bluetooth device can also play the bluetooth multimedia packet according to the actual situation, which can effectively improve the user experience.
Fig. 7 is a flowchart illustrating a transmission method of bluetooth multimedia packets according to an exemplary embodiment of the present application, where the method is performed by the (slave) bluetooth device shown in fig. 5. The method comprises the following steps:
step 720, based on the control of the master bluetooth device, the first bluetooth device in the first chain transmission path sends a bluetooth multimedia packet to the second bluetooth device; wherein the first chained transmission path is determined by the master bluetooth device based on a transmission bandwidth between the at least two bluetooth devices.
For example, after the master bluetooth device determines the first chained transmission path based on the transmission bandwidth between at least two bluetooth devices, the master bluetooth device may control transmission of bluetooth multimedia packets of the bluetooth devices. Specifically, the bluetooth device transmits a bluetooth multimedia packet to the second bluetooth device as the first bluetooth device in the first chain transmission path based on the control of the master bluetooth device.
In some embodiments, the master bluetooth device establishes a control link with each of the at least two bluetooth devices for transmitting control information relating to the transmission of bluetooth multimedia packets. The control information includes: the address of each Bluetooth device in the first chain transmission path, the serial number of the Bluetooth multimedia packet, the feedback information of the Bluetooth multimedia packet, the initial transmission/retransmission information of the Bluetooth multimedia packet, and the like. Thus, the master bluetooth device can implement control of the bluetooth device based on the control link.
In summary, the method provided in this embodiment can realize transmission of the same bluetooth multimedia packet among multiple bluetooth devices based on the control of the master bluetooth device, and realize sharing of the bluetooth multimedia packet. The determining mode of the chain transmission path in the embodiment of the application also fully considers the condition that the transmission performances of different Bluetooth devices are inconsistent, and can ensure the transmission quality of the Bluetooth multimedia packets in the chain transmission path. It is also possible to maximize the total bandwidth used by multiple bluetooth devices.
In one example of the present application, the master bluetooth device may obtain a transmission bandwidth between the master bluetooth device and at least two bluetooth devices, and for a bluetooth device, the method further comprises: and reporting the transmission bandwidth between the first Bluetooth device and other Bluetooth devices to the master Bluetooth device.
For example, the bluetooth device serves as a first bluetooth device in the first chain transmission path, and what is reported to the master bluetooth device is a transmission bandwidth between the first bluetooth device and each of the other bluetooth devices, so that the master bluetooth device obtains the transmission bandwidth between any two bluetooth devices of the at least two bluetooth devices.
In this embodiment, the bluetooth device actively reports the transmission bandwidth to the master bluetooth device, which can improve the efficiency of the master bluetooth device acquiring the transmission bandwidth and reduce the possibility of errors.
In one embodiment, the bluetooth device is the first bluetooth device, and the method further comprises at least one of the following steps:
determining transmission bandwidth between the first Bluetooth device and other Bluetooth devices based on bandwidth capability information of other Bluetooth devices in an initial negotiation process;
determining transmission bandwidth between the first Bluetooth device and other Bluetooth devices based on the signal strength of Bluetooth messages from other Bluetooth devices;
and determining the transmission bandwidth between the first Bluetooth device and the second Bluetooth device based on the packet sending success rate or the packet loss rate in the transmission process.
For example, the initial negotiation process refers to a process of performing handshake negotiation through a bluetooth transmission protocol when the bluetooth device establishes a bluetooth communication connection with another bluetooth device this time.
The initial negotiation process may carry bandwidth capability information of the bluetooth device and other bluetooth devices performing handshake negotiation, where the bandwidth capability information may be a maximum transmission bandwidth supported by the bluetooth device or a sub-transmission bandwidth of each bluetooth component of the bluetooth device. The bluetooth device may determine a transmission bandwidth between the first bluetooth device and the other bluetooth devices based on the bandwidth capability information of the other bluetooth devices in the initial negotiation process.
Illustratively, the signal strength of the bluetooth message from the other bluetooth device is positively correlated with the transmission bandwidth between the bluetooth device and the other bluetooth device. The stronger the signal strength of the bluetooth message is, the larger the transmission bandwidth between the bluetooth device and the other bluetooth devices is. Thus, the bluetooth device can determine the transmission bandwidth between the first bluetooth device and the other bluetooth devices based on the signal strength of the bluetooth messages from the other bluetooth devices.
For example, the packet sending success rate between the bluetooth device (first bluetooth device) and the next bluetooth device (second bluetooth device) of the bluetooth device during transmission is positively correlated with the transmission bandwidth between the two bluetooth devices, and the packet loss rate between the two bluetooth devices during transmission is negatively correlated with the transmission bandwidth between the two bluetooth devices. The larger the packet sending success rate between two bluetooth devices is, or the smaller the packet loss rate is, the larger the transmission bandwidth between the two bluetooth devices is. Therefore, the bluetooth device may determine the transmission bandwidth between the first bluetooth device and the second bluetooth device based on the packet sending success rate or the packet loss rate in the transmission process.
In this embodiment, the bluetooth device may determine the transmission bandwidth with other bluetooth devices in multiple ways, which improves the efficiency and feasibility of determining the transmission bandwidth, and is beneficial to improving the efficiency of subsequently determining the chain transmission path.
In one example, the method further comprises: and playing the Bluetooth multimedia packet.
Optionally, all or part of the at least two bluetooth devices are used for playing the bluetooth multimedia packets. For one of the at least two Bluetooth devices, only the transmission of the Bluetooth multimedia packet can be executed without playing any Bluetooth multimedia packet; or, playing a part of the bluetooth multimedia packet, such as a bluetooth multimedia packet identified as needing to be played by itself; or all bluetooth multimedia packets are played. The bluetooth multimedia packets played by each bluetooth device may be determined according to a specific implementation, and are not described herein again.
In this embodiment, the bluetooth device can also play the bluetooth multimedia packet according to the actual situation, and user experience can be effectively improved.
Fig. 8 is a diagram illustrating a transmission system of bluetooth multimedia packets according to an exemplary embodiment of the present application. In this embodiment, the main bluetooth device is the mobile phone 10, the bluetooth device includes 4 pairs of TWS bluetooth headsets, which are the bluetooth headset 21, the bluetooth headset 22, the bluetooth headset 23, and the bluetooth headset 24, and each pair of TWS bluetooth headsets includes a left channel bluetooth headset and a right channel bluetooth headset.
The transmission bandwidth between the mobile phone 10 and the bluetooth headset 21 is the sum of the sub-transmission bandwidth between the left channel bluetooth headset of the mobile phone 10 and the bluetooth headset 21 and the sub-transmission bandwidth between the right channel bluetooth headset of the mobile phone and the bluetooth headset 21. The determination method of the transmission bandwidth between the mobile phone 10 and the bluetooth headset 22, between the mobile phone 10 and the bluetooth headset 23, and between the mobile phone 10 and the bluetooth headset 24 is consistent with the above determination method, and is not described herein again.
The transmission bandwidth between the bluetooth headset 21 and the bluetooth headset 22 is the sum of the sub-transmission bandwidth between the bluetooth headset 21 and the left channel bluetooth headset of the bluetooth headset 22 and the sub-transmission bandwidth between the bluetooth headset 21 and the right channel bluetooth headset of the bluetooth headset 22. The determination method of the transmission bandwidth between the bluetooth headset 21 and the bluetooth headset 23, between the bluetooth headset 21 and the bluetooth headset 24, between the bluetooth headset 22 and the bluetooth headset 23, between the bluetooth headset 22 and the bluetooth headset 24, and between the bluetooth headset 23 and the bluetooth headset 24 is consistent with the above determination method, and is not described herein again.
The following embodiments are implemented as an example of the mobile phone 10, and the transmission method of the bluetooth multimedia packet includes:
determining a first chained transmission path based on a transmission bandwidth between at least two Bluetooth devices; a first bluetooth device in the first chained transmission path sends a bluetooth multimedia packet to a second bluetooth device. The first bandwidth in the first chained transmission path is greater than or equal to the second bandwidth; the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being located at a master bluetooth device or other bluetooth devices before the first bluetooth device in the first chain transmission path; the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
Specifically, the transmission bandwidth acquired by the mobile phone 10 is the transmission bandwidth between the mobile phone 10 and each pair of bluetooth headsets, and the transmission bandwidth between any two pairs of bluetooth headsets. The method specifically comprises the following steps: transmission bandwidths between the mobile phone 10 and the bluetooth headset 21, between the mobile phone 10 and the bluetooth headset 22, between the mobile phone 10 and the bluetooth headset 23, between the mobile phone 10 and the bluetooth headset 24, between the bluetooth headset 21 and the bluetooth headset 22, between the bluetooth headset 21 and the bluetooth headset 23, between the bluetooth headset 21 and the bluetooth headset 24, between the bluetooth headset 22 and the bluetooth headset 23, between the bluetooth headset 22 and the bluetooth headset 24, and between the bluetooth headset 23 and the bluetooth headset 24.
The transmission bandwidth between the mobile phone 10 and the bluetooth headset 21, the transmission bandwidth between the bluetooth headset 21 and the bluetooth headset 22, the transmission bandwidth between the bluetooth headset 22 and the bluetooth headset 23, and the transmission bandwidth between the bluetooth headset 23 and the bluetooth headset 24 decrease in sequence, and therefore, it is determined that each bluetooth device in the first chain transmission path sequentially: bluetooth headset 21, bluetooth headset 22, bluetooth headset 23, bluetooth headset 24.
The mobile phone 10 controls the bluetooth headset 21, the bluetooth headset 22, the bluetooth headset 23 and the bluetooth headset 24 to transmit bluetooth multimedia packets according to the first chain transmission path.
As shown in fig. 9, the bluetooth headset 22 disconnects the bluetooth communication with the mobile phone 10, and when the mobile phone 10 determines that the change of the transmission bandwidth between the bluetooth headsets meets the condition, the second chain transmission path needs to be determined based on the changed transmission bandwidth.
Determining a second chained transmission path based on the changed transmission bandwidth, the second chained transmission path being different from the first chained transmission path. The first bluetooth device in the second chain transmission path sends a bluetooth multimedia packet to the second bluetooth device. The first bandwidth in the second chain transmission path is greater than or equal to the second bandwidth; the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being a master bluetooth device or other bluetooth devices located before the first bluetooth device in the first chain transmission path; the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
Specifically, the changed transmission bandwidth obtained by the mobile phone 10 is the transmission bandwidth between the mobile phone 10 and each pair of bluetooth headsets, and the transmission bandwidth between any two pairs of bluetooth headsets. The method specifically comprises the following steps: the transmission bandwidth between the mobile phone 10 and the bluetooth headset 21, between the mobile phone 10 and the bluetooth headset 23, between the mobile phone 10 and the bluetooth headset 24, between the bluetooth headset 21 and the bluetooth headset 23, between the bluetooth headset 21 and the bluetooth headset 24, and between the bluetooth headset 23 and the bluetooth headset 24.
The transmission bandwidth between the mobile phone 10 and the bluetooth headset 21, the transmission bandwidth between the bluetooth headset 21 and the bluetooth headset 24, and the transmission bandwidth between the bluetooth headset 24 and the bluetooth headset 23 decrease in sequence, and therefore, it is determined that the bluetooth devices in the second chain transmission path are: bluetooth headset 21, bluetooth headset 24, bluetooth headset 23.
The mobile phone 10 controls the bluetooth headset 21, the bluetooth headset 24 and the bluetooth headset 23 to transmit the bluetooth multimedia packets according to the second chain transmission path.
The main bluetooth device and the bluetooth device in the embodiments of the present application may be implemented in various ways. In one illustrative example, the master bluetooth device described above is implemented as a television with a bluetooth chip and the bluetooth device is implemented as a TWS bluetooth headset. Fig. 10 is a diagram illustrating a transmission method of bluetooth multimedia packets according to an exemplary embodiment of the present application. When the baby 51 is asleep, in order not to disturb the sleep of the baby 51, mom 52, dad 53 and brother 54 respectively share the movie and television work played in the television with a pair of TWS bluetooth headsets of the same model, and versions of bluetooth chips in the TWS bluetooth headsets of mom 52, dad 53 and brother 54 are sequentially reduced, that is, the transmission performance is sequentially reduced. It can be determined that the bluetooth devices in the first chain transmission path are the TWS bluetooth headsets of mom 52, dad 53, and brother 54 in sequence, that is, the television sends a bluetooth multimedia packet to the TWS bluetooth headset of mom 52, the TWS bluetooth headset of mom 52 sends a bluetooth multimedia packet to the TWS bluetooth headset of dad 53, the TWS bluetooth headset of dad 53 sends a bluetooth multimedia packet to the TWS bluetooth headset of brother 54, and the TWS bluetooth headset of brother 54 does not perform the step of sending a bluetooth multimedia packet any more.
Fig. 11 is a block diagram illustrating a transmission control apparatus for bluetooth multimedia packets according to an exemplary embodiment of the present application, where the transmission control apparatus includes:
a path determination module 10, configured to determine a first chained transmission path based on a transmission bandwidth between at least two bluetooth devices;
a bluetooth control module 20, configured to control the at least two bluetooth devices to transmit bluetooth multimedia packets according to the first chain transmission path;
wherein the first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
In one embodiment, the first bandwidth in the first chained transmission path is greater than or equal to the second bandwidth; the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being the master bluetooth device or other bluetooth devices that are located before the first bluetooth device in the first chain transmission path; the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
In one embodiment, the control apparatus further comprises an acquisition module.
In an embodiment, the obtaining module is configured to obtain a transmission bandwidth between any two bluetooth devices of the at least two bluetooth devices, and obtain a transmission bandwidth between the master bluetooth device and the at least two bluetooth devices.
In an embodiment, the obtaining module is further configured to receive a transmission bandwidth reported by each of the at least two bluetooth devices, where the transmission bandwidth is a transmission bandwidth between each of the bluetooth devices and another bluetooth device.
In one embodiment, the transmission bandwidth between each bluetooth device and the other bluetooth devices is determined by each bluetooth device based on at least one of:
determining based on the bandwidth capability information of the other Bluetooth equipment in the initial negotiation process;
determining based on the signal strength of the Bluetooth message from the other Bluetooth equipment;
and determining based on the packet sending success rate or the packet loss rate in the transmission process.
In an embodiment, the obtaining module is configured to determine a transmission bandwidth between the master bluetooth device and the at least two bluetooth devices based on bandwidth capability information of the at least two bluetooth devices in an initial negotiation process.
In an embodiment, the obtaining module is configured to determine a transmission bandwidth between the master bluetooth device and the at least two bluetooth devices based on signal strengths of bluetooth packets from the at least two bluetooth devices.
In an embodiment, the obtaining module is configured to determine a transmission bandwidth between the master bluetooth device and the at least two bluetooth devices based on a packet sending success rate or a packet loss rate in a transmission process.
In one embodiment, the path determining module is further configured to determine a second chain transmission path based on the changed transmission bandwidth when the degree of change of the transmission bandwidth between the at least two bluetooth devices reaches a condition, where the second chain transmission path is different from the first chain transmission path;
the Bluetooth control module is further configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chained transmission path;
wherein the first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
In one embodiment, each of the at least two bluetooth devices comprises at least two bluetooth components;
the transmission bandwidth between the at least two Bluetooth devices refers to the sum of sub-transmission bandwidths of each of the at least two Bluetooth components;
or, the transmission bandwidth between the at least two bluetooth devices refers to a minimum sub-transmission bandwidth of the sub-transmission bandwidths of each of the at least two bluetooth components.
In one embodiment, the first bandwidth in the second chain transmission path is greater than or equal to the second bandwidth; the first bandwidth is a transmission bandwidth between the first bluetooth device and a last bluetooth device, the last bluetooth device being the master bluetooth device or other bluetooth devices that are located before the first bluetooth device in the second chain transmission path; the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
In one embodiment, the control device further comprises a play module.
In one embodiment, the playing module is configured to play the bluetooth multimedia packet.
Fig. 12 is a block diagram illustrating a transmission apparatus for bluetooth multimedia packets according to an exemplary embodiment of the present application, where the apparatus includes:
a bluetooth transmission module 30, configured to transmit, as a first bluetooth device in the first chain transmission path, a bluetooth multimedia packet to a second bluetooth device based on control of the master bluetooth device;
wherein the first chained transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
In one embodiment, the apparatus further comprises a reporting module.
In an embodiment, the reporting module is configured to report, to the master bluetooth device, a transmission bandwidth between the first bluetooth device and another bluetooth device.
In an embodiment, the reporting module is configured to determine a transmission bandwidth between the first bluetooth device and the other bluetooth devices based on the bandwidth capability information of the other bluetooth devices in the initial negotiation process.
In an embodiment, the reporting module is configured to determine a transmission bandwidth between the first bluetooth device and the other bluetooth devices based on a signal strength of a bluetooth packet from the other bluetooth devices.
In an embodiment, the reporting module is configured to determine a transmission bandwidth between the first bluetooth device and the second bluetooth device based on a packet sending success rate or a packet loss rate in a transmission process.
In one embodiment, the apparatus further comprises a play module.
In one embodiment, the playing module is configured to play the bluetooth multimedia packet.
There is also provided in an exemplary embodiment of the present application a transmission system of bluetooth multimedia packets, the transmission system including: a master bluetooth device and at least two bluetooth devices;
the master Bluetooth device is used for determining a first chain transmission path based on the transmission bandwidth between the at least two Bluetooth devices; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path; wherein a first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device;
and any one of the at least two Bluetooth devices except the last Bluetooth device is used for serving as the first Bluetooth device in the first chain transmission path to send the Bluetooth multimedia packet to the second Bluetooth device based on the control of the master Bluetooth device.
In one embodiment, the master bluetooth device is further configured to determine a second chain transmission path based on the changed transmission bandwidth when the degree of change of the transmission bandwidth between the at least two bluetooth devices reaches a condition, where the second chain transmission path is different from the first chain transmission path; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path; wherein a first Bluetooth device in the second chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device;
any one of the at least two bluetooth devices except the last bluetooth device is further configured to send the bluetooth multimedia packet to a second bluetooth device as a first bluetooth device in the second chain transmission path based on the control of the master bluetooth device.
Fig. 13 shows a block diagram of a master bluetooth device 1300 according to an exemplary embodiment of the present application. The master bluetooth device 1300 may be a portable mobile terminal supporting bluetooth functions, such as: a smart phone, a tablet computer, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a notebook computer or a desktop computer. The master bluetooth device 1300 may also be referred to as a user bluetooth device, portable terminal, laptop terminal, desktop terminal, or other name.
In general, the master bluetooth device 1300 includes: bluetooth chip 1301 and memory 1302.
Bluetooth chip 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The bluetooth chip 1301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The bluetooth chip 1301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the bluetooth chip 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed on the display screen. In some embodiments, the bluetooth chip 1301 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. Memory 1302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1302 is configured to store at least one instruction for execution by the bluetooth chip 1301 to implement the method for transmitting bluetooth multimedia packets provided by the method embodiments herein.
In some embodiments, the master bluetooth device 1300 may further optionally include: a peripheral interface 1303 and at least one peripheral. The bluetooth chip 1301, the memory 1302, and the peripheral interface 1303 may be connected to each other via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1304, display screen 1305, camera assembly 1306, audio circuitry 1307, positioning assembly 1308, and power supply 1309.
The peripheral interface 1303 can be used to connect at least one peripheral related to I/O (Input/Output) to the bluetooth chip 1301 and the memory 1302. In some embodiments, bluetooth chip 1301, memory 1302, and peripheral interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the bluetooth chip 1301, the memory 1302 and the peripheral interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. Radio frequency circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 also has the ability to capture touch signals on or over the surface of the display screen 1305. The touch signal may be input as a control signal to the bluetooth chip 1301 for processing. At this point, the display 1305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1305 may be one, disposed on the front panel of the master bluetooth device 1300; in other embodiments, the display 1305 may be at least two, respectively disposed on different surfaces of the main bluetooth device 1300 or in a foldable design; in other embodiments, the display 1305 may be a flexible display, disposed on a curved surface or on a folded surface of the host bluetooth device 1300. Even further, the display 1305 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1306 is used to capture images or video. Optionally, camera assembly 1306 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals and inputting the electric signals into the bluetooth chip 1301 for processing, or inputting the electric signals into the radio frequency circuit 1304 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of the master bluetooth device 1300. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert the electrical signals from the bluetooth chip 1301 or the rf circuit 1304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 1307 may also include a headphone jack.
The positioning component 1308 is used to locate the current geographic Location of the primary bluetooth device 1300 for navigation or LBS (Location Based Service). The Positioning component 1308 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 1309 is used to power the various components in the master bluetooth device 1300. The power source 1309 may be alternating current, direct current, disposable or rechargeable. When the power source 1309 comprises a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the master bluetooth device 1300 also includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: acceleration sensor 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensor 1314, optical sensor 1315, and proximity sensor 1316.
The acceleration sensor 1311 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the master bluetooth device 1300. For example, the acceleration sensor 1311 may be used to detect components of gravitational acceleration in three coordinate axes. The bluetooth chip 1301 may control the display screen 1305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1312 may detect the body direction and the rotation angle of the main bluetooth device 1300, and the gyro sensor 1312 may cooperate with the acceleration sensor 1311 to acquire the 3D motion of the user to the main bluetooth device 1300. The bluetooth chip 1301 can realize the following functions according to the data collected by the gyro sensor 1312: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 1313 may be located on the side bezel of the host bluetooth device 1300 and/or underneath the display 1305. When the pressure sensor 1313 is disposed on the side frame of the main bluetooth device 1300, a holding signal of the user to the main bluetooth device 1300 may be detected, and the bluetooth chip 1301 performs left-right hand recognition or shortcut operation according to the holding signal acquired by the pressure sensor 1313. When the pressure sensor 1313 is disposed on the lower layer of the display screen 1305, the bluetooth chip 1301 controls an operability control on the UI interface according to a pressure operation of the user on the display screen 1305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1314 is used for collecting the fingerprint of the user, and the Bluetooth chip 1301 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 1314, or the fingerprint sensor 1314 identifies the identity of the user according to the collected fingerprint. When the identity of the user is identified as a trusted identity, the bluetooth chip 1301 authorizes the user to perform relevant sensitive operations, including screen unlocking, encrypted information viewing, software downloading, payment, setting change and the like. The fingerprint sensor 1314 may be disposed on the front, back, or side of the master bluetooth device 1300. When a physical key or vendor Logo is provided on the master bluetooth device 1300, the fingerprint sensor 1314 may be integrated with the physical key or vendor Logo.
The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, the bluetooth chip 1301 may control the display brightness of the display screen 1305 according to the ambient light intensity collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display luminance of the display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the display screen 1305 is reduced. In another embodiment, the bluetooth chip 1301 can also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
A proximity sensor 1316, also known as a distance sensor, is typically disposed on the front panel of the master bluetooth device 1300. The proximity sensor 1316 is used to gather the distance between the user and the front face of the master bluetooth device 1300. In one embodiment, when the proximity sensor 1316 detects that the distance between the user and the front side of the master bluetooth device 1300 gradually decreases, the bluetooth chip 1301 controls the display 1305 to switch from the bright screen state to the dark screen state; when the proximity sensor 1316 detects that the distance between the user and the front surface of the master bluetooth device 1300 gradually becomes larger, the bluetooth chip 1301 controls the display 1305 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the architecture shown in fig. 13 is not meant to be limiting of the master bluetooth device 1300, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 14 shows a block diagram of a bluetooth device 1400 provided in an exemplary embodiment of the present application, where the bluetooth device 1400 includes:
a bluetooth section 1410 configured to transmit a bluetooth multimedia packet to a second bluetooth device as a first bluetooth device in a first chain transmission path based on control of a master bluetooth device; wherein the first chained transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices. The bluetooth module 1410 may be a bluetooth chip that supports both transceiving.
In some embodiments, the bluetooth device 1400 further comprises: and the multimedia component is used for playing the Bluetooth multimedia packet. The multimedia component includes: a decoding component 1420, a digital-to-analog converter 1430, a power amplifier 1440, and a playing piece 1450. The decoding component 1420 is configured to decode the bluetooth multimedia packet into Pulse Code Modulation (PCM) data; the digital-to-analog converter 1430 is configured to convert the PCM data into an analog signal; the power amplifier 1440 amplifies the analog signal and outputs the amplified signal to the playback unit 1450 for playback.
Those skilled in the art will appreciate that the configuration shown in fig. 14 is not intended to be limiting of the bluetooth device 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the application also provides a Bluetooth chip, and the main Bluetooth equipment provided with the Bluetooth chip is used for executing the transmission method of the Bluetooth multimedia packet; or the Bluetooth device provided with the Bluetooth chip is used for executing the transmission method of the Bluetooth multimedia packet.
The application also provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a master bluetooth device to implement the transmission method of the bluetooth multimedia packet; or, the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the bluetooth device to implement the transmission method of the bluetooth multimedia packet.
A computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The master bluetooth device and/or the bluetooth device reads the computer instructions from the computer-readable storage medium, so that the master bluetooth device and/or the bluetooth device executes the transmission method of the bluetooth multimedia packet provided by the above method embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (21)

1. A method for transmitting bluetooth multimedia packets, the method being performed by a master bluetooth device, the method comprising:
determining a first chained transmission path based on a transmission bandwidth between at least two Bluetooth devices;
controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path;
wherein the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
2. The method according to claim 1, wherein the first bandwidth in the first chain transmission path is greater than or equal to the second bandwidth;
the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being the master bluetooth device or other bluetooth devices that are located before the first bluetooth device in the first chain transmission path;
the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
3. The method of claim 1, further comprising:
acquiring a transmission bandwidth between any two Bluetooth devices of the at least two Bluetooth devices, and acquiring a transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices.
4. The method of claim 3, wherein the obtaining the transmission bandwidth between any two of the at least two Bluetooth devices comprises:
and receiving a transmission bandwidth reported by each of the at least two Bluetooth devices, wherein the transmission bandwidth is a transmission bandwidth between each Bluetooth device and other Bluetooth devices.
5. The method of claim 4, wherein the transmission bandwidth between each Bluetooth device and the other Bluetooth devices is determined by each Bluetooth device based on at least one of:
determining based on the bandwidth capability information of the other Bluetooth equipment in the initial negotiation process;
determining based on the signal strength of the Bluetooth message from the other Bluetooth equipment;
and determining based on the packet sending success rate or the packet loss rate in the transmission process.
6. The method of claim 3, wherein the obtaining the transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices comprises at least one of:
determining a transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices based on the bandwidth capability information of the at least two Bluetooth devices in an initial negotiation process;
determining a transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices based on signal strength of Bluetooth messages from the at least two Bluetooth devices;
and determining the transmission bandwidth between the main Bluetooth device and the at least two Bluetooth devices based on the packet sending success rate or the packet loss rate in the transmission process.
7. The method of any of claims 1 to 6, further comprising:
when the change degree of the transmission bandwidth between the at least two Bluetooth devices reaches a condition, determining a second chain transmission path based on the changed transmission bandwidth, wherein the second chain transmission path is different from the first chain transmission path;
controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path;
and the first Bluetooth equipment in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth equipment.
8. The method according to claim 7, wherein the first bandwidth in the second chain transmission path is greater than or equal to the second bandwidth;
the first bandwidth is a transmission bandwidth between the first bluetooth device and a previous bluetooth device, the previous bluetooth device being the master bluetooth device or another bluetooth device that is located before the first bluetooth device in the second chain transmission path;
the second bandwidth is a transmission bandwidth between the first bluetooth device and the second bluetooth device.
9. The method of any of claims 1 to 6, wherein each of the at least two Bluetooth devices comprises at least two Bluetooth components;
the transmission bandwidth between the at least two Bluetooth devices refers to the sum of sub-transmission bandwidths of each of the at least two Bluetooth components;
or, the transmission bandwidth between the at least two bluetooth devices refers to a minimum sub-transmission bandwidth of the sub-transmission bandwidths of each of the at least two bluetooth components.
10. The method of any of claims 1 to 6, further comprising:
and playing the Bluetooth multimedia packet.
11. A method for transmitting bluetooth multimedia packets, the method being performed by a bluetooth device, the method comprising:
based on the control of the master Bluetooth device, the first Bluetooth device in the first chain transmission path sends a Bluetooth multimedia packet to the second Bluetooth device;
wherein the first chained transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
12. The method of claim 11, further comprising:
and reporting the transmission bandwidth between the first Bluetooth device and other Bluetooth devices to the master Bluetooth device.
13. The method of claim 12, further comprising at least one of:
determining transmission bandwidth between the first Bluetooth device and the other Bluetooth devices based on the bandwidth capability information of the other Bluetooth devices in the initial negotiation process;
determining a transmission bandwidth between the first Bluetooth device and the other Bluetooth devices based on the signal strength of the Bluetooth messages from the other Bluetooth devices;
and determining the transmission bandwidth between the first Bluetooth device and the second Bluetooth device based on the packet sending success rate or the packet loss rate in the transmission process.
14. The method of any of claims 11 to 13, further comprising:
and playing the Bluetooth multimedia packet.
15. A bluetooth multimedia packet transmission control apparatus, the control apparatus comprising:
a path determination module for determining a first chained transmission path based on a transmission bandwidth between at least two bluetooth devices;
the Bluetooth control module is used for controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path; wherein the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
16. An apparatus for transmitting bluetooth multimedia packets, the apparatus comprising:
the Bluetooth sending module is used for sending a Bluetooth multimedia packet to the second Bluetooth equipment as the first Bluetooth equipment in the first chain transmission path based on the control of the main Bluetooth equipment; wherein the first chained transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
17. A transmission system for bluetooth multimedia packets, the transmission system comprising: a master bluetooth device and at least two bluetooth devices;
the master Bluetooth device is used for determining a first chain transmission path based on the transmission bandwidth between the at least two Bluetooth devices; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path; wherein a first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device;
and any one of the at least two Bluetooth devices except the last Bluetooth device is used for serving as the first Bluetooth device in the first chain transmission path to send the Bluetooth multimedia packet to the second Bluetooth device based on the control of the master Bluetooth device.
18. The transmission system according to claim 17,
the master bluetooth device is further configured to determine a second chain transmission path based on the changed transmission bandwidth when the degree of change of the transmission bandwidth between the at least two bluetooth devices reaches a condition, where the second chain transmission path is different from the first chain transmission path; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path; wherein a first Bluetooth device in the second chained transmission path sends the Bluetooth multimedia packet to a second Bluetooth device;
any one of the at least two bluetooth devices except the last bluetooth device is further configured to send the bluetooth multimedia packet to a second bluetooth device as a first bluetooth device in the second chain transmission path based on the control of the master bluetooth device.
19. A bluetooth chip, wherein a master bluetooth device mounted with the bluetooth chip is configured to perform the transmission method of the bluetooth multimedia packet according to any one of claims 1 to 10; or, a bluetooth device equipped with the bluetooth chip is used to execute the transmission method of the bluetooth multimedia packet according to any one of claims 11 to 14.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for execution by a master bluetooth device to implement the transmission method of bluetooth multimedia packets according to any one of claims 1 to 10; or, the computer program is for execution by a bluetooth device to implement the method of transmission of bluetooth multimedia packets as claimed in any one of claims 11 to 14.
21. A computer program product, characterized in that it comprises computer instructions stored in a computer-readable storage medium, from which a master bluetooth device retrieves said computer instructions, causing said master bluetooth device to load and execute to implement the transmission method of bluetooth multimedia packets according to any one of claims 1 to 10; or, the bluetooth device obtains the computer instruction from the computer readable storage medium, so that the bluetooth device loads and executes the computer instruction to implement the transmission method of the bluetooth multimedia packet according to any one of claims 11 to 14.
CN202210887310.4A 2022-07-26 2022-07-26 Method, device, equipment and system for transmitting Bluetooth multimedia packet Pending CN115278625A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210887310.4A CN115278625A (en) 2022-07-26 2022-07-26 Method, device, equipment and system for transmitting Bluetooth multimedia packet
PCT/CN2023/092083 WO2024021736A1 (en) 2022-07-26 2023-05-04 Transmission method, apparatus, and system for bluetooth multimedia packet, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210887310.4A CN115278625A (en) 2022-07-26 2022-07-26 Method, device, equipment and system for transmitting Bluetooth multimedia packet

Publications (1)

Publication Number Publication Date
CN115278625A true CN115278625A (en) 2022-11-01

Family

ID=83769656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210887310.4A Pending CN115278625A (en) 2022-07-26 2022-07-26 Method, device, equipment and system for transmitting Bluetooth multimedia packet

Country Status (2)

Country Link
CN (1) CN115278625A (en)
WO (1) WO2024021736A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001384A1 (en) * 2022-06-28 2024-01-04 哲库科技(上海)有限公司 Bluetooth multimedia packet transmission method and apparatus, device and system
WO2024021736A1 (en) * 2022-07-26 2024-02-01 哲库科技(上海)有限公司 Transmission method, apparatus, and system for bluetooth multimedia packet, and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3474511A1 (en) * 2017-10-20 2019-04-24 Tap Sound System A device and method for automatic switching of streaming bluetooth multimedia device
CN109347581B (en) * 2018-09-30 2020-11-27 Oppo广东移动通信有限公司 Bluetooth headset connection method and device, electronic equipment and storage medium
EP3745813A1 (en) * 2019-05-31 2020-12-02 Tap Sound System Method for operating a bluetooth device
WO2020252755A1 (en) * 2019-06-20 2020-12-24 华为技术有限公司 Channel selection method and apparatus of bluetooth low energy device
CN110519742B (en) * 2019-09-16 2022-02-18 安徽华米信息科技有限公司 Audio synchronous playing method and device and TWS Bluetooth headset
CN111435844B (en) * 2019-11-06 2021-11-23 珠海市杰理科技股份有限公司 Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
CN115278625A (en) * 2022-07-26 2022-11-01 哲库科技(上海)有限公司 Method, device, equipment and system for transmitting Bluetooth multimedia packet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001384A1 (en) * 2022-06-28 2024-01-04 哲库科技(上海)有限公司 Bluetooth multimedia packet transmission method and apparatus, device and system
WO2024021736A1 (en) * 2022-07-26 2024-02-01 哲库科技(上海)有限公司 Transmission method, apparatus, and system for bluetooth multimedia packet, and device

Also Published As

Publication number Publication date
WO2024021736A1 (en) 2024-02-01

Similar Documents

Publication Publication Date Title
US11778363B2 (en) Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of TWS headset and device
CN108966008B (en) Live video playback method and device
CN111372126B (en) Video playing method, device and storage medium
CN110022489B (en) Video playing method, device and storage medium
KR101183737B1 (en) A multi earphone device capable recognizing actions and a method of recognizing actions thereof
CN110166890B (en) Audio playing and collecting method and device and storage medium
CN110764730A (en) Method and device for playing audio data
CN110996305B (en) Method and device for connecting Bluetooth equipment, electronic equipment and medium
CN110324689B (en) Audio and video synchronous playing method, device, terminal and storage medium
CN115278625A (en) Method, device, equipment and system for transmitting Bluetooth multimedia packet
CN108881286B (en) Multimedia playing control method, terminal, sound box equipment and system
CN110618805B (en) Method and device for adjusting electric quantity of equipment, electronic equipment and medium
WO2021017909A1 (en) Method, electronic device and system for realizing functions through nfc tag
CN112118527A (en) Multimedia information processing method, device and storage medium
CN111596885B (en) Audio data processing method, server and storage medium
CN111586431B (en) Method, device and equipment for live broadcast processing and storage medium
CN112771828B (en) Audio data communication method and electronic equipment
CN110856152A (en) Method, device, electronic equipment and medium for playing audio data
CN111092991B (en) Lyric display method and device and computer storage medium
CN113921002A (en) Equipment control method and related device
WO2024021735A1 (en) Bluetooth multimedia packet transmission method and apparatus, device, system, and storage medium
CN107888975B (en) Video playing method, device and storage medium
WO2022267974A1 (en) Screen projection method and related apparatus
CN110473562B (en) Audio data processing method, device and system
CN115883807A (en) Method, device, terminal, medium and product for adjusting working mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination