Transmission Method, Device, Equipment, System and Storage Medium for Bluetooth Multimedia Packet

By determining the chain transmission path based on the battery life information of the Bluetooth device in the main Bluetooth device, the power consumption problem of Bluetooth devices in the prior art is solved, and efficient transmission of Bluetooth multimedia packets and long-term use of the device is realized.

CN115278626BActive Publication Date: 2025-06-03伟光有限公司(CN)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210887317.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2025-06-03
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

The prior art fails to effectively consider the power consumption problem of Bluetooth devices in the chain transmission path, resulting in the limitation of the transmission efficiency of Bluetooth multimedia packets and the battery life of the device.

Method used

The chain transmission path is determined based on the battery life information of at least two Bluetooth devices in the main Bluetooth device, and the Bluetooth device is controlled to transmit Bluetooth multimedia packets according to the path, ensuring the transmission quality and device battery life.

Benefits of technology

It realizes efficient transmission of Bluetooth multimedia packets and long-term use of multiple Bluetooth devices, ensuring maximum transmission quality and device battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278626B_ABST
    Figure CN115278626B_ABST
Patent Text Reader

Abstract

The present application discloses a method, apparatus, device, system, and storage medium for transmitting Bluetooth multimedia packets, belonging to the field of Bluetooth. The method includes: determining a first chained transmission path based on the battery life information of at least two Bluetooth devices; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path; wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packets to the second Bluetooth device. The above solution realizes the transmission of the same Bluetooth multimedia packet between the master Bluetooth device and multiple Bluetooth devices, and realizes the sharing of Bluetooth multimedia packets. By determining the chained transmission path based on the battery life information, the power consumption problems of different Bluetooth devices are fully considered. In the case where the battery lives of different Bluetooth devices are inconsistent, the transmission quality of the Bluetooth multimedia packets in the chained transmission path can be ensured. It is also possible to ensure that the total usage time of multiple Bluetooth devices is maximized as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of Bluetooth, and in particular to a method, device, equipment, system, and storage medium for transmitting Bluetooth multimedia packets. Background Art

[0002] With the development of the Bluetooth field, Bluetooth devices have experienced explosive growth and popularity. Taking True Wireless Stereo (TWS) Bluetooth headsets as an example of Bluetooth devices, it has become very popular and common for users to use TWS Bluetooth headsets in life and work, such as listening to music, making phone calls, playing games, etc.

[0003] Taking listening to music as an example, a user connects a mobile phone to a TWS Bluetooth headset to share music with family members or lovers. In related technologies, a chained transmission path is adopted between the mobile phone and the TWS Bluetooth headset to share Bluetooth audio data, and the TWS Bluetooth headset decodes and plays the Bluetooth audio data.

[0004] However, related technologies do not consider the power consumption problem of Bluetooth devices in the chained transmission path. Summary of the Invention

[0005] The present application provides a method, device, equipment, system, and storage medium for transmitting Bluetooth multimedia packets, which fully considers the power consumption problem of Bluetooth devices in the chained transmission path. The technical solution is as follows:

[0006] On the one hand, a method for transmitting Bluetooth multimedia packets is provided. The method is executed by a master Bluetooth device, and the method includes:

[0007] Determining a first chained transmission path based on the battery life information of at least two Bluetooth devices;

[0008] Controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path;

[0009] Wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

[0010] On the other hand, a method for transmitting Bluetooth multimedia packets is provided. The method is executed by a Bluetooth device, and the method includes:

[0011] Based on the control of the master Bluetooth device, as the first Bluetooth device in the first chained transmission path, sending a Bluetooth multimedia packet to the second Bluetooth device;

[0012] Wherein, the first chained transmission path is determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices.

[0013] On the other hand, a transmission control device for Bluetooth multimedia packets is provided. The control device includes:

[0014] A determination module, configured to determine a first chain transmission path based on the battery life information of at least two Bluetooth devices;

[0015] A control module, configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path;

[0016] Wherein, the first Bluetooth device in the first chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

[0017] On the other hand, a transmission device for Bluetooth multimedia packets is provided. The device includes:

[0018] A transmission module, configured to send Bluetooth multimedia packets to a second Bluetooth device as the first Bluetooth device in a first chain transmission path based on the control of a master Bluetooth device;

[0019] Wherein, the first chain transmission path is determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices.

[0020] On the other hand, a transmission system for Bluetooth multimedia packets is provided. The transmission system includes: 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 battery life information of 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;

[0022] Among the at least two Bluetooth devices, the Bluetooth devices except the last one are 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.

[0023] On the other hand, a Bluetooth chip is provided. The master Bluetooth device installed with the Bluetooth chip is configured to execute the above-mentioned Bluetooth multimedia packet transmission method, or, the Bluetooth device installed with the Bluetooth chip is configured to execute the above-mentioned Bluetooth multimedia packet transmission method.

[0024] On the other hand, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and the computer program is used to be executed by a master Bluetooth device to implement the above-mentioned Bluetooth multimedia packet transmission method, or, the computer program is used to be executed by a Bluetooth device to implement the above-mentioned Bluetooth multimedia packet transmission method.

[0025] On the other hand, a computer program product is provided, which includes a computer program for being executed by a master Bluetooth device to implement the above-mentioned Bluetooth multimedia packet transmission method, or for being executed by a Bluetooth device to implement the above-mentioned Bluetooth multimedia packet transmission method.

[0026] The beneficial effects brought by the technical solution provided in the embodiments of the present application at least include:

[0027] Through the chain transmission path, the same Bluetooth multimedia packet is transmitted between the master Bluetooth device and multiple Bluetooth devices, realizing the sharing of Bluetooth multimedia packets. In the embodiments of the present application, by determining the chain transmission path based on the battery life information, the power consumption problems of different Bluetooth devices are fully considered. When the battery lives of different Bluetooth devices are inconsistent, the transmission quality of the Bluetooth multimedia packets in the chain transmission path can be ensured. Also, the total usage duration of multiple Bluetooth devices can be maximized as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0029] Figure 1 FIG. shows a schematic diagram of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment;

[0030] Figure 2 FIG. shows a schematic diagram of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment;

[0031] Figure 3 FIG. shows a schematic diagram of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment;

[0032] Figure 4 FIG. shows a schematic diagram of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment;

[0033] Figure 5 FIG. shows a block diagram of the structure of a Bluetooth multimedia packet transmission system provided by an exemplary embodiment;

[0034] Figure 6 FIG. shows a flowchart of a Bluetooth multimedia packet transmission method provided by an exemplary embodiment;

[0035] Figure 7 FIG. shows a schematic diagram of the composition of a Bluetooth multimedia packet provided by an exemplary embodiment;

[0036] Figure 8 The flowchart of the method for transmitting Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0037] Figure 9 The schematic diagram of the method for transmitting Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0038] Figure 10 The schematic diagram of the method for transmitting Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0039] Figure 11 The schematic diagram of the method for transmitting Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0040] Figure 12 The schematic diagram of the method for transmitting Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0041] Figure 13 The scenario diagram of the method for transmitting Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0042] Figure 14 The structural block diagram of the transmission control device for Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0043] Figure 15 The structural block diagram of the transmission device for Bluetooth multimedia packets provided by an exemplary embodiment is shown;

[0044] Figure 16 The structural block diagram of the master Bluetooth device provided by an exemplary embodiment is shown;

[0045] Figure 17 The structural block diagram of the Bluetooth device provided by an exemplary embodiment is shown. Detailed implementation manners

[0046] To make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0047] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of the devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0048] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a", "the", and "said" used in this application and the appended claims are also 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.

[0049] It should be understood that although the terms first, second, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to a determination".

[0050] In related solutions, a technical solution can be implemented in which a master Bluetooth device shares and plays the same Bluetooth multimedia packet with multiple (slave) Bluetooth devices. For example, a mobile phone can share and play the same song with multiple Bluetooth headsets through Bluetooth connection at the same time.

[0051] In one example, Figure 1 An exemplary solution is shown in which a mobile phone 10 transmits the same Bluetooth audio packet to 4 Bluetooth headsets. Assume that the Bluetooth transmission bandwidth is W. The mobile phone 10 uses the bandwidth W1 to send the Bluetooth audio packet to the first Bluetooth headset 21; uses the bandwidth W2 to send the Bluetooth audio packet to the second Bluetooth headset 22; uses the bandwidth W3 to send the Bluetooth audio packet to the third Bluetooth headset 23; uses the bandwidth W4 to send the Bluetooth audio packet to the fourth Bluetooth headset 24.

[0052] Figure 2 A schematic diagram of the Bluetooth audio packet transmission and playback in the above solution is shown. The mobile phone 10 decodes the sound source into Pulse Code Modulation (PCM) data, then performs Bluetooth audio encoding, and finally the Bluetooth transmission module wirelessly transmits the Bluetooth audio encoding through Bluetooth and sends it to the Bluetooth headset. The Bluetooth headset 21 receives the Bluetooth audio encoding through the Bluetooth receiving module, decodes it into PCM data, and the PCM data undergoes digital-to-analog conversion by a Digital to Analog Converter (DAC) and power amplification by an Amplifier for Power (AMP) to generate analog data, and finally the playback unit completes the playback.

[0053] During the above transmission process, W = W1 + W2 + W3 + W4; assuming that the 4 Bluetooth headsets are of the same type or have comparable transmission performance, that is, W1 = W2 = W3 = W4 = W / 4. For each Bluetooth headset, only W / 4 of the bandwidth can be enjoyed. High-quality songs such as Lossless music and High Resolution Audio (Hi-Res) have relatively high requirements for Bluetooth bandwidth, and the above exemplary solution cannot meet the transmission requirements.

[0054] Taking a stereo song with a sampling rate of 192 kHz and 24 bits as an example, the PCM rate reaches 10 Mbps. Assuming that the Bluetooth encoding compression rate is 70%, the required Bluetooth bandwidth is 7 Mbps. It is difficult to use 1 / 4 of the Bluetooth bandwidth to transmit high-quality audio. Moreover, in the above example solution, the more Bluetooth headsets need to be shared, the narrower the bandwidth occupied by each Bluetooth headset, which limits the upper limit of the number of Bluetooth headsets that can be shared by the same mobile phone 10.

[0055] In another example, Figure 3 An exemplary solution for a mobile phone 10 to transmit the same Bluetooth audio packet to 4 pairs of Bluetooth headsets is shown.

[0056] The mobile phone 10 uses a bandwidth of W / 2 to send the left-channel Bluetooth audio packet to the left-channel headset in the first pair of Bluetooth headsets 21, and uses a bandwidth of W / 2 to send the right-channel Bluetooth audio packet to the right-channel headset in the first pair of Bluetooth headsets 21. At the same time, the first pair of Bluetooth headsets 21 also play the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.

[0057] The left-channel headset in the first pair of Bluetooth headsets 21 uses a bandwidth of W / 2 to send the left-channel Bluetooth audio packet to the left-channel headset in the second pair of Bluetooth headsets 22, and the right-channel headset in the first pair of Bluetooth headsets 21 uses a bandwidth of W / 2 to send the right-channel Bluetooth audio packet to the right-channel headset in the second pair of Bluetooth headsets 22. At the same time, the second pair of Bluetooth headsets 22 also play the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.

[0058] The left-channel headset in the second pair of Bluetooth headsets 22 uses a bandwidth of W / 2 to send the left-channel Bluetooth audio packet to the left-channel headset in the third pair of Bluetooth headsets 23, and the right-channel headset in the second pair of Bluetooth headsets 22 uses a bandwidth of W / 2 to send the right-channel Bluetooth audio packet to the right-channel headset in the third pair of Bluetooth headsets 23. At the same time, the third pair of Bluetooth headsets 23 also play the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.

