Multimedia Packet Transmission Method, Apparatus, Device and Medium

Through the first Bluetooth device as a relay, the control link is used to transmit the multimedia packet from the main Bluetooth device to the second Bluetooth device with no control link established, solving the problem of Bluetooth headphone signal range caused by user displacement and realizing long-distance high-quality audio sharing of the Bluetooth device.

CN115278623BActive Publication Date: 2025-08-05NOKIA TECHNOLOGIES OY
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210861519.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2025-08-05
Estimated Expiration
2042-07-20

AI Technical Summary

Technical Problem

During the sharing of multiple pairs of true wireless Bluetooth headsets, user displacement causes some headsets to exceed the range of the mobile phone signal and cannot establish a control link with the mobile phone, resulting in the inability to achieve high-quality audio sharing.

Method used

Through the first Bluetooth device as a relay, the multimedia packet is transmitted from the main Bluetooth device from the main Bluetooth device to the second Bluetooth device whose control link has not been established, achieving long-distance transmission.

Benefits of technology

It is realized that Bluetooth devices that have not established a control link with the main Bluetooth device can receive multimedia packets, ensuring long-distance transmission and high-quality audio sharing of Bluetooth devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278623B_ABST
    Figure CN115278623B_ABST
Patent Text Reader

Abstract

The present application discloses a multimedia packet transmission method, apparatus, device, and medium, relating to the field of Bluetooth technology. The multimedia packet transmission method is executed by a master Bluetooth device and includes: controlling the first Bluetooth device to transmit a multimedia packet to the second Bluetooth device based on determining that a control link has been established between the first Bluetooth device and the master Bluetooth device and a second Bluetooth device has not. By controlling the first Bluetooth device to transmit the multimedia packet to the second Bluetooth device, the second Bluetooth device, which has not established a control link with the master Bluetooth device, can receive the multimedia packet, thereby achieving long-distance transmission between Bluetooth devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Bluetooth technology, and in particular to a multimedia packet transmission method, apparatus, device and medium. Background Art

[0002] With the growth and popularity of True Wireless Studio (TWS) Bluetooth earphones, Bluetooth devices are widely used in work and life, and people's requirements for Bluetooth devices are getting higher and higher. For example, sharing music with family or friends.

[0003] When sharing multiple TWS pairs, there is a possibility that one TWS pair will be out of the phone's signal range due to user movement changes. This will cause the TWS to lose contact with the phone, making it impossible to share with other TWS pairs. Summary of the Invention

[0004] The embodiments of the present application provide a method, apparatus, device, and medium for transmitting multimedia packets, which transmit multimedia packets from a first Bluetooth device to a second Bluetooth device to achieve long-distance transmission between Bluetooth devices. The technical solution is as follows:

[0005] According to one aspect of the present application, a multimedia packet transmission method is provided, which is performed by a master Bluetooth device and includes:

[0006] Based on determining that the first Bluetooth device establishes a control link with the master Bluetooth device and the second Bluetooth device does not establish a control link with the master Bluetooth device, the first Bluetooth device is controlled to send the multimedia packet to the second Bluetooth device.

[0007] According to one aspect of the present application, a multimedia packet transmission method is provided. The method is performed by a first Bluetooth device, and the method includes:

[0008] Receive multimedia packets from the main Bluetooth device;

[0009] sending a multimedia package to a second Bluetooth device according to a first control instruction of the master Bluetooth device;

[0010] The first Bluetooth device establishes a control link with the master Bluetooth device, and the second Bluetooth device does not establish a control link with the master Bluetooth device.

[0011] According to one aspect of the present application, a multimedia packet transmission device is provided, the device comprising:

[0012] The control module is configured to control the first Bluetooth device to send the multimedia packet to the second Bluetooth device based on determining that the first Bluetooth device establishes a control link with the transmission device while the second Bluetooth device does not establish a control link with the transmission device.

[0013] According to one aspect of the present application, a multimedia packet transmission device is provided, the device comprising:

[0014] a communication module configured to receive a multimedia package from a master Bluetooth device and send the multimedia package to a second Bluetooth device according to a first control instruction of the master Bluetooth device;

[0015] The first Bluetooth device establishes a control link with the master Bluetooth device, and the second Bluetooth device does not establish a control link with the master Bluetooth device.

[0016] According to one aspect of the present application, a master Bluetooth device is provided, the master Bluetooth device including a memory and a processor;

[0017] At least one program code is stored in the memory, and the program code is loaded and executed by the processor to implement the multimedia packet transmission method as described above.

[0018] According to one aspect of the present application, a first Bluetooth device is provided, the first Bluetooth device including a memory and a processor;

[0019] At least one program code is stored in the memory, and the program code is loaded and executed by the processor to implement the multimedia packet transmission method as described above.

[0020] According to one aspect of the present application, a second Bluetooth device is provided, the second Bluetooth device including a memory and a processor;

[0021] At least one program code is stored in the memory, and the program code is loaded and executed by the processor to implement the multimedia packet transmission method as described above.

[0022] According to one aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to be executed by a processor to implement the multimedia packet transmission method described above.

[0023] According to one aspect of the present application, a chip is provided. The chip includes a processor, and the processor is configured to execute the multimedia packet transmission method as described above.

[0024] According to one aspect of the present application, a chip is provided. The chip includes a processor, and the processor is configured to execute the multimedia packet transmission method as described above.

[0025] According to one aspect of the present application, a computer program product is provided. The computer program product includes computer instructions. The computer instructions are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the multimedia packet transmission method described above.

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

[0027] By controlling the first Bluetooth device to send the multimedia package to the second Bluetooth device, the second Bluetooth device that has not established a control link with the main Bluetooth device can receive the multimedia package, thereby realizing long-distance transmission of the Bluetooth devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0029] Figure 1 is a schematic diagram of one-to-many sharing of multimedia packages provided by an exemplary embodiment of the present application;

[0030] Figure 2 is a schematic diagram of transmission of a multimedia packet provided by an exemplary embodiment of the present application;

[0031] Figure 3 This is a schematic diagram of transmitting multimedia packets based on a chain propagation path provided by an exemplary embodiment of the present application;

[0032] Figure 4 is a block diagram of a multimedia packet transmission system provided by an exemplary embodiment of the present application;

[0033] Figure 5 is a schematic diagram of a control link and a data link between a master Bluetooth device and at least two Bluetooth devices provided by an exemplary embodiment of the present application;

[0034] Figure 6 is a flowchart of a method for transmitting / playing a multimedia package provided by an exemplary embodiment of the present application;

[0035] Figure 7 is a flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application;

[0036] Figure 8 is a flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application;

[0037] Figure 9 is a flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application;

[0038] Figure 10 is a flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application;

[0039] Figure 11 is a schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application;

[0040] Figure 12 is a flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application;

[0041] Figure 13 is a schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application;

[0042] Figure 14 is a schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application;

[0043] Figure 15 is a schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application;

[0044] Figure 16 is a schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application;

[0045] Figure 17 is a schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application;

[0046] Figure 18 is a schematic diagram of a multimedia packet transmission device provided by an exemplary embodiment of the present application;

[0047] Figure 19 is a schematic diagram of a multimedia packet transmission device provided by an exemplary embodiment of the present application;

[0048] Figure 20 is a schematic diagram of a multimedia packet transmission device provided by an exemplary embodiment of the present application;

[0049] Figure 21 is a block diagram of a Bluetooth device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0051] With the growth and popularity of True Wireless Studio (TWS), Bluetooth devices are widely used in work and life, such as making calls and listening to music.

[0052] Figure 1This example shows a scenario where a mobile phone 10 transmits the same Bluetooth audio packet to four Bluetooth headsets. Assuming the Bluetooth transmission bandwidth is W, the mobile phone 10 uses bandwidth W1 to transmit the Bluetooth audio packet to the first Bluetooth headset 21; bandwidth W2 to transmit the Bluetooth audio packet to the second Bluetooth headset 22; bandwidth W3 to transmit the Bluetooth audio packet to the third Bluetooth headset 23; and bandwidth W4 to transmit the Bluetooth audio packet to the fourth Bluetooth headset 24.

[0053] In the above transmission process, W = W1 + W2 + W3 + W4. Assuming the four Bluetooth headsets are of the same type or have equivalent transmission capabilities, W1 = W2 = W3 = W4 = W / 4. Each Bluetooth headset can only enjoy W / 4 of the bandwidth. However, high-quality music such as lossless music and high-resolution audio (Hi-Res) requires higher Bluetooth bandwidth, and the above exemplary solution cannot meet the transmission requirements.

[0054] For example, a two-channel song with a 192kHz, 24-bit sampling rate has a PCM rate of 10Mbps. Assuming a 70% Bluetooth encoding compression rate, the Bluetooth bandwidth requirement is 7Mbps. Using a quarter of the Bluetooth bandwidth for high-quality audio transmission is difficult to achieve. Furthermore, in the above example scenario, the more Bluetooth headsets that need to be shared, the narrower the bandwidth occupied by each Bluetooth headset, limiting the maximum number of Bluetooth headsets that can be shared with the same mobile phone 10.

[0055] refer to Figure 1 , taking the mobile phone 10 and the first Bluetooth headset 21 as an example, Figure 2 FIG2 is a schematic diagram showing the transmission of a multimedia package provided by an exemplary embodiment of the present application, wherein a mobile phone 10 is a terminal device for encoding and transmitting audio data, and a first Bluetooth headset 21 is used for decoding and playing different audio data.

[0056] Schematically, the data transmission process between the mobile phone 10 and the first Bluetooth headset 21 is as follows:

[0057] The user determines the audio resource to be played on the mobile phone 10, and the mobile phone 10 obtains the audio resource and decodes it through pulse code modulation (PCM decoding) to obtain the audio data corresponding to the audio resource. The PCM data obtained after decoding includes audio data corresponding to the left and right channels.

[0058] Subsequently, the mobile phone 10 performs audio encoding on the audio data to obtain a corresponding multimedia package. The audio encoding can be a lossless audio compression codec (FLAC). After encoding, the mobile phone 10 sends the multimedia package to the first Bluetooth headset 21 through the sending component.

[0059] Illustratively, the data transmission between the mobile phone 10 and the first Bluetooth headset 21 is wireless transmission.

[0060] After the first Bluetooth headset 21 obtains the multimedia package sent by the mobile phone 10 through the receiving component, it performs PCM decoding on the multimedia package to obtain decoded audio data.

[0061] Subsequently, the first Bluetooth headset 21 performs digital-to-analog conversion and power amplification on the decoded audio data to obtain corresponding analog data, and plays the analog data through the playback component. It should be understood that the analog data corresponds to the resources of the left and right channels in the audio resources determined in the mobile phone 10. Optionally, the digital-to-analog conversion can be achieved by a digital-to-analog converter (DAC), and the power amplification can be achieved by a power amplifier (AMP).

[0062] To avoid narrowing the transmission bandwidth of multiple Bluetooth headsets, Figure 3 An exemplary scenario is shown in which a mobile phone 10 transmits the same Bluetooth audio packet to four pairs of Bluetooth headsets.

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

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

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

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

[0067] In the above exemplary solution, the bandwidth used by the mobile phone is: W = sending bandwidth W / 2 + sending bandwidth W / 2; the bandwidth used by the Bluetooth headset is: W = receiving bandwidth W / 2 + sending bandwidth W / 2, which maximizes the use of Bluetooth bandwidth capacity and realizes a multi-headphone sharing solution that does not require the loss of audio quality due to the loss of Bluetooth bandwidth.

