Transmission Method, Device, Equipment and System for Bluetooth Multimedia Packet
By determining the chain transmission path between Bluetooth devices, the problem of inconsistent transmission performance is solved, efficient Bluetooth multimedia packet transmission and bandwidth utilization is maximized, and the total usage time and quality of multiple Bluetooth devices are ensured.
Patent Information
- Application Number
- CN202210887310.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-07-26
AI Technical Summary
The prior art fails to effectively consider the inconsistent transmission performance of Bluetooth devices in chain transmission paths, resulting in low transmission bandwidth utilization, limiting the number of usage and audio quality of multiple Bluetooth devices.
By determining a chain transmission path based on the transmission bandwidth between at least two Bluetooth devices and controlling the Bluetooth device to transmit Bluetooth multimedia packets according to the path, ensuring maximum transmission quality and bandwidth utilization.
It realizes efficient transmission of the same Bluetooth multimedia packet between multiple Bluetooth devices, ensuring maximum transmission quality and bandwidth utilization, and extending device usage time.
Smart Images

Figure CN115278625B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Bluetooth, and in particular to a method, apparatus, device and system for transmitting Bluetooth multimedia packets. Background Art
[0002] With the development of the Bluetooth field, Bluetooth devices have exploded in growth and popularity. Taking True Wireless Studio (TWS) Bluetooth headsets as an example, it has become very popular and common for users to use TWS Bluetooth headsets in their daily lives and work, such as listening to music, making calls, playing games, etc.
[0003] Taking listening to music as an example, users use their mobile phones to connect to TWS Bluetooth headphones to share music with family or lovers. In related technologies, a chain transmission path is used between the mobile phone and TWS Bluetooth headphones to share Bluetooth audio data, and the TWS Bluetooth headphones decode and play the Bluetooth audio data.
[0004] However, the related art does not consider the situation where the transmission performance of Bluetooth devices in the chain transmission path is inconsistent. Summary of the Invention
[0005] This application provides a method, apparatus, device, and system for transmitting Bluetooth multimedia packets, which fully considers the inconsistent transmission performance of Bluetooth devices in a chained transmission path. The technical solution is as follows:
[0006] In one aspect, a method for transmitting a Bluetooth multimedia packet is provided, the method being performed by a master Bluetooth device, the method comprising:
[0007] determining a first chain transmission path based on a transmission bandwidth between at least two Bluetooth devices;
[0008] Controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path;
[0009] The first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia package to the second Bluetooth device.
[0010] In another aspect, a method for transmitting a Bluetooth multimedia packet is provided, the method being performed by a Bluetooth device, the method comprising:
[0011] Based on the control of the master Bluetooth device, the first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device;
[0012] The first chain transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
[0013] On the other hand, a transmission control device for a Bluetooth multimedia package is provided, the control device comprising:
[0014] a path determination module, configured to determine a first chain transmission path based on a transmission bandwidth between at least two Bluetooth devices;
[0015] a Bluetooth control module, configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path;
[0016] The first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia package to the second Bluetooth device.
[0017] In another aspect, a device for transmitting a Bluetooth multimedia packet is provided, the device comprising:
[0018] A Bluetooth sending module, configured to send a Bluetooth multimedia packet to a second Bluetooth device as a first Bluetooth device in a first chain transmission path based on the control of the master Bluetooth device;
[0019] The first chain transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
[0020] In another aspect, a transmission system for a Bluetooth multimedia package is provided, the transmission system comprising: a master Bluetooth device and at least two Bluetooth devices;
[0021] The master Bluetooth device is configured to determine a first chain transmission path based on the transmission bandwidth between the at least two Bluetooth devices; and 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 the second Bluetooth device;
[0022] Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is configured to send the Bluetooth multimedia package 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.
[0023] On the other hand, a Bluetooth chip is provided, and a main Bluetooth device equipped with the Bluetooth chip is used to execute the above-mentioned Bluetooth multimedia package transmission method; or a Bluetooth device equipped with the Bluetooth chip is used to execute the above-mentioned Bluetooth multimedia package transmission method.
[0024] On the other hand, a computer-readable storage medium is provided, which stores a computer program, and the computer program is used to be executed by a main Bluetooth device to implement the above-mentioned Bluetooth multimedia package transmission method; or, the computer program is used to be executed by a Bluetooth device to implement the above-mentioned Bluetooth multimedia package transmission method.
[0025] On the other hand, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium. 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 above-mentioned method for transmitting Bluetooth multimedia packages; or a Bluetooth device obtains the computer instructions from the computer-readable storage medium, so that the Bluetooth device loads and executes the computer instructions to implement the above-mentioned method for transmitting Bluetooth multimedia packages.
[0026] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0027] Through the chained transmission path, the same Bluetooth multimedia package can be transmitted between multiple Bluetooth devices, enabling sharing of Bluetooth multimedia packages. In the embodiments of the present application, by determining the chained transmission path based on the transmission bandwidth between Bluetooth devices, and taking into account the inconsistent transmission performance of different Bluetooth devices, the transmission bandwidth utilization can be maximized, the total bandwidth used by multiple Bluetooth devices can be maximized, and the total usage time of multiple Bluetooth devices can be further maximized. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0029] Figure 1 A schematic diagram illustrating a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment is shown;
[0030] Figure 2 A schematic diagram illustrating a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment is shown;
[0031] Figure 3 A schematic diagram illustrating a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment is shown;
[0032] Figure 4 A schematic diagram illustrating a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment is shown;
[0033] Figure 5 A structural block diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment is shown;
[0034] Figure 6A flowchart of a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment is shown;
[0035] Figure 7 A flowchart of a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment is shown;
[0036] Figure 8 A schematic diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment is shown;
[0037] Figure 9 A schematic diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment is shown;
[0038] Figure 10 A scenario diagram showing a method for transmitting a Bluetooth multimedia package provided by an exemplary embodiment;
[0039] Figure 11 A structural block diagram of a transmission control device for a Bluetooth multimedia package provided by an exemplary embodiment is shown;
[0040] Figure 12 A structural block diagram of a Bluetooth multimedia packet transmission device provided by an exemplary embodiment is shown;
[0041] Figure 13 A structural block diagram of a master Bluetooth device provided by an exemplary embodiment is shown;
[0042] Figure 14 A structural block diagram of a Bluetooth device provided by an exemplary embodiment is shown. DETAILED DESCRIPTION
[0043] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0044] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to 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.
[0045] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, 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.
[0046] It should be understood that although the terms first, second, etc. may be used in this application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, 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. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0047] In a related solution, a technical solution can be implemented in which a master Bluetooth device shares and plays the same Bluetooth multimedia package with multiple (slave) Bluetooth devices. For example, a mobile phone can share the same song with multiple Bluetooth headsets through a Bluetooth connection.
[0048] In one example, Figure 1 This example shows a scenario where a mobile phone 10 transmits the same Bluetooth audio packet to four Bluetooth headsets. Assuming the Bluetooth transmission bandwidth is W, the mobile phone 10 uses bandwidth W1 to transmit the Bluetooth audio packet to the first Bluetooth headset 21; bandwidth W2 to transmit the Bluetooth audio packet to the second Bluetooth headset 22; bandwidth W3 to transmit the Bluetooth audio packet to the third Bluetooth headset 23; and bandwidth W4 to transmit the Bluetooth audio packet to the fourth Bluetooth headset 24.
[0049] Figure 2 The schematic diagram of Bluetooth audio packet transmission and playback in the above scheme shows that the mobile phone 10 decodes the sound source into Pulse Code Modulation (PCM) data, then performs Bluetooth audio encoding. Finally, the Bluetooth transmitting module transmits the Bluetooth audio encoding to the Bluetooth headset via Bluetooth wireless transmission. The Bluetooth headset 21 receives the Bluetooth audio encoding through the Bluetooth receiving module and decodes it into PCM data. The PCM data is converted to analog by a digital-to-analog converter (DAC) and amplified by a power amplifier (AMP) to generate analog data. Finally, the playback unit completes the playback.
[0050] In the above transmission process, W = W1 + W2 + W3 + W4. Assuming the four Bluetooth headsets are of the same type or have comparable transmission performance, W1 = W2 = W3 = W4 = W / 4. Each Bluetooth headset can only enjoy W / 4 of the bandwidth. However, high-quality music such as lossless music and high-resolution audio (Hi-Res) requires higher Bluetooth bandwidth, and the above exemplary solution cannot meet the transmission requirements.
[0051] For example, a two-channel song with a 192kHz, 24-bit sampling rate has a PCM rate of 10Mbps. Assuming a 70% Bluetooth encoding compression rate, the Bluetooth bandwidth requirement is 7Mbps. Using a quarter of the Bluetooth bandwidth for high-quality audio transmission is difficult to achieve. Furthermore, in the above example scenario, the more Bluetooth headsets that need to be shared, the narrower the bandwidth occupied by each Bluetooth headset, limiting the maximum number of Bluetooth headsets that can be shared with the same mobile phone 10.
[0052] In another example, Figure 3 An exemplary scenario is shown in which a mobile phone 10 transmits the same Bluetooth audio packet to four pairs of Bluetooth headsets.
[0053] The mobile phone 10 uses bandwidth W / 2 to send the left channel Bluetooth audio packet to the left channel earphone of the first pair of Bluetooth headphones 21, and uses bandwidth W / 2 to send the right channel Bluetooth audio packet to the right channel earphone of the first pair of Bluetooth headphones 21. At the same time, the first pair of Bluetooth headphones 21 also plays the left channel Bluetooth audio packet and the right channel Bluetooth audio packet.
[0054] The left-channel earphone in the first pair of Bluetooth headphones 21 uses a bandwidth of W / 2 to send a left-channel Bluetooth audio packet to the left-channel earphone in the second pair of Bluetooth headphones 22. The right-channel earphone in the first pair of Bluetooth headphones 21 uses a bandwidth of W / 2 to send a right-channel Bluetooth audio packet to the right-channel earphone in the second pair of Bluetooth headphones 22. At the same time, the second pair of Bluetooth headphones 22 also plays the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.
[0055] The left-channel earphone in the second pair of Bluetooth headphones 22 uses a bandwidth of W / 2 to send a left-channel Bluetooth audio packet to the left-channel earphone in the third pair of Bluetooth headphones 23. The right-channel earphone in the second pair of Bluetooth headphones 22 uses a bandwidth of W / 2 to send a right-channel Bluetooth audio packet to the right-channel earphone in the third pair of Bluetooth headphones 23. At the same time, the third pair of Bluetooth headphones 23 also plays the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.
[0056] The left-channel earphone in the third pair of Bluetooth headphones 23 uses a bandwidth of W / 2 to send a left-channel Bluetooth audio packet to the left-channel earphone in the fourth pair of Bluetooth headphones 24. The right-channel earphone in the third pair of Bluetooth headphones 23 uses a bandwidth of W / 2 to send a right-channel Bluetooth audio packet to the right-channel earphone in the fourth pair of Bluetooth headphones 24. At the same time, the fourth pair of Bluetooth headphones 24 also plays the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.
[0057] Figure 4 The schematic diagram of Bluetooth audio packet transmission and playback in the above scheme shows that the mobile phone 10 performs Bluetooth audio encoding on the PCM data provided by the audio source according to the left and right channels, respectively, to obtain a left-channel Bluetooth audio packet and a right-channel Bluetooth audio packet. The Bluetooth sending component 11 in the mobile phone 10 transmits the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet to the Bluetooth device.
[0058] The left-channel Bluetooth headset 31 of the Bluetooth device includes a left-channel Bluetooth receiver 32, a left-channel PCM (decoding component) 33, a left-channel DAC 34, a left-channel AMP 35, a left-channel playback component 36, and a left-channel Bluetooth transmitter 37. After receiving a left-channel Bluetooth audio packet, the left-channel Bluetooth receiver 32 transmits the packet to the left-channel PCM 33, which decodes the packet into left-channel PCM data. The left-channel DAC 34 converts the left-channel PCM data into a left-channel analog signal. The left-channel AMP 35 amplifies the left-channel analog signal and outputs it to the left-channel playback component 36 for playback. The left-channel Bluetooth transmitter 37 also transmits the left-channel Bluetooth audio packet to the next left-channel Bluetooth headset.
[0059] The right-channel Bluetooth headset 41 of the Bluetooth device includes a right-channel Bluetooth receiver 42, a right-channel PCM (decoding component) 43, a right-channel DAC 44, a right-channel AMP 45, a right-channel playback component 46, and a right-channel Bluetooth transmitter 47. After receiving a right-channel Bluetooth audio packet, the right-channel Bluetooth receiver 42 transmits the packet to the right-channel PCM 43, which decodes the packet into right-channel PCM data. The right-channel DAC 44 converts the PCM data into a right-channel analog signal. The right-channel AMP 45 amplifies the analog signal and outputs it to the right-channel playback component 46 for playback. The right-channel Bluetooth transmitter 47 also transmits the packet to the next right-channel Bluetooth headset.
[0060] In the above exemplary solution, the bandwidth used by the mobile phone is: W = sending bandwidth W / 2 + sending bandwidth W / 2; the bandwidth used by the Bluetooth headset is: W = receiving bandwidth W / 2 + sending bandwidth W / 2, which maximizes the use of Bluetooth bandwidth capacity and realizes a multi-headphone sharing solution that does not require the loss of audio quality due to the loss of Bluetooth bandwidth.
[0061] However, the aforementioned solutions assume that the performance of each Bluetooth headset is comparable, but fail to account for inconsistent transmission performance across Bluetooth headsets. For example, different product designs for the same Bluetooth chip may result in inconsistent performance, or Bluetooth chip upgrades may lead to inconsistent product performance. Therefore, the present invention provides a solution that fully accounts for inconsistent transmission performance across Bluetooth devices.
[0062] Figure 5 The structure block diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment of the present application is shown. The transmission system includes: a master Bluetooth device and at least two (slave) Bluetooth devices.
[0063] The master Bluetooth device is represented by master Bluetooth device 10, which is the source device that provides Bluetooth multimedia packets. Device types of master Bluetooth device 10 include mobile phones, tablets, televisions, desktop computers, game consoles, virtual reality (VR) devices, augmented reality (AR) devices, etc. At least two (slave) Bluetooth devices are represented as Bluetooth device 21, Bluetooth device 22, ... Bluetooth device 2n. These at least two Bluetooth devices share Bluetooth multimedia packets from master Bluetooth device 10 using a chain transmission path, and each Bluetooth device in the chain transmission path is connected in sequence.
[0064] The master Bluetooth device determines a first chain transmission path based on the transmission bandwidth between at least two Bluetooth devices; controls 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 the second Bluetooth device.
[0065] Exemplarily, a first chain transmission path includes multiple Bluetooth devices, wherein the first Bluetooth device is the preceding Bluetooth device among any two adjacent Bluetooth devices in the first chain transmission path, and the second Bluetooth device is the following Bluetooth device among any two adjacent Bluetooth devices in the first chain transmission path. For Bluetooth devices other than the first and last Bluetooth devices, the Bluetooth device can serve as either the first Bluetooth device or the second Bluetooth device.
[0066] For example, the transmission bandwidth between Bluetooth device 21 and Bluetooth device 22 is transmission bandwidth 1, the transmission bandwidth between Bluetooth device 22 and Bluetooth device 23 is transmission bandwidth 2, and so on. The transmission bandwidth between Bluetooth device 2n-1 and Bluetooth device 2n is transmission bandwidth n. The master Bluetooth device 10 can then determine a first chain transmission path based on transmission bandwidths 1, 2, through n. Assuming that the master Bluetooth device 10 sends a Bluetooth multimedia packet to Bluetooth device 21, Bluetooth device 21 sends a Bluetooth multimedia packet to Bluetooth device 22, Bluetooth device 22 sends a Bluetooth multimedia packet to Bluetooth device 23, and so on, Bluetooth device 2n-1 sends a Bluetooth multimedia packet to Bluetooth device 2n. Then, the Bluetooth devices in the first chain transmission path are, in order: Bluetooth device 21, Bluetooth device 22, through Bluetooth device 2n.
[0067] For example, in the first chain transmission path, Bluetooth device 21 is adjacent to Bluetooth device 22, Bluetooth device 22 is adjacent to Bluetooth device 23, and so on. Bluetooth device 2n-1 is adjacent to Bluetooth device 2n. For Bluetooth device 21 and Bluetooth device 22, Bluetooth device 21 is the first Bluetooth device and Bluetooth device 22 is the second Bluetooth device. For Bluetooth device 22 and Bluetooth device 23, Bluetooth device 22 is the first Bluetooth device and Bluetooth device 23 is the second Bluetooth device. For Bluetooth device 2n-1 and Bluetooth device 2n, Bluetooth device 2n-1 is the first Bluetooth device and Bluetooth device 2n is the second Bluetooth device.
[0068] It can be seen from this that the master Bluetooth device 10 sends a Bluetooth multimedia package to the Bluetooth device 21, and then, in the first chain transmission path, the Bluetooth device 21 sends a Bluetooth multimedia package to the Bluetooth device 22, and the Bluetooth device 22 sends a Bluetooth multimedia package to the Bluetooth device 23, and so on, the Bluetooth device 2n-1 sends a Bluetooth multimedia package to the Bluetooth device 2n.
[0069] Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is configured to send the Bluetooth multimedia package 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.
[0070] Illustratively, any Bluetooth device except the last Bluetooth device 2n among the at least two Bluetooth devices is configured to send the 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.
[0071] Exemplarily, the Bluetooth device 21, based on the control of the main Bluetooth device 10, serves as the first Bluetooth device in the first chain transmission path, and sends a Bluetooth multimedia package to the second Bluetooth device, namely, the Bluetooth device 22. The Bluetooth device 22, based on the control of the main Bluetooth device 10, serves as the first Bluetooth device in the first chain transmission path, and sends a Bluetooth multimedia package to the second Bluetooth device, namely, the Bluetooth device 23. Similarly, the Bluetooth device 2n-1, based on the control of the main Bluetooth device 10, serves as the first Bluetooth device in the first chain transmission path, and sends a Bluetooth multimedia package to the second Bluetooth device, namely, the Bluetooth device 2n.
[0072] When the degree of change in the transmission bandwidth between at least two Bluetooth devices reaches a condition, the master Bluetooth device determines a second chain transmission path based on the changed transmission bandwidth, where the second chain transmission path is different from the first chain transmission path; controls the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path; wherein the first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.
[0073] Exemplarily, the above-mentioned conditions refer to conditions under which the first chain transmission path requires path adjustment. For example, the condition can be set as the increase or decrease in the transmission bandwidth being greater than or equal to a preset amount, or the increase or decrease in the transmission bandwidth being greater than or equal to a preset amount. When the degree of change in the transmission bandwidth between at least two Bluetooth devices reaches the condition, the master Bluetooth device 10 determines that the first chain transmission path requires path adjustment. A second chain transmission path can then be determined based on the changed transmission bandwidth. The principle for determining the second chain transmission path is the same as that for determining the first chain transmission path.
[0074] Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is configured to send the Bluetooth multimedia package to the second Bluetooth device as the first Bluetooth device in the second chain transmission path based on the control of the master Bluetooth device.
[0075] The at least two Bluetooth devices may be of the same type, different types, or different types. The transmission performance of the at least two Bluetooth devices may be the same, different, or different. The transmission performance may include transmission bandwidth, transmission rate, power consumption, latency, etc.
[0076] In different embodiments, the chain transmission path can be understood as chain path, chain sharing path, or other synonyms. The Bluetooth multimedia package can be understood as Bluetooth frame, Bluetooth multimedia frame, Bluetooth audio frame, Bluetooth video frame, Bluetooth VR frame, Bluetooth AR frame, Bluetooth game control frame, Bluetooth audio package, Bluetooth video package, Bluetooth VR package, Bluetooth VR package, Bluetooth AR package, Bluetooth game control package, etc.
[0077] Figure 6 The flowchart of the method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment of the present application is shown. Figure 5 The method is described below with reference to the master Bluetooth device.
[0078] Step 620: Determine a first chain transmission path based on the transmission bandwidth between at least two Bluetooth devices.
[0079] Transmission bandwidth refers to the bandwidth occupied or used when transmitting Bluetooth multimedia packets between Bluetooth devices. Transmission bandwidth can include the transmission bandwidth between the master Bluetooth device and each of the at least two Bluetooth devices, as well as the transmission bandwidth between any two of the at least two Bluetooth devices.
[0080] The master Bluetooth device transmits Bluetooth multimedia packets to at least two Bluetooth devices via a chain transmission path. The chain transmission path determined by the master Bluetooth device based on the transmission bandwidth between the at least two Bluetooth devices is called a first chain transmission path.
[0081] Exemplarily, the Bluetooth device may receive a Bluetooth multimedia packet sent by a master Bluetooth device on the chain transmission path, or the Bluetooth device may receive a Bluetooth multimedia packet sent by a previous Bluetooth device located before the Bluetooth device on the chain transmission path.
[0082] Exemplarily, when the at least two Bluetooth devices are two Bluetooth devices, such as Bluetooth device 1 and Bluetooth device 2, the transmission of the Bluetooth multimedia packet has the following two situations:
[0083] The master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 1, and Bluetooth device 1 then sends the Bluetooth multimedia package to Bluetooth device 2; or the master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 2, and Bluetooth device 2 then sends the Bluetooth multimedia package to Bluetooth device 1.
[0084] The transmission bandwidth between the at least two Bluetooth devices can include the transmission bandwidth between the master Bluetooth device and each Bluetooth device, as well as the transmission bandwidth between any two of the at least two Bluetooth devices. Specifically, it includes: transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1, transmission bandwidth 2 between the master Bluetooth device and Bluetooth device 2, and transmission bandwidth 12 between Bluetooth device 1 and Bluetooth device 2. Transmission bandwidth 1, transmission bandwidth 2, and transmission bandwidth 12 can be used to indicate the positions of the master Bluetooth device, Bluetooth device 1, and Bluetooth device 2 in the first chain transmission path. Thus, the first chain transmission path is determined.
[0085] Exemplarily, when the at least two Bluetooth devices are three Bluetooth devices, such as Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3, the transmission of the Bluetooth multimedia packet has the following six situations:
[0086] The master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 1, Bluetooth device 1 then sends the Bluetooth multimedia package to Bluetooth device 2, and Bluetooth device 2 then sends the Bluetooth multimedia package to Bluetooth device 3; or, the master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 1, Bluetooth device 1 then sends the Bluetooth multimedia package to Bluetooth device 3, and Bluetooth device 3 then sends the Bluetooth multimedia package to Bluetooth device 2; or, the master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 2, Bluetooth device 2 then sends the Bluetooth multimedia package to Bluetooth device 1, and Bluetooth device 1 then sends the Bluetooth multimedia package to Bluetooth device 3; or In other words, the master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 2, Bluetooth device 2 then sends the Bluetooth multimedia package to Bluetooth device 3, and Bluetooth device 3 then sends the Bluetooth multimedia package to Bluetooth device 1; or, the master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 3, and Bluetooth device 3 then sends the Bluetooth multimedia package to Bluetooth device 1, and Bluetooth device 1 then sends the Bluetooth multimedia package to Bluetooth device 2; or, the master Bluetooth device may first send the Bluetooth multimedia package to Bluetooth device 3, and Bluetooth device 3 then sends the Bluetooth multimedia package to Bluetooth device 2, and Bluetooth device 2 then sends the Bluetooth multimedia package to Bluetooth device 1.
[0087] The transmission bandwidth between the at least two Bluetooth devices can include the transmission bandwidth between the master Bluetooth device and each Bluetooth device, as well as the transmission bandwidth between any two of the at least two Bluetooth devices. Specifically, it includes: transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1, transmission bandwidth 2 between the master Bluetooth device and Bluetooth device 2, transmission bandwidth 3 between the master Bluetooth device and Bluetooth device 3, transmission bandwidth 12 between Bluetooth device 1 and Bluetooth device 2, transmission bandwidth 13 between Bluetooth device 1 and Bluetooth device 3, and transmission bandwidth 23 between Bluetooth device 2 and Bluetooth device 3. Transmission bandwidth 1, transmission bandwidth 2, and transmission bandwidth 3 can be used to indicate whether the next Bluetooth device in the first chain transmission path of the master Bluetooth device is Bluetooth device 1, Bluetooth device 2, or Bluetooth device 3. Transmission bandwidth 12, transmission bandwidth 13, and transmission bandwidth 23 are used to indicate the positions of Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3 in the first chain transmission path. Thus, the first chain transmission path is determined.
[0088] Step 640: Control 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 the second Bluetooth device.
[0089] After determining the first chain transmission path, the master Bluetooth device can control 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 the second Bluetooth device.
[0090] Exemplarily, a first chain transmission path includes multiple Bluetooth devices, wherein the first Bluetooth device is the preceding Bluetooth device among any two adjacent Bluetooth devices in the first chain transmission path, and the second Bluetooth device is the following Bluetooth device among any two adjacent Bluetooth devices in the first chain transmission path. For Bluetooth devices other than the first and last Bluetooth devices, the Bluetooth device can serve as either the first Bluetooth device or the second Bluetooth device.
[0091] Illustratively, for a Bluetooth device among the at least two Bluetooth devices, the Bluetooth device can receive a Bluetooth multimedia packet sent by the master Bluetooth device, or the Bluetooth device can receive a Bluetooth multimedia packet sent by another Bluetooth device located before the Bluetooth device in the first chain transmission path.
[0092] For example, 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 above-mentioned Bluetooth multimedia package also supports a retransmission mechanism during transmission to ensure transmission quality.
[0093] Optionally, when the Bluetooth device is the last Bluetooth device in the first chain transmission path, the master Bluetooth device may not execute the step of controlling the Bluetooth device to continue transmitting the Bluetooth multimedia package.
[0094] In summary, the method provided in the embodiments of the present application, through a chained transmission path, can enable the transmission of the same Bluetooth multimedia package between multiple Bluetooth devices, thereby achieving sharing of Bluetooth multimedia packages. In the embodiments of the present application, by determining a first chained transmission path based on the transmission bandwidth between at least two Bluetooth devices, and taking into account the inconsistent transmission performance of different Bluetooth devices, the transmission bandwidth utilization can be maximized, the total bandwidth used by multiple Bluetooth devices can be maximized, the transmission quality of the Bluetooth multimedia packages in the chained transmission path can be ensured, and the total usage time of multiple Bluetooth devices can be further maximized.
[0095] In one example of the present application, the first bandwidth in the first chain transmission path is greater than or equal to the second bandwidth; the first bandwidth is the transmission bandwidth between the first Bluetooth device and the previous Bluetooth device, and the previous Bluetooth device is the main Bluetooth device or other Bluetooth device located before the first Bluetooth device in the first chain transmission path; the second bandwidth is the transmission bandwidth between the first Bluetooth device and the second Bluetooth device.
[0096] Exemplarily, the first chain transmission path is determined based on descending order of the transmission bandwidths between at least two Bluetooth devices. Furthermore, depending on the position of the Bluetooth device in the first chain transmission path, when the Bluetooth device functions as the first Bluetooth device, the transmission bandwidth between the Bluetooth device and the preceding Bluetooth device may serve as the first bandwidth; and when the Bluetooth device functions as the second Bluetooth device, the transmission bandwidth between the Bluetooth device and the preceding Bluetooth device (i.e., the first Bluetooth device) may serve as the second bandwidth. The specific bandwidth is determined based on actual circumstances.
[0097] For example, when the at least two Bluetooth devices are two Bluetooth devices, such as Bluetooth device 1 and Bluetooth device 2, and the master Bluetooth device first sends a Bluetooth multimedia packet to Bluetooth device 1, and Bluetooth device 1 then sends the Bluetooth multimedia packet to Bluetooth device 2, the order of the Bluetooth devices in the first chain transmission path is: Bluetooth device 1, Bluetooth device 2. Bluetooth device 1 is the first Bluetooth device, and Bluetooth device 2 is the second Bluetooth device. The transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1 is the first bandwidth, and the transmission bandwidth 12 between Bluetooth device 1 and Bluetooth device 2 is the second bandwidth, where the first bandwidth is greater than or equal to the first bandwidth.
[0098] For example, when the at least two Bluetooth devices are three Bluetooth devices, such as Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3, and the master Bluetooth device first sends a Bluetooth multimedia packet to Bluetooth device 1, Bluetooth device 1 then sends the Bluetooth multimedia packet to Bluetooth device 2, and Bluetooth device 2 then sends the Bluetooth multimedia packet to Bluetooth device 3, the order of the Bluetooth devices in the first chain transmission path is: Bluetooth device 1, Bluetooth device 2, Bluetooth device 3. Therefore, for Bluetooth device 1 and Bluetooth device 2, Bluetooth device 1 is the first Bluetooth device and Bluetooth device 2 is the second Bluetooth device; for Bluetooth device 2 and Bluetooth device 3, Bluetooth device 2 is the first Bluetooth device and Bluetooth device 3 is the second Bluetooth device. Therefore, the transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1 is greater than or equal to the transmission bandwidth 12 between Bluetooth device 1 and Bluetooth device 2, and greater than or equal to the transmission bandwidth 23 between Bluetooth device 2 and Bluetooth device 3. Therefore, for transmission bandwidth 1 and transmission bandwidth 12, transmission bandwidth 1 is the first bandwidth and transmission bandwidth 12 is the second bandwidth. Regarding the transmission bandwidth 12 and the transmission bandwidth 13, the transmission bandwidth 12 is the first bandwidth, and the transmission bandwidth 13 is the second bandwidth.
[0099] In this embodiment, the first bandwidth in the first chain transmission path is greater than or equal to the second bandwidth. Taking into account the inconsistent transmission performance of different Bluetooth devices, the first chain transmission path can be determined according to the bandwidth capability of the Bluetooth device to ensure the transmission quality of the Bluetooth multimedia packets in the chain transmission path.
[0100] In one example of the present application, the master Bluetooth device needs to obtain data related to the transmission bandwidths of all involved Bluetooth devices before determining a first chained transmission path based on the transmission bandwidths between at least two Bluetooth devices. The method further includes: obtaining the transmission bandwidth between any two of the at least two Bluetooth devices; and obtaining the transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices.
[0101] Exemplarily, the transmission bandwidth may include the transmission bandwidth between the master Bluetooth device and each of the at least two Bluetooth devices, and the transmission bandwidth between any two of the at least two Bluetooth devices. Specifically, the transmission bandwidth between any two of the at least two Bluetooth devices may be obtained, as well as the transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices. Thus, the first chain transmission path is determined.
[0102] In this embodiment, by acquiring the above-mentioned type of transmission bandwidth, it is possible to ensure that all relevant information of Bluetooth multimedia packet transmission is acquired as much as possible, thereby improving the accuracy of the subsequently determined first chain transmission path.
[0103] In one embodiment, obtaining the transmission bandwidth between any two Bluetooth devices among at least two Bluetooth devices includes: receiving the transmission bandwidth reported by each of the at least two Bluetooth devices, where the transmission bandwidth is the transmission bandwidth between each Bluetooth device and other Bluetooth devices.
[0104] Exemplarily, the transmission bandwidth obtained by the master Bluetooth device can be self-reported by each Bluetooth device in at least two Bluetooth devices. The reporting timing of each Bluetooth device's self-reporting can be periodic reporting, for example, periodic reporting according to a predetermined time period. It can also be event-triggered reporting, for example, when a new Bluetooth device joins or a Bluetooth device exits during the Bluetooth communication process, the report is triggered. Among them, the exit of the Bluetooth device can be the user's active exit of the Bluetooth device, or the Bluetooth device exits due to insufficient power. For the master Bluetooth device, it can receive the transmission bandwidth reported by each Bluetooth device in at least two Bluetooth devices. The transmission bandwidth is the transmission bandwidth between each Bluetooth device and other Bluetooth devices.
[0105] Exemplarily, for any one of the at least two Bluetooth devices, the moment when the Bluetooth device reports the transmission bandwidth to the master Bluetooth device may be any moment after the Bluetooth device and the master Bluetooth device have established a Bluetooth communication connection and performed at least one Bluetooth data transmission; or, it may also be the moment when the Bluetooth device and the master Bluetooth device have established a Bluetooth communication connection and no Bluetooth data transmission has been performed.
[0106] Among them, the above-mentioned failure to transmit Bluetooth data may specifically include at least one of the following situations: all other Bluetooth devices in at least two Bluetooth devices do not perform Bluetooth data transmission with the main Bluetooth device; or, the Bluetooth device does not perform Bluetooth data transmission, but at least one other Bluetooth device in at least two Bluetooth devices performs Bluetooth data transmission with the main Bluetooth device at least once.
[0107] Optionally, the above-mentioned Bluetooth data may include at least one of a Bluetooth multimedia package and a Bluetooth message, and the Bluetooth message may be at least one of a Bluetooth broadcast message and a Bluetooth data message.
[0108] 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 chain transmission path can be improved.
[0109] In one example of the present 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 the following methods:
[0110] Determined based on bandwidth capability information of other Bluetooth devices during initial negotiation;
[0111] Determined based on the signal strength of Bluetooth messages from other Bluetooth devices;
[0112] Determined based on the packet sending success rate or packet loss rate during the transmission process.
[0113] Exemplarily, the initial negotiation process refers to a process in which any two Bluetooth devices among the at least two Bluetooth devices perform handshake negotiation through the Bluetooth transmission protocol when establishing a Bluetooth communication connection this time.
[0114] The initial negotiation process may include bandwidth capability information for both Bluetooth devices involved in the handshake negotiation. This bandwidth capability information may include the maximum transmission bandwidth supported by a Bluetooth device or the sub-transmission bandwidth of each Bluetooth component in the Bluetooth device. Each Bluetooth device may determine the transmission bandwidth between itself and the other Bluetooth devices based on the bandwidth capability information of the other Bluetooth devices during the initial negotiation process.
[0115] Optionally, the Bluetooth transmission protocol may be at least one of the Bluetooth control phone protocol (Hands-free Profile, HFP), the Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP), the audio / video remote control profile (Audio / Video Remote Control Profile, AVRCP) and the like.
[0116] Optionally, the Bluetooth transmission protocol can also be a private communication protocol, that is, a communication protocol followed only for Bluetooth communication between target Bluetooth devices in at least two Bluetooth devices, rather than a communication protocol followed between all Bluetooth devices in at least two Bluetooth devices. For example, target Bluetooth devices from the same manufacturer follow the same private communication protocol.
[0117] Optionally, the Bluetooth message may be at least one of a Bluetooth broadcast message and a Bluetooth data message, wherein the Bluetooth data message can be understood by two Bluetooth devices that have established a Bluetooth communication connection, and the Bluetooth broadcast message can be broadcast to multiple Bluetooth devices or only to a specific Bluetooth device.
[0118] For example, 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, the larger the transmission bandwidth between the two Bluetooth devices. Thus, each Bluetooth device can determine the transmission bandwidth between itself and other Bluetooth devices based on the signal strength of the Bluetooth messages from the other Bluetooth devices.
[0119] Optionally, the signal strengths of each Bluetooth message can be directly compared, and the size of the transmission bandwidth can be represented by the size of the signal strength. Alternatively, a signal strength threshold of the Bluetooth message can be set according to actual technical needs. When the signal strength of the Bluetooth message is greater than or equal to the signal strength threshold, the signal strength of the Bluetooth message can be considered to be strong. When the signal strength of the Bluetooth message is less than the signal strength threshold, the signal strength of the Bluetooth message can be considered to be weak. The size of the transmission bandwidth is represented according to the relative strength of the signal strength.
[0120] For example, the packet transmission success rate or packet loss rate during the transmission process is used to indicate whether the Bluetooth multimedia packet is successfully transmitted from the first Bluetooth device to the second Bluetooth device. It should be noted that the packet transmission and packet loss here can refer to the transmission of Bluetooth multimedia packets or other specific Bluetooth data packets, and are not limited here.
[0121] The packet transmission success rate between two Bluetooth devices during a transmission process is positively correlated with the transmission bandwidth between the two Bluetooth devices, while the packet loss rate between two Bluetooth devices during a transmission process is negatively correlated with the transmission bandwidth between the two Bluetooth devices. The greater the packet transmission success rate or the smaller the packet loss rate between the two Bluetooth devices, the larger the transmission bandwidth between the two Bluetooth devices. Thus, each first Bluetooth device can determine the transmission bandwidth between the first Bluetooth device and the second Bluetooth device based on the packet transmission success rate or the packet loss rate during the transmission process.
[0122] Optionally, the packet sending success rate or packet loss rate during the transmission process can be directly compared to characterize the size of the transmission bandwidth. Alternatively, a correspondence between the packet sending success rate or packet loss rate during the transmission process and the numerical value of the transmission bandwidth can be pre-set, and the numerical size of the corresponding transmission bandwidth can be determined based on the packet sending success rate or packet loss rate.
[0123] In this embodiment, each Bluetooth device may obtain the transmission bandwidth between each Bluetooth device and other Bluetooth devices in multiple ways, thereby improving the efficiency of determining the transmission bandwidth and the feasibility of the determination method.
[0124] In an example of the present application, the master Bluetooth device obtains the transmission bandwidth between the master Bluetooth device and at least two Bluetooth devices, including at least one of the following steps:
[0125] Determining 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 during the initial negotiation process;
[0126] determining a transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices based on signal strengths of Bluetooth messages from the at least two Bluetooth devices;
[0127] Based on a packet sending success rate or a packet loss rate during the transmission process, a transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices is determined.
[0128] Exemplarily, the initial negotiation process refers to a process of performing handshake negotiation via the Bluetooth transmission protocol when any Bluetooth device among the at least two Bluetooth devices and the master Bluetooth device establish a Bluetooth communication connection this time.
[0129] The initial negotiation process may include bandwidth capability information between the master Bluetooth device and any of the at least two Bluetooth devices involved in the handshake negotiation. The bandwidth capability information may include the maximum transmission bandwidth supported by the Bluetooth device or the sub-transmission bandwidth of each Bluetooth component of the Bluetooth device. The master Bluetooth device may determine the 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 during the initial negotiation process.
[0130] Optionally, the Bluetooth transmission protocol may be at least one of the Bluetooth control phone protocol (Hands-free Profile, HFP), the Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP), the audio / video remote control profile (Audio / Video Remote Control Profile, AVRCP) and the like.
[0131] Optionally, the Bluetooth transmission protocol can also be a private communication protocol, that is, a communication protocol followed only for Bluetooth communication between the master Bluetooth device and the target Bluetooth device among the at least two Bluetooth devices, but not a communication protocol followed between the master Bluetooth device and all Bluetooth devices among the at least two Bluetooth devices. For example, the master Bluetooth device and the target Bluetooth device of the same manufacturer follow the same private communication protocol.
[0132] Exemplarily, the Bluetooth message may be at least one of a Bluetooth broadcast message and a Bluetooth data message, wherein the Bluetooth data message can be understood by the master Bluetooth device and the Bluetooth device that have established a Bluetooth communication connection, and the Bluetooth broadcast message can be broadcast to multiple Bluetooth devices or only to a specific Bluetooth device.
[0133] The signal strength of Bluetooth messages between the master Bluetooth device and a Bluetooth device is positively correlated with the transmission bandwidth between the master Bluetooth device and the Bluetooth device. A stronger Bluetooth message signal strength corresponds to a greater transmission bandwidth between the master Bluetooth device and the Bluetooth device. Thus, the master Bluetooth device can determine the transmission bandwidth between the master Bluetooth device and each of the at least two Bluetooth devices based on the signal strength of Bluetooth messages from the at least two Bluetooth devices.
[0134] Optionally, the signal strengths of each Bluetooth message can be directly compared, and the size of the transmission bandwidth can be represented by the size of the signal strength. Alternatively, a signal strength threshold of the Bluetooth message can be set according to actual technical needs. When the signal strength of the Bluetooth message is greater than or equal to the signal strength threshold, the signal strength of the Bluetooth message can be considered to be strong. When the signal strength of the Bluetooth message is less than the signal strength threshold, the signal strength of the Bluetooth message can be considered to be weak. The size of the transmission bandwidth is represented according to the relative strength of the signal strength.
[0135] For example, the packet sending success rate or packet loss rate during the transmission process is used to indicate whether the Bluetooth multimedia packet is successfully sent from the master Bluetooth device to the Bluetooth device. It should be noted that the packet sending and packet loss here can refer to the sending of Bluetooth multimedia packets or other specific Bluetooth data packets, and are not limited here.
[0136] The packet transmission success rate between the master Bluetooth device and the Bluetooth device during transmission is positively correlated with the transmission bandwidth between the master Bluetooth device and the Bluetooth device. The packet loss rate between the master Bluetooth device and the Bluetooth device during transmission is negatively correlated with the transmission bandwidth between the master Bluetooth device and the Bluetooth device. The greater the packet transmission success rate between the master Bluetooth device and the Bluetooth device, or the lower the packet loss rate, the greater the transmission bandwidth between the master Bluetooth device and the Bluetooth device.
[0137] Optionally, the packet sending success rate or packet loss rate during the transmission process can be directly compared to characterize the size of the transmission bandwidth. Alternatively, a correspondence between the packet sending success rate or packet loss rate during the transmission process and the numerical value of the transmission bandwidth can be pre-set, and the numerical size of the corresponding transmission bandwidth can be determined based on the packet sending success rate or packet loss rate.
[0138] In this embodiment, the transmission bandwidth between the master Bluetooth device and at least two Bluetooth devices can be obtained in a variety of ways, which can increase the speed of obtaining the transmission bandwidth and thus improve the efficiency of subsequently determining the chain transmission path.
[0139] In one example of the present application, in combination with actual technical scenarios, the number and types of Bluetooth devices communicating with the master Bluetooth device are variable. For example, during the process of Bluetooth communication between the master Bluetooth device and the Bluetooth device, a new Bluetooth device joins or a Bluetooth device exits, and thus the chain transmission path is also variable. The method may further include:
[0140] When the degree of change in the transmission bandwidth between at least two Bluetooth devices meets a condition, determining a second chain transmission path based on the changed transmission bandwidth, where the second chain transmission path is different from the first chain transmission path;
[0141] Control at least two Bluetooth devices to transmit Bluetooth multimedia packets according to a second chain transmission path; wherein a first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to a second Bluetooth device.
[0142] Exemplarily, the transmission bandwidth between at least two Bluetooth devices changes. This change may be a change in the amount and / or value of the transmission bandwidth. This change may occur at any time during Bluetooth communication and / or may occur periodically. The above-mentioned variations may be combined in any manner.
[0143] For example, the amount and value of transmission bandwidth may change at any time when a new Bluetooth device joins or exits. For example, the master Bluetooth device detects the transmission bandwidth between at least two Bluetooth devices at a predetermined time interval to ensure the transmission quality of the chain transmission path. If no new Bluetooth devices join or exit before and after the transmission bandwidth detection, the transmission bandwidth value may change periodically.
[0144] Illustratively, the degree of change in the transmission bandwidth between at least two Bluetooth devices can be determined using at least one of the bandwidth capability information of the at least two Bluetooth devices, the signal strength of Bluetooth messages, and a packet transmission success rate or packet loss rate during transmission. Accordingly, the conditions required to determine the degree of change in the transmission bandwidth between at least two Bluetooth devices match the aforementioned method for determining the degree of change in the transmission bandwidth. The degree of change can be characterized by an increase or decrease, an increase or decrease, or the magnitude of the increase or decrease. The degree of change meeting the condition is the condition that must be met for the first chain transmission path to require path adjustment.
[0145] For example, based on the bandwidth capability information of at least two Bluetooth devices, it is determined that the increase or decrease in the transmission bandwidth between the at least two Bluetooth devices is greater than or equal to a preset amount, or it is determined that the increase or decrease in the transmission bandwidth between the at least two Bluetooth devices is greater than or equal to a preset amount, then 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.
[0146] For another example, based on the signal strength of Bluetooth messages from at least two Bluetooth devices, it is determined that the increase or decrease in the transmission bandwidth between the at least two Bluetooth devices is greater than or equal to a preset amount, or that the increase or decrease in the transmission bandwidth between the at least two Bluetooth devices is greater than or equal to a preset amount, then 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.
[0147] In one example, when the degree of change in the transmission bandwidth between at least two Bluetooth devices meets a condition, the first chain transmission path needs to be adjusted. The chain transmission path determined based on the changed transmission bandwidth is referred to as the second chain transmission path. It is understood that the second chain transmission path is different from the first chain transmission path.
[0148] For example, when at least two Bluetooth devices are three Bluetooth devices, such as Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3, assume that the master Bluetooth device first sends a Bluetooth multimedia package to Bluetooth device 1, Bluetooth device 1 then sends the Bluetooth multimedia package to Bluetooth device 2, and Bluetooth device 2 then sends the Bluetooth multimedia package to Bluetooth device 3. Assuming that Bluetooth device 2 exits Bluetooth communication, the transmission system now includes the master Bluetooth device, Bluetooth device 1, and Bluetooth device 3. It can be determined that the degree of change in the transmission bandwidth between the at least two Bluetooth devices meets the condition. In this case, the transmission bandwidth includes transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1, transmission bandwidth 3 between the master Bluetooth device and Bluetooth device 3, and transmission bandwidth 13 between Bluetooth device 1 and Bluetooth device 3. The master Bluetooth device can then determine a second chain transmission path based on the aforementioned transmission bandwidth 1, transmission bandwidth 3, and transmission bandwidth 13.
[0149] Illustratively, after determining the second chain transmission path, the master Bluetooth device may control at least two Bluetooth devices to transmit Bluetooth multimedia packets along the second chain transmission path, wherein the first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.
[0150] It should be noted that the way in which the master Bluetooth device controls at least two Bluetooth devices to transmit Bluetooth multimedia packages along the second chain transmission path is consistent with the principle of the way in which the master Bluetooth device controls at least two Bluetooth devices to transmit Bluetooth multimedia packages along the first chain transmission path, and will not be repeated here.
[0151] In this embodiment, by redetermining the chain transmission path based on the changed transmission bandwidth when certain conditions are met, real-time dynamic adjustment of the chain transmission path can be achieved, and the accuracy of the chain transmission path can always be ensured, ensuring the transmission quality of Bluetooth multimedia packets in the chain transmission path.
[0152] In an 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 the transmission bandwidth between the first Bluetooth device and the previous Bluetooth device, and the previous Bluetooth device is the main Bluetooth device or other Bluetooth device located before the first Bluetooth device in the second chain transmission path; the second bandwidth is the transmission bandwidth between the first Bluetooth device and the second Bluetooth device.
[0153] Exemplarily, the second chain transmission path is determined based on descending order of the transmission bandwidths between at least two Bluetooth devices. Furthermore, depending on the position of the Bluetooth device in the first chain transmission path, when the Bluetooth device functions as the first Bluetooth device, the transmission bandwidth between the Bluetooth device and the preceding Bluetooth device may serve as the first bandwidth; and when the Bluetooth device functions as the second Bluetooth device, the transmission bandwidth between the Bluetooth device and the preceding Bluetooth device (i.e., the first Bluetooth device) may serve as the second bandwidth. The specific bandwidth is determined based on actual circumstances.
[0154] For example, if the at least two Bluetooth devices are two Bluetooth devices, for example, Bluetooth device 1 and Bluetooth device 3, and the master Bluetooth device first sends a Bluetooth multimedia packet to Bluetooth device 1, and Bluetooth device 1 then sends the Bluetooth multimedia packet to Bluetooth device 3, then the order of the Bluetooth devices in the second chain transmission path is: Bluetooth device 1, Bluetooth device 3. Then, the transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1 is greater than or equal to the transmission bandwidth 13 between Bluetooth device 1 and Bluetooth device 3. For each of the two transmission bandwidths, transmission bandwidth 1 is the first bandwidth, and transmission bandwidth 13 is the second bandwidth.
[0155] For another example, based on the above embodiment, when the at least two Bluetooth devices also include Bluetooth device 4, assuming that the master Bluetooth device first sends a Bluetooth multimedia packet to Bluetooth device 1, Bluetooth device 1 then sends the Bluetooth multimedia packet to Bluetooth device 3, and Bluetooth device 3 then sends the Bluetooth multimedia packet to Bluetooth device 4, the order of the Bluetooth devices in the second chain transmission path is: Bluetooth device 1, Bluetooth device 3, Bluetooth device 4. Then, the transmission bandwidth 1 between the master Bluetooth device and Bluetooth device 1 is greater than or equal to the transmission bandwidth 13 between Bluetooth device 1 and Bluetooth device 3, and greater than or equal to the transmission bandwidth 14 between Bluetooth device 3 and Bluetooth device 4. For transmission bandwidth 1 and transmission bandwidth 13, transmission bandwidth 1 is the first bandwidth, and transmission bandwidth 13 is the second bandwidth. For transmission bandwidth 13 and transmission bandwidth 14, transmission bandwidth 13 is the first bandwidth, and transmission bandwidth 14 is the second bandwidth.
[0156] In this embodiment, the second chain transmission path is determined in the same manner as the first chain transmission path, thereby ensuring the accuracy and consistency of data transmission of Bluetooth multimedia packets in the same transmission system, fully considering the inconsistent transmission performance of different Bluetooth devices, and ensuring the transmission quality as much as possible.
[0157] In one example of the present application, each of the at least two Bluetooth devices includes at least two Bluetooth components. For example, if the Bluetooth device is a TWS Bluetooth headset, the Bluetooth device includes two Bluetooth components: a left-channel Bluetooth headset and a right-channel Bluetooth headset. If the Bluetooth device is a Bluetooth game controller, the Bluetooth device may include two or more Bluetooth game controller components.
[0158] Exemplarily, when each Bluetooth device includes at least two Bluetooth components, the transmission bandwidth between the at least two Bluetooth devices refers to the sum of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components.
[0159] For example, the transmission bandwidth between the main 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.
[0160] Exemplarily, considering the situation that the transmission performance of each Bluetooth component in the at least two Bluetooth components included in each Bluetooth device is inconsistent, the transmission bandwidth between the at least two Bluetooth devices refers to the minimum sub-transmission bandwidth in the sub-transmission bandwidth of each Bluetooth component in the at least two Bluetooth components.
[0161] For example, 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, then the transmission bandwidth between the main Bluetooth device and the Bluetooth device is determined to be the sub-transmission bandwidth between the right channel Bluetooth headset.
[0162] In this embodiment, the two methods for determining the transmission bandwidth described above can more accurately determine the transmission bandwidth, thereby improving the accuracy of the determined chain transmission path.
[0163] It should also be noted that when each of the at least two Bluetooth devices includes at least two Bluetooth components, the implementation of the embodiment of the present application may be:
[0164] The master Bluetooth device determines a first chain transmission path based on the transmission bandwidth between at least two Bluetooth devices; controls a first Bluetooth component in the at least two Bluetooth devices to transmit a first Bluetooth multimedia package according to the first chain transmission path, and controls a second Bluetooth component in the at least two Bluetooth devices to transmit a second Bluetooth multimedia package according to the first chain transmission path.
[0165] Among them, the first Bluetooth component of the first Bluetooth device in the first chain transmission path sends a first Bluetooth multimedia package to the first Bluetooth component of the second Bluetooth device, and the second Bluetooth component of the first Bluetooth device in the first chain transmission path sends a second Bluetooth multimedia package to the second Bluetooth component of the second Bluetooth device.
[0166] Optionally, the first Bluetooth multimedia package and the second Bluetooth multimedia package are transmitted using unicast communication. The first Bluetooth multimedia package and the second Bluetooth multimedia package also support a retransmission mechanism during transmission to ensure transmission quality.
[0167] For example, taking the Bluetooth device as a TWS Bluetooth headset, after determining the first chain transmission path, the left channel Bluetooth headset is controlled to transmit the left channel Bluetooth multimedia package according to the first chain transmission path, and the right channel Bluetooth headset is controlled to transmit the right channel Bluetooth multimedia package according to the first chain transmission path.
[0168] In this embodiment, the Bluetooth multimedia packets are transmitted according to the left and right channels respectively, which can achieve targeted transmission and make the transmission process of the Bluetooth multimedia packets more independent. When an error occurs in the transmission of the Bluetooth multimedia packets in one channel, it does not affect the transmission of the Bluetooth multimedia packets in the other channel, which can improve the user experience to a certain extent.
[0169] In one example, the method further includes: playing the Bluetooth multimedia package.
[0170] Alternatively, the master Bluetooth device may not play any Bluetooth multimedia package and only transmit the Bluetooth multimedia package; or play a portion of the Bluetooth multimedia packages, such as the Bluetooth multimedia packages identified as needing to be played by itself; or play all Bluetooth multimedia packages. The Bluetooth multimedia packages played by the master Bluetooth device may depend on the specific implementation and will not be further described here.
[0171] In this embodiment, the master Bluetooth device can also play Bluetooth multimedia packages according to actual conditions, which can effectively improve user experience.
[0172] Figure 7 The flowchart of the method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment of the present application is shown. Figure 5 The method is described below with reference to a Bluetooth device (from which the device is connected). The method includes:
[0173] 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 package to the second Bluetooth device; wherein the first chain transmission path is determined by the master Bluetooth device based on the transmission bandwidth between at least two Bluetooth devices.
[0174] Exemplarily, after determining the first chain transmission path based on the transmission bandwidth between at least two Bluetooth devices, the master Bluetooth device can control the transmission of Bluetooth multimedia packets from the Bluetooth devices. Specifically, based on the control of the master Bluetooth device, the Bluetooth device, as the first Bluetooth device in the first chain transmission path, sends the Bluetooth multimedia packet to the second Bluetooth device.
[0175] In some embodiments, a control link is established between the master Bluetooth device and each of the at least two Bluetooth devices. The control link is used to transmit control information related to the transmission process of the Bluetooth multimedia packet. The control information includes: the address of each Bluetooth device in the first chain transmission path, the sequence number of the Bluetooth multimedia packet, feedback information of the Bluetooth multimedia packet, initial transmission / retransmission information of the Bluetooth multimedia packet, etc. Thus, the master Bluetooth device can control the Bluetooth devices based on the control link.
[0176] In summary, the method provided in this embodiment, based on the control of a master Bluetooth device, can enable the transmission of the same Bluetooth multimedia package between multiple Bluetooth devices, thus achieving Bluetooth multimedia package sharing. The method for determining the chain transmission path in this embodiment also fully considers the inconsistent transmission performance of different Bluetooth devices, ensuring the transmission quality of Bluetooth multimedia packages in the chain transmission path. It also maximizes the total bandwidth used by multiple Bluetooth devices.
[0177] In an example of the present application, the master Bluetooth device can obtain the transmission bandwidth between the master Bluetooth device and at least two Bluetooth devices. For the Bluetooth device, the method further includes: reporting the transmission bandwidth between the first Bluetooth device and the other Bluetooth devices to the master Bluetooth device.
[0178] Exemplarily, the Bluetooth device serves as the first Bluetooth device in the first chain transmission path, and reports to the master Bluetooth device the transmission bandwidth between the first Bluetooth device and each other Bluetooth device, so that the master Bluetooth device obtains the transmission bandwidth between any two Bluetooth devices among the at least two Bluetooth devices.
[0179] 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 in obtaining the transmission bandwidth and reduce the possibility of errors.
[0180] In one embodiment, the Bluetooth device, as the first Bluetooth device, performs a method further comprising at least one of the following steps:
[0181] Determining a transmission bandwidth between the first Bluetooth device and the other Bluetooth devices based on bandwidth capability information of the other Bluetooth devices during the initial negotiation process;
[0182] determining a transmission bandwidth between the first Bluetooth device and the other Bluetooth devices based on signal strengths of Bluetooth messages from the other Bluetooth devices;
[0183] The transmission bandwidth between the first Bluetooth device and the second Bluetooth device is determined based on a packet sending success rate or a packet loss rate during the transmission process.
[0184] Exemplarily, the initial negotiation process refers to a process of performing handshake negotiation via the Bluetooth transmission protocol when the Bluetooth device establishes a Bluetooth communication connection with another Bluetooth device this time.
[0185] The initial negotiation process may include bandwidth capability information between the Bluetooth device and the other Bluetooth devices involved in the handshake negotiation. The bandwidth capability information may include the maximum transmission bandwidth supported by the Bluetooth device or the sub-transmission bandwidth of each Bluetooth component of the Bluetooth device. The Bluetooth device may determine the transmission bandwidth between the first Bluetooth device and the other Bluetooth devices based on the bandwidth capability information of the other Bluetooth devices during the initial negotiation process.
[0186] Exemplarily, the signal strength of Bluetooth messages from other Bluetooth devices is positively correlated with the transmission bandwidth between the first Bluetooth device and the other Bluetooth device. The stronger the signal strength of the Bluetooth message, the larger the transmission bandwidth between the first Bluetooth device and the other Bluetooth device. Thus, the Bluetooth device can determine the transmission bandwidth between the first Bluetooth device and the other Bluetooth device based on the signal strength of the Bluetooth message from the other Bluetooth device.
[0187] For example, the packet transmission success rate between the Bluetooth device (first Bluetooth device) and the next Bluetooth device (second Bluetooth device) during 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 during the transmission process is negatively correlated with the transmission bandwidth between the two Bluetooth devices. The greater the packet transmission success rate or the smaller the packet loss rate between the two Bluetooth devices, the greater the transmission bandwidth between the two Bluetooth devices. Thus, the Bluetooth device can determine the transmission bandwidth between the first Bluetooth device and the second Bluetooth device based on the packet transmission success rate or the packet loss rate during the transmission process.
[0188] In this embodiment, a Bluetooth device may determine the transmission bandwidth between itself and other Bluetooth devices in a variety of ways, thereby improving the efficiency and feasibility of determining the transmission bandwidth and facilitating improving the efficiency of subsequently determining a chain transmission path.
[0189] In one example, the method further includes: playing the Bluetooth multimedia package.
[0190] Optionally, all or some of the at least two Bluetooth devices are configured to play Bluetooth multimedia packages. One of the at least two Bluetooth devices may not play any Bluetooth multimedia packages and may only transmit them; alternatively, it may play some Bluetooth multimedia packages, such as those identified as requiring its own playback; or it may play all Bluetooth multimedia packages. The Bluetooth multimedia packages played by each Bluetooth device may vary depending on the specific implementation and will not be further described herein.
[0191] In this embodiment, the Bluetooth device can also play Bluetooth multimedia packages according to actual conditions, which can effectively improve user experience.
[0192] Figure 8 A schematic diagram of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment of the present application is shown. In this embodiment, the main Bluetooth device is a mobile phone 10, and the Bluetooth device includes four pairs of TWS Bluetooth headsets, namely Bluetooth headset 21, Bluetooth headset 22, Bluetooth headset 23, and Bluetooth headset 24. Each pair of TWS Bluetooth headsets includes a left-channel Bluetooth headset and a right-channel Bluetooth headset.
[0193] The transmission bandwidth between mobile phone 10 and Bluetooth headset 21 is the sum of the sub-transmission bandwidth between mobile phone 10 and the left channel of Bluetooth headset 21, and the sub-transmission bandwidth between mobile phone 10 and the right channel of Bluetooth headset 21. The transmission bandwidths between mobile phone 10 and Bluetooth headset 22, mobile phone 10 and Bluetooth headset 23, and mobile phone 10 and Bluetooth headset 24 are determined in the same manner as described above and are not further described here.
[0194] The transmission bandwidth between Bluetooth headset 21 and Bluetooth headset 22 is the sum of the sub-transmission bandwidth between the left-channel Bluetooth headsets of Bluetooth headset 21 and Bluetooth headset 22, and the sub-transmission bandwidth between the right-channel Bluetooth headsets of Bluetooth headset 21 and Bluetooth headset 22. The method for determining the transmission bandwidth between Bluetooth headset 21 and Bluetooth headset 23, Bluetooth headset 21 and Bluetooth headset 24, Bluetooth headset 22 and Bluetooth headset 23, Bluetooth headset 22 and Bluetooth headset 24, and Bluetooth headset 23 and Bluetooth headset 24 is the same as the above determination method and is not repeated here.
[0195] The following embodiment is performed using a mobile phone 10 as an example. The method for transmitting a Bluetooth multimedia packet includes:
[0196] A first chain transmission path is determined based on a transmission bandwidth between at least two Bluetooth devices; a first Bluetooth device in the first chain transmission path sends a Bluetooth multimedia packet to a second Bluetooth device. The first bandwidth in the first chain transmission path is greater than or equal to the second bandwidth; the first bandwidth is the transmission bandwidth between the first Bluetooth device and a previous Bluetooth device, which is a master Bluetooth device or other Bluetooth device located before the first Bluetooth device in the first chain transmission path; and the second bandwidth is the transmission bandwidth between the first Bluetooth device and the second Bluetooth device.
[0197] Specifically, the transmission bandwidth obtained by mobile phone 10 is the transmission bandwidth between mobile phone 10 and each pair of Bluetooth headsets, as well as the transmission bandwidth between any two pairs of Bluetooth headsets, including: the transmission bandwidth between mobile phone 10 and Bluetooth headset 21, mobile phone 10 and Bluetooth headset 22, mobile phone 10 and Bluetooth headset 23, mobile phone 10 and Bluetooth headset 24, Bluetooth headset 21 and Bluetooth headset 22, Bluetooth headset 21 and Bluetooth headset 23, Bluetooth headset 21 and Bluetooth headset 24, Bluetooth headset 22 and Bluetooth headset 23, Bluetooth headset 22 and Bluetooth headset 24, and Bluetooth headset 23 and Bluetooth headset 24.
[0198] 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. Therefore, the Bluetooth devices in the first chain transmission path are determined to be: Bluetooth headset 21, Bluetooth headset 22, Bluetooth headset 23, and Bluetooth headset 24.
[0199] The mobile phone 10 controls the Bluetooth headset 21 , the Bluetooth headset 22 , the Bluetooth headset 23 , and the Bluetooth headset 24 to transmit the Bluetooth multimedia package according to the first chain transmission path.
[0200] like Figure 9As shown, the Bluetooth headset 22 disconnects the Bluetooth communication with the mobile phone 10. At this time, the mobile phone 10 determines that the change in the transmission bandwidth between the Bluetooth headsets meets the condition and needs to determine a second chain transmission path based on the changed transmission bandwidth.
[0201] A second chain transmission path is determined based on the changed transmission bandwidth, and the second chain transmission path is different from the first chain transmission path. A first Bluetooth device in the second chain transmission path sends a Bluetooth multimedia packet to a 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 the transmission bandwidth between the first Bluetooth device and a previous Bluetooth device, where the previous Bluetooth device is a master Bluetooth device or other Bluetooth device located before the first Bluetooth device in the first chain transmission path. The second bandwidth is the transmission bandwidth between the first Bluetooth device and the second Bluetooth device.
[0202] Specifically, the changed transmission bandwidth obtained by mobile phone 10 is the transmission bandwidth between mobile phone 10 and each pair of Bluetooth headsets, as well as the transmission bandwidth between any two pairs of Bluetooth headsets, including: the transmission bandwidth between mobile phone 10 and Bluetooth headset 21, mobile phone 10 and Bluetooth headset 23, mobile phone 10 and Bluetooth headset 24, Bluetooth headset 21 and Bluetooth headset 23, Bluetooth headset 21 and Bluetooth headset 24, and Bluetooth headset 23 and Bluetooth headset 24.
[0203] 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. Therefore, the Bluetooth devices in the second chain transmission path are determined to be: Bluetooth headset 21, Bluetooth headset 24, and Bluetooth headset 23.
[0204] The mobile phone 10 controls the Bluetooth headset 21 , the Bluetooth headset 24 , and the Bluetooth headset 23 to transmit the Bluetooth multimedia package according to the second chain transmission path.
[0205] The product implementation of the main Bluetooth device and the Bluetooth device in the embodiment of the present application may be implemented in multiple ways. In an exemplary example, the above-mentioned main Bluetooth device is implemented as a TV with a Bluetooth chip, and the Bluetooth device is implemented as a TWS Bluetooth headset. Figure 10A scene diagram of a method for transmitting a Bluetooth multimedia package provided by an exemplary embodiment of the present application is shown. When the baby 51 falls asleep, in order not to disturb the baby 51's sleep, the mother 52, the father 53 and the brother 54 each wear a pair of TWS Bluetooth headphones of the same model to share the film and television works played on the TV, and the versions of the Bluetooth chips in the TWS Bluetooth headphones of the mother 52, the father 53 and the brother 54 are successively reduced, that is, the transmission performance is successively reduced. It can be determined that the Bluetooth devices in the first chain transmission path are the TWS Bluetooth headphones of the mother 52, the father 53 and the brother 54, that is, the TV sends a Bluetooth multimedia package to the TWS Bluetooth headphones of the mother 52, the TWS Bluetooth headphones of the mother 52 send a Bluetooth multimedia package to the TWS Bluetooth headphones of the father 53, the TWS Bluetooth headphones of the father 53 send a Bluetooth multimedia package to the TWS Bluetooth headphones of the brother 54, and the TWS Bluetooth headphones of the brother 54 no longer perform the step of sending the Bluetooth multimedia package.
[0206] Figure 11 The following is a structural block diagram of a Bluetooth multimedia packet transmission control device provided by an exemplary embodiment of the present application, wherein the control device includes:
[0207] a path determination module 10, configured to determine a first chain transmission path based on a transmission bandwidth between at least two Bluetooth devices;
[0208] 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;
[0209] The first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia package to the second Bluetooth device.
[0210] In one embodiment, the first bandwidth in the first chain transmission path is greater than or equal to the second bandwidth; the first bandwidth is the transmission bandwidth between the first Bluetooth device and the previous Bluetooth device, and the previous Bluetooth device is the main Bluetooth device or other Bluetooth device located before the first Bluetooth device in the first chain transmission path; the second bandwidth is the transmission bandwidth between the first Bluetooth device and the second Bluetooth device.
[0211] In one embodiment, the control device further includes an acquisition module.
[0212] In one embodiment, the acquisition module is configured to acquire the transmission bandwidth between any two Bluetooth devices among the at least two Bluetooth devices, and acquire the transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices.
[0213] In one embodiment, the acquisition 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 Bluetooth device and other Bluetooth devices.
[0214] 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 the following methods:
[0215] Determining based on the bandwidth capability information of the other Bluetooth devices during the initial negotiation process;
[0216] Determining based on the signal strength of the Bluetooth message from the other Bluetooth device;
[0217] Determined based on the packet sending success rate or packet loss rate during the transmission process.
[0218] In one embodiment, the acquisition module is configured to determine the 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 during the initial negotiation process.
[0219] In one embodiment, the acquisition 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 messages from the at least two Bluetooth devices.
[0220] In one embodiment, the acquisition module is configured to determine the 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 during the transmission process.
[0221] In one embodiment, the path determination module is further configured to determine, when a degree of change in the transmission bandwidth between the at least two Bluetooth devices meets a condition, a second chain transmission path based on the changed transmission bandwidth, the second chain transmission path being different from the first chain transmission path;
[0222] The Bluetooth control module is further configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path;
[0223] The first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia package to the second Bluetooth device.
[0224] In one embodiment, each of the at least two Bluetooth devices includes at least two Bluetooth components;
[0225] The transmission bandwidth between the at least two Bluetooth devices refers to the sum of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components;
[0226] Alternatively, the transmission bandwidth between the at least two Bluetooth devices refers to the minimum sub-transmission bandwidth of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components.
[0227] 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 the transmission bandwidth between the first Bluetooth device and the previous Bluetooth device, and the previous Bluetooth device is the main Bluetooth device or other Bluetooth device located before the first Bluetooth device in the second chain transmission path; the second bandwidth is the transmission bandwidth between the first Bluetooth device and the second Bluetooth device.
[0228] In one embodiment, the control device further includes a playing module.
[0229] In one embodiment, the playing module is used to play the Bluetooth multimedia package.
[0230] Figure 12 A structural block diagram of a Bluetooth multimedia packet transmission device provided by an exemplary embodiment of the present application is shown, and the device includes:
[0231] The Bluetooth sending module 30 is configured to send a Bluetooth multimedia packet to a second Bluetooth device as a first Bluetooth device in a first chain transmission path based on the control of the master Bluetooth device;
[0232] The first chain transmission path is determined by the master Bluetooth device based on a transmission bandwidth between at least two Bluetooth devices.
[0233] In one embodiment, the apparatus further includes a reporting module.
[0234] In one embodiment, the reporting module is configured to report the transmission bandwidth between the first Bluetooth device and other Bluetooth devices to the master Bluetooth device.
[0235] In one embodiment, the reporting module is configured to determine the transmission bandwidth between the first Bluetooth device and the other Bluetooth device based on bandwidth capability information of the other Bluetooth device during the initial negotiation process.
[0236] In one embodiment, the reporting module is configured to determine a transmission bandwidth between the first Bluetooth device and the other Bluetooth device based on a signal strength of a Bluetooth message from the other Bluetooth device.
[0237] In one embodiment, the reporting module is configured to determine the transmission bandwidth between the first Bluetooth device and the second Bluetooth device based on a packet sending success rate or a packet loss rate during the transmission process.
[0238] In one embodiment, the device further includes a playback module.
[0239] In one embodiment, the playing module is used to play the Bluetooth multimedia package.
[0240] In an exemplary embodiment of the present application, a transmission system for a Bluetooth multimedia package is further provided, the transmission system comprising: a master Bluetooth device and at least two Bluetooth devices;
[0241] The master Bluetooth device is configured to determine a first chain transmission path based on the transmission bandwidth between the at least two Bluetooth devices; and 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 the second Bluetooth device;
[0242] Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is configured to send the Bluetooth multimedia package 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.
[0243] In one embodiment, the master Bluetooth device is further configured to, when a change in the transmission bandwidth between the at least two Bluetooth devices reaches a condition, determine a second chain transmission path based on the changed transmission bandwidth, where the second chain transmission path is different from the first chain transmission path; and control the at least two Bluetooth devices to transmit the Bluetooth multimedia packet according to the second chain transmission path; wherein the first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device;
[0244] Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is further configured to, based on the control of the master Bluetooth device, serve as the first Bluetooth device in the second chain transmission path to send the Bluetooth multimedia package to the second Bluetooth device.
[0245] Figure 13 The following is a block diagram of a master Bluetooth device 1300 according to an exemplary embodiment of the present application. The master Bluetooth device 1300 can be a portable mobile terminal that supports Bluetooth functionality, such as a smartphone, tablet computer, MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop computer, or 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 similar names.
[0246] Typically, the master Bluetooth device 1300 includes a Bluetooth chip 1301 and a memory 1302 .
[0247] The Bluetooth chip 1301 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The Bluetooth chip 1301 may be implemented in at least one of the following hardware forms: a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). The Bluetooth chip 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the 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 the content to be displayed on the display screen. In some embodiments, the Bluetooth chip 1301 may also include an AI (Artificial Intelligence) processor, which is used to handle computing operations related to machine learning.
[0248] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is used to be executed by the Bluetooth chip 1301 to implement the Bluetooth multimedia packet transmission method provided in the method embodiment of the present application.
[0249] In some embodiments, the master Bluetooth device 1300 may optionally include a peripheral device interface 1303 and at least one peripheral device. The Bluetooth chip 1301, memory 1302, and peripheral device interface 1303 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, a positioning assembly 1308, and a power supply 1309.
[0250] The peripheral device interface 1303 can be used to connect at least one I / O (Input / Output)-related peripheral device to the Bluetooth chip 1301 and the memory 1302. In some embodiments, the Bluetooth chip 1301, the memory 1302, and the peripheral device 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 device interface 1303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0251] The RF circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF 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 user identity module card, and the like. The RF circuit 1304 can communicate with other terminals via at least one wireless communication protocol. Such 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 RF circuit 1304 may also include circuitry related to Near Field Communication (NFC), although this application does not limit this.
[0252] Display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, or any combination thereof. When display screen 1305 is a touch screen display, it is also capable of collecting touch signals on or above the surface of display screen 1305. The touch signals can be input as control signals to Bluetooth chip 1301 for processing. In this case, display screen 1305 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 1305, disposed on the front panel of main Bluetooth device 1300; in other embodiments, there can be at least two display screens 1305, disposed on different surfaces of main Bluetooth device 1300 or in a foldable design; in other embodiments, display screen 1305 can be a flexible display, disposed on a curved surface or a foldable surface of main Bluetooth device 1300. Display screen 1305 can even be configured as a non-rectangular irregular shape, i.e., a special-shaped screen. The display screen 1305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0253] The camera assembly 1306 is used to capture images or videos. Optionally, the camera assembly 1306 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0254] The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the Bluetooth chip 1301 for processing, or input into the RF circuit 1304 for voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the main Bluetooth device 1300. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the Bluetooth chip 1301 or the RF circuit 1304 into sound waves. The speaker may be a traditional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 1307 may also include a headphone jack.
[0255] The positioning component 1308 is used to locate the current geographic location of the master Bluetooth device 1300 to implement navigation or LBS (Location Based Service). The positioning component 1308 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, or Russia's Galileo system.
[0256] Power supply 1309 is used to power various components in main Bluetooth device 1300. Power supply 1309 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1309 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0257] In some embodiments, the master Bluetooth device 1300 further includes one or more sensors 1310 , including but not limited to: an acceleration sensor 1311 , a gyroscope sensor 1312 , a pressure sensor 1313 , a fingerprint sensor 1314 , an optical sensor 1315 , and a proximity sensor 1316 .
[0258] The accelerometer 1311 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the master Bluetooth device 1300. For example, the accelerometer 1311 can be used to detect the components of gravity acceleration along the three coordinate axes. Based on the gravity acceleration signal collected by the accelerometer 1311, the Bluetooth chip 1301 can control the display screen 1305 to display the user interface in either a landscape or portrait view. The accelerometer 1311 can also be used to collect game or user motion data.
[0259] The gyroscope sensor 1312 can detect the orientation and rotation angle of the master Bluetooth device 1300. It can work in conjunction with the accelerometer 1311 to collect the user's 3D movements of the master Bluetooth device 1300. Based on the data collected by the gyroscope sensor 1312, the Bluetooth chip 1301 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0260] The pressure sensor 1313 can be set on the side frame of the main Bluetooth device 1300 and / or the lower layer of the display screen 1305. When the pressure sensor 1313 is set on the side frame of the main Bluetooth device 1300, it can detect the user's grip signal of the main Bluetooth device 1300, and the Bluetooth chip 1301 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 1313. When the pressure sensor 1313 is set on the lower layer of the display screen 1305, the Bluetooth chip 1301 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 1305. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0261] The fingerprint sensor 1314 is used to collect the user's fingerprint, and the Bluetooth chip 1301 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1314, or the fingerprint sensor 1314 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the Bluetooth chip 1301 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 1314 can be set on the front, back, or side of the main Bluetooth device 1300. When a physical button or manufacturer logo is set on the main Bluetooth device 1300, the fingerprint sensor 1314 can be integrated with the physical button or manufacturer logo.
[0262] Optical sensor 1315 is used to detect ambient light intensity. In one embodiment, Bluetooth chip 1301 can control the display brightness of display screen 1305 based on the ambient light intensity detected by optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of display screen 1305 is increased; when the ambient light intensity is low, the display brightness of display screen 1305 is decreased. In another embodiment, Bluetooth chip 1301 can also dynamically adjust the shooting parameters of camera assembly 1306 based on the ambient light intensity detected by optical sensor 1315.
[0263] The proximity sensor 1316, also known as a distance sensor, is typically located on the front panel of the master Bluetooth device 1300. The proximity sensor 1316 is used to detect the distance between the user and the front of the master Bluetooth device 1300. In one embodiment, when the proximity sensor 1316 detects that the distance between the user and the front of the master Bluetooth device 1300 is gradually decreasing, the Bluetooth chip 1301 controls the display screen 1305 to switch from the screen-on state to the screen-off state. When the proximity sensor 1316 detects that the distance between the user and the front of the master Bluetooth device 1300 is gradually increasing, the Bluetooth chip 1301 controls the display screen 1305 to switch from the screen-off state to the screen-on state.
[0264] Those skilled in the art will understand that Figure 13 The structure shown in the figure does not constitute a limitation to the master Bluetooth device 1300, and the master Bluetooth device 1300 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0265] Figure 14 FIG. 1 shows a block diagram of a Bluetooth device 1400 provided in an exemplary embodiment of the present application. The Bluetooth device 1400 includes:
[0266] Bluetooth component 1410 is configured to transmit a Bluetooth multimedia packet to a second Bluetooth device as a first Bluetooth device in a first chain transmission path under the control of a master Bluetooth device. The first chain transmission path is determined by the master Bluetooth device based on the transmission bandwidth between at least two Bluetooth devices. Bluetooth component 1410 may be a Bluetooth chip that supports both transmission and reception.
[0267] In some embodiments, the Bluetooth device 1400 further includes a multimedia component for playing the Bluetooth multimedia package. The multimedia component includes a decoding component 1420, a digital-to-analog converter 1430, a power amplifier 1440, and a playback component 1450. The decoding component 1420 is configured to decode the Bluetooth multimedia package into pulse code modulation (PCM) data; the digital-to-analog converter 1430 is configured to convert the PCM data into an analog signal; and the power amplifier 1440 is configured to amplify the analog signal and output it to the playback component 1450 for playback.
[0268] Those skilled in the art will understand that Figure 14 The structure shown in the figure does not constitute a limitation to the Bluetooth device 1400, and the Bluetooth device 1400 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0269] An embodiment of the present application also provides a Bluetooth chip, and a main Bluetooth device equipped with the Bluetooth chip is used to execute the above-mentioned Bluetooth multimedia package transmission method; or, a Bluetooth device equipped with the Bluetooth chip is used to execute the above-mentioned Bluetooth multimedia package transmission method.
[0270] The present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set. The at least one instruction, at least one program, code set or instruction set is loaded and executed by a main Bluetooth device to implement the above-mentioned Bluetooth multimedia package transmission method; or, the at least one instruction, at least one program, code set or instruction set is loaded and executed by a Bluetooth device to implement the above-mentioned Bluetooth multimedia package transmission method.
[0271] The present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A master Bluetooth device and / or a Bluetooth device reads the computer instructions from the computer-readable storage medium, causing the master Bluetooth device and / or the Bluetooth device to execute the method for transmitting a Bluetooth multimedia packet provided in the above-described method embodiment.
[0272] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0273] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0274] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0275] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for transmitting a Bluetooth multimedia packet, characterized in that: The method is performed by a master Bluetooth device, and the method includes: determining a first chain 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; The first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia package to the second Bluetooth device; each of the at least two Bluetooth devices includes at least two Bluetooth components; the transmission bandwidth between the at least two Bluetooth devices refers to the sum of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components; or, the transmission bandwidth between the at least two Bluetooth devices refers to the minimum sub-transmission bandwidth of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components.
2. The method according to claim 1, characterized in that A first bandwidth in the first chain transmission path is greater than or equal to a second bandwidth; The first bandwidth is a transmission bandwidth between the first Bluetooth device and a previous Bluetooth device, where the previous Bluetooth device is the master Bluetooth device or another Bluetooth device 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 according to claim 1, characterized in that The method further comprises: The transmission bandwidth between any two Bluetooth devices among the at least two Bluetooth devices is obtained, and the transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices is obtained.
4. The method according to claim 3, characterized in that The obtaining of the transmission bandwidth between any two Bluetooth devices among the at least two Bluetooth devices includes: A transmission bandwidth reported by each of the at least two Bluetooth devices is received, where the transmission bandwidth is a transmission bandwidth between each Bluetooth device and other Bluetooth devices.
5. The method according to claim 4, characterized in that The transmission bandwidth between each Bluetooth device and the other Bluetooth devices is determined by each Bluetooth device based on at least one of the following methods: Determining based on the bandwidth capability information of the other Bluetooth devices during the initial negotiation process; Determining based on the signal strength of the Bluetooth message from the other Bluetooth device; Determined based on the packet sending success rate or packet loss rate during the transmission process.
6. The method according to claim 3, characterized in that The acquiring of the transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices comprises at least one of the following steps: determining 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 during the initial negotiation process; determining a transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices based on signal strengths of Bluetooth messages from the at least two Bluetooth devices; The transmission bandwidth between the master Bluetooth device and the at least two Bluetooth devices is determined based on a packet sending success rate or a packet loss rate during the transmission process.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the degree of change in the transmission bandwidth between the at least two Bluetooth devices meets a condition, determining a second chain transmission path based on the changed transmission bandwidth, 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; The first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia package to the second Bluetooth device.
8. The method according to claim 7, characterized in that 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, where the previous Bluetooth device is the master Bluetooth device or another Bluetooth device 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 according to any one of claims 1 to 6, characterized in that: The method further comprises: Play the Bluetooth multimedia package.
10. A method for transmitting a Bluetooth multimedia packet, characterized in that: The method is performed by a Bluetooth device, and the method includes: Based on the control of the master Bluetooth device, the first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device; The first chain transmission path is determined by the master Bluetooth device based on the transmission bandwidth between at least two Bluetooth devices, each of the at least two Bluetooth devices includes at least two Bluetooth components; the transmission bandwidth between the at least two Bluetooth devices refers to the sum of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components; or, the transmission bandwidth between the at least two Bluetooth devices refers to the minimum sub-transmission bandwidth of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components.
11. The method according to claim 10, characterized in that The method further comprises: Reporting the transmission bandwidth between the first Bluetooth device and other Bluetooth devices to the master Bluetooth device.
12. The method according to claim 11, characterized in that The method further comprises at least one of the following steps: Determining a transmission bandwidth between the first Bluetooth device and the other Bluetooth device based on the bandwidth capability information of the other Bluetooth device during the initial negotiation process; determining a transmission bandwidth between the first Bluetooth device and the other Bluetooth device based on a signal strength of the Bluetooth message from the other Bluetooth device; The transmission bandwidth between the first Bluetooth device and the second Bluetooth device is determined based on a packet sending success rate or a packet loss rate during the transmission process.
13. The method according to any one of claims 10 to 12, characterized in that: The method further comprises: Play the Bluetooth multimedia package.
14. A transmission control device for a Bluetooth multimedia packet, characterized in that: The control device comprises: a path determination module, configured to determine a first chain transmission path based on a transmission bandwidth between at least two Bluetooth devices; A Bluetooth control module is used 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 the second Bluetooth device; each of the at least two Bluetooth devices includes at least two Bluetooth components; the transmission bandwidth between the at least two Bluetooth devices refers to the sum of the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components; or, the transmission bandwidth between the at least two Bluetooth devices refers to the minimum sub-transmission bandwidth among the sub-transmission bandwidths of each Bluetooth component in the at least two Bluetooth components.
15. A Bluetooth multimedia packet transmission device, characterized in that: The device comprises: A Bluetooth sending module is used to send a Bluetooth multimedia package to a second Bluetooth device as a first Bluetooth device in a first chain transmission path based on the control of a master Bluetooth device; wherein the first chain transmission path is determined by the master Bluetooth device based on the transmission bandwidth between at least two Bluetooth devices; each of the at least two Bluetooth devices includes at least two Bluetooth components; the transmission bandwidth between the at least two Bluetooth devices refers to the sum of the 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 the minimum sub-transmission bandwidth among the sub-transmission bandwidths of each of the at least two Bluetooth components.
16. A Bluetooth multimedia packet transmission system, characterized in that: The transmission system includes: a master Bluetooth device and at least two Bluetooth devices; The master Bluetooth device is configured to determine a first chain transmission path based on the transmission bandwidth between the at least two Bluetooth devices; 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 the second Bluetooth device; each of the at least two Bluetooth devices includes at least two Bluetooth components; the transmission bandwidth between the at least two Bluetooth devices refers to the sum of the 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 the minimum sub-transmission bandwidth of the sub-transmission bandwidths of each of the at least two Bluetooth components; Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is configured to send the Bluetooth multimedia package 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.
17. The transmission system according to claim 16, characterized in that The master Bluetooth device is further configured to, when a change in the transmission bandwidth between the at least two Bluetooth devices meets a condition, determine a second chain transmission path based on the changed transmission bandwidth, the second chain transmission path being different from the first chain transmission path; and control the at least two Bluetooth devices to transmit the Bluetooth multimedia packet according to the second chain transmission path; wherein the first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device; Any Bluetooth device except the last Bluetooth device among the at least two Bluetooth devices is further configured to, based on the control of the master Bluetooth device, serve as the first Bluetooth device in the second chain transmission path to send the Bluetooth multimedia package to the second Bluetooth device.
18. A Bluetooth chip, characterized in that: The main Bluetooth device equipped with the Bluetooth chip is used to execute the Bluetooth multimedia package transmission method as described in any one of claims 1 to 9; or, the Bluetooth device equipped with the Bluetooth chip is used to execute the Bluetooth multimedia package transmission method as described in any one of claims 10 to 13.
19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is used to be executed by a main Bluetooth device to implement the Bluetooth multimedia package transmission method as described in any one of claims 1 to 9; or, the computer program is used to be executed by a Bluetooth device to implement the Bluetooth multimedia package transmission method as described in any one of claims 10 to 13.
20. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The 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 package transmission method according to any one of claims 1 to 9; or the Bluetooth device obtains the computer instructions from the computer-readable storage medium, so that the Bluetooth device loads and executes the computer instructions to implement the Bluetooth multimedia package transmission method according to any one of claims 10 to 13.
Citation Information
Patent Citations
Bluetooth communication method and system
CN114520958A