[0059] The left-channel earphone in the third pair of Bluetooth earphones 23 sends the left-channel Bluetooth audio packet to the left-channel earphone in the fourth pair of Bluetooth earphones 24 using a bandwidth of W / 2, and the right-channel earphone in the third pair of Bluetooth earphones 23 sends the right-channel Bluetooth audio packet to the right-channel earphone in the fourth pair of Bluetooth earphones 24 using a bandwidth of W / 2. At the same time, the fourth pair of Bluetooth earphones 24 also plays the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet.

[0060] Figure 4 FIG. shows a schematic diagram of Bluetooth audio packet transmission and playback in the above solution. The mobile phone 10 performs Bluetooth audio encoding on the PCM data provided by the sound source according to the left and right channel data respectively to obtain the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet. The Bluetooth sending component 11 in the mobile phone 10 sends the left-channel Bluetooth audio packet and the right-channel Bluetooth audio packet to the Bluetooth device.

[0061] The left-channel Bluetooth earphone 31 of the Bluetooth device includes: a left-channel Bluetooth receiving component 32, a left-channel PCM (decoding component) 33, a left-channel DAC 34, a left-channel AMP 35, a left-channel playback component 36, and a left-channel Bluetooth sending component 37. After receiving the left-channel Bluetooth audio packet, the left-channel Bluetooth receiving component 32 transmits the left-channel Bluetooth audio packet to the left-channel PCM 33, and the left-channel PCM 33 decodes the left-channel Bluetooth audio packet into left-channel PCM data; the left-channel 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. On the other hand, the left-channel Bluetooth sending component 37 also sends the left-channel Bluetooth audio packet to the next left-channel Bluetooth earphone.

[0062] The right-channel Bluetooth earphone 41 of the Bluetooth device includes: a right-channel Bluetooth receiving component 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 sending component 47. After receiving the right-channel Bluetooth audio packet, the right-channel Bluetooth receiving component 42 transmits the right-channel Bluetooth audio packet to the right-channel PCM 43, and the right-channel PCM 43 decodes the right-channel Bluetooth audio packet into right-channel PCM data; the right-channel DAC 44 converts the right-channel PCM data into a right-channel analog signal; the right-channel AMP 45 amplifies the right-channel analog signal and outputs it to the right-channel playback component 46 for playback. On the other hand, the right-channel Bluetooth sending component 47 also sends the right-channel Bluetooth audio packet to the next right-channel Bluetooth earphone.

[0063] In the above exemplary solution, the bandwidth used by the mobile phone: W = transmission bandwidth W / 2 + transmission bandwidth W / 2; the bandwidth used by the Bluetooth headset: W = reception bandwidth W / 2 + transmission bandwidth W / 2, achieving the maximum utilization of the Bluetooth bandwidth capacity and realizing a multi-headset sharing solution where high-quality audio does not experience a decline in audio quality due to Bluetooth bandwidth loss.

[0064] However, the power consumption issue of Bluetooth headsets is not considered in the above related solutions. For example, the initial battery levels of multiple pairs of Bluetooth headsets are different, resulting in different usage durations for each pair of Bluetooth headsets. Or, among the Bluetooth headsets in the chain transmission path except for the last pair, the Bluetooth headsets consume a large amount of power when forwarding Bluetooth audio packets, and there may be a problem of running out of power first. Therefore, the embodiments of the present application provide a solution that fully considers the power consumption issue of Bluetooth devices and tries to ensure the longest total usage duration of multiple Bluetooth devices.

[0065] Figure 5 The structural 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.

[0066] In this embodiment, the master Bluetooth device is denoted as master Bluetooth device 10, and the master Bluetooth device 10 is the source device that provides Bluetooth multimedia packets. The device types of the master Bluetooth device 10 include mobile phones, tablets, TVs, desktop computers, game consoles, virtual reality (VR) devices, augmented reality (AR) devices, etc. The at least two (slave) Bluetooth devices are sequentially denoted as Bluetooth device 21, Bluetooth device 22... Bluetooth device 2n. The above at least two Bluetooth devices share the Bluetooth multimedia packets from the master Bluetooth device 10 through a chain transmission path, and the Bluetooth devices in the chain transmission path are sequentially connected.

[0067] The master Bluetooth device determines a first chain transmission path based on the battery life information of at least two Bluetooth devices; controls 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 Bluetooth multimedia packets to the second Bluetooth device.

[0068] Exemplarily, in the first chain transmission path, there are multiple Bluetooth devices. The first Bluetooth device is the Bluetooth device that is in the front among any two adjacent Bluetooth devices in the first chain transmission path, and the second Bluetooth device is the Bluetooth device that is in the back among any two adjacent Bluetooth devices in the first chain transmission path. For the Bluetooth devices except for the first Bluetooth device and the last Bluetooth device, this Bluetooth device can be used as the first Bluetooth device or the second Bluetooth device.

[0069] Exemplarily, the battery life information of the Bluetooth device 21 is battery life information 1, the battery life information of the Bluetooth device 22 is battery life information 2, and so on. The battery life information of the Bluetooth device 2n is battery life information n. The master Bluetooth device 10 determines the first chain transmission path based on the battery life information 1 of the Bluetooth device 21, the battery life information 2 of the Bluetooth device 22, and the battery life information n of the Bluetooth device 2n. Each Bluetooth device in the first chain transmission path is successively: the Bluetooth device 21, the Bluetooth device 22, and the Bluetooth device 2n.

[0070] Exemplarily, in the first chain transmission path, the Bluetooth device 21 is adjacent to the Bluetooth device 22, the Bluetooth device 22 is adjacent to the Bluetooth device 23, and so on. The Bluetooth device 2n-1 is adjacent to the Bluetooth device 2n. For the Bluetooth device 21 and the Bluetooth device 22, the Bluetooth device 21 is the first Bluetooth device and the Bluetooth device 22 is the second Bluetooth device. For the Bluetooth device 22 and the Bluetooth device 23, the Bluetooth device 22 is the first Bluetooth device and the Bluetooth device 23 is the second Bluetooth device, and so on. For the Bluetooth device 2n-1 and the Bluetooth device 2n, the Bluetooth device 2n-1 is the first Bluetooth device and the Bluetooth device 2n is the second Bluetooth device.

[0071] It can be seen from this that the master Bluetooth device sends the Bluetooth multimedia packet to the Bluetooth device 21. Then, in the first chain transmission path, the Bluetooth device 21 sends the Bluetooth multimedia packet to the Bluetooth device 22, the Bluetooth device 22 sends the Bluetooth multimedia packet to the Bluetooth device 23, and so on. The Bluetooth device 2n-1 sends the Bluetooth multimedia packet to the Bluetooth device 2n.

[0072] Any Bluetooth device among at least two Bluetooth devices except the last Bluetooth device is used 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.

[0073] Exemplarily, the Bluetooth devices among at least two Bluetooth devices except the last Bluetooth device 2n are used 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.

[0074] Exemplarily, the Bluetooth device 21, based on the control of the master Bluetooth device 10, as the first Bluetooth device in the first chain transmission path, sends the Bluetooth multimedia packet to the second Bluetooth device, i.e., the Bluetooth device 22. The Bluetooth device 22, based on the control of the master Bluetooth device 10, as the first Bluetooth device in the first chain transmission path, sends the Bluetooth multimedia packet to the second Bluetooth device, i.e., the Bluetooth device 23, and so on. The Bluetooth device 2n-1, based on the control of the master Bluetooth device 10, as the first Bluetooth device in the first chain transmission path, sends the Bluetooth multimedia packet to the second Bluetooth device, i.e., the Bluetooth device 2n.

[0075] The above at least two Bluetooth devices can be Bluetooth devices of the same type, or different types, or not completely the same type. The battery life information of the above at least two Bluetooth devices can be the same, or different, or not completely the same. The battery life information can refer to battery power, battery life duration, power consumption, etc.

[0076] In different embodiments, the above chain transmission path can be understood as: chain path, chain sharing path and other synonyms. The above Bluetooth multimedia packet 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 packet, Bluetooth video packet, Bluetooth VR packet, Bluetooth VR packet, Bluetooth AR packet, Bluetooth game control packet, etc.

[0077] Figure 6 The figure shows a flowchart of a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment of the present application, and the method is described by being executed by Figure 5 the main Bluetooth device shown. The method includes:

[0078] Step 620, determining a first chain transmission path based on the battery life information of at least two Bluetooth devices.

[0079] The battery life information is information used to characterize the battery life ability of a Bluetooth device, and can refer to the power of the built-in battery of the Bluetooth device, battery capacity, battery life duration, power consumption, etc. Among them, the battery power refers to the remaining power of the built-in battery of the Bluetooth device, and the battery life duration is the duration when the remaining power is completely exhausted.

[0080] Exemplarily, the battery life information is related to aspects such as the hardware configuration, appearance design, usage volume, battery configuration, etc. of the Bluetooth device. For example, the hardware configuration can be the type and version of the Bluetooth chip in the Bluetooth device, the appearance design can be a breathing light, and the battery configuration can be the battery type and capacity, etc. Optionally, the battery life information is also related to the ambient temperature of the environment where the Bluetooth device is located.

[0081] Exemplarily, when the configurations of each aspect of the Bluetooth device are basically the same, the greater the battery power of the Bluetooth device, the stronger its battery life ability is characterized. When the configurations of each aspect of the Bluetooth device are completely different or not completely the same, the longer the battery life duration of the Bluetooth device, the stronger its battery life ability is characterized.

[0082] It should be noted that the battery life is related to various aspects such as battery power and power consumption. Generally, a Bluetooth device with a large battery capacity and low power consumption has a longer battery life, while a Bluetooth device with a small battery capacity and high power consumption has a shorter battery life. It is understandable that there may be a situation where a Bluetooth device has a large battery capacity but high power consumption, and the battery life of this Bluetooth device may be less than that of a Bluetooth device with a small battery capacity but low power consumption. In this embodiment, the length of the battery life is determined comprehensively based on the battery life information of at least two Bluetooth devices.

[0083] The master Bluetooth device and at least two Bluetooth devices transmit Bluetooth multimedia packets through a chained transmission path. The chained transmission path determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices is called the first chained transmission path.

[0084] Exemplarily, when there are two Bluetooth devices among at least two Bluetooth devices, such as Bluetooth device 1 and Bluetooth device 2, the transmission method of the Bluetooth multimedia packet can be: the master Bluetooth device first sends the Bluetooth multimedia packet to Bluetooth device 1, and then Bluetooth device 1 sends the Bluetooth multimedia packet to Bluetooth device 2. Then, the order of each Bluetooth device in the corresponding first chained transmission path is: Bluetooth device 1, Bluetooth device 2.

[0085] Or, the transmission method of the Bluetooth multimedia packet can be: the master Bluetooth device first sends the Bluetooth multimedia packet to Bluetooth device 2, and then Bluetooth device 2 sends the Bluetooth multimedia packet to Bluetooth device 1. Then, the order of each Bluetooth device in the corresponding first chained transmission path is: Bluetooth device 2, Bluetooth device 1.

[0086] Then, the master Bluetooth device can determine the first chained transmission path according to the battery life information of Bluetooth device 1 and the battery life information of Bluetooth device 2. In this embodiment, the battery life information mainly refers to the battery power or the battery life.

[0087] Step 640, control at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path; wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

[0088] After determining the first chained transmission path, the master Bluetooth device can control at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path; wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

[0089] Exemplarily, a plurality of Bluetooth devices are included in the first chained transmission path. The first Bluetooth device is the Bluetooth device that comes first among any two adjacent Bluetooth devices in the first chained transmission path, and the second Bluetooth device is the Bluetooth device that comes second among any two adjacent Bluetooth devices in the first chained transmission path. For Bluetooth devices other than the first Bluetooth device and the last Bluetooth device, this Bluetooth device can act as the first Bluetooth device or the second Bluetooth device.