[0068] Figure 4 FIG. 1 is a block diagram of a multimedia packet transmission system provided by an exemplary embodiment of the present application. The system includes a master Bluetooth device 10 and at least two (slave) Bluetooth devices 21 - 2 n .

[0069] The master Bluetooth device 10 is a source device that provides multimedia data. The types of the master Bluetooth device 10 include mobile phones, tablet computers, TVs, desktop computers, game consoles, virtual reality (VR) devices, augmented reality (AR) devices, etc.

[0070] At least two Bluetooth devices 21-2n use a chained transmission path to share multimedia packets from the master Bluetooth device 10. Each Bluetooth device in the chained sharing path is connected sequentially. The i-th Bluetooth device among the at least two Bluetooth devices transmits a multimedia packet to the i+1-th Bluetooth device, where i is an integer and is initially 1 (or 0). For example, the first Bluetooth device 21 transmits a multimedia packet to the second Bluetooth device 22, which then transmits a multimedia packet to the third Bluetooth device. Similarly, the n-1-th Bluetooth device transmits a multimedia packet to the n-th Bluetooth device 2n.

[0071] Exemplarily, any one of the at least two Bluetooth devices 21-2n except the last Bluetooth device is configured to receive a multimedia packet sent by the master Bluetooth device 10 or the previous Bluetooth device; and send the multimedia packet to the next Bluetooth device;

[0072] The previous Bluetooth device is a Bluetooth device located before the current Bluetooth device on the chain transmission path among at least two Bluetooth devices; the next Bluetooth device is a Bluetooth device located after the current Bluetooth device on the chain transmission path among at least two Bluetooth devices.

[0073] Exemplarily, the Bluetooth devices 21-2n also play multimedia packages. Since there are usually multiple multimedia packages, any one of the at least two Bluetooth devices can play all or part of the multiple multimedia packages. For example, each Bluetooth device plays all multimedia packages, or each Bluetooth device only needs to play a part of the multimedia packages.

[0074] The at least two Bluetooth devices are of the same type, different types, or different types. The Bluetooth transmission capabilities of the at least two Bluetooth devices are the same, different, or different.

[0075] In different embodiments, the chain transmission path can be understood as other synonyms such as chain path, chain sharing path, etc. For example, this application only uses the chain transmission path for description; it should be understood that other synonyms are within the scope of protection of this application.

[0076] In some embodiments, the transmission process of the multimedia packets is controlled by the master Bluetooth device.

[0077] like Figure 5 As shown, a control link is established between the master Bluetooth device 10 and each of the four Bluetooth devices 21-24. The control link is used to transmit control information related to the transmission process of the multimedia packet. This control information includes: the address of the previous Bluetooth device, the address of the next Bluetooth device, the sequence number of the multimedia packet, the feedback information (ACK / NACK) of the multimedia packet, the initial transmission / retransmission information of the multimedia packet, the identifier of the Bluetooth device that needs to play the multimedia packet, etc. A data link is established between the master Bluetooth device 10 and the Bluetooth device 21, between the Bluetooth device 21 and the Bluetooth device 22, between the Bluetooth device 22 and the Bluetooth device 23, and between the Bluetooth device 23 and the Bluetooth device 24. The data link is used to transmit the multimedia packet. In the case where the Bluetooth devices 21-24 include a left channel Bluetooth component and a right channel Bluetooth component, a left channel data link is established between each left channel Bluetooth component, and a right channel data link is established between each right channel Bluetooth component.

[0078] However, it is not excluded that in some embodiments, the transmission process between the master Bluetooth device 10 and the 0th / 1st Bluetooth device is controlled by the master Bluetooth device, and the transmission process between the i-th (greater than 0 or 1)th Bluetooth device and the i+1th Bluetooth device is controlled by the i-th Bluetooth device. That is, the transmission process of the i-th Bluetooth device can be controlled by itself instead of the master Bluetooth device 10. These two control methods can also be implemented in combination, for example Figure 5 A control link is established between the Bluetooth devices 21-23 and the main Bluetooth device 10, and the transmission process between the Bluetooth devices 21-23 is controlled by the main Bluetooth device 10; however, since the Bluetooth device 24 is far away from the main Bluetooth device 10, a control link is not established between the Bluetooth device 24 and the main Bluetooth device 10, and the transmission process between the Bluetooth devices 23 and 24 is controlled by the Bluetooth device 23.

[0079] Take the Bluetooth device including left channel and right channel as an example, Figure 6 A flowchart of a multimedia package transmission / playback method provided by an exemplary embodiment of the present application is shown.

[0080] 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 a left channel Bluetooth audio package and a right channel Bluetooth audio package. The Bluetooth sending component 11 in the mobile phone 10 sends the left channel Bluetooth audio package and the right channel Bluetooth audio package to the Bluetooth device.

[0081] The left channel Bluetooth headset 31 of the Bluetooth device includes: a left channel Bluetooth receiving component 32, a left channel PCM (decoding component) 33, a left channel DAC 34 and a left channel AMP 35, a left channel 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, which 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 headset. In some embodiments, the left channel Bluetooth receiving component 32 and the left channel Bluetooth sending component 37 are implemented as the same chip (such as a communication chip), that is, the first Bluetooth component.

[0082] The right channel Bluetooth headset 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 and 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, which 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 headset. In some embodiments, the right channel Bluetooth receiving component 42 and the right channel Bluetooth sending component 47 are implemented as the same chip (such as a communication chip), that is, the second Bluetooth component.

[0083] Referring to the above content, taking the multimedia packet transmission between the master Bluetooth device and at least two Bluetooth devices as an example, if one of the at least two Bluetooth devices moves away from the master Bluetooth device, it will be out of the signal range of the master Bluetooth device, resulting in the Bluetooth device being unable to receive the multimedia packet sent by the master Bluetooth device.

[0084] Taking the example that the first Bluetooth device among at least two Bluetooth devices does not exceed the signal range of the main Bluetooth device, and the second Bluetooth device among at least two Bluetooth devices exceeds the signal range of the main Bluetooth device, an embodiment of the present application provides a multimedia packet transmission method, which can use the first Bluetooth device as a relay device to realize multimedia packet transmission between the main Bluetooth device and the second Bluetooth device, thereby realizing long-distance transmission of Bluetooth devices.

[0085] Figure 7 A flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application is shown. The method is executed by a master Bluetooth device and includes the following steps:

[0086] Step 102: Based on determining that the first Bluetooth device establishes a control link with the master Bluetooth device and the second Bluetooth device does not establish a control link with the master Bluetooth device, control the first Bluetooth device to send a multimedia packet to the second Bluetooth device.

[0087] Schematically, the control link is used to transmit control information related to the transmission process of the multimedia packet.

[0088] The control information includes: the address of the previous Bluetooth device, the address of the next Bluetooth device, the sequence number of the multimedia package, the feedback information (ACK / NACK) of the multimedia package, the initial transmission / retransmission information of the multimedia package, the identification of the Bluetooth device that needs to play the multimedia package, etc.

[0089] refer to Figure 5 The master Bluetooth device 10 establishes control links with each of the Bluetooth devices 21-24, allowing the master Bluetooth device 10 to transmit control information to the corresponding Bluetooth device. For example, if the first Bluetooth device is Bluetooth device 21, the master Bluetooth device 10 establishes a control link with Bluetooth device 21, and the master Bluetooth device 10 sends control information to Bluetooth device 21 via the control link. For example, the master Bluetooth device 10 sends a first control instruction to Bluetooth device 21 via the control link, instructing Bluetooth device 21 to send a multimedia packet to Bluetooth device 22.

[0090] It should be understood that, when the master Bluetooth device establishes a control link with the Bluetooth device, a data link should be established between the master Bluetooth device and the Bluetooth device, and the data link is used to transmit multimedia packets.

[0091] refer to Figure 5 Data links are established between the master Bluetooth device 10 and Bluetooth device 21, between Bluetooth device 21 and Bluetooth device 22, between Bluetooth device 22 and Bluetooth device 23, and between Bluetooth device 23 and Bluetooth device 24. These data links are used to transmit multimedia packets. If Bluetooth devices 21-24 include left-channel Bluetooth components and right-channel Bluetooth components, left-channel data links are established between the left-channel Bluetooth components, and right-channel data links are established between the right-channel Bluetooth components.

[0092] Taking the first Bluetooth device as Bluetooth device 21 as an example, the master Bluetooth device 10 establishes a control link with the Bluetooth device 21, and the master Bluetooth device 10 establishes a left channel data link and a right channel data link with the Bluetooth device 21. The master Bluetooth device 10 can receive the left channel multimedia package and the right channel multimedia package respectively through the above two data links.

[0093] Illustratively, the second Bluetooth device fails to establish a control link with the primary Bluetooth device, including at least one of the following two situations:

[0094] First, the second Bluetooth device has never established a control link with the main Bluetooth device;

[0095] Secondly, the second Bluetooth device disconnects the established control link with the main Bluetooth device.

[0096] For example, a mobile phone is a master Bluetooth device, and multimedia packets are transmitted between the mobile phone and multiple headsets. The mobile phone establishes a control link with a first headset among the multiple headsets, so that the mobile phone can send the multimedia packets to the first headset.

[0097] In one optional implementation scenario, a second earphone among the multiple earphones is farther away from the mobile phone and never within the mobile phone's signal range. Consequently, the second earphone never establishes a control link with the mobile phone and is unable to receive control information sent by the mobile phone. Alternatively, if the second earphone is within the signal range of the first earphone, the first earphone can forward received multimedia packets to the second earphone. This allows the second earphone, which is farther away from the mobile phone, to receive the multimedia packets sent by the mobile phone through the first earphone, thereby enabling long-distance transmission for the second earphone.

[0098] In another alternative implementation scenario, the second headset is closer to the mobile phone at a first moment, thereby establishing a control link with the mobile phone. At a second moment, the second headset moves farther away, out of the mobile phone's signal range, causing the control link between the second headset and the mobile phone to be disconnected. Alternatively, referring to the above, if the second headset is within the signal range of the first headset, the first headset can forward the received multimedia packets to the second headset, thereby enabling long-distance transmission of the second headset.

[0099] Illustratively, the first Bluetooth device sends at least one multimedia package to the second Bluetooth device.

[0100] It should be understood that the first Bluetooth device and / or the second Bluetooth device may also include a function of playing a multimedia package. The function of the Bluetooth device playing a multimedia package includes at least one of the following:

[0101] Bluetooth devices play all multimedia packages;

[0102] Taking multiple Bluetooth devices sharing and playing the same song as an example, assuming that the Bluetooth device is a headset and the multimedia package is a Bluetooth audio package, the song audio stream includes multiple Bluetooth audio packages "0". Bluetooth audio package "0" is an audio package that all or each headset needs to play, that is, a Bluetooth audio package that multiple headsets need to play.

[0103] The Bluetooth device plays a portion of the multimedia package.

[0104] For example, consider a multimedia package that is a Bluetooth audio package in a VR game, where different Bluetooth devices correspond to different users. Some Bluetooth audio packages, called "0," need to be played by every Bluetooth device, such as background music packages. Other Bluetooth audio packages only need to be played by specific Bluetooth devices. For example, Bluetooth audio package "1" is the system feedback sound effect when the game character controlled by user A releases a skill. This sound effect only needs to be played on the Bluetooth device used by user A, and not on the Bluetooth devices used by other users. Bluetooth audio package "2" is the system feedback sound effect when the game character controlled by user B releases a skill. This sound effect only needs to be played on the Bluetooth device used by user B, and not on the Bluetooth devices used by other users.