[0090] Exemplarily, for a certain Bluetooth device among at least two Bluetooth devices, this Bluetooth device can receive the Bluetooth multimedia packet sent by the master Bluetooth device on the first chained transmission path, or this Bluetooth device can receive the Bluetooth multimedia packet sent by other Bluetooth devices on the first chained transmission path that are before this Bluetooth device.

[0091] Exemplarily, in the first chained transmission path of this embodiment, unicast communication is performed between the first Bluetooth device and the second Bluetooth device based on the Bluetooth technology. The above-mentioned Bluetooth multimedia packet also supports a retransmission mechanism during transmission to ensure the transmission quality.

[0092] Optionally, when the Bluetooth device is the last Bluetooth device in the first chained transmission path, the master Bluetooth device may not perform the step of controlling this Bluetooth device to continue sending the Bluetooth multimedia packet.

[0093] In summary, the method provided by the embodiment of the present application realizes the transmission of the same Bluetooth multimedia packet from the master Bluetooth device among multiple Bluetooth devices through the chained transmission path, and realizes the sharing of the Bluetooth multimedia packet. The chained transmission path in the embodiment of the present application is determined based on the battery life information of the Bluetooth devices. Accordingly, fully considering the power consumption problems of different Bluetooth devices, it is possible to ensure that the total usage duration of multiple Bluetooth devices in the chained transmission path is the longest as much as possible.

[0094] In an example of the present application, the battery life information may be the battery power; the first battery power in the first chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device.

[0095] Exemplarily, the first chained transmission path is determined based on the descending order of the battery powers of at least two Bluetooth devices. According to the position of the Bluetooth device in the first chained transmission path, when the Bluetooth device acts as the first Bluetooth device, the battery power of this Bluetooth device can be used as the first battery power, and when the Bluetooth device acts as the second Bluetooth device, the battery power of this Bluetooth device can also be used as the second battery power.

[0096] For example, when the order of each Bluetooth device in the first chain transmission path is: Bluetooth device 1, Bluetooth device 2. Then the power of Bluetooth device 1 is the first power, and the power of Bluetooth device 2 is the second power, and the first power is greater than or equal to the second power. When the order of each Bluetooth device in the first chain transmission path is: Bluetooth device 1, Bluetooth device 2, Bluetooth device 3. For Bluetooth device 1 and Bluetooth device 2, the power of Bluetooth device 1 is the first power, and the power of Bluetooth device 2 is the second power. For Bluetooth device 2 and Bluetooth device 3, the power of Bluetooth device 2 is the first power, and the power of Bluetooth device 3 is the second power, and the first power is greater than or equal to the second power.

[0097] In another example of the present application, the battery life information may be the battery life duration; the first battery life duration in the first chain transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

[0098] Exemplarily, the first chain transmission path is determined based on the descending order of the battery life durations of at least two Bluetooth devices. According to the position of the Bluetooth device in the first chain transmission path, when the Bluetooth device is the first Bluetooth device, the battery life duration of the Bluetooth device can be used as the first battery life duration, and when the Bluetooth device is the second Bluetooth device, the battery life duration of the Bluetooth device can also be used as the second battery life duration.

[0099] For example, when the order of each Bluetooth device in the first chain transmission path is: Bluetooth device 1, Bluetooth device 2. Then the battery life duration of Bluetooth device 1 is the first battery life duration, and the battery life duration of Bluetooth device 2 is the second battery life duration, and the first battery life duration is greater than or equal to the second battery life duration. When the order of each Bluetooth device in the first chain transmission path is: Bluetooth device 1, Bluetooth device 2, Bluetooth device 3. For Bluetooth device 1 and Bluetooth device 2, the battery life duration of Bluetooth device 1 is the first battery life duration, and the battery life duration of Bluetooth device 2 is the second battery life duration. For Bluetooth device 2 and Bluetooth device 3, the battery life duration of Bluetooth device 2 is the first battery life duration, and the battery life duration of Bluetooth device 3 is the second battery life duration, and the first battery life duration is greater than or equal to the second battery life duration.

[0100] In this embodiment, when the first power in the first chain transmission path is greater than or equal to the second power, or the first battery life is greater than or equal to the second battery life, the Bluetooth device with strong battery life can be arranged in front of the first chain transmission path, and the Bluetooth device with weak battery life can be arranged behind the first chain transmission path. Considering the power consumption problem of Bluetooth devices, when a Bluetooth device exits the chain transmission path due to insufficient battery life, it can be the Bluetooth device arranged behind that exits first, minimizing the impact on other Bluetooth devices caused by the exit of a certain Bluetooth device, ensuring the transmission quality of Bluetooth multimedia packets in the first chain transmission path, and maximizing the total usage duration of multiple Bluetooth devices as much as possible.

[0101] In an example of the present application, the master Bluetooth device needs to obtain the battery life information of each of at least two Bluetooth devices before it can determine the first chain transmission path based on the battery life information of the at least two Bluetooth devices. The method further includes: obtaining the battery life information of each of the at least two Bluetooth devices.

[0102] Exemplarily, the master Bluetooth device can obtain the battery life information of each of the at least two Bluetooth devices through various methods. Further, based on the battery life information of each of the at least two Bluetooth devices, the first chain transmission path is determined.

[0103] In this embodiment, by obtaining the battery life information of each of the at least two Bluetooth devices, the accuracy of the subsequently determined first chain transmission path can be improved.

[0104] In a possible implementation manner, obtaining the battery life information of each of the at least two Bluetooth devices includes: receiving the battery life information reported by each of the at least two Bluetooth devices.

[0105] Exemplarily, each Bluetooth device can report the battery life information to the master Bluetooth device. The reporting timing can be one of periodic reporting or event-triggered reporting, and the reporting method can be at least one of direct reporting or relay reporting. The specific reporting timing and reporting method can be combined according to actual technical needs and are not limited herein.

[0106] Exemplarily, periodic reporting can be performed at a predetermined time period. Event-triggered reporting can be triggered when a new Bluetooth device joins or a Bluetooth device exits during the Bluetooth communication process. The specific event can be set according to actual technical needs.

[0107] Exemplarily, direct reporting means that each Bluetooth device directly communicates with the master Bluetooth device to report the battery life information to the master Bluetooth device. Relay reporting means that the first Bluetooth device (or the second Bluetooth device) communicates with the relay Bluetooth device to report the battery life information to the relay Bluetooth device, and the relay Bluetooth device reports the battery life information of the first Bluetooth device (or the second Bluetooth device) to the master Bluetooth device. Among them, the relay Bluetooth device can be at least one Bluetooth device within the communication range of the first Bluetooth device (or the second Bluetooth device). Accordingly, the master Bluetooth device can receive the battery life information directly reported or relayed by each of at least two Bluetooth devices.

[0108] Exemplarily, each Bluetooth device can determine one of the reporting methods by itself, or use both reporting methods simultaneously. The reporting methods of each Bluetooth device can be the same or different, as long as it is ensured that the master Bluetooth device can receive the battery life information of each of at least two Bluetooth devices.

[0109] For example, each of at least two Bluetooth devices performs direct reporting. Or, some of the at least two Bluetooth devices perform direct reporting, and the other part performs relay reporting. Or, some of the at least two Bluetooth devices perform both direct reporting and relay reporting simultaneously, and the other part performs direct reporting or relay reporting.

[0110] For example, assume that there are three Bluetooth devices among at least two Bluetooth devices, such as Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3. Then the master Bluetooth device needs to obtain the battery life information 1 of Bluetooth device 1, the battery life information 2 of Bluetooth device 2, and the battery life information 3 of Bluetooth device 3.

[0111] In the case where each of at least two Bluetooth devices performs direct reporting, it can be that Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3 directly report the battery life information 1, battery life information 2, and battery life information 3 to the master Bluetooth device respectively. Accordingly, the master Bluetooth device can obtain the battery life information 1 of Bluetooth device 1, the battery life information 2 of Bluetooth device 2, and the battery life information 3 of Bluetooth device 3.

[0112] In the case where some of at least two Bluetooth devices perform direct reporting and the other part of the Bluetooth devices perform relay reporting, assuming that the relay Bluetooth device is Bluetooth device 2, it can be that Bluetooth device 1 reports battery life information 1 to Bluetooth device 2, and Bluetooth device 2 reports battery life information 1 and battery life information 2 to the master Bluetooth device, and Bluetooth device 3 directly reports battery life information 3 to the master Bluetooth device. It can also be that Bluetooth device 1 and Bluetooth device 3 report battery life information 1 and battery life information 3 to Bluetooth device 2, and Bluetooth device 2 reports battery life information 1, battery life information 3, and battery life information 2 to the master Bluetooth device. It can also be that Bluetooth device 1 directly reports battery life information 1 to the master Bluetooth device, Bluetooth device 3 reports battery life information 3 to Bluetooth device 2, and Bluetooth device 2 reports battery life information 3 and battery life information 2 to the master Bluetooth device. Accordingly, the master Bluetooth device can receive battery life information 1 of Bluetooth device 1, battery life information 2 of Bluetooth device 2, and battery life information 3 of Bluetooth device 3.

[0113] In the case where some of at least two Bluetooth devices perform direct reporting and relay reporting simultaneously, and the other part of the Bluetooth devices perform direct reporting, assuming that Bluetooth device 1 performs direct reporting and relay reporting simultaneously and the relay Bluetooth device is Bluetooth device 2, it can be that Bluetooth device 1 reports battery life information 1 to Bluetooth device 2, and Bluetooth device 1 also directly reports battery life information 1 to the master Bluetooth device, and Bluetooth device 2 reports battery life information 1 and battery life information 2 to the master Bluetooth device, and Bluetooth device 3 directly reports battery life information 3 to the master Bluetooth device. Accordingly, the master Bluetooth device can receive two copies of battery life information 1 of Bluetooth device 1, battery life information 2 of Bluetooth device 2, and battery life information 3 of Bluetooth device 3. Thus, the master Bluetooth device can determine the final battery life information 1 of Bluetooth device 1 by comparing the information content of the two copies of battery life information 1 or by calculating the average value of the two copies of battery life information 1, etc., to further ensure the accuracy of battery life information 1.

[0114] In the case where some of at least two Bluetooth devices perform direct reporting and relay reporting simultaneously, and the other part of the Bluetooth devices perform relay reporting, assuming that Bluetooth device 1 performs direct reporting and relay reporting simultaneously and the relay Bluetooth device is Bluetooth device 2, it can be that Bluetooth device 1 and Bluetooth device 3 report battery life information 1 and battery life information 3 to Bluetooth device 2, and Bluetooth device 1 also directly reports battery life information 1 to the master Bluetooth device. Bluetooth device 2 reports battery life information 1, battery life information 3, and battery life information 2 to the master Bluetooth device. Accordingly, the master Bluetooth device can receive two copies of battery life information 1 of Bluetooth device 1, battery life information 2 of Bluetooth device 2, and battery life information 3 of Bluetooth device 3. Thus, the master Bluetooth device can determine the final battery life information 1 of Bluetooth device 1 by comparing the information content of the two copies of battery life information 1 or by calculating the average value of the two copies of battery life information 1, etc., to further ensure the accuracy of battery life information 1.

[0115] In this embodiment, the master Bluetooth device receives the battery life information reported by each of at least two Bluetooth devices, which can improve the accuracy of determining the battery life information and the efficiency of the master Bluetooth device in obtaining the battery life information.

[0116] In another possible implementation, obtaining the battery life information of each of at least two Bluetooth devices includes at least one of the following steps:

[0117] Receiving the power information of the charging case of at least one Bluetooth device among at least two Bluetooth devices, and determining the battery life information of at least one Bluetooth device based on the power information of the charging case;

[0118] Receiving the power information of the built-in battery of at least one Bluetooth device among at least two Bluetooth devices, and determining the battery life information of at least one Bluetooth device based on the power information of the built-in battery.