[0105] In various embodiments, the multimedia package includes at least one of the following types:

[0106] Multimedia packages that need to be played on all Bluetooth devices;

[0107] Multimedia packages that need to be played on designated or specific Bluetooth devices;

[0108] The designated or specific Bluetooth device is a Bluetooth device specified by the device identifier and / or type identifier carried in the multimedia package.

[0109] A multimedia package that needs to be played by the first multimedia component;

[0110] Multimedia packages that require a second multimedia component to play;

[0111] A multimedia package that needs to be played by the first multimedia component in a designated or specific Bluetooth device;

[0112] A multimedia package that needs to be played by a second multimedia component in a designated or specific Bluetooth device.

[0113] Taking a Bluetooth device as an example, the first multimedia component is a left channel playback component, and the second multimedia component is a right channel playback component; or, the first multimedia component is a right channel playback component, and the second multimedia component is a left channel playback component.

[0114] There are many more examples like this, so I won’t go into details here.

[0115] Optionally, the first Bluetooth device is within the signal range of the primary Bluetooth device, and the second Bluetooth device is within the signal range of the first Bluetooth device. The first Bluetooth device is within the signal range of the primary Bluetooth device so that the first Bluetooth device can receive multimedia packets sent by the primary Bluetooth device and control information sent via a control link; and the second Bluetooth device is within the signal range of the first Bluetooth device so that the second Bluetooth device can receive multimedia packets sent by the first Bluetooth device.

[0116] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes: the master Bluetooth device determining whether the first Bluetooth device is within the signal range of the master Bluetooth device, and / or determining whether the second Bluetooth device is within the signal range of the first Bluetooth device.

[0117] Among them, the master Bluetooth device traverses the Bluetooth devices within its own signal range to determine whether the first Bluetooth device is within the signal range of the master Bluetooth device; the master Bluetooth device controls the first Bluetooth device to make the first Bluetooth device traverse its own signal range to determine whether the second Bluetooth device is within the signal range of the first Bluetooth device.

[0118] It should be understood that the signal range of the master Bluetooth device or the first Bluetooth device involved in this application should be the sending signal range of the master Bluetooth device or the first Bluetooth device.

[0119] The step of determining whether the first Bluetooth device is within the signal range of the main Bluetooth device and / or determining whether the second Bluetooth device is within the signal range of the first Bluetooth device can be performed before step 102 or after step 102, and this application does not limit this.

[0120] For example, a mobile phone is the primary Bluetooth device, a first earphone is the first of at least two earphones is the first Bluetooth device, and a second earphone is the second of the at least two earphones is the second Bluetooth device. The first earphone is closer to the mobile phone and is within the mobile phone's signal range; the second earphone is farther from the mobile phone and is not within the mobile phone's signal range, but is within the first earphone's signal range.

[0121] Since the first earphone is within the signal range of the mobile phone, the first earphone and the mobile phone can establish a control link, so that the mobile phone can send multimedia packages to the first earphone; since the second earphone is not within the signal range of the mobile phone, the second earphone does not establish a control link with the mobile phone, and the mobile phone will not be able to send multimedia packages to the second earphone.

[0122] At this time, the mobile phone can control the first headset to send the multimedia package to the second headset through the control link established with the first headset, so that the second headset, which is farther away from the mobile phone, can receive the multimedia package. Optionally, if there is more than one multimedia package, the first headset sends all or part of the multimedia packages to the second headset.

[0123] It should be understood that during this process, even if the mobile phone and the second headset are far apart, multimedia packets can still be transmitted between the mobile phone and the second headset. The first headset can be regarded as a relay device that forwards multimedia packets so that the second headset, which is farther away, can receive the multimedia packets that the mobile phone wants to send to the second headset.

[0124] In another optional implementation scenario, the second Bluetooth device is not within the signal range of the first Bluetooth device. At this time, the main Bluetooth device determines that the second Bluetooth device cannot receive the multimedia package, so as to end the sharing of the multimedia package by the second Bluetooth device.

[0125] To sum up, in the multimedia packet transmission method provided in the embodiment of the present application, the multimedia packet is sent to the second Bluetooth device by controlling the first Bluetooth device so that the second Bluetooth device that has not established a control link with the main Bluetooth device can receive the multimedia packet, thereby realizing long-distance transmission of the Bluetooth device.

[0126] Figure 8A flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application is shown. The method is executed by a first Bluetooth device and includes the following steps:

[0127] Step 202: Receive a multimedia package from a master Bluetooth device.

[0128] It should be understood that the multimedia packet can be sent directly from the master Bluetooth device to the first Bluetooth device, or can be sent by the Bluetooth device above the first Bluetooth device. For example, the master Bluetooth device sends the multimedia packet to Bluetooth device 1, and Bluetooth device 1 forwards the multimedia packet to the first Bluetooth device.

[0129] Step 204: Send the multimedia package to the second Bluetooth device according to the first control instruction of the master Bluetooth device.

[0130] Illustratively, the first Bluetooth device establishes a control link with the master Bluetooth device, and the second Bluetooth device does not establish a control link with the master Bluetooth device.

[0131] According to the foregoing, the control link is used to transmit control information related to the transmission process of the multimedia packets.

[0132] The control information includes: the address of the previous Bluetooth device, the address of the next Bluetooth device, the sequence number of the multimedia package, the feedback information (ACK / NACK) of the multimedia package, the initial transmission / retransmission information of the multimedia package, the identification of the Bluetooth device that needs to play the multimedia package, etc.

[0133] Illustratively, the first control instruction is used to instruct the master Bluetooth device to send control information to the first Bluetooth device. For example, the first control instruction includes the address of the Bluetooth device and the sequence number of the multimedia package. After receiving the first control instruction from the master Bluetooth device, the first Bluetooth device can determine the second Bluetooth device based on the address of the Bluetooth device and then send the multimedia package corresponding to the specified sequence number to the second Bluetooth device.

[0134] According to the foregoing, when the master Bluetooth device establishes a control link with a Bluetooth device, a data link should be established between the master Bluetooth device and the Bluetooth device, and the data link is used to transmit multimedia packets. When the master Bluetooth device establishes a control link with a first Bluetooth device, a data link is also established between the master Bluetooth device and the first Bluetooth device, for the master Bluetooth device to send multimedia packets to the first Bluetooth device.

[0135] Illustratively, the second Bluetooth device fails to establish a control link with the main Bluetooth device, including at least one of the following two situations: first, the second Bluetooth device has never established a control link with the main Bluetooth device; second, the second Bluetooth device disconnects the established control link with the main Bluetooth device.

[0136] For detailed description of the above two situations, please refer to the above content and will not be repeated here.

[0137] Illustratively, the first Bluetooth device sends at least one multimedia package to the second Bluetooth device.

[0138] It should be understood that the first Bluetooth device and / or the second Bluetooth device may also play multimedia packages, wherein the Bluetooth device playing multimedia packages includes at least one of the following: the Bluetooth device playing all multimedia packages; the Bluetooth device playing a portion of the multimedia packages.

[0139] In different embodiments, the multimedia package includes at least one of the following types: a multimedia package that needs to be played by all Bluetooth devices; a multimedia package that needs to be played by a designated or specific Bluetooth device; a multimedia package that needs to be played by a first multimedia component; a multimedia package that needs to be played by a second multimedia component; a multimedia package that needs to be played by a first multimedia component in a designated or specific Bluetooth device; and a multimedia package that needs to be played by a second multimedia component in a designated or specific Bluetooth device.

[0140] To sum up, in the multimedia packet transmission method provided in the embodiment of the present application, the multimedia packet is sent to the second Bluetooth device by controlling the first Bluetooth device so that the second Bluetooth device that has not established a control link with the main Bluetooth device can receive the multimedia packet, thereby realizing long-distance transmission of the Bluetooth device.

[0141] Figure 9 A flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application is shown. The method is executed by a second Bluetooth device and includes the following steps:

[0142] Step 302: Receive a multimedia package sent by a first Bluetooth device.

[0143] Illustratively, the multimedia packet is sent by the first Bluetooth device according to the first control instruction of the master Bluetooth device. The first Bluetooth device establishes a control link with the master Bluetooth device, and the second Bluetooth device does not establish a control link with the master Bluetooth device.

[0144] According to the foregoing, the control link is used to transmit control information related to the transmission process of the multimedia packets.

[0145] The control information includes: the address of the previous Bluetooth device, the address of the next Bluetooth device, the sequence number of the multimedia package, the feedback information (ACK / NACK) of the multimedia package, the initial transmission / retransmission information of the multimedia package, the identification of the Bluetooth device that needs to play the multimedia package, etc.

[0146] Illustratively, the first control instruction is used to instruct the master Bluetooth device to send control information to the first Bluetooth device. For example, the first control instruction includes the address of the Bluetooth device and the sequence number of the multimedia package. After receiving the first control instruction from the master Bluetooth device, the first Bluetooth device can determine the second Bluetooth device based on the address of the Bluetooth device and then send the multimedia package corresponding to the specified sequence number to the second Bluetooth device.

[0147] According to the foregoing, when the master Bluetooth device establishes a control link with a Bluetooth device, a data link should be established between the master Bluetooth device and the Bluetooth device, and the data link is used to transmit multimedia packets. When the master Bluetooth device establishes a control link with a first Bluetooth device, a data link is also established between the master Bluetooth device and the first Bluetooth device, for the master Bluetooth device to send multimedia packets to the first Bluetooth device.

[0148] Illustratively, the second Bluetooth device fails to establish a control link with the main Bluetooth device, including at least one of the following two situations: first, the second Bluetooth device has never established a control link with the main Bluetooth device; second, the second Bluetooth device disconnects the established control link with the main Bluetooth device.

[0149] For detailed description of the above two situations, please refer to the above content and will not be repeated here.

[0150] Illustratively, the first Bluetooth device sends at least one multimedia package to the second Bluetooth device.

[0151] It should be understood that the first Bluetooth device and / or the second Bluetooth device may also play multimedia packages, wherein the Bluetooth device playing multimedia packages includes at least one of the following: the Bluetooth device playing all multimedia packages; the Bluetooth device playing a portion of the multimedia packages.

[0152] In different embodiments, the multimedia package includes at least one of the following types: a multimedia package that needs to be played by all Bluetooth devices; a multimedia package that needs to be played by a designated or specific Bluetooth device; a multimedia package that needs to be played by a first multimedia component; a multimedia package that needs to be played by a second multimedia component; a multimedia package that needs to be played by a first multimedia component in a designated or specific Bluetooth device; and a multimedia package that needs to be played by a second multimedia component in a designated or specific Bluetooth device.

[0153] To sum up, in the multimedia packet transmission method provided in the embodiment of the present application, the multimedia packet is sent to the second Bluetooth device by controlling the first Bluetooth device so that the second Bluetooth device that has not established a control link with the main Bluetooth device can receive the multimedia packet, thereby realizing long-distance transmission of the Bluetooth device.

[0154] Figure 10A flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application is shown. The method is implemented based on the following premise: determining that a first Bluetooth device has established a control link with a master Bluetooth device, and a second Bluetooth device has not established a control link with the master Bluetooth device.