[0119] Exemplarily, the charging case is a device for charging a Bluetooth device. When the Bluetooth device is placed in the charging case and the charging case has power, it can directly charge the Bluetooth device, or connect a data cable to the charging case to charge the Bluetooth device. When the Bluetooth device is fully charged, the charging case automatically cuts off the power. The power information of the charging case can refer to the charging duration, charging power for charging the Bluetooth device, or the remaining power of the charging case, etc.

[0120] Exemplarily, each Bluetooth device may have its corresponding charging case, or multiple Bluetooth devices may share the same charging case. The charging case can be communicatively connected to the master Bluetooth device to send the power information of the charging case to the master Bluetooth device. The way the charging case sends the power information to the master Bluetooth device is the same as the principle of the way the Bluetooth device reports the battery life information to the master Bluetooth device in the above embodiment, and the sending timing can also be one of periodic reporting or event-triggered reporting, and the sending method can also be at least one of direct reporting or relay reporting. The specific sending timing and sending method can be combined according to actual technical needs, or be consistent with the Bluetooth device, and are not limited here. Thus, the master Bluetooth device can receive the power information of the charging case of at least one Bluetooth device among at least two Bluetooth devices, and determine the battery life information of at least one Bluetooth device based on the power information of the charging case.

[0121] Exemplarily, the battery of the Bluetooth device is a built-in battery, which provides power support for the Bluetooth device after the Bluetooth device is started. The power information of the built-in battery can refer to the remaining power, and the Bluetooth device can report the power information of the built-in battery. Thus, the master Bluetooth device can receive the power information of the built-in battery of at least one Bluetooth device among at least two Bluetooth devices, and determine the battery life information of at least one Bluetooth device based on the power information of the built-in battery.

[0122] In this embodiment, the battery life information of each Bluetooth device is determined by the Bluetooth device itself and can be determined in multiple ways, thereby improving the determination efficiency and feasibility of the battery life information.

[0123] In an example of the present application, in combination with the actual technical scenario, during the transmission of Bluetooth multimedia packets, the number and types of Bluetooth devices communicating with the master Bluetooth device are variable. For example, during the Bluetooth communication between the master Bluetooth device and a Bluetooth device, a new Bluetooth device joins or a Bluetooth device exits, etc., so that the chained transmission path is also variable. Then the method may further include:

[0124] When the battery life information of the first Bluetooth device and the second Bluetooth device in the first chained transmission path is the same and the forwarding state of the first Bluetooth device reaches the condition, determine the second chained transmission path based on the updated battery life information of at least two Bluetooth devices, and the second chained transmission path is different from the first chained transmission path; the forwarding state refers to the duration and / or the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets to the second Bluetooth device;

[0125] Control at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chained transmission path; wherein, the first Bluetooth device in the second chained transmission path sends Bluetooth multimedia packets to the second Bluetooth device.

[0126] Exemplarily, when the battery life information of the first Bluetooth device and the second Bluetooth device in the first chained transmission path is the same, it may mean that their battery powers are the same, or it may also mean that their battery life durations are the same. Here, it can be consistent with the specific battery life information used to determine the first chained transmission path.

[0127] Exemplarily, since it is the first Bluetooth device that sends Bluetooth multimedia packets to the second Bluetooth device in the first chained transmission path, the role of the first Bluetooth device is to forward or relay, and the main parameters involved in the forwarding process can be the forwarding duration or the number of Bluetooth multimedia packets forwarded. Therefore, the forwarding state refers to the duration and / or the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets to the second Bluetooth device.

[0128] Exemplarily, the condition that the forwarding state needs to reach corresponds to the specific forwarding state. For example, when the forwarding state refers to the duration of the first Bluetooth device forwarding Bluetooth multimedia packets to the second Bluetooth device, the condition can be a duration-based condition. When the forwarding state refers to the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets to the second Bluetooth device, the condition can be a packet-number-based condition. When the forwarding state refers to both the duration and the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets to the second Bluetooth device, the condition includes both a duration-based condition and a packet-number-based condition.

[0129] Exemplarily, the updated battery life information refers to the current battery life information of each of at least two Bluetooth devices when the forwarding state of the first Bluetooth device reaches a condition. Thus, when the battery life information of the first Bluetooth device and the second Bluetooth device in the first chain transmission path is the same and the forwarding state of the first Bluetooth device reaches the condition, the second chain transmission path is determined based on the updated battery life information of at least two Bluetooth devices. It can be understood that the second chain transmission path is different from the first chain transmission path.

[0130] For example, when there are three Bluetooth devices among at least two Bluetooth devices, such as Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3, 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 2, and Bluetooth device 2 then sends the Bluetooth multimedia packet to Bluetooth device 3, that is, the Bluetooth devices in the first chain transmission path are in sequence: Bluetooth device 1, Bluetooth device 2, Bluetooth device 3. Assuming that the battery life information of Bluetooth device 1 and Bluetooth device 2 is the same, then when the forwarding state of Bluetooth device 1 reaches the condition, the second chain transmission path can be determined based on the updated battery life information of at least two Bluetooth devices. The second chain transmission path is different from the first chain transmission path.

[0131] Exemplarily, after determining the second chain transmission path, the master Bluetooth device can control at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path. Among them, the first Bluetooth device in the second chain transmission path sends a Bluetooth multimedia packet to the second Bluetooth device.

[0132] It should be noted that the principle of the master Bluetooth device controlling at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path is the same as that of the master Bluetooth device controlling at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chain transmission path, and will not be elaborated here.

[0133] In this embodiment, by re-determining the chain transmission path based on the updated battery life information when a certain condition is reached, the real-time dynamic adjustment of the chain transmission path can be realized, the accuracy of the chain transmission path can always be ensured, and the transmission quality of Bluetooth multimedia packets in the chain transmission path can be guaranteed as much as possible.

[0134] In a possible implementation manner of the present application, the forwarding state of the above-mentioned first Bluetooth device reaching the condition may be that the forwarding state of the first Bluetooth device reaches at least one of the following conditions:

[0135] The duration of the first Bluetooth device forwarding the Bluetooth multimedia packet reaches a duration threshold;

[0136] The number of packets of the first Bluetooth device forwarding the Bluetooth multimedia packet reaches a packet number threshold;

[0137] Among them, the duration threshold is preset, or determined based on the transmission bandwidth, or determined based on the battery life information; the packet number threshold is preset, or determined based on the transmission bandwidth, or determined based on the battery life information.

[0138] Exemplarily, the duration for which the first Bluetooth device forwards Bluetooth multimedia packets reaches the duration threshold, and the duration threshold can be set according to actual technical requirements. Among them, the duration threshold can be preset, or determined based on the transmission bandwidth, or determined based on the battery life information.

[0139] For example, according to the types, hardware configurations, battery configurations, etc. of the master Bluetooth device and at least two Bluetooth devices, the duration threshold for the first Bluetooth device to forward Bluetooth multimedia packets can be preset. Thus, when the duration for which the first Bluetooth device forwards Bluetooth multimedia packets reaches the duration threshold, it is determined that the forwarding state of the first Bluetooth device meets the condition.

[0140] For example, according to the transmission bandwidths of the master Bluetooth device and at least two Bluetooth devices, the duration threshold for the first Bluetooth device to forward Bluetooth multimedia packets can be determined. The transmission bandwidth can be the transmission bandwidth supported by the master Bluetooth device and at least two Bluetooth devices respectively, or the transmission bandwidth between the master Bluetooth device and each of the at least two Bluetooth devices during the transmission of Bluetooth multimedia packets, or the transmission bandwidth between any two of the at least two Bluetooth devices. The magnitude of the transmission bandwidth is associated with the magnitude of the duration threshold. Specifically, a larger transmission bandwidth corresponds to a larger duration threshold, or a smaller transmission bandwidth corresponds to a smaller duration threshold, which needs to be specifically determined in combination with actual technical requirements. Thus, when the duration for which the first Bluetooth device forwards Bluetooth multimedia packets reaches the duration threshold, it is determined that the forwarding state of the first Bluetooth device meets the condition.

[0141] For example, according to the battery life information of at least two Bluetooth devices, the duration threshold for the first Bluetooth device to forward Bluetooth multimedia packets can be determined. Generally, taking the battery life information as the battery power, a larger battery power corresponds to a larger duration threshold, or taking the battery life information as the battery life duration, a longer battery life duration corresponds to a larger duration threshold. Thus, when the duration for which the first Bluetooth device forwards Bluetooth multimedia packets reaches the duration threshold, it is determined that the forwarding state of the first Bluetooth device meets the condition.

[0142] Exemplarily, the number of packets for which the first Bluetooth device forwards Bluetooth multimedia packets reaches the packet number threshold, and the packet number threshold can be set according to actual technical requirements. Among them, the packet number threshold can be preset, or determined based on the transmission bandwidth, or determined based on the battery life information.

[0143] For example, according to the types, hardware configurations, battery configurations, etc. of the master Bluetooth device and at least two Bluetooth devices, a packet number threshold for the first Bluetooth device to forward Bluetooth multimedia packets can be preset. Thus, when the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets reaches the packet number threshold, it is determined that the forwarding state of the first Bluetooth device reaches the condition.

[0144] For example, according to the transmission bandwidths of the master Bluetooth device and at least two Bluetooth devices, the packet number threshold for the first Bluetooth device to forward Bluetooth multimedia packets can be determined. The transmission bandwidth can be the transmission bandwidth supported by the master Bluetooth device and at least two Bluetooth devices respectively, or the transmission bandwidth between the master Bluetooth device and each of the at least two Bluetooth devices during the transmission of Bluetooth multimedia packets, or the transmission bandwidth between any two of the at least two Bluetooth devices. The size of the transmission bandwidth is associated with the size of the packet number threshold. Specifically, a larger transmission bandwidth corresponds to a larger packet number threshold, or a smaller transmission bandwidth corresponds to a smaller packet number threshold, which needs to be specifically determined according to actual technical requirements. Thus, when the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets reaches the duration threshold, it is determined that the forwarding state of the first Bluetooth device reaches the condition.

[0145] For example, according to the battery life information of at least two Bluetooth devices, the packet number threshold for the first Bluetooth device to forward Bluetooth multimedia packets can be determined. Generally, taking the battery life information as the battery level, a larger battery level corresponds to a larger packet number threshold, or taking the battery life information as the battery life duration, a longer battery life duration corresponds to a larger packet number threshold. Thus, when the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets reaches the packet number threshold, it is determined that the forwarding state of the first Bluetooth device reaches the condition.

[0146] In this embodiment, by setting various conditions that the forwarding state of the first Bluetooth device can reach, the accuracy of determining whether the forwarding state of the first Bluetooth device reaches the condition can be improved.

[0147] In an example of the present application, consistent with the first chained transmission path, the updated battery life information includes the battery level; the first battery level in the second chained transmission path is greater than or equal to the second battery level; the first battery level refers to the battery level of the first Bluetooth device; the second battery level refers to the battery level of the second Bluetooth device.

[0148] Exemplarily, the second chained transmission path is determined based on the descending order of the battery levels of at least two Bluetooth devices. According to the position of the Bluetooth device in the second chained transmission path, when the Bluetooth device is used as the first Bluetooth device, the battery level of the Bluetooth device can be used as the first battery level, and when the Bluetooth device is used as the second Bluetooth device, the battery level of the Bluetooth device can also be used as the second battery level.

[0149] For example, when the order of the Bluetooth devices in the second chained transmission path is: Bluetooth device 1, Bluetooth device 2. Then the power of Bluetooth device 1 is the first power, and the power of Bluetooth device 2 is the second power, and the first power is greater than or equal to the second power. When the order of the Bluetooth devices in the second chained transmission path is: Bluetooth device 1, Bluetooth device 2, Bluetooth device 3. For Bluetooth device 1 and Bluetooth device 2, the power of Bluetooth device 1 is the first power, and the power of Bluetooth device 2 is the second power. For Bluetooth device 2 and Bluetooth device 3, the power of Bluetooth device 2 is the first power, and the power of Bluetooth device 3 is the second power, and the first power is greater than or equal to the second power.