[0155] According to the aforementioned content, the control link is used to transmit control information related to the transmission process of the multimedia packet. At the same time, the second Bluetooth device does not establish a control link with the master Bluetooth device, which includes at least one of the following two situations: first, the second Bluetooth device has never established a control link with the master Bluetooth device; second, the second Bluetooth device disconnects the established control link with the master Bluetooth device.

[0156] For detailed description of the above two situations, please refer to the above content and will not be repeated here.

[0157] Based on this premise, the master Bluetooth device can realize the transmission of multimedia packages with the first Bluetooth device, but cannot realize the transmission of multimedia packages with the second Bluetooth device.

[0158] Illustratively, the multimedia packet transmission method provided in the embodiment of the present application includes the following steps:

[0159] Step 401: The first Bluetooth device receives a multimedia package sent by the master Bluetooth device.

[0160] According to the foregoing, when the master Bluetooth device establishes a control link with a Bluetooth device, a data link should be established between the master Bluetooth device and the Bluetooth device, and the data link is used to transmit multimedia packets. When the master Bluetooth device establishes a control link with a first Bluetooth device, a data link is also established between the master Bluetooth device and the first Bluetooth device, for the master Bluetooth device to send multimedia packets to the first Bluetooth device.

[0161] Step 402: The first Bluetooth device sends a multimedia package to the second Bluetooth device according to the first control instruction of the master Bluetooth device.

[0162] Step 403: The second Bluetooth device receives the multimedia package sent by the first Bluetooth device.

[0163] Illustratively, the first control instruction is used to instruct the master Bluetooth device to send control information to the first Bluetooth device.

[0164] For example, the first control instruction includes the address of the Bluetooth device and the serial number of the multimedia package. After receiving the first control instruction from the master Bluetooth device, the first Bluetooth device can determine the second Bluetooth device based on the address of the Bluetooth device, and then send the multimedia package corresponding to the specified serial number to the second Bluetooth device.

[0165] Illustratively, the first Bluetooth device sends at least one multimedia package to the second Bluetooth device.

[0166] It should be understood that the first Bluetooth device and / or the second Bluetooth device may also play multimedia packages, wherein the Bluetooth device playing multimedia packages includes at least one of the following: the Bluetooth device playing all multimedia packages; the Bluetooth device playing a portion of the multimedia packages.

[0167] In different embodiments, the multimedia package includes at least one of the following types: a multimedia package that needs to be played by all Bluetooth devices; a multimedia package that needs to be played by a designated or specific Bluetooth device; a multimedia package that needs to be played by a first multimedia component; a multimedia package that needs to be played by a second multimedia component; a multimedia package that needs to be played by a first multimedia component in a designated or specific Bluetooth device; and a multimedia package that needs to be played by a second multimedia component in a designated or specific Bluetooth device.

[0168] In an optional implementation scenario, the first Bluetooth device is located within the signal range of the main Bluetooth device, and the second Bluetooth device is located within the signal range of the first Bluetooth device, thereby realizing gradual transmission of multimedia packets between the main Bluetooth device, the first Bluetooth device and the second Bluetooth device.

[0169] Referring to the above content, at least two Bluetooth devices use a chain transmission path to share multimedia packets from a master Bluetooth device. The transmission process of the multimedia packets can be controlled by the master Bluetooth device. Figure 5 The master Bluetooth device 10 establishes a control link with the four Bluetooth devices 21-24, and the control link is used to transmit control information related to the transmission process of the multimedia packet.

[0170] Data links are established between the master Bluetooth device 10 and the Bluetooth device 21, between the Bluetooth device 21 and the Bluetooth device 22, between the Bluetooth device 22 and the Bluetooth device 23, and between the Bluetooth device 23 and the Bluetooth device 24. These data links are used to transmit multimedia packets. If the Bluetooth devices 21-24 include left-channel Bluetooth components and right-channel Bluetooth components, left-channel data links are established between the left-channel Bluetooth components, and right-channel data links are established between the right-channel Bluetooth components.

[0171] To sum up, in the multimedia packet transmission method provided in the embodiment of the present application, the multimedia packet is sent to the second Bluetooth device by controlling the first Bluetooth device so that the second Bluetooth device that has not established a control link with the main Bluetooth device can receive the multimedia packet, thereby realizing long-distance transmission of the Bluetooth device.

[0172] Transmission of multimedia packages:

[0173] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes: the master Bluetooth device controls at least two Bluetooth devices to transmit the multimedia packet via a chain transmission path;

[0174] The first Bluetooth device and the second Bluetooth device are any two of at least two Bluetooth devices, the master Bluetooth device is the first node in the chain transmission path, and the first Bluetooth device is the second node in the chain transmission path.

[0175] In an optional implementation scenario, the master Bluetooth device can also be considered the initial node of the chain transmission path, and the first Bluetooth device can be considered an intermediate node of the chain transmission path. For example, the at least two Bluetooth devices include Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3. The chain transmission path is: master Bluetooth device, Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3. In this case, the master Bluetooth device is the initial node of the chain transmission path, Bluetooth device 1 and Bluetooth device 2 are intermediate nodes of the chain transmission path, and Bluetooth device 3 is the terminal node of the chain transmission path.

[0176] Figure 11 A schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application is shown.

[0177] Among them, at the first moment, the Bluetooth devices 21-24 are all within the signal range of the master Bluetooth device 10, and the signal range of the master Bluetooth device 10 is as follows: Figure 11 At this point, control links are established between the master Bluetooth device 10 and Bluetooth devices 21-24; and data links are established between the master Bluetooth device 10 and Bluetooth device 21, between Bluetooth device 21 and Bluetooth device 22, between Bluetooth device 22 and Bluetooth device 23, and between Bluetooth device 23 and Bluetooth device 24, for transmitting multimedia packets.

[0178] Illustratively, at a first moment, the master Bluetooth device 10 and Bluetooth devices 21-24 form a chain transmission path, which is: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 22, Bluetooth device 23, Bluetooth device 24. The master Bluetooth device 10 and Bluetooth devices 21-24 are each a node in the chain transmission path. The master Bluetooth device 10 can be considered the first node or initial node of the chain transmission path, and Bluetooth device 24 can be considered the fifth node or terminating node of the chain transmission path.

[0179] For example, the second Bluetooth device is Bluetooth device 23. In an alternative implementation scenario, the user carrying Bluetooth device 23 moves and, at a second moment, moves outside the signal range of the primary Bluetooth device 10. For example, the user carrying Bluetooth device 23 moves away from the primary Bluetooth device 10, increasing the distance between Bluetooth device 23 and the primary Bluetooth device 10. At this point, the control link between the primary Bluetooth device 10 and Bluetooth device 23 is disconnected.

[0180] Taking the first Bluetooth device as Bluetooth device 21 as an example, according to the multimedia packet transmission method provided in the embodiment of the present application, the master Bluetooth device 10 can control the Bluetooth device 21 to send the multimedia packet to the Bluetooth device 23, so that the Bluetooth device 23 of the principle master Bluetooth device 10 can obtain the multimedia packet.

[0181] It should be understood that controlling at least two Bluetooth devices to transmit multimedia packets via a chained transmission path includes at least one of the following three situations:

[0182] (1) The multimedia packet is transmitted to the first Bluetooth device via the chain transmission path;

[0183] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes:

[0184] The first Bluetooth device receives a multimedia packet transmitted via a chain transmission path, where the multimedia packet is sent by a Bluetooth device immediately preceding the first Bluetooth device.

[0185] For example, the first Bluetooth device is Bluetooth device 21, and the previous Bluetooth device of Bluetooth device 21 is the master Bluetooth device 10. At the first moment, a chain transmission path is formed between the master Bluetooth device 10 and the Bluetooth device 21, and the multimedia packet is transmitted to the Bluetooth device 21 through the chain transmission path.

[0186] (2) The first Bluetooth device sends the multimedia packet to the second Bluetooth device via a chain transmission path;

[0187] Optionally, step 402 may be implemented as follows: the first Bluetooth device sends the multimedia package to the second Bluetooth device via the chain transmission path according to the first control instruction of the master Bluetooth device.

[0188] For example, the first Bluetooth device is the Bluetooth device 21 and the second Bluetooth device is the Bluetooth device 23 .

[0189] At a first moment, the multimedia packet is transmitted to the Bluetooth device 23 via the chain transmission path in sequence through the master Bluetooth device 10 , the Bluetooth device 21 , and the Bluetooth device 22 .

[0190] At the second moment, the control link between the Bluetooth device 23 and the master Bluetooth device 10 is disconnected, and the master Bluetooth device 10 cannot control the Bluetooth device 23. Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes: the master Bluetooth device 10 controls the Bluetooth device 21 to establish a control link with the Bluetooth device 23 to enable the Bluetooth device 21 to control the Bluetooth device 23, thereby enabling the Bluetooth device 21 to send multimedia packets to the Bluetooth device 23.

[0191] Taking the example that the master Bluetooth device 10 establishes a first control link with the Bluetooth device 21 and the master Bluetooth device 10 disconnects the established second link with the Bluetooth device 23, the Bluetooth device 21 can establish a third control link with the Bluetooth device 23 according to the second control instruction of the master Bluetooth device 10.

[0192] When Bluetooth device 21 establishes a third control link with Bluetooth device 23, master Bluetooth device 10 may also adjust the chain transmission path. Optionally, the multimedia packet transmission method provided in this embodiment of the application further includes: determining Bluetooth device 23 as the third node in the chain transmission path, and updating the chain transmission path. For example, the chain transmission path may be updated to: master Bluetooth device 10, Bluetooth device 22, Bluetooth device 24, Bluetooth device 21, Bluetooth device 23.

[0193] It should be understood that in one optional implementation scenario, if the first Bluetooth device is Bluetooth device 22, the chain transmission path may be updated to: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 24, Bluetooth device 22, Bluetooth device 23. In another optional implementation scenario, if the first Bluetooth device is Bluetooth device 24, the chain transmission path may be updated to: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 22, Bluetooth device 24, Bluetooth device 23.

[0194] Among them, the determination of the first Bluetooth device and the update of the chain transmission path will be expanded below. This is only an illustrative example and does not limit the present application.

[0195] (3) The second Bluetooth device sends the multimedia packet to other Bluetooth devices through the chain transmission path.

[0196] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes:

[0197] The second Bluetooth device transmits the multimedia packet to the next Bluetooth device via the chain transmission path.

[0198] Taking the second Bluetooth device as the Bluetooth device 23 as an example, at the first moment, the next Bluetooth device of the second Bluetooth device is the Bluetooth device 24, and the Bluetooth device 23 can send the multimedia packet to the Bluetooth device 24 through the chain transmission path.

[0199] At the second moment, taking the case where the first Bluetooth device is Bluetooth device 21 as an example, the master Bluetooth device 10 updates the chain transmission path. After receiving the multimedia packet sent by Bluetooth device 21, Bluetooth device 23 can send the multimedia packet to the next Bluetooth device via the chain transmission path. For example, if the next Bluetooth device to the second Bluetooth device is Bluetooth device 22, Bluetooth device 23 will send the multimedia packet to Bluetooth device 22. Alternatively, if the next Bluetooth device to the second Bluetooth device is another Bluetooth device that is not within the transmission range of the master Bluetooth device 10, the second Bluetooth device can send the multimedia packet to the other Bluetooth device.

[0200] Determination of the first Bluetooth device and the second Bluetooth device:

[0201] According to the above content, the master Bluetooth device can realize the transmission of multimedia packages with at least two Bluetooth devices. Before realizing the transmission of multimedia packages, it is necessary to determine the first Bluetooth device and / or the second Bluetooth device from the at least two Bluetooth devices.

[0202] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes:

[0203] The master Bluetooth device controls at least one of the at least two Bluetooth devices to traverse Bluetooth devices within a signal range;

[0204] The master Bluetooth device determines the first Bluetooth device and / or the second Bluetooth device based on the traversal result.

[0205] The master Bluetooth device sends a traversal control instruction to at least one Bluetooth device, and the traversal control instruction is used to instruct the at least one Bluetooth device to traverse its own signal range to determine whether there are other Bluetooth devices within its own signal range. It should be understood that when a first Bluetooth device establishes a control link with the master Bluetooth device, the first Bluetooth device can receive the traversal control instruction sent by the master Bluetooth device. The first Bluetooth device will traverse the Bluetooth devices within the signal range according to the traversal control instruction and send the traversal results to the master Bluetooth device.

[0206] Exemplarily, in the embodiment of the present application, the second Bluetooth device is determined first, and then the first Bluetooth device is determined:

[0207] (1) Determining the second Bluetooth device;

[0208] Optionally, the traversal result includes identification information of the Bluetooth device. The master Bluetooth device may determine the second Bluetooth device according to the identification information, and then determine the first Bluetooth device according to the candidate Bluetooth devices traversed to the second Bluetooth device.

[0209] The step of determining the first Bluetooth device and / or the second Bluetooth device according to the traversal result can be implemented as follows:

[0210] determining a second Bluetooth device based on the identification information;

[0211] The first Bluetooth device is determined based on the candidate Bluetooth devices traversed to the second Bluetooth device.

[0212] Optionally, the identification information of the Bluetooth device includes at least one of the following information:

[0213] First identification information, the first identification information is used to indicate whether the Bluetooth device is an intermediate node in a chain transmission path, where the chain transmission path is composed of a master Bluetooth device and at least two Bluetooth devices;

[0214] The second identification information is used to indicate whether the Bluetooth device is within the signal range of the master Bluetooth device.

[0215] Among them, the relevant description of the chain transmission path can be referred to the above content and will not be repeated here.

[0216] Exemplarily, if the Bluetooth device is an intermediate node in the chain transmission path, the first identification information is 1, otherwise it is 0; if the Bluetooth device is within the signal range of the main Bluetooth device, the second identification information is 1, otherwise it is 0.

[0217] refer to Figure 11 At the second moment, Bluetooth device 23 is outside the signal range of master Bluetooth device 10. For example, if Bluetooth device 23 is within the signal range of Bluetooth device 21, master Bluetooth device 10 sends a traversal control instruction to Bluetooth device 21. Bluetooth device 21 traverses its signal range according to the traversal control instruction and finds the identification information of Bluetooth device 23. Bluetooth device 21 then feeds the identification information of Bluetooth device 23 back to master Bluetooth device 10. The identification information of Bluetooth device 23 is as follows: the first identification information is 0, and the second identification information is 0.

[0218] In an optional implementation scenario, the first identification information may also be used to indicate whether the Bluetooth device has ever been an intermediate node in the chain transmission path. Figure 11 , the identification information of the Bluetooth device 23 is as follows: the first identification information is 1, and the second identification information is 0.

[0219] In another optional implementation scenario, if the Bluetooth device 22 is also within the signal range of the Bluetooth device 21, the Bluetooth device can also traverse the identification information of the Bluetooth device 22. The identification information of the Bluetooth device 22 is: first identification information 1, and second identification information is 1.

[0220] After determining the second Bluetooth device, the master Bluetooth device may determine the first Bluetooth device according to the number of candidate Bluetooth devices traversed to the second Bluetooth device.

[0221] (2) Determination of the first Bluetooth device.

[0222] Optionally, the step of determining the first Bluetooth device based on traversing the candidate Bluetooth devices of the second Bluetooth device may be implemented as follows:

[0223] Based on the number of candidate Bluetooth devices being one, determining the candidate Bluetooth device as the first Bluetooth device;

[0224] Based on the number of candidate Bluetooth devices being at least two, any one of the at least two candidate Bluetooth devices is determined as the first Bluetooth device.

[0225] refer to Figure 11 At the second moment, the master Bluetooth device 10 sends traversal control instructions to Bluetooth device 21, Bluetooth device 22, and Bluetooth device 24, respectively. Based on the traversal control instructions, the master Bluetooth device 10 determines that the second Bluetooth device is Bluetooth device 23. Subsequently, the master Bluetooth device 10 can determine the first Bluetooth device based on the number of candidate Bluetooth devices that have been traversed to Bluetooth device 23.

[0226] In an optional implementation scenario, the number of candidate Bluetooth devices is one. Figure 11 , assuming that only Bluetooth device 21 traverses to Bluetooth device 23, it can also be understood that Bluetooth device 23 is only within the signal range of Bluetooth device 21. At this time, Bluetooth device 21 is determined as the first Bluetooth device.

[0227] In another optional implementation scenario, the number of candidate Bluetooth devices is at least two. Figure 11 , assuming that the Bluetooth device 21, the Bluetooth device 22 and the Bluetooth device 24 all traverse to the Bluetooth device 23. At this time, the master Bluetooth device 10 can determine any one of the above three Bluetooth devices as the first Bluetooth device.

[0228] Optionally, when the number of candidate Bluetooth devices is at least two, the first Bluetooth device determines the candidate Bluetooth device according to at least one of the following information:

[0229] The signal strength of at least two candidate Bluetooth devices;

[0230] The transmission bandwidth of at least two candidate Bluetooth devices;

[0231] The battery levels of at least two candidate Bluetooth devices.

[0232] According to the above content, the candidate Bluetooth device is a Bluetooth device that is traversed to the second Bluetooth device.

[0233] Assuming that Bluetooth device 21, Bluetooth device 22 and Bluetooth device 24 all traverse to Bluetooth device 23, the master Bluetooth device can determine the Bluetooth device with the strongest signal strength among the above three Bluetooth devices as the first Bluetooth device; or, determine the Bluetooth device with the largest transmission bandwidth among the above three Bluetooth devices as the first Bluetooth device; or, determine the Bluetooth device with the largest remaining power value among the above three Bluetooth devices as the first Bluetooth device.

[0234] In some embodiments, the first Bluetooth device can be dynamically determined in real time, and the first Bluetooth device is not a fixed Bluetooth device. For example, at a first moment, the master Bluetooth device determines that the first Bluetooth device is Bluetooth device 1 based on the above information; at a second moment, the master Bluetooth device determines that the first Bluetooth device is Bluetooth device 2 based on the above information. Bluetooth device 1 and Bluetooth device 2 are different Bluetooth devices.

[0235] refer to Figure 10 , Figure 12 A flowchart of a multimedia packet transmission method provided by an exemplary embodiment of the present application is shown, which further includes steps 404 to 408. Steps 404 and 405 can be performed simultaneously or sequentially; steps 406 to 408 can be performed one at a time and not simultaneously.

[0236] According to the above content, the first Bluetooth device is located within the signal range of the main Bluetooth device, and a first control link is established between the first Bluetooth device and the main Bluetooth device; the second Bluetooth device is not located within the signal range of the main Bluetooth device, the second control link established between the second Bluetooth device and the main Bluetooth device is disconnected, and the second Bluetooth device is located within the signal range of the first Bluetooth device.

[0237] Schematically, step 404 and step 405 are implemented based on the following premise: determining that the first control link is connected and the second control link is disconnected, and the specific steps are as follows:

[0238] Step 404: The first Bluetooth device establishes a third control link with the second Bluetooth device according to the second control instruction of the master Bluetooth device.

[0239] Illustratively, the second control instruction is used to instruct the master Bluetooth device to send control information to the first Bluetooth device.

[0240] For example, the first Bluetooth device is Bluetooth device 21 and the second Bluetooth device is Bluetooth device 23. Figure 13A schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application is shown. In the diagram, a chain transmission path is formed between the master Bluetooth device 10, the Bluetooth device 21, and the Bluetooth device 23. The first control link between the master Bluetooth device 10 and the Bluetooth device 21 is connected, and the second control link between the master Bluetooth device 10 and the Bluetooth device 23 is disconnected.

[0241] At this time, the master Bluetooth device 10 may send a second control instruction to the Bluetooth device 21 to instruct the Bluetooth device 21 to establish a third control link with the Bluetooth device 23 . Figure 14 A schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application is shown.

[0242] It should be understood that a direct control link is used to indicate a control link actually established between two devices, and an indirect control link is used to indicate a control link theoretically established between two devices. Figure 14 , direct control links are established between the master Bluetooth device 10 , the Bluetooth device 21 and the Bluetooth device 23 in sequence, thereby establishing an indirect control link between the master Bluetooth device 10 and the Bluetooth device 23 .

[0243] Similarly, Figure 15 and Figure 16 Schematic diagrams of multimedia packet transmission provided by an exemplary embodiment of the present application are respectively shown. In particular, a chain transmission path is formed between the master Bluetooth device 10, the Bluetooth device 21, and the Bluetooth device 23. The first control link between the master Bluetooth device 10 and the Bluetooth device 23 is connected, and the second control link between the master Bluetooth device 10 and the Bluetooth device 21 is disconnected.

[0244] Since the second control link between the main bluetooth device 10 and the bluetooth device 21 is disconnected, the data link between the two is also disconnected. At this time, a third control link is established between the bluetooth device 23 and the bluetooth device 21 to realize an indirect control link between the main bluetooth device 10 and the bluetooth device 21.

[0245] It should be understood that other Bluetooth devices may exist between the master Bluetooth device 10 and the Bluetooth device 21, the Bluetooth device 21 and the Bluetooth device 23, and the master Bluetooth device 10 and the Bluetooth device 23. The above descriptions are merely two illustrative examples and do not constitute a specific limitation on this application. In the case of the presence of other Bluetooth devices, multimedia packet transmission between the other Bluetooth devices can be referred to the above description and will not be repeated here.

[0246] Step 405: The master Bluetooth device determines the second Bluetooth device as the third node of the chain transmission path and updates the chain transmission path.

[0247] Among them, the relevant description of the chain transmission path can be referred to the above content and will not be repeated here.

[0248] In the embodiment of the present application, it is assumed that a master Bluetooth device and at least two Bluetooth devices form a chain transmission path. If the control link between the second Bluetooth device and the master Bluetooth device is disconnected, the chain transmission path is interrupted. In this case, the chain transmission path needs to be updated to ensure that other Bluetooth devices under the second Bluetooth device can receive multimedia packets.

[0249] It should be understood that a device collection consisting of a master Bluetooth device and at least two Bluetooth devices can also be referred to as a sharing network. If the control link between a second Bluetooth device and the master Bluetooth device is disconnected, some Bluetooth devices in the shared network will lose their data links to the master Bluetooth device and thus be unable to receive multimedia packets. In this case, the shared network needs to be updated so that the Bluetooth devices with disconnected data links can reconnect indirectly to the master Bluetooth device.

[0250] After determining the node position of the second Bluetooth device in the chain transmission path, the first Bluetooth device may adjust the chain transmission path so that chain transmission is still formed between the master Bluetooth device and the at least two Bluetooth devices.

[0251] Illustratively, the second Bluetooth device can also be considered as the terminating node of the chain transmission path. According to the foregoing, the master Bluetooth device is the first node or initial node in the chain transmission path, the first Bluetooth device is the second node or intermediate node in the chain transmission path, and the first Bluetooth device is the previous node of the second Bluetooth device.

[0252] Based on this, when there are other Bluetooth devices in the chain transmission path, the node positions of the other Bluetooth devices in the chain transmission path need to be adjusted.

[0253] Optionally, the chain transmission path is updated according to at least one of the following information:

[0254] The signal strength of the fourth node in the chain transmission path;

[0255] The transmission bandwidth of the fourth node;

[0256] The power value of the fourth node;

[0257] The fourth node is any intermediate node between the first node and the third node in the chain transmission path.

[0258] For example, if there are multiple fourth nodes, the signal strengths of the multiple fourth nodes can be sorted from high to low to determine the node positions of the multiple fourth nodes in the chain transmission path; for example, the multiple fourth nodes can be sorted according to their transmission bandwidth or power value.

[0259] It should be understood that the update of the chain transmission path involved in this application can be performed based on at least one of the above information.

[0260] refer to Figure 11 , still taking the master Bluetooth device 10 and Bluetooth devices 21-24 forming a chain transmission path as an example, Figure 17 A schematic diagram of multimedia packet transmission provided by an exemplary embodiment of the present application is shown.

[0261] Among them, at the first moment, the chain transmission path is: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 22, Bluetooth device 23 and Bluetooth device 24.

[0262] At the second moment, Bluetooth device 23 is beyond the signal range of the master Bluetooth device 10. Assuming that Bluetooth device 23 is only within the signal range of Bluetooth device 21, Bluetooth device 23 is determined as the third node of the chain transmission path, and Bluetooth device 21 is determined as the previous node of Bluetooth device 23.

[0263] Since the master Bluetooth device 10 is the initial node of the chain transmission path, the node positions of Bluetooth device 22 and Bluetooth device 24 also need to be determined. For example, if the signal strength of Bluetooth device 22 is greater than the signal strength of Bluetooth device 24, Bluetooth device 22 is determined to be the next node of the master Bluetooth device 10, and the chain transmission path is updated to: master Bluetooth device 10, Bluetooth device 22, Bluetooth device 24, Bluetooth device 21, and Bluetooth device 23.

[0264] According to the foregoing, if the second Bluetooth device is within the signal range of the first Bluetooth device, the first Bluetooth device will transmit the multimedia package to the second Bluetooth device. In an optional implementation scenario, the user carrying the second Bluetooth device may move, causing the second Bluetooth device to be out of the signal range of the first Bluetooth device. In this case, the first Bluetooth device will no longer transmit the multimedia package to the second Bluetooth device.

[0265] Subsequently, as the user carrying the second Bluetooth device moves, there is a possibility that the second Bluetooth device will re-enter the signal range of the first Bluetooth device and / or the primary Bluetooth device. In this case, the control link between the second Bluetooth device and the first Bluetooth device or the primary Bluetooth device can be reestablished to resume transmitting multimedia packets to the second Bluetooth device, thereby achieving multimedia packet sharing.

[0266] According to the movement of the second Bluetooth device, the multimedia packet transmission method provided in the embodiment of the present application further includes steps 406 to 408. Among them, steps 406 to 408 can be performed one by one, and cannot be performed simultaneously. Steps 406 to 408 are specifically as follows:

[0267] Step 406: Based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device, or the first Bluetooth device re-establishes a third control link with the second Bluetooth device according to a third control instruction of the master Bluetooth device.

[0268] Illustratively, reestablishment of the third control link is based on at least one of the following two conditions:

[0269] based on determining that the second Bluetooth device has re-entered the signal range of the first Bluetooth device;

[0270] The first Bluetooth device receives a third control instruction from the master Bluetooth device.

[0271] The third control instruction is used to instruct the first Bluetooth device to reestablish a third control link with the second Bluetooth device. For a description of the third control link, please refer to the aforementioned content and will not be repeated here. It should be understood that the third control link is established when the second Bluetooth device first enters the signal range of the first Bluetooth device. In step 406, the first Bluetooth device and the second Bluetooth device reestablish the disconnected third control link.

[0272] According to the above content, before executing step 406, the second control link between the master Bluetooth device and the second Bluetooth device is disconnected. If the master Bluetooth device and at least two Bluetooth devices form a chain transmission path, the chain transmission path needs to be adjusted according to different situations.

[0273] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes:

[0274] based on determining that the second control link is disconnected, deleting the second Bluetooth device from the chained transmission path;

[0275] and / or, based on determining that the second control link or the third control link is reestablished, adding the second Bluetooth device to the chain transmission path;

[0276] The master Bluetooth device is the first node in the chain transmission path, the first Bluetooth device is the second node in the chain transmission path, and the second Bluetooth device is the third node in the chain transmission path.

[0277] For the description of the chain transmission path and its update, please refer to the above content and will not be repeated here.

[0278] On the premise of executing step 406, the above steps can be implemented as follows:

[0279] Based on determining that the second control link is disconnected, deleting the second Bluetooth device from the chain transmission path, and updating the chain transmission path;

[0280] Reestablishing a third control link based on controlling the first Bluetooth device and the second Bluetooth device, and updating the chain transmission path again;

[0281] The master Bluetooth device is the first node in the chain transmission path, the first Bluetooth device is the second node in the chain transmission path, and the second Bluetooth device is the third node in the chain transmission path.

[0282] For the description of the chain transmission path and its update, please refer to the above content and will not be repeated here.

[0283] Still taking the example of a chain transmission path formed by the master Bluetooth device 10 and Bluetooth devices 21-24, assuming that the first Bluetooth device is Bluetooth device 21 and the second Bluetooth device is Bluetooth device 23, the chain transmission path is: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 22, Bluetooth device 23, Bluetooth device 24.

[0284] If the second control link is disconnected, Bluetooth device 23 is removed from the chain transmission path and the chain transmission path is updated. For example, the signal strengths of Bluetooth devices 21, 22, and 24 are sorted from highest to lowest, with Bluetooth device 24 having the highest signal strength and Bluetooth device 22 having the lowest signal strength. Based on this, the master Bluetooth device can update the chain transmission path to: master Bluetooth device 10, Bluetooth device 24, Bluetooth device 21, Bluetooth device 22.

[0285] Subsequently, if Bluetooth device 23 is within the signal range of Bluetooth device 21, master Bluetooth device 10 may control Bluetooth device 21 to establish a third control link with Bluetooth device 23 and update the chain transmission path. For details about this update, refer to the description of step 405. For example, master Bluetooth device 10 may update the chain transmission path to: master Bluetooth device 10, Bluetooth device 22, Bluetooth device 24, Bluetooth device 21, Bluetooth device 23.

[0286] As the Bluetooth device 23 moves, if it exceeds the signal range of the Bluetooth device 21, the chain transmission path needs to be readjusted. For example, the master Bluetooth device 10 restores the chain transmission path to: master Bluetooth device 10, Bluetooth device 24, Bluetooth device 21, Bluetooth device 22.

[0287] Subsequently, if Bluetooth device 23 re-enters the signal range of Bluetooth device 21, the master Bluetooth device 10 may update the chain transmission path again. It should be understood that this update may restore the chain transmission path to the master Bluetooth device 10, Bluetooth device 22, Bluetooth device 24, Bluetooth device 21, and Bluetooth device 23; or it may be a readjustment of the chain transmission path. The readjustment can still refer to the relevant description of reference step 405.

[0288] It should be understood that after the third control link is reestablished, the first Bluetooth device can transmit the multimedia packet to the second Bluetooth device.

[0289] Step 407: Based on determining that the second Bluetooth device re-enters the signal range of the master Bluetooth device, or according to the fourth control instruction of the master Bluetooth device, the second Bluetooth device re-establishes the second control link with the master Bluetooth device.

[0290] Illustratively, reestablishment of the second control link is based on at least one of the following two conditions:

[0291] based on determining that the second Bluetooth device has re-entered the signal range of the primary Bluetooth device;

[0292] The second Bluetooth device receives the fourth control instruction of the master Bluetooth device.

[0293] The fourth control instruction is used to instruct the master Bluetooth device to reestablish a second control link with the second Bluetooth device. For a description of the second control link, please refer to the aforementioned content and will not be repeated here. It should be understood that the second control link is established when the second Bluetooth device first enters the signal range of the master Bluetooth device. In step 407, the master Bluetooth device reestablishes the disconnected second control link with the second Bluetooth device.

[0294] According to the above content, before executing step 407, the second control link between the master Bluetooth device and the second Bluetooth device is disconnected. If the master Bluetooth device and at least two Bluetooth devices form a chain transmission path, the chain transmission path needs to be adjusted according to different situations.

[0295] Optionally, the multimedia packet transmission method provided in the embodiment of the present application further includes:

[0296] based on determining that the second control link is disconnected, deleting the second Bluetooth device from the chained transmission path;

[0297] and / or, based on determining that the second control link or the third control link is reestablished, adding the second Bluetooth device to the chain transmission path;

[0298] The master Bluetooth device is the first node in the chain transmission path, the first Bluetooth device is the second node in the chain transmission path, and the second Bluetooth device is the third node in the chain transmission path.

[0299] For the description of the chain transmission path and its update, please refer to the above content and will not be repeated here.

[0300] On the premise of executing step 407, the above steps can be implemented as follows:

[0301] Based on determining that the second control link is disconnected, deleting the second Bluetooth device from the chain transmission path, and updating the chain transmission path;

[0302] Restoring the updated chain transmission path to a state before the update based on reestablishing the second control link with the second Bluetooth device;

[0303] The master Bluetooth device is the first node in the chain transmission path, the first Bluetooth device is the second node in the chain transmission path, and the second Bluetooth device is the third node in the chain transmission path.

[0304] For the description of the chain transmission path and its update, please refer to the above content and will not be repeated here.

[0305] Still taking the example of a chain transmission path formed by the master Bluetooth device 10 and Bluetooth devices 21-24, assuming that the first Bluetooth device is Bluetooth device 21 and the second Bluetooth device is Bluetooth device 23, the chain transmission path is: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 22, Bluetooth device 23, Bluetooth device 24.

[0306] If the second control link is disconnected, Bluetooth device 23 is removed from the chain transmission path and the chain transmission path is updated. For example, the signal strengths of Bluetooth devices 21, 22, and 24 are sorted from highest to lowest, with Bluetooth device 24 having the highest signal strength and Bluetooth device 22 having the lowest signal strength. Based on this, the master Bluetooth device can update the chain transmission path to: master Bluetooth device 10, Bluetooth device 24, Bluetooth device 21, Bluetooth device 22.

[0307] Subsequently, if Bluetooth device 23 is within the signal range of Bluetooth device 21, master Bluetooth device 10 may control Bluetooth device 21 to establish a third control link with Bluetooth device 23 and update the chain transmission path. For details about this update, refer to the description of step 405. For example, master Bluetooth device 10 may update the chain transmission path to: master Bluetooth device 10, Bluetooth device 22, Bluetooth device 24, Bluetooth device 21, Bluetooth device 23.

[0308] As the Bluetooth device 23 moves, if it exceeds the signal range of the Bluetooth device 21, the chain transmission path needs to be readjusted. For example, the master Bluetooth device 10 restores the chain transmission path to: master Bluetooth device 10, Bluetooth device 24, Bluetooth device 21, Bluetooth device 22.