[0150] In another example of the present application, consistent with the first chained transmission path, the updated battery life information includes the battery life duration; the first battery life duration in the second chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

[0151] Exemplarily, the second chained transmission path is determined based on the descending order of the battery life durations of at least two Bluetooth devices. According to the position of the Bluetooth device in the second chained transmission path, when the Bluetooth device is the first Bluetooth device, the battery life duration of the Bluetooth device can be used as the first battery life duration, and when the Bluetooth device is the second Bluetooth device, the battery life duration of the Bluetooth device can also be used as the second battery life duration.

[0152] For example, when the order of the Bluetooth devices in the second chained transmission path is: Bluetooth device 1, Bluetooth device 2. Then the battery life duration of Bluetooth device 1 is the first battery life duration, and the battery life duration of Bluetooth device 2 is the second battery life duration, and the first battery life duration is greater than or equal to the second battery life duration. When the order of the Bluetooth devices in the second chained transmission path is: Bluetooth device 1, Bluetooth device 2, Bluetooth device 3. For Bluetooth device 1 and Bluetooth device 2, the battery life duration of Bluetooth device 1 is the first battery life duration, and the battery life duration of Bluetooth device 2 is the second battery life duration. For Bluetooth device 2 and Bluetooth device 3, the battery life duration of Bluetooth device 2 is the first battery life duration, and the battery life duration of Bluetooth device 3 is the second battery life duration, and the first battery life duration is greater than or equal to the second battery life duration.

[0153] In this embodiment, by determining the second chained transmission path in a manner consistent with the first chained transmission path, the accuracy and consistency of the data transmission of Bluetooth multimedia packets in the same transmission system can be ensured, fully considering the inconsistent battery life of different Bluetooth devices, and the transmission quality can be ensured as much as possible.

[0154] In one example, since the first chained transmission path and the second chained transmission path are involved in the transmission of the Bluetooth multimedia packet, and the first chained transmission path is different from the second chained transmission path, it may cause the problem of time asynchronization of the Bluetooth multimedia packet. To solve the above problem, the method further includes:

[0155] Generate a Bluetooth multimedia packet carrying a serial number, where the serial number is used to indicate the order of the Bluetooth multimedia packet among multiple Bluetooth multimedia packets.

[0156] Exemplarily, please refer to Figure 7 , the Bluetooth multimedia packet may include a packet header and a packet body. The serial number may be set in the packet header of the Bluetooth multimedia packet, and the serial number can be used to indicate the order of the Bluetooth multimedia packet among multiple Bluetooth multimedia packets. The serial number may be a combination of at least one or more of numbers, letters, symbols, or other characters that can uniquely indicate the order of the Bluetooth multimedia packet among multiple Bluetooth multimedia packets.

[0157] In one possible implementation, the master Bluetooth device may generate a Bluetooth multimedia packet carrying a serial number based on the time sequence of the Bluetooth multimedia packets, and the serial number is a time serial number. For example, if the master Bluetooth device incorporates the time serial number 100 corresponding to a certain moment into the Bluetooth multimedia packet, then the time serial number of the next Bluetooth multimedia packet is 101. Store the time serial number in the time serial number bit of the packet header of the Bluetooth multimedia packet.

[0158] Exemplarily, the timing for the master Bluetooth device to generate a Bluetooth multimedia packet carrying a serial number may be to generate multiple Bluetooth multimedia packets carrying serial numbers before the transmission of all Bluetooth multimedia packets; it may also be to generate the next Bluetooth multimedia packet carrying a serial number after the transmission of the previous Bluetooth multimedia packet.

[0159] In this embodiment, by generating a Bluetooth multimedia packet carrying a serial number, it is possible to ensure the time synchronization of the Bluetooth multimedia packet during the transmission process and ensure the correct order of the original code stream.

[0160] In one example, to facilitate determining the content integrity of the Bluetooth multimedia packet, the method further includes:

[0161] Generate a Bluetooth multimedia packet carrying a check code, where the check code is used to check the content of the Bluetooth multimedia packet.

[0162] Exemplarily, please continue to refer to Figure 7, The Bluetooth multimedia packet may include a packet header and a packet body. The check code may be set in the packet header of the Bluetooth multimedia packet, and the check code can be used to verify the content of the Bluetooth multimedia packet. The check code may be a combination of at least one or more of numbers, letters, symbols, or other characters that can uniquely represent the integrity of the content of the Bluetooth multimedia packet.

[0163] In a possible implementation, for each Bluetooth multimedia packet, the master Bluetooth device can perform an exclusive OR calculation on the next bit value (8 bits) starting from the first bit value until the time sequence number of the Bluetooth multimedia packet is involved in the calculation to obtain the check code value, and store the check code value in the packet header check code bit of the Bluetooth multimedia packet.

[0164] Exemplarily, the timing for the master Bluetooth device to generate a Bluetooth multimedia packet carrying a check code can be to generate multiple Bluetooth multimedia packets carrying check codes before all Bluetooth multimedia packets are transmitted; or it can be to generate the next Bluetooth multimedia packet carrying a check code after the previous Bluetooth multimedia packet is transmitted.

[0165] In this embodiment, by generating a Bluetooth multimedia packet carrying a check code, it is convenient to verify the Bluetooth multimedia packet and ensure the integrity of the content of the Bluetooth multimedia packet.

[0166] In one embodiment, the method further includes: playing the Bluetooth multimedia packet.

[0167] Optionally, the master Bluetooth device may not play any Bluetooth multimedia packet and only perform the transmission of the Bluetooth multimedia packet; or play a part of the Bluetooth multimedia packets, such as the Bluetooth multimedia packets marked as needing to be played by itself; or play all the Bluetooth multimedia packets. The Bluetooth multimedia packets played by the master Bluetooth device can be determined according to specific implementations and will not be elaborated here.

[0168] In this embodiment, the master Bluetooth device can also play the Bluetooth multimedia packet according to the actual situation, which can effectively improve the user experience.

[0169] In an example of the present application, each of at least two Bluetooth devices includes at least two Bluetooth components. For example, if the Bluetooth device is a TWS Bluetooth headset, then the Bluetooth device includes two Bluetooth components, namely the left-channel Bluetooth headset and the right-channel Bluetooth headset. If the Bluetooth device is a Bluetooth game controller, then the Bluetooth device may include two or more Bluetooth game controller components.

[0170] Exemplarily, when each of at least two Bluetooth devices includes at least two Bluetooth components, the battery life information of at least two Bluetooth devices may refer to the sum of the sub-battery life information of each Bluetooth component among at least two Bluetooth components.

[0171] For example, the battery life information includes the battery power. The battery power of the Bluetooth headset is the sum of the sub - battery power of the left - channel Bluetooth headset and the sub - battery power of the right - channel Bluetooth headset. Or, the battery life information includes the battery life duration. The battery life duration of the Bluetooth headset is the sum of the sub - battery life duration of the left - channel Bluetooth headset and the sub - battery life duration of the right - channel Bluetooth headset.

[0172] Exemplarily, the battery life information of at least two Bluetooth devices may also refer to the minimum sub - battery life information among the sub - battery life information of each Bluetooth component in at least two Bluetooth components.

[0173] For example, the battery life information includes the battery power. The sub - battery power of the left - channel Bluetooth headset of the Bluetooth headset is greater than the sub - battery power of the right - channel Bluetooth headset, that is, the battery power of the right - channel Bluetooth headset is smaller. Then, it is determined that the battery power of the Bluetooth headset is the sub - battery power of the right - channel Bluetooth headset. Or, the battery life information includes the battery life duration. The sub - battery life duration of the left - channel Bluetooth headset of the Bluetooth headset is greater than the sub - battery life duration of the right - channel Bluetooth headset, that is, the battery life duration of the right - channel Bluetooth headset is shorter. Then, it is determined that the battery life duration of the Bluetooth headset is the sub - battery life duration of the right - channel Bluetooth headset.

[0174] In this embodiment, through the above two methods for determining the battery life information, the battery life information of at least two Bluetooth devices can be determined more accurately, thereby improving the accuracy of the determined chain - type transmission path.

[0175] It should also be noted that when each of at least two Bluetooth devices includes at least two Bluetooth components, the implementation manner of the solution of the embodiment of the present application may be:

[0176] The master Bluetooth device determines the first chain - type transmission path based on the battery life information of at least two Bluetooth devices; controls the first Bluetooth component in at least two Bluetooth devices to transmit the first Bluetooth multimedia packet according to the first chain - type transmission path, and controls the second Bluetooth component in at least two Bluetooth devices to transmit the second Bluetooth multimedia packet according to the first chain - type transmission path.

[0177] Among them, the first Bluetooth component of the first Bluetooth device in the first chain - type transmission path sends the first Bluetooth multimedia packet to the first Bluetooth component of the second Bluetooth device, and the second Bluetooth component of the first Bluetooth device in the first chain - type transmission path sends the second Bluetooth multimedia packet to the second Bluetooth component of the second Bluetooth device.

[0178] Optionally, the first Bluetooth multimedia packet and the second Bluetooth multimedia packet use unicast communication during transmission. The above - mentioned first Bluetooth multimedia packet and second Bluetooth multimedia packet also support a re - transmission mechanism during transmission to ensure the transmission quality.

[0179] Exemplarily, taking the Bluetooth device as a TWS Bluetooth headset, after determining the first chained transmission path based on the battery life information of the TWS Bluetooth headset, control the left-channel Bluetooth headset of the TWS Bluetooth headset to transmit the left-channel Bluetooth multimedia packet according to the first chained transmission path, and control the right-channel Bluetooth headset to transmit the right-channel Bluetooth multimedia packet according to the first chained transmission path.

[0180] In this embodiment, when each of at least two Bluetooth devices includes at least two Bluetooth components, transmitting the Bluetooth multimedia packet based on each Bluetooth component respectively can achieve targeted transmission, and can also make the transmission process of the Bluetooth multimedia packet more independent. When an error occurs in the transmission of the Bluetooth multimedia packet of one Bluetooth component, it does not affect the transmission of the Bluetooth multimedia packet of another Bluetooth component, which can improve the user experience to a certain extent.

[0181] Figure 8 The following shows a flowchart of a method for transmitting a Bluetooth multimedia packet provided by an exemplary embodiment of the present application, which is described by the (from) Bluetooth device shown as follows. The method includes: Figure 5 as shown.

[0182] Step 820, based on the control of the master Bluetooth device, send a Bluetooth multimedia packet from the first Bluetooth device in the first chained transmission path to the second Bluetooth device; wherein, the first chained transmission path is determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices.

[0183] Exemplarily, after the master Bluetooth device determines the first chained transmission path based on the battery life information of at least two Bluetooth devices, it can control the transmission of the Bluetooth multimedia packet of the Bluetooth device. Specifically, based on the control of the master Bluetooth device, the Bluetooth device sends a Bluetooth multimedia packet from the first Bluetooth device in the first chained transmission path to the second Bluetooth device.

[0184] In some embodiments, the master Bluetooth device establishes a control link with each of at least two Bluetooth devices, and this 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 chained transmission path, the serial number of the Bluetooth multimedia packet, the feedback information of the Bluetooth multimedia packet, the initial transmission / retransmission information of the Bluetooth multimedia packet, etc. Thus, the master Bluetooth device can achieve control over the Bluetooth device based on the control link.

[0185] In summary, the method provided in this embodiment can realize the transmission of the same Bluetooth multimedia packet among multiple Bluetooth devices based on the control of the master Bluetooth device, thus achieving the sharing of Bluetooth multimedia packets. The method for determining the chained transmission path in the embodiments of the present application also fully considers the inconsistent battery life of different Bluetooth devices, which can ensure the transmission quality of Bluetooth multimedia packets in the chained transmission path and can also ensure that the total usage time of multiple Bluetooth devices is maximized as much as possible.

[0186] In one example, the master Bluetooth device can receive the battery life information reported by each of at least two Bluetooth devices. For a Bluetooth device, the method further includes: reporting the battery life information of the first Bluetooth device to the master Bluetooth device. And / or, reporting the battery life information of the second Bluetooth device to the master Bluetooth device.

[0187] Exemplarily, the Bluetooth device can be used as the first Bluetooth device in the first chained transmission path and report the battery life information of the first Bluetooth device to the master Bluetooth device, corresponding to the case where the Bluetooth device directly reports the battery life information. Or, the Bluetooth device can be used as the first Bluetooth device in the first chained transmission path and report the battery life information of the second Bluetooth device to the master Bluetooth device. At this time, the first Bluetooth device can also be referred to as a relay Bluetooth device, corresponding to the case where the Bluetooth device relays and reports the battery life information, so that the master Bluetooth device can obtain the battery life information of each of at least two Bluetooth devices.

[0188] In this embodiment, the Bluetooth device actively reports the battery life information to the master Bluetooth device, which can improve the efficiency of the master Bluetooth device in obtaining the battery life information and reduce the possibility of errors.

[0189] In one possible implementation, the first Bluetooth device reports the battery life information of the first Bluetooth device to the master Bluetooth device, where the battery life information of the first Bluetooth device is determined based on at least one of the following methods:

[0190] Determined based on the power information of the charging case of the first Bluetooth device;

[0191] Determined based on the power information of the built-in battery of the first Bluetooth device.

[0192] Exemplarily, the charging case refers to a device for charging the Bluetooth device. When the Bluetooth device is placed in the charging case and the charging case has power, it can directly charge the Bluetooth device, or connect a data cable to the charging case to charge the Bluetooth device. When the Bluetooth device is fully charged, the charging case automatically cuts off the power. The power information of the charging case can refer to the charging duration, charging power for charging the Bluetooth device, or the remaining power of the charging case, etc.

[0193] Exemplarily, each Bluetooth device may have its corresponding charging case, or multiple Bluetooth devices may share the same charging case. The charging case can be communicatively connected to the Bluetooth device to send the power information of the charging case to the Bluetooth device, so that the Bluetooth device can obtain the power information of the charging case. The way for the charging case to send the power information to the Bluetooth device is the same as the principle of the way for the charging case to send the power information to the master Bluetooth device in the above embodiment, and the sending timing can also be one of periodic reporting or event-triggered reporting, and the sending method can also be at least one of direct reporting or relay reporting. Specifically, the sending timing and sending method can be combined according to actual technical needs, or be consistent with the Bluetooth device, and are not limited herein. Thus, the first Bluetooth device can receive the power information of the charging case of the first Bluetooth device and determine the battery life information of the first Bluetooth device.

[0194] Exemplarily, the battery of the Bluetooth device is an internal battery, which provides power support for the Bluetooth device after the Bluetooth device is started. The power information of the internal battery can refer to the remaining power, and the Bluetooth device can report the power information of the internal battery. Thus, the first Bluetooth device can determine the battery life information of the first Bluetooth device based on the power information of the internal battery of the first Bluetooth device.

[0195] In a possible implementation, the first Bluetooth device reports the battery life information of the second Bluetooth device to the master Bluetooth device; wherein, the battery life information of the second Bluetooth device is determined based on at least one of the following methods:

[0196] Determined based on the power information of the charging case of the second Bluetooth device;

[0197] Determined based on the power information of the internal battery of the second Bluetooth device.

[0198] Exemplarily, the determination method of the battery life information of the second Bluetooth device can be the same as the determination method of the battery life information of the first Bluetooth device, and will not be elaborated herein.

[0199] In this embodiment, the Bluetooth device can determine the battery life information in multiple ways, which can effectively improve the efficiency of determining the battery life information.

[0200] In an example of the present application, the method further includes:

[0201] Receiving a Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chain transmission path;

[0202] Reordering the Bluetooth multimedia packet based on the sequence number carried by the Bluetooth multimedia packet.

[0203] Exemplarily, the serial number of the Bluetooth multimedia packet can be used to indicate the order of the Bluetooth multimedia packet among multiple Bluetooth multimedia packets. Therefore, the first Bluetooth device can receive the Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chain transmission path; and reorder the Bluetooth multimedia packet based on the serial number carried by the Bluetooth multimedia packet. For example, when the serial number is a time serial number, the first Bluetooth device can reorder the Bluetooth multimedia packet according to the time serial number to ensure the correct order of the original code stream.

[0204] In this embodiment, by reordering the Bluetooth multimedia packet, the correct order of the original code stream can be ensured, which is also beneficial to the subsequent transmission and subsequent playback of the Bluetooth multimedia packet.

[0205] In an example of the present application, the method further includes:

[0206] Receiving the Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chain transmission path;

[0207] Verifying the content of the Bluetooth multimedia packet based on the check code carried by the Bluetooth multimedia packet.

[0208] Exemplarily, a Bluetooth device can receive the Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chain transmission path; and verify the content of the Bluetooth multimedia packet based on the check code carried by the Bluetooth multimedia packet to ensure content integrity.

[0209] In this embodiment, by verifying the content of the Bluetooth multimedia packet, the content integrity of the received Bluetooth multimedia packet can be ensured.

[0210] In an example of the present application, the method further includes:

[0211] When the verification of the Bluetooth multimedia packet fails, requesting the previous Bluetooth device to retransmit the Bluetooth multimedia packet.

[0212] Exemplarily, the Bluetooth multimedia packet also supports a retransmission mechanism during transmission. After the Bluetooth device verifies the Bluetooth multimedia packet, when the verification of the Bluetooth multimedia packet fails, it can send a request instruction to the previous Bluetooth device to request the previous Bluetooth device to retransmit the Bluetooth multimedia packet to ensure the transmission quality.

[0213] In this embodiment, by requesting retransmission when the content integrity verification of the Bluetooth multimedia packet fails, the content integrity of the Bluetooth multimedia packet can be further ensured, and the transmission quality of the Bluetooth multimedia packet can be improved.

[0214] In one example, the method further includes: playing a Bluetooth multimedia packet.

[0215] Exemplarily, all or some of the at least two Bluetooth devices are further configured to play the Bluetooth multimedia packet, which may be a re-ordered Bluetooth multimedia packet. For the first Bluetooth device among the at least two Bluetooth devices, it may not play any Bluetooth multimedia packet and only perform the transmission of the re-ordered Bluetooth multimedia packet; or, play a part of the re-ordered Bluetooth multimedia packets, such as the Bluetooth multimedia packets marked as needing to be played by itself; or, play all the re-ordered Bluetooth multimedia packets. The re-ordered Bluetooth multimedia packets played by each Bluetooth device may be determined according to specific implementations and will not be elaborated here.

[0216] In this embodiment, by playing the re-ordered Bluetooth multimedia packet, the playing effect can be guaranteed, and the user experience can be improved to a certain extent.

[0217] Optionally, the method further includes: sending the re-ordered Bluetooth multimedia packet to a second Bluetooth device.

[0218] Exemplarily, the first Bluetooth device may send the re-ordered Bluetooth multimedia packet to the second Bluetooth device.

[0219] In this embodiment, by transmitting the re-ordered Bluetooth multimedia packet, the accuracy of subsequent transmissions can be improved.

[0220] Figure 9 FIG. shows a schematic diagram of a transmission system for Bluetooth multimedia packets provided by an exemplary embodiment of the present application. In this embodiment, the main Bluetooth device is mobile phone 10, and the Bluetooth devices include 3 pairs of TWS Bluetooth earphones, namely Bluetooth earphone 21, Bluetooth earphone 22, and Bluetooth earphone 23. Each pair of TWS Bluetooth earphones includes a left-channel Bluetooth earphone and a right-channel Bluetooth earphone.

[0221] In the following embodiments, taking the execution of mobile phone 10 as an example, the Bluetooth multimedia packet transmission method includes:

[0222] Determining a first chain transmission path based on the battery life information of at least two Bluetooth devices; wherein, the first Bluetooth device in the first chain transmission path sends a Bluetooth multimedia packet to the second Bluetooth device. Controlling at least two Bluetooth devices to transmit the Bluetooth multimedia packets according to the first chain transmission path.

[0223] Specifically, the battery life information of Bluetooth headset 21 is battery life information 1, the battery life information of Bluetooth headset 22 is battery life information 2, and the battery life information of Bluetooth headset 23 is battery life information 3. Taking the battery life information as the battery level as an example, battery level 1 is equal to battery level 2, and battery level 2 is greater than battery level 3; or, taking the battery life information as the battery life duration as an example, battery life duration 1 is equal to battery life duration 2, and battery life duration 2 is greater than battery life duration 3. Therefore, the Bluetooth devices in the first chained transmission path are determined in sequence as: Bluetooth headset 21, Bluetooth headset 22, and Bluetooth headset 23. Mobile phone 10 controls Bluetooth headset 21, Bluetooth headset 22, and Bluetooth headset 23 to transmit Bluetooth multimedia packets according to the first chained transmission path. For Bluetooth headset 21 and Bluetooth headset 22, Bluetooth headset 21 is the first Bluetooth device and Bluetooth headset 22 is the second Bluetooth device; for Bluetooth headset 22 and Bluetooth headset 23, Bluetooth headset 22 is the first Bluetooth device and Bluetooth headset 23 is the second Bluetooth device.

[0224] When the battery life information of the first Bluetooth device and the second Bluetooth device in the first chained transmission path is the same and the forwarding status of the first Bluetooth device reaches the condition, the second chained transmission path is determined based on the updated battery life information of at least two Bluetooth devices, and the second chained transmission path is different from the first chained transmission path; the forwarding status refers to the duration and / or the number of packets of the first Bluetooth device forwarding Bluetooth multimedia packets to the second Bluetooth device. Control at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chained transmission path; wherein, the first Bluetooth device in the second chained transmission path sends Bluetooth multimedia packets to the second Bluetooth device.

[0225] Specifically, as Figure 10 shown, assuming that the battery life information 1 of Bluetooth headset 21 and the battery life information 2 of Bluetooth headset 22 are the same in the first chained transmission path, when the duration of Bluetooth headset 21 forwarding Bluetooth multimedia packets to Bluetooth headset 22 reaches the duration threshold and / or the number of packets reaches the packet threshold, mobile phone 10 determines the second chained transmission path based on the updated battery life information 1 of Bluetooth headset 21, the updated battery life information 2 of Bluetooth headset 22, and the updated battery life information 3 of Bluetooth headset 23. Assuming that the Bluetooth devices in the second chained transmission path are in sequence: Bluetooth headset 22, Bluetooth headset 21, and Bluetooth headset 23. Then mobile phone 10 controls Bluetooth headset 22, Bluetooth headset 21, and Bluetooth headset 23 to transmit Bluetooth multimedia packets according to the second chained transmission path.

[0226] Optionally, as Figure 11As shown, when the Bluetooth headset 23 exits the Bluetooth communication with the mobile phone 10, the mobile phone 10 determines the third chain transmission path based on the current battery life information 1 of the Bluetooth headset 21 and the current battery life information 2 of the Bluetooth headset 22. The Bluetooth devices in the third chain transmission path are: Bluetooth headset 21 and Bluetooth headset 22. The mobile phone 10 controls the Bluetooth headset 21 and the Bluetooth headset 22 to transmit the Bluetooth multimedia package according to the third chain transmission path.