[0309] Subsequently, if Bluetooth device 23 re-enters the signal range of master Bluetooth device 10, master Bluetooth device 10 can restore the updated chain transmission path to its pre-update state. It should be understood that the pre-update state refers to the state before Bluetooth device 23 disconnects the second control link from master Bluetooth device 10. That is, master Bluetooth device 10 restores the chain transmission path to: master Bluetooth device 10, Bluetooth device 21, Bluetooth device 22, Bluetooth device 23, Bluetooth device 24.

[0310] In an optional implementation scenario, the master Bluetooth device 10 may further update the chain transmission path, for example, by sorting the Bluetooth devices 21, 22, 23, and 24 based on at least one of their signal strengths, transmission bandwidths, and battery levels, to determine the node locations corresponding to the different Bluetooth devices.

[0311] It should be understood that after the second control link is reestablished, the master Bluetooth device can transmit the multimedia package to the second Bluetooth device.

[0312] Step 408: Based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device and the second Bluetooth device re-enters the signal range of the master Bluetooth device, or the second Bluetooth device re-establishes the second control link with the master Bluetooth device according to the fifth control instruction of the master Bluetooth device.

[0313] Illustratively, reestablishment of the second control link is based on at least one of the following two conditions:

[0314] based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device and the second Bluetooth device re-enters the signal range of the master Bluetooth device;

[0315] The second Bluetooth device receives the fifth control instruction of the master Bluetooth device.

[0316] Among them, the fifth control instruction is similar to the fourth control instruction and can be used as a reference and will not be described in detail.

[0317] Similar to step 407, before executing step 408, the second control link between the master Bluetooth device and the second Bluetooth device is disconnected. If the master Bluetooth device and at least two Bluetooth devices form a chain transmission path, the chain transmission path needs to be adjusted according to different situations.

[0318] The specific adjustment process of the chain transmission path can be referred to step 407 and will not be described in detail.

[0319] It should be understood that after the second control link is reestablished, the master Bluetooth device can transmit the multimedia package to the second Bluetooth device.

[0320] In summary, the multimedia packet transmission method provided in the embodiments of the present application provides a specific process for transmitting a multimedia packet from a first Bluetooth device to a second Bluetooth device. The master Bluetooth device controls the first Bluetooth device to establish a third control link with the second Bluetooth device, thereby indirectly controlling the second Bluetooth device.

[0321] Optionally, the multimedia packet transmission method provided in an embodiment of the present application also provides a method for updating a chain transmission path. After determining the first, second, and third nodes in the chain transmission path, the master Bluetooth device may determine the node position of the fourth node based on at least one of the signal strength, transmission bandwidth, and battery level of the fourth node to update the chain transmission path, thereby ensuring that each of the at least two Bluetooth devices can receive the multimedia packet.

[0322] Optionally, the multimedia packet transmission method provided in the embodiment of the present application also provides an implementation method for the second Bluetooth device to re-enter the signal range of the first Bluetooth device and / or the main Bluetooth device. By rebuilding the third control link or the second control link, the multimedia packet can be retransmitted.

[0323] It should be understood that the multiple embodiments provided in the foregoing can be implemented in combination.

[0324] Exemplarily, the multimedia packet transmission method can be implemented as follows :

[0325] Step 1: Determine a first Bluetooth device and a second Bluetooth device.

[0326] The master Bluetooth device controls at least one of the at least two Bluetooth devices to traverse Bluetooth devices within a signal range;

[0327] Based on the traversal result, a first Bluetooth device and a second Bluetooth device are determined.

[0328] Step 2: At the first moment, the master Bluetooth device sends a multimedia package to the first Bluetooth device;

[0329] Step 3: At the second moment, determine whether the second Bluetooth device is within the signal range of the first Bluetooth device. Depending on the determination result, step 3-1 or step 3-2 may be executed.

[0330] Step 3-1: The second Bluetooth device is within the signal range of the first Bluetooth device. Based on determining that the first control link is connected and the second control link is disconnected, the main Bluetooth device controls the first Bluetooth device to establish a third control link with the second Bluetooth device. The first control link is between the main Bluetooth device and the first Bluetooth device, and the second control link is between the main Bluetooth device and the second Bluetooth device.

[0331] Optionally, the master Bluetooth device may further perform the following: determine the second Bluetooth device as the third node of the chain transmission path, and update the chain transmission path.

[0332] Step 3-2: The second Bluetooth device is no longer within the signal range of the first Bluetooth device, and the second Bluetooth device terminates the sharing of the multimedia package. Optionally, if the second Bluetooth device enters the signal range of the first Bluetooth device at a third time, the master Bluetooth device may execute step 3-1 at the third time.

[0333] When the second Bluetooth device is within the signal range of the first Bluetooth device, as the second Bluetooth device moves, the second Bluetooth device may exceed the signal range of the first Bluetooth device at a third moment. Subsequently, at a fourth moment, the second Bluetooth device may re-enter the signal range of the first Bluetooth device and / or the master Bluetooth device.

[0334] Illustratively, at the fourth moment, the master Bluetooth device may perform one of the following steps:

[0335] Step 4-1: upon determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device, controlling the first Bluetooth device to re-establish a third control link with the second Bluetooth device;

[0336] Step 4-2: reestablishing a second control link with the second Bluetooth device based on determining that the second Bluetooth device has re-entered the signal range of the primary Bluetooth device;

[0337] Step 4-3: reestablishing a second control link with the second Bluetooth device based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device and the second Bluetooth device re-enters the signal range of the master Bluetooth device.

[0338] For the relevant descriptions involved in the above steps, please refer to the above content and will not be repeated here.

[0339] At the same time, the combination implementations that have not been listed are all within the scope of protection of this application and will not be described in detail.

[0340] The following is an embodiment of the device of the present application. For details not described in detail in the embodiment of the device, reference can be made to the corresponding records in the above method embodiment, and no further details will be given herein.

[0341] Figure 18 A schematic diagram of a multimedia packet transmission device provided by an exemplary embodiment of the present application is shown, the device comprising:

[0342] The control module 1810 is configured to control the first Bluetooth device to send the multimedia packet to the second Bluetooth device based on determining that the first Bluetooth device establishes a control link with the transmission device and the second Bluetooth device does not establish a control link with the transmission device.

[0343] Optionally, the first Bluetooth device is located within the signal range of the master Bluetooth device, and the second Bluetooth device is located within the signal range of the first Bluetooth device.

[0344] Optionally, the control module 1810 is further configured to control the first Bluetooth device to establish a third control link with the second Bluetooth device based on determining that the first control link is connected and the second control link is disconnected;

[0345] The first control link is located between the master Bluetooth device and the first Bluetooth device, and the second control link is located between the master Bluetooth device and the second Bluetooth device.

[0346] Optionally, the control module 1810 is further configured to control at least two Bluetooth devices to transmit multimedia packets via a chain transmission path; wherein, the first Bluetooth device and the second Bluetooth device are any two of the at least two Bluetooth devices, the master Bluetooth device is the first node in the chain transmission path, and the first Bluetooth device is the second node in the chain transmission path.

[0347] Optionally, the apparatus further includes an updating module 1820 configured to determine the second Bluetooth device as a third node of the chain transmission path and update the chain transmission path.

[0348] Optionally, the chain transmission path is updated based on at least one of the following information: the signal strength of the fourth node in the chain transmission path; the transmission bandwidth of the fourth node; the power value of the fourth node; wherein the fourth node is any intermediate node between the first node and the third node in the chain transmission path.

[0349] Optionally, the control module 1810 is further configured to control the first Bluetooth device to re-establish the third control link with the second Bluetooth device based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device; or to re-establish the second control link with the second Bluetooth device based on determining that the second Bluetooth device re-enters the signal range of the main Bluetooth device; or to re-establish the second control link with the second Bluetooth device based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device and the second Bluetooth device re-enters the signal range of the main Bluetooth device.

[0350] Optionally, the update module 1820 is further configured to delete the second Bluetooth device from the chain transmission path based on determining that the second control link is disconnected; and / or add the second Bluetooth device to the chain transmission path based on determining that the second control link or the third control link is reestablished.

[0351] Optionally, the apparatus further includes a determination module 1830 configured to control at least one of the at least two Bluetooth devices to traverse Bluetooth devices within a signal range; and determine the first Bluetooth device and / or the second Bluetooth device based on the traversal result.

[0352] Optionally, the Bluetooth device includes at least one of the following identification information: first identification information, the first identification information is configured to indicate whether the Bluetooth device is an intermediate node in the chain transmission path formed by the main Bluetooth device and at least two Bluetooth devices; second identification information, the second identification information is configured to indicate whether the Bluetooth device is within the signal range of the main Bluetooth device.

[0353] Optionally, the first Bluetooth device is determined according to at least one of the following information: signal strength of the candidate Bluetooth device; transmission bandwidth of the candidate Bluetooth device; and power value of the candidate Bluetooth device.

[0354] Figure 19 A schematic diagram of a multimedia packet transmission device provided by an exemplary embodiment of the present application is shown, the device comprising:

[0355] a communication module 1910 configured to receive a multimedia package from a master Bluetooth device and send the multimedia package to a second Bluetooth device according to a first control instruction of the master Bluetooth device;

[0356] The first Bluetooth device establishes a control link with the master Bluetooth device, and the second Bluetooth device does not establish a control link with the master Bluetooth device.

[0357] Optionally, the first Bluetooth device is located within the signal range of the master Bluetooth device, and the second Bluetooth device is located within the signal range of the first Bluetooth device.

[0358] Optionally, the device also includes an establishment module 1920, which is configured to establish a third control link with the second Bluetooth device based on determining that the first control link is connected and the second control link is disconnected, according to the second control instruction of the main Bluetooth device; wherein the first control link is located between the main Bluetooth device and the first Bluetooth device, and the second control link is located between the main Bluetooth device and the second Bluetooth device.

[0359] Optionally, the communication module 1910 is further configured to control at least two Bluetooth devices to transmit multimedia packages via a chain transmission path; wherein, the first Bluetooth device and the second Bluetooth device are any two of the at least two Bluetooth devices, the master Bluetooth device is the first node in the chain transmission path, and the first Bluetooth device is the second node in the chain transmission path.

[0360] Optionally, the establishing module 1920 is further configured to re-establish a disconnected third control link with the second Bluetooth device according to a third control instruction of the master Bluetooth device based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device.

[0361] Optionally, the apparatus further includes a traversal module 1930 configured to traverse Bluetooth devices within the signal range according to a traversal control instruction of the master Bluetooth device; and send the traversal result to the master Bluetooth device.

[0362] Figure 20 A schematic diagram of a multimedia packet transmission device provided by an exemplary embodiment of the present application is shown, the device comprising:

[0363] The receiving module 2010 is configured to receive a multimedia packet sent by the first Bluetooth device;

[0364] The multimedia packet is sent by the first Bluetooth device according to the first control instruction of the master Bluetooth device. The first Bluetooth device establishes a control link with the master Bluetooth device, and the second Bluetooth device does not establish a control link with the master Bluetooth device.

[0365] Optionally, the first Bluetooth device is located within the signal range of the master Bluetooth device, and the second Bluetooth device is located within the signal range of the first Bluetooth device.

[0366] Optionally, the device also includes an establishment module 2020, which is configured to establish a third control link with the first Bluetooth device based on determining that the first control link is connected and the second control link is disconnected, according to the second control instruction of the main Bluetooth device; wherein the first control link is located between the main Bluetooth device and the first Bluetooth device, and the second control link is located between the main Bluetooth device and the second Bluetooth device.

[0367] Optionally, at least two Bluetooth devices transmit multimedia packets via a chain transmission path; wherein, the first Bluetooth device and the second Bluetooth device are any two of the at least two Bluetooth devices, the master Bluetooth device is the first node in the chain transmission path, and the first Bluetooth device is the second node in the chain transmission path.

[0368] Optionally, the establishment module 2020 is further configured to, based on determining that the second Bluetooth device has re-entered the signal range of the first Bluetooth device, re-establish the third control link with the first Bluetooth device according to the third control instruction of the main Bluetooth device; or, based on determining that the second Bluetooth device has re-entered the signal range of the main Bluetooth device, re-establish the second control link with the second Bluetooth device according to the fourth control instruction of the main Bluetooth device; or, based on determining that the second Bluetooth device has re-entered the signal range of the first Bluetooth device and the second Bluetooth device has entered the signal range of the main Bluetooth device, re-establish the second control link with the second Bluetooth device according to the fifth control instruction of the main Bluetooth device.

[0369] Figure 21 This is a block diagram of a Bluetooth device provided by an exemplary embodiment of the present application. The Bluetooth device can be implemented as a main Bluetooth device, a first Bluetooth device, or a second Bluetooth device, or a part of the main Bluetooth device, the first Bluetooth device, or the second Bluetooth device.

[0370] Schematically, the Bluetooth device includes:

[0371] The Bluetooth component 2101 is used to receive multimedia packets sent by the main Bluetooth device or the previous Bluetooth device and send multimedia packets to the next Bluetooth device. The Bluetooth component 2101 can be a communication chip that supports both sending and receiving.

[0372] In some embodiments, the previous Bluetooth device, the Bluetooth device, and the next Bluetooth device share the multimedia package from the master Bluetooth device using a chain transmission path.

[0373] Illustratively, the Bluetooth device further includes: a decoding component 2102, a DAC 2103, an AMP 2104, and a playback component 2105. The decoding component 2102 is used to decode multimedia packets into PCM data; the DAC 2103 is used to convert the PCM data into an analog signal; and the AMP 2104 is used to amplify the analog signal and output it to the playback component 2105 for playback.

[0374] The present application also provides a master Bluetooth device, which includes a memory and a processor; the memory stores at least one program code, and the program code is loaded and executed by the processor to implement the aforementioned multimedia packet transmission method.

[0375] The present application also provides a first Bluetooth device, which includes a memory and a processor; the memory stores at least one program code, and the program code is loaded and executed by the processor to implement the aforementioned multimedia packet transmission method.

[0376] The present application also provides a second Bluetooth device, which includes a memory and a processor; the memory stores at least one program code, and the program code is loaded and executed by the processor to implement the aforementioned multimedia packet transmission method.

[0377] The present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program is used to be executed by a processor to implement the aforementioned multimedia packet transmission method.

[0378] The present application also provides a chip, which includes a processor configured to execute the aforementioned multimedia packet transmission method.

[0379] The present application also provides a chip, which includes a processor configured to execute the aforementioned multimedia packet transmission method.

[0380] The present application also provides a chip, which includes a processor configured to execute the aforementioned multimedia packet transmission method.

[0381] The present application also provides a computer program product, which stores a computer program. The computer program is used to be executed by a Bluetooth device to implement the aforementioned multimedia packet transmission method.

[0382] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.

[0383] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0384] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A multimedia packet transmission method, characterized in that: The method is performed by a master Bluetooth device, and the method includes: Based on determining that the first Bluetooth device establishes a control link with the master Bluetooth device and the second Bluetooth device does not establish a control link with the master Bluetooth device, controlling the first Bluetooth device to send a multimedia packet to the second Bluetooth device; Among them, the first Bluetooth device and the second Bluetooth device both include a left channel Bluetooth component and a right channel Bluetooth component, a left channel data link with a bandwidth of W / 2 is established between the left channel Bluetooth component of the first Bluetooth device and the left channel Bluetooth component of the second Bluetooth device, and a right channel data link with a bandwidth of W / 2 is established between the right channel Bluetooth component of the first Bluetooth device and the right channel Bluetooth component of the second Bluetooth device, where W represents the Bluetooth transmission bandwidth of the main Bluetooth device.

2. The method according to claim 1, characterized in that The first Bluetooth device is located within the signal range of the master Bluetooth device, and the second Bluetooth device is located within the signal range of the first Bluetooth device.

3. The method according to claim 2, characterized in that The method further comprises: Based on determining that the first control link is connected and the second control link is disconnected, controlling the first Bluetooth device to establish a third control link with the second Bluetooth device; The first control link is located between the master Bluetooth device and the first Bluetooth device, and the second control link is located between the master Bluetooth device and the second Bluetooth device.

4. The method according to claim 2, characterized in that The method further comprises: controlling at least two Bluetooth devices to transmit the multimedia packet via a chain transmission path; The master Bluetooth device is the first node in the chain transmission path, and the first Bluetooth device is the second node in the chain transmission path.

5. The method according to claim 4, characterized in that The method further comprises: The second Bluetooth device is determined as a third node of the chain transmission path, and the chain transmission path is updated.

6. The method according to claim 5, characterized in that The chain transmission path is updated according to at least one of the following information: the signal strength of the fourth node in the chain transmission path; a transmission bandwidth of the fourth node; The power value of the fourth node; The fourth node is any intermediate node between the first node and the third node in the chain transmission path.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device, controlling the first Bluetooth device to re-establish a third control link with the second Bluetooth device; Alternatively, based on determining that the second Bluetooth device re-enters the signal range of the master Bluetooth device, re-establishing a second control link with the second Bluetooth device; Alternatively, based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device and the second Bluetooth device re-enters the signal range of the master Bluetooth device, the second control link is re-established with the second Bluetooth device.

8. The method according to claim 7, characterized in that The method further comprises: Based on determining that the second control link is disconnected, deleting the second Bluetooth device from the chain transmission path; and / or, Based on determining that the second control link or the third control link is reestablished, the second Bluetooth device is added to the chain transmission path.

9. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: controlling at least one of the at least two Bluetooth devices to traverse Bluetooth devices within a signal range; Based on the traversal result, the first Bluetooth device and / or the second Bluetooth device is determined.

10. The method according to any one of claims 1 to 6, characterized in that: The Bluetooth device includes at least one of the following identification information: First identification information, where the first identification information is used to indicate whether the Bluetooth device is an intermediate node in a chain transmission path; Second identification information, where the second identification information is used to indicate whether the Bluetooth device is within the signal range of the master Bluetooth device.

11. The method according to any one of claims 1 to 6, characterized in that: The first Bluetooth device is determined according to at least one of the following information: The signal strength of the candidate Bluetooth device; The transmission bandwidth of the candidate Bluetooth device; The battery level of the candidate Bluetooth device.

12. A multimedia packet transmission method, characterized in that: The method is performed by a first Bluetooth device, and the method includes: Receive multimedia packets from the main Bluetooth device; Sending the multimedia package to the second Bluetooth device according to the first control instruction of the master Bluetooth device; Among them, the first Bluetooth device establishes a control link with the main Bluetooth device, the second Bluetooth device does not establish a control link with the main Bluetooth device, the first Bluetooth device and the second Bluetooth device both include a left channel Bluetooth component and a right channel Bluetooth component, a left channel data link with a bandwidth of W / 2 is established between the left channel Bluetooth component of the first Bluetooth device and the left channel Bluetooth component of the second Bluetooth device, and a right channel data link with a bandwidth of W / 2 is established between the right channel Bluetooth component of the first Bluetooth device and the right channel Bluetooth component of the second Bluetooth device, where W represents the Bluetooth transmission bandwidth of the main Bluetooth device.

13. The method according to claim 12, characterized in that The first Bluetooth device is located within the signal range of the master Bluetooth device, and the second Bluetooth device is located within the signal range of the first Bluetooth device.

14. The method according to claim 12, characterized in that The method further comprises: Based on determining that the first control link is connected and the second control link is disconnected, establishing a third control link with the second Bluetooth device according to the second control instruction of the master Bluetooth device; The first control link is located between the master Bluetooth device and the first Bluetooth device, and the second control link is located between the master Bluetooth device and the second Bluetooth device.

15. The method according to claim 12, characterized in that The method further comprises: transmitting the multimedia package via a chained transmission path; The master Bluetooth device is the first node in the chain transmission path, and the first Bluetooth device is the second node in the chain transmission path.

16. The method according to any one of claims 12 to 15, characterized in that: The method further comprises: Based on determining that the second Bluetooth device re-enters the signal range of the first Bluetooth device, or according to the third control instruction of the master Bluetooth device, re-establishing a third control link with the second Bluetooth device.

17. A multimedia packet transmission device, characterized in that: The device comprises: a control module configured to control the first Bluetooth device to send a multimedia packet to the second Bluetooth device based on determining that the first Bluetooth device has established a control link with the apparatus and the second Bluetooth device has not established a control link with the apparatus; Among them, the first Bluetooth device and the second Bluetooth device both include a left channel Bluetooth component and a right channel Bluetooth component, a left channel data link with a bandwidth of W / 2 is established between the left channel Bluetooth component of the first Bluetooth device and the left channel Bluetooth component of the second Bluetooth device, and a right channel data link with a bandwidth of W / 2 is established between the right channel Bluetooth component of the first Bluetooth device and the right channel Bluetooth component of the second Bluetooth device, where W represents the Bluetooth transmission bandwidth of the device.

18. A multimedia packet transmission device, characterized in that: The device comprises: a communication module configured to receive a multimedia package from a master Bluetooth device and send the multimedia package to a second Bluetooth device according to a first control instruction of the master Bluetooth device; In which, the device establishes a control link with the main Bluetooth device, the second Bluetooth device does not establish a control link with the main Bluetooth device, the device and the second Bluetooth device both include a left channel Bluetooth component and a right channel Bluetooth component, a left channel data link with a bandwidth of W / 2 is established between the left channel Bluetooth component of the device and the left channel Bluetooth component of the second Bluetooth device, and a right channel data link with a bandwidth of W / 2 is established between the right channel Bluetooth component of the device and the right channel Bluetooth component of the second Bluetooth device, where W represents the Bluetooth transmission bandwidth of the main Bluetooth device.

19. A master Bluetooth device, characterized in that: The master Bluetooth device includes a memory and a processor; At least one program code is stored in the memory, and the program code is loaded and executed by the processor to implement the multimedia packet transmission method according to any one of claims 1 to 11.

20. A first Bluetooth device, characterized in that: The first Bluetooth device includes a memory and a processor; At least one program code is stored in the memory, and the program code is loaded and executed by the processor to implement the multimedia packet transmission method according to any one of claims 12 to 16.

21. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and the computer program is configured to be executed by a processor to implement the multimedia packet transmission method according to any one of claims 1 to 16.

22. A chip, characterized in that: The chip includes a processor configured to execute the multimedia packet transmission method according to any one of claims 1 to 11.

23. A chip, characterized in that: The chip includes a processor configured to execute the multimedia packet transmission method according to any one of claims 12 to 16.

24. A computer program product, characterized in that The computer program product stores a computer program, and the computer program is configured to be executed by a Bluetooth device to implement the multimedia packet transmission method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Bluetooth headset connection method and device, electronic equipment and storage medium

    CN109347581A