[0227] Optionally, assuming that the battery life information 1 of the Bluetooth headset 21 in the second chain transmission path is the same as the battery life information 2 of the Bluetooth headset 22, when the duration of the Bluetooth multimedia packet forwarded by the Bluetooth headset 22 to the Bluetooth headset 21 reaches a duration threshold and / or the number of packets reaches a packet number threshold, the mobile phone 10 can determine the third chain transmission path based on the updated battery life information 1 of the Bluetooth headset 21, the updated battery life information 2 of the Bluetooth headset 22, and the updated battery life information 3 of the Bluetooth headset 23.

[0228] For example, if the Bluetooth headset 23 is still the last Bluetooth headset in the third chain transmission path, then in the second chain transmission path, when the battery life information of the Bluetooth headset 21 and the Bluetooth headset 22 are the same again and the forwarding state of the Bluetooth headset 22 meets the condition, for the first chain transmission path, the second chain transmission path and the third chain transmission path, it is equivalent to the positions of the Bluetooth headset 21 and the Bluetooth headset 22 switching in turn, such as Figure 12 As shown, the forwarding state condition is set to take the duration of forwarding the Bluetooth multimedia package as reaching the duration threshold as an example. When the duration threshold is reached, the Bluetooth headset 21 and the Bluetooth headset 22 are switched as the Bluetooth devices located behind the mobile phone 10.

[0229] 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 13 A 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 sleep of the baby 51, the mother 52, the father 53 and the brother 54 respectively wear a pair of TWS Bluetooth headphones of the same model to share the film and television works played on the TV, and the battery life of the TWS Bluetooth headphones of the mother 52, the father 53 and the brother 54 is reduced successively. 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 the Bluetooth multimedia package to the TWS Bluetooth headset of the mother 52, the TWS Bluetooth headset of the mother 52 sends the Bluetooth multimedia package to the TWS Bluetooth headset of the father 53, and the TWS Bluetooth headset of the father 53 sends the Bluetooth multimedia package to the TWS Bluetooth headset of the brother 54, and the TWS Bluetooth headset of the brother 54 no longer executes the sending of the Bluetooth multimedia package.

[0230] Figure 14 The structural block diagram of a transmission control device for a Bluetooth multimedia packet provided by an exemplary embodiment of the present application is shown. The control device includes:

[0231] A determination module 10, configured to determine a first chained transmission path based on the battery life information of at least two Bluetooth devices.

[0232] A control module 20, configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path;

[0233] Wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

[0234] In one embodiment, the battery life information includes battery power; the first battery power in the first chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device;

[0235] Or, the battery life information includes battery life duration; the first battery life duration in the first chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

[0236] In one embodiment, the control device further includes an acquisition module.

[0237] In one embodiment, the acquisition module is configured to acquire the battery life information of each of the at least two Bluetooth devices.

[0238] In one embodiment, the acquisition module is configured to receive the battery life information reported by each of the at least two Bluetooth devices.

[0239] In one embodiment, the acquisition module is configured to receive the power information of the charging bin of at least one Bluetooth device among the at least two Bluetooth devices, and determine the battery life information of the at least one Bluetooth device based on the power information of the charging bin;

[0240] And / or, the acquisition module is configured to receive the power information of the built-in battery of at least one Bluetooth device among the at least two Bluetooth devices, and determine the battery life information of the at least one Bluetooth device based on the power information of the built-in battery.

[0241] In one embodiment, the determining module 10 is configured to determine a second chain transmission path based on the updated battery life information of the at least two Bluetooth devices when the battery life information of the first Bluetooth device and the second Bluetooth device in the first chain transmission path is the same and the forwarding state of the first Bluetooth device reaches a condition, where the second chain transmission path is different from the first chain transmission path; the forwarding state refers to the duration and / or the number of packets of the first Bluetooth device forwarding the Bluetooth multimedia packet to the second Bluetooth device.

[0242] In one embodiment, the control module 20 is configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chain transmission path;

[0243] Wherein, the first Bluetooth device in the second chain transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

[0244] In one embodiment, the forwarding state of the first Bluetooth device reaches a condition as at least one of the following:

[0245] The duration of the first Bluetooth device forwarding the Bluetooth multimedia packet reaches a duration threshold;

[0246] The number of packets of the first Bluetooth device forwarding the Bluetooth multimedia packet reaches a packet number threshold;

[0247] Wherein, the duration threshold is preset, or determined based on the transmission bandwidth, or determined based on the battery life information; the packet number threshold is preset, or determined based on the transmission bandwidth, or determined based on the battery life information.

[0248] In one embodiment, the updated battery life information includes battery power; the first battery power in the second chain transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device;

[0249] Or, the updated battery life information includes battery life duration; the first battery life duration in the second chain transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

[0250] In one embodiment, the control device further includes a generating module.

[0251] In one embodiment, the generating module is configured to generate a Bluetooth multimedia packet carrying a serial number, where the serial number is used to indicate the order of the Bluetooth multimedia packet among multiple Bluetooth multimedia packets.

[0252] In one embodiment, the generating module is configured to generate a Bluetooth multimedia packet carrying a check code, and the check code is used to verify the content of the Bluetooth multimedia packet.

[0253] In one embodiment, the control device further includes: a playing module.

[0254] In one embodiment, the playing module is configured to play the Bluetooth multimedia packet.

[0255] Figure 15 The block diagram of the transmission device of the Bluetooth multimedia packet provided by an exemplary embodiment of the present application is shown. The device includes:

[0256] A transmission module 30, configured to send a Bluetooth multimedia packet to a second Bluetooth device as the first Bluetooth device in a first chained transmission path based on the control of the master Bluetooth device; wherein, the first chained transmission path is determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices.

[0257] In one embodiment, the device further includes a reporting module.

[0258] In one embodiment, the reporting module is configured to report the battery life information of the first Bluetooth device to the master Bluetooth device;

[0259] and / or, report the battery life information of the second Bluetooth device to the master Bluetooth device.

[0260] In one embodiment, the battery life information of the first Bluetooth device is determined based on at least one of the following methods:

[0261] Determined based on the battery level information of the charging case of the first Bluetooth device;

[0262] Determined based on the battery level information of the built-in battery of the second Bluetooth device.

[0263] In one embodiment, the device further includes a reordering module.

[0264] In one embodiment, the reordering module is configured to receive the Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth device located before the first Bluetooth device in the first chained transmission path; reorder the Bluetooth multimedia packet based on the sequence number carried by the Bluetooth multimedia packet.

[0265] In one embodiment, the device further includes a verification module.

[0266] In one embodiment, the verification module is configured to receive a Bluetooth multimedia packet transmitted by a previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chain transmission path; and based on the verification code carried in the Bluetooth multimedia packet, verify the content of the Bluetooth multimedia packet.

[0267] In one embodiment, the device further includes a request module.

[0268] In one embodiment, the request module is configured to request the previous Bluetooth device to retransmit the Bluetooth multimedia packet when the verification of the Bluetooth multimedia packet fails.

[0269] In one embodiment, the device further includes a playback module.

[0270] In one embodiment, the playback module is configured to play the Bluetooth multimedia packet.

[0271] Figure 16 FIG. 1600 is a block diagram showing the structure of a master Bluetooth device 1600 according to an exemplary embodiment of the present application. The master Bluetooth device 1600 may be a portable mobile terminal supporting Bluetooth functions, such as: a smart phone, a tablet computer, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, or a desktop computer. The master Bluetooth device 1600 may also be referred to by other names such as a user Bluetooth device, a portable terminal, a laptop terminal, a desktop terminal, etc.

[0272] Generally, the master Bluetooth device 1600 includes: a Bluetooth chip 1601 and a memory 1602.

[0273] The Bluetooth chip 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The Bluetooth chip 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The Bluetooth chip 1601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the Bluetooth chip 1601 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the Bluetooth chip 1601 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.

[0274] The memory 1602 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1602 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1602 is used to store at least one instruction, and the at least one instruction is used to be executed by the Bluetooth chip 1601 to implement the method for transmitting Bluetooth multimedia packets provided in the method embodiments of the present application.

[0275] In some embodiments, the main Bluetooth device 1600 may further optionally include: a peripheral device interface 1603 and at least one peripheral device. The Bluetooth chip 1601, the memory 1602, and the peripheral device interface 1603 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1603 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607, a positioning component 1608, and a power supply 1609.

[0276] The peripheral device interface 1603 can be used to connect at least one I / O (Input / Output) related peripheral device to the Bluetooth chip 1601 and the memory 1602. In some embodiments, the Bluetooth chip 1601, the memory 1602, and the peripheral device interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the Bluetooth chip 1601, the memory 1602, and the peripheral device interface 1603 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.

[0277] The radio frequency circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1604 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1604 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 1604 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, each generation of mobile communication network (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1604 can also include a circuit related to NFC (Near Field Communication), and this application does not limit this.

[0278] The display screen 1605 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to collect touch signals on or above the surface of the display screen 1605. The touch signals can be input as control signals to the Bluetooth chip 1601 for processing. At this time, the display screen 1605 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1605, which is disposed on the front panel of the main Bluetooth device 1600; in other embodiments, there may be at least two display screens 1605, which are respectively disposed on different surfaces of the main Bluetooth device 1600 or are in a folded design; in other embodiments, the display screen 1605 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the main Bluetooth device 1600. Even, the display screen 1605 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 1605 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0279] The camera module 1606 is used to collect images or videos. Optionally, the camera module 1606 includes a front camera and a rear camera. Generally, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed 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 respectively, so as to implement the function of background blurring by fusing the main camera and the depth-of-field camera, the function of panoramic shooting by fusing the main camera and the wide-angle camera, and the VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera module 1606 may further include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.

[0280] The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the Bluetooth chip 1601 for processing, or input to the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the main Bluetooth device 1600. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the Bluetooth chip 1601 or the radio frequency circuit 1604 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 uses such as ranging. In some embodiments, the audio circuit 1607 may also include a headphone jack.

[0281] The positioning component 1608 is used to locate the current geographical location of the main Bluetooth device 1600 to achieve navigation or LBS (Location Based Service). The positioning component 1608 may be a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, or the Galileo system of Russia.

[0282] The power supply 1609 is used to supply power to each component in the main Bluetooth device 1600. The power supply 1609 may be alternating current, direct current, a disposable battery, or a rechargeable battery. When the power supply 1609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0283] In some embodiments, the main Bluetooth device 1600 further includes one or more sensors 1610. The one or more sensors 1610 include but are not limited to: an acceleration sensor 1611, a gyroscope sensor 1612, a pressure sensor 1613, a fingerprint sensor 1614, an optical sensor 1615, and a proximity sensor 1616.

[0284] The acceleration sensor 1611 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established with the main Bluetooth device 1600. For example, the acceleration sensor 1611 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The Bluetooth chip 1601 can control the display screen 1605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signals collected by the acceleration sensor 1611. The acceleration sensor 1611 can also be used for games or the collection of the user's motion data.

[0285] The gyroscope sensor 1612 can detect the body direction and rotation angle of the main Bluetooth device 1600. The gyroscope sensor 1612 can cooperate with the acceleration sensor 1611 to collect the 3D actions of the user on the main Bluetooth device 1600. Based on the data collected by the gyroscope sensor 1612, the Bluetooth chip 1601 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.

[0286] The pressure sensor 1613 can be disposed on the side frame of the main Bluetooth device 1600 and / or the lower layer of the display screen 1605. When the pressure sensor 1613 is disposed on the side frame of the main Bluetooth device 1600, it can detect the holding signal of the user on the main Bluetooth device 1600, and the Bluetooth chip 1601 can perform left / right hand recognition or quick operation based on the holding signal collected by the pressure sensor 1613. When the pressure sensor 1613 is disposed on the lower layer of the display screen 1605, the Bluetooth chip 1601 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 1605. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0287] The fingerprint sensor 1614 is used to collect the fingerprints of the user. The Bluetooth chip 1601 can identify the user's identity based on the fingerprints collected by the fingerprint sensor 1614, or the fingerprint sensor 1614 can identify the user's identity based on the collected fingerprints. When the identified user identity is a trusted identity, the Bluetooth chip 1601 authorizes the user to perform relevant sensitive operations, and the sensitive operations include unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings, etc. The fingerprint sensor 1614 can be disposed on the front, back, or side of the main Bluetooth device 1600. When there are physical buttons or manufacturer logos on the main Bluetooth device 1600, the fingerprint sensor 1614 can be integrated with the physical buttons or manufacturer logos.

[0288] The optical sensor 1615 is used to collect the ambient light intensity. In one embodiment, the Bluetooth chip 1601 can control the display brightness of the display screen 1605 according to the ambient light intensity collected by the optical sensor 1615. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is decreased. In another embodiment, the Bluetooth chip 1601 can also dynamically adjust the shooting parameters of the camera module 1606 according to the ambient light intensity collected by the optical sensor 1615.

[0289] The proximity sensor 1616, also known as the distance sensor, is usually disposed on the front panel of the main Bluetooth device 1600. The proximity sensor 1616 is used to collect the distance between the user and the front of the main Bluetooth device 1600. In one embodiment, when the proximity sensor 1616 detects that the distance between the user and the front of the main Bluetooth device 1600 is gradually decreasing, the Bluetooth chip 1601 controls the display screen 1605 to switch from the lit state to the off state; when the proximity sensor 1616 detects that the distance between the user and the front of the main Bluetooth device 1600 is gradually increasing, the Bluetooth chip 1601 controls the display screen 1605 to switch from the off state to the lit state.

[0290] Those skilled in the art can understand that Figure 16 the structure shown in does not constitute a limitation on the main Bluetooth device 1600, and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.

[0291] Figure 17 The block diagram of the Bluetooth device 1700 provided by an exemplary embodiment of the present application is shown. The Bluetooth device 1700 includes:

[0292] The Bluetooth component 1710 is used to send a Bluetooth multimedia packet to the second Bluetooth device as the first Bluetooth device in the first chain transmission path based on the control of the main Bluetooth device; wherein, the first chain transmission path is determined by the main Bluetooth device based on the battery life information of at least two Bluetooth devices. The Bluetooth component 1710 may be a Bluetooth chip that supports both sending and receiving simultaneously.

[0293] In some embodiments, the Bluetooth device 1700 further includes: a multimedia component for playing the Bluetooth multimedia packet. The multimedia component includes: a decoding component 1720, a digital-to-analog converter 1730, a power amplifier 1740, and a playing component 1750. The decoding component 1720 is used to decode the Bluetooth multimedia packet into Pulse Code Modulation (PCM) data; the digital-to-analog converter 1730 is used to convert the PCM data into an analog signal; the power amplifier 1740 is used to amplify the analog signal and then output it to the playing component 1750 for playing.

[0294] Those skilled in the art can understand that Figure 17 the structure shown in does not constitute a limitation on the Bluetooth device 1700, and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.

[0295] The embodiment of the present application also provides a Bluetooth chip. The main Bluetooth device and / or the Bluetooth device installed with the Bluetooth chip are used to execute the above-mentioned Bluetooth multimedia packet transmission method.

[0296] An embodiment of the present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the master Bluetooth device and / or a Bluetooth device to implement the method for transmitting a Bluetooth multimedia packet provided in the above method embodiment.

[0297] An embodiment of the present application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The master Bluetooth device and / or a Bluetooth device reads the computer instructions from the computer-readable storage medium, so that the master Bluetooth device and / or the Bluetooth device execute the method for transmitting a Bluetooth multimedia packet provided in the above method embodiment.

[0298] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0299] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, or the like.

[0300] Those skilled in the art should be able to realize that in the above one or more examples, the functions described in the embodiments of the present application can be implemented by 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. The computer-readable medium includes a computer-readable storage medium and a communication medium, where the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium accessible by a general-purpose or special-purpose computer.

[0301] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for transmitting Bluetooth multimedia packets, characterized in that, the method is executed by a master Bluetooth device, and the method includes: determining a first chained transmission path based on the battery life information of at least two Bluetooth devices; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path; wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device; the battery life information includes battery power; in the first chained transmission path, the first battery power is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device; or, the battery life information includes battery life duration; in the first chained transmission path, the first battery life duration is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

2. The method according to claim 1, characterized in that, the method further includes: obtaining the battery life information of each of the at least two Bluetooth devices.

3. The method according to claim 2, characterized in that, the obtaining the battery life information of each of the at least two Bluetooth devices includes: receiving the battery life information reported by each of the at least two Bluetooth devices.

4. The method according to claim 2, characterized in that, the obtaining the battery life information of each of the at least two Bluetooth devices includes at least one of the following steps: receiving the battery power information of the charging bin of at least one Bluetooth device among the at least two Bluetooth devices, and determining the battery life information of the at least one Bluetooth device based on the battery power information of the charging bin; receiving the battery power information of the built-in battery of at least one Bluetooth device among the at least two Bluetooth devices, and determining the battery life information of the at least one Bluetooth device based on the battery power information of the built-in battery.

5. The method according to any one of claims 1 to 4, characterized in that, the method further includes: when the battery life information of the first Bluetooth device and the second Bluetooth device in the first chained transmission path is the same and the forwarding state of the first Bluetooth device reaches a condition, determining a second chained transmission path based on the updated battery life information of the at least two Bluetooth devices, the second chained transmission path being different from the first chained transmission path; the forwarding state refers to the duration and / or the number of packets of the first Bluetooth device forwarding the Bluetooth multimedia packet to the second Bluetooth device; controlling the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the second chained transmission path; wherein, the first Bluetooth device in the second chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device.

6. The method according to claim 5, characterized in that, the forwarding state of the first Bluetooth device reaches a condition as at least one of the following: the duration of the first Bluetooth device forwarding the Bluetooth multimedia packet reaches a duration threshold; the number of packets of the first Bluetooth device forwarding the Bluetooth multimedia packet reaches a packet threshold; Wherein, the duration threshold is preset, or determined based on the transmission bandwidth, or determined based on the battery life information; the packet number threshold is preset, or determined based on the transmission bandwidth, or determined based on the battery life information.

7. The method according to claim 5, wherein, the updated battery life information includes the battery power; the first battery power in the second chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device; or, the updated battery life information includes the battery life duration; the first battery life duration in the second chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

8. The method according to any one of claims 1 to 4, wherein, the method further includes: generating a Bluetooth multimedia packet carrying a serial number, and the serial number is used to indicate the order of the Bluetooth multimedia packet among multiple Bluetooth multimedia packets.

9. The method according to any one of claims 1 to 4, wherein, the method further includes: generating a Bluetooth multimedia packet carrying a check code, and the check code is used to verify the content of the Bluetooth multimedia packet.

10. The method according to any one of claims 1 to 4, wherein, the method further includes: playing the Bluetooth multimedia packet.

11. A method for transmitting a Bluetooth multimedia packet, wherein, the method is executed by a Bluetooth device, and the method includes: sending a Bluetooth multimedia packet to a second Bluetooth device as the first Bluetooth device in a first chained transmission path based on the control of a master Bluetooth device; wherein, the first chained transmission path is determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices; the battery life information includes the battery power; the first battery power in the first chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device; or, the battery life information includes the battery life duration; the first battery life duration in the first chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

12. The method according to claim 11, wherein, the method further includes: reporting the battery life information of the first Bluetooth device to the master Bluetooth device; and / or, reporting the battery life information of the second Bluetooth device to the master Bluetooth device.

13. The method according to claim 12, wherein, the battery life information of the first Bluetooth device is determined based on at least one of the following methods: determined based on the battery power information of the charging case of the first Bluetooth device; determined based on the battery power information of the built-in battery of the first Bluetooth device.

14. The method according to claim 11, wherein, the method further includes: Receive a Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chained transmission path; Reorder the Bluetooth multimedia packet based on the sequence number carried in the Bluetooth multimedia packet.

15. The method according to claim 11, wherein, the method further comprises: Receive a Bluetooth multimedia packet transmitted by the previous Bluetooth device; the previous Bluetooth device is the master Bluetooth device or other Bluetooth devices located before the first Bluetooth device in the first chained transmission path; Verify the content of the Bluetooth multimedia packet based on the check code carried in the Bluetooth multimedia packet.

16. The method according to claim 15, wherein, the method further comprises: When the verification of the Bluetooth multimedia packet fails, request the previous Bluetooth device to retransmit the Bluetooth multimedia packet.

17. The method according to any one of claims 11 to 16, wherein, the method further comprises: Play the Bluetooth multimedia packet.

18. A transmission control device for Bluetooth multimedia packets, wherein, the control device comprises: A determination module, configured to determine a first chained transmission path based on the battery life information of at least two Bluetooth devices; A control module, configured to control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path; wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device; The battery life information includes battery power; the first battery power in the first chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device; Or, the battery life information includes battery life duration; the first battery life duration in the first chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

19. A transmission device for Bluetooth multimedia packets, wherein, the device comprises: A transmission module, configured to, based on the control of the master Bluetooth device, send a Bluetooth multimedia packet to the second Bluetooth device as the first Bluetooth device in the first chained transmission path; wherein, the first chained transmission path is determined by the master Bluetooth device based on the battery life information of at least two Bluetooth devices; the battery life information includes battery power; the first battery power in the first chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device; Or, the battery life information includes battery life duration; the first battery life duration in the first chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device.

20. A transmission system for Bluetooth multimedia packets, wherein, The transmission system includes: a master Bluetooth device and at least two Bluetooth devices; The master Bluetooth device is configured to determine a first chained transmission path based on the battery life information of the at least two Bluetooth devices; control the at least two Bluetooth devices to transmit Bluetooth multimedia packets according to the first chained transmission path; wherein, the first Bluetooth device in the first chained transmission path sends the Bluetooth multimedia packet to the second Bluetooth device; the battery life information includes battery power; the first battery power in the first chained transmission path is greater than or equal to the second battery power; the first battery power refers to the battery power of the first Bluetooth device; the second battery power refers to the battery power of the second Bluetooth device; or, the battery life information includes battery life duration; the first battery life duration in the first chained transmission path is greater than or equal to the second battery life duration; the first battery life duration refers to the battery life duration of the first Bluetooth device; the second battery life duration refers to the battery life duration of the second Bluetooth device; Among the at least two Bluetooth devices, the Bluetooth devices except the last one are configured to, based on the control of the master Bluetooth device, act as the first Bluetooth device in the first chained transmission path to send the Bluetooth multimedia packet to the second Bluetooth device.

21. A Bluetooth chip, Characterized in that, The master Bluetooth device installed with the Bluetooth chip is configured to execute the Bluetooth multimedia packet transmission method according to any one of claims 1 to 10, or, the Bluetooth device installed with the Bluetooth chip is configured to execute the Bluetooth multimedia packet transmission method according to any one of claims 11 to 17.

22. A computer-readable storage medium, Characterized in that, The computer-readable storage medium stores a computer program, and the computer program is used to be executed by the master Bluetooth device to implement the Bluetooth multimedia packet transmission method according to any one of claims 1 to 10, or, the computer program is used to be executed by the Bluetooth device to implement the Bluetooth multimedia packet transmission method according to any one of claims 11 to 17.

23. A computer program product, Characterized in that, The computer program product stores a computer program, and the computer program is used to be executed by the master Bluetooth device to implement the Bluetooth multimedia packet transmission method according to any one of claims 1 to 10, or, the computer program is used to be executed by the Bluetooth device to implement the Bluetooth multimedia packet transmission method according to any one of claims 11 to 17.

Citation Information

Patent Citations

  • Bluetooth communication method and system

    CN114520958A

  • Low power bluetooth communication method, electronic equipment, network and storage medium

    WO2019237264A1