Multi-device Bluetooth connection rapid switching method, device and system
By acquiring and transmitting pairing information of Bluetooth playback devices through a Bluetooth auxiliary connection device, the problems of cumbersome operation, signal interference, and privacy leakage in multi-device scenarios of traditional Bluetooth connections are solved, enabling fast and automatic pairing and switching of audio source devices.
Patent Information
- Application Number
- CN202511862315.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-01-13
AI Technical Summary
Traditional Bluetooth pairing mechanisms are cumbersome to operate in multi-device scenarios, and pose risks of signal interference and privacy leaks.
The pairing information of the Bluetooth playback device is obtained in advance by the Bluetooth auxiliary connection device, and the target audio source device is made to obtain the pairing information in response to user operation in multi-device scenarios, so as to achieve a fast connection with the Bluetooth playback device.
It enables rapid and automatic pairing and switching of audio source devices in multi-device scenarios, avoiding signal interference and privacy leaks, and is simple and efficient to operate.
Smart Images

Figure CN121334786A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a method, apparatus and system for fast switching of Bluetooth connections between multiple devices. Background Technology
[0002] Bluetooth communication is a short-range wireless technology for data transmission between devices. Due to its low cost, low power consumption, ease of deployment, and ability to quickly interconnect devices, it is widely used in consumer electronics, the Internet of Things (IoT), and medical fields. In the classic Bluetooth protocol, audio transmission relies on the A2DP (Advanced Audio Distribution Profile) protocol. Traditional Bluetooth pairing requires the user to manually put the Bluetooth audio source device (such as a Bluetooth-enabled mobile phone or computer, conference room speakers, fitness equipment, exhibition equipment, etc.) into pairing mode (e.g., enable "discoverable"), and then the Bluetooth playback device (such as Bluetooth headphones) searches for and connects.
[0003] This traditional Bluetooth pairing mechanism works in one-to-one scenarios, but it presents several problems when there are multiple audio source devices in public places (such as conference rooms, gyms, and exhibition halls). The problems include: cumbersome operation: users need to set each audio source device to pairing mode individually and manually connect the headphones, which is inefficient; signal interference risk: when multiple audio source devices are in pairing mode simultaneously, it can easily lead to misconnections or signal interference; and privacy risks: audio source devices publicly broadcast pairing information, which may be scanned and connected to by unauthorized devices. Summary of the Invention
[0004] This invention provides a method, apparatus, and system for fast switching of Bluetooth connections between multiple devices, which can solve the technical problems of cumbersome operation, signal interference risk, and privacy leakage risks in the traditional Bluetooth connection pairing mechanism when there are multiple audio source devices at the same time.
[0005] To address the aforementioned technical problems, this invention provides a method for fast switching of Bluetooth connections between multiple devices, the method comprising: The Bluetooth auxiliary connection device obtains the Bluetooth pairing information of the Bluetooth playback device in advance; In a scenario with multiple audio source devices, the Bluetooth auxiliary connection device, which completes pairing in response to the user's Bluetooth connection operation, is used to enable the target audio source device among the multiple audio source devices to obtain the Bluetooth pairing information, and to enable the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information.
[0006] Furthermore, the present invention also proposes a multi-device Bluetooth connection fast switching device, configured in a Bluetooth assisted connection device, the device comprising: The first pre-pairing module is used for the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device in advance. The first auxiliary connection module is used to complete pairing in response to the user's Bluetooth connection operation in a scenario with multiple audio source devices. The Bluetooth auxiliary connection device is used to enable the target audio source device among the multiple audio source devices to obtain the Bluetooth pairing information, and to enable the target audio source device to establish a Bluetooth connection with the Bluetooth playback device according to the Bluetooth pairing information.
[0007] Furthermore, this invention also proposes a method for fast switching of Bluetooth connections between multiple devices, the method comprising: The Bluetooth playback device provides Bluetooth auxiliary connection devices with Bluetooth pairing information in advance. In a scenario with multiple audio source devices, in response to a user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with a target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the Bluetooth auxiliary connection device that has completed pairing.
[0008] Furthermore, the present invention also proposes a multi-device Bluetooth connection fast switching device, configured in a Bluetooth playback device, the device comprising: The second pre-pairing module is used by the Bluetooth playback device to pre-provide Bluetooth auxiliary connection device with Bluetooth pairing information; The first Bluetooth connection module is used to, in a scenario with multiple audio source devices, respond to a user's Bluetooth connection operation, establish a Bluetooth connection between the Bluetooth playback device and a target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the Bluetooth auxiliary connection device that has completed pairing.
[0009] Furthermore, this invention also proposes a method for fast switching of Bluetooth connections between multiple devices, the method comprising: In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device from the Bluetooth auxiliary connection device. The target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information.
[0010] Furthermore, this invention also proposes a multi-device Bluetooth connection fast switching device, configured in an audio source device, the device comprising: The second auxiliary connection module is used to, in a scenario with multiple audio source devices, respond to the user's Bluetooth connection operation, and the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device from the Bluetooth auxiliary connection device. The second Bluetooth connection module is used for the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information.
[0011] Furthermore, the present invention also proposes a Bluetooth-assisted connection device, comprising: The first storage unit is used to store the computer program; The first wireless signal transceiver unit is used to receive or transmit radio signals; A first processor is configured to execute the computer program, enabling the Bluetooth-assisted connection device to implement the multi-device Bluetooth connection fast switching method described above.
[0012] Furthermore, the present invention also proposes a Bluetooth playback device, comprising: The second storage unit is used to store computer programs; The second wireless signal transceiver unit is used to receive or transmit radio signals; The second processor is used to execute the computer program, enabling the Bluetooth playback device to implement the multi-device Bluetooth connection fast switching method described above.
[0013] Furthermore, the present invention also proposes an audio source device, comprising: The third storage unit is used to store computer programs; The third wireless signal transceiver unit is used to receive or transmit radio signals; A third processor is used to execute the computer program, enabling the audio source device to implement the multi-device Bluetooth connection fast switching method described above.
[0014] Furthermore, this invention also proposes a multi-device Bluetooth connection fast switching system, comprising: Bluetooth auxiliary connection device as described above; Bluetooth playback devices as described above; and, The aforementioned multiple audio source devices.
[0015] The beneficial effects of the technical solution provided by this invention include: In scenarios with multiple audio source devices, a Bluetooth auxiliary connection device can be pre-binded to a Bluetooth playback device, enabling the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device. When it is necessary to connect the Bluetooth playback device to one of the multiple audio source devices (i.e., the target audio source device) via Bluetooth, the target audio source device can obtain the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device from the Bluetooth playback device, thereby enabling the Bluetooth connection between the Bluetooth playback device and the target audio source device through the Bluetooth auxiliary connection device.
[0016] In this way, when a user needs to connect a Bluetooth playback device to one of multiple audio source devices, or switch from one audio source device to another, they only need to connect the Bluetooth auxiliary connection device, which obtains Bluetooth pairing information from the Bluetooth playback device, to the audio source device (i.e., the target audio source device). This allows the Bluetooth playback device to connect to any of the multiple audio source devices, enabling quick connection and switching. Furthermore, when connecting the audio source device to the Bluetooth playback device, the audio source device automatically obtains the Bluetooth pairing information from the playback device, achieving automatic one-to-one pairing without any additional user intervention. This is simple, efficient, and eliminates signal interference issues. Moreover, during the Bluetooth connection process, there is no need to publicly broadcast pairing information, reducing the security risk of information leakage and protecting privacy. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 The following is a simplified flowchart illustrating the steps of the multi-device Bluetooth connection fast switching method described in the first embodiment of the present invention. Figure 1 ; Figure 2 This is a simplified block diagram illustrating the pre-pairing structure of the Bluetooth auxiliary connection device and the Bluetooth playback device in the multi-device Bluetooth connection fast switching method described in the first embodiment of the present invention. Figure 3 This is a simplified block diagram illustrating the structure of a Bluetooth playback device connecting to one of multiple audio source devices via a Bluetooth auxiliary connection device in the multi-device Bluetooth connection fast switching method described in the first embodiment of the present invention. Figure 4 This is a simplified block diagram illustrating the structure of the Bluetooth playback device switching to another Bluetooth connection among multiple audio source devices via a Bluetooth auxiliary connection device in the multi-device Bluetooth connection fast switching method described in the first embodiment of the present invention. Figure 5 The following is a simplified flowchart illustrating the steps of the multi-device Bluetooth connection fast switching method described in the first embodiment of the present invention. Figure 2 ; Figure 6 This is a simplified structural diagram of the multi-device Bluetooth connection fast switching device according to the first embodiment of the present invention. Figure 1 ; Figure 7This is a simplified structural diagram of the multi-device Bluetooth connection fast switching device according to the first embodiment of the present invention. Figure 2 ; Figure 8 This is a simplified structural block diagram of the Bluetooth auxiliary connection device according to the first embodiment of the present invention; Figure 9 The following is a simplified flowchart illustrating the steps of the multi-device Bluetooth connection fast switching method according to the second embodiment of the present invention. Figure 1 ; Figure 10 The following is a simplified flowchart illustrating the steps of the multi-device Bluetooth connection fast switching method according to the second embodiment of the present invention. Figure 2 ; Figure 11 This is a simplified structural diagram of the multi-device Bluetooth connection fast switching device according to the second embodiment of the present invention. Figure 1 ; Figure 12 This is a simplified structural diagram of the multi-device Bluetooth connection fast switching device according to the second embodiment of the present invention. Figure 2 ; Figure 13 This is a simplified structural block diagram of the Bluetooth playback device according to the second embodiment of the present invention; Figure 14 The following is a simplified flowchart illustrating the steps of the multi-device Bluetooth connection fast switching method according to the third embodiment of the present invention. Figure 1 ; Figure 15 The following is a simplified flowchart illustrating the steps of the multi-device Bluetooth connection fast switching method according to the third embodiment of the present invention. Figure 2 ; Figure 16 This is a simplified structural diagram of the multi-device Bluetooth connection fast switching device according to the third embodiment of the present invention. Figure 1 ; Figure 17 This is a simplified structural diagram of the multi-device Bluetooth connection fast switching device according to the third embodiment of the present invention. Figure 2 ; Figure 18 This is a simplified structural block diagram of the Bluetooth playback device according to the third embodiment of the present invention; Figure 19 This is a simplified block diagram illustrating the structure of the multi-device Bluetooth connection fast switching system described in an embodiment of the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] In daily work and life, we often use Bluetooth audio devices (such as Bluetooth headphones and Bluetooth-enabled mobile phones, computers, speakers, monitors, etc.) to play and listen to audio information. During use, Bluetooth audio devices often need to be paired one-to-one to establish a Bluetooth connection for audio transmission. Furthermore, typically, one of the two Bluetooth audio devices is a source device providing the audio information, and the other is a Bluetooth playback device (or Bluetooth receiver) for playing and listening to the audio.
[0021] In traditional technologies, the traditional one-to-one Bluetooth connection pairing mechanism is feasible in scenarios with only two Bluetooth audio devices; however, in public places (such as conference rooms, gyms, exhibition halls, etc.) with multiple audio source devices, the traditional one-to-one Bluetooth connection pairing mechanism will have some problems.
[0022] For example, users need to set multiple audio source devices to pairing mode one by one and manually connect Bluetooth playback devices (such as Bluetooth headphones), which is cumbersome and inefficient. Moreover, when multiple audio source devices are in pairing mode at the same time, it is easy for Bluetooth playback devices (such as Bluetooth headphones) to connect incorrectly or cause signal interference. Furthermore, the audio source devices publicly broadcast pairing information, which may be scanned and connected by unauthorized Bluetooth playback devices, posing a risk of privacy leakage.
[0023] Therefore, this invention proposes a method, apparatus, and system for fast switching of Bluetooth connections between multiple devices, which solves the problems of cumbersome operation, signal interference risk, and privacy leakage risks in the traditional Bluetooth connection pairing mechanism when there are multiple audio source devices at the same time. It can realize fast and automatic pairing and switching of Bluetooth playback devices (such as Bluetooth headphones) in the environment of multiple audio source devices.
[0024] Example 1 This invention proposes a method for fast switching of Bluetooth connections between multiple devices. Specifically, as follows: Figure 1 As shown, the method for quickly switching between multiple device Bluetooth connections may include the following steps: S12, The Bluetooth auxiliary connection device obtains the Bluetooth pairing information of the Bluetooth playback device in advance; S14. In scenarios with multiple audio source devices, in response to the user's Bluetooth connection operation, the Bluetooth auxiliary connection device that completes pairing is used to enable the target audio source device among the multiple audio source devices to obtain Bluetooth pairing information, and enables the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information.
[0025] like Figures 2 to 3 As shown, in scenarios with multiple audio source devices, a Bluetooth auxiliary connection device can be pre-paired with a Bluetooth playback device, allowing the auxiliary connection device to obtain the Bluetooth pairing information of the playback device. When it is necessary to establish a Bluetooth connection between the playback device and one of the multiple audio source devices (i.e., the target audio source device), the target audio source device can obtain the Bluetooth pairing information obtained by the auxiliary connection device from the playback device, thereby enabling the Bluetooth connection between the playback device and the target audio source device. The auxiliary connection device obtaining the Bluetooth pairing information of the playback device means that the auxiliary connection device first pairs with the playback device, then saves the pairing information, and then the target audio source device copies the Bluetooth pairing information saved in the auxiliary connection device.
[0026] Thus, as Figures 3 to 4 As shown, when a user needs to connect a Bluetooth playback device to one of multiple audio source devices via Bluetooth, or switch from one audio source device to another, they only need to connect the Bluetooth auxiliary connection device, which obtains Bluetooth pairing information from the Bluetooth playback device, to the audio source device (i.e., the target audio source device). This allows the Bluetooth playback device to connect to any of the multiple audio source devices, enabling quick connection and switching. Furthermore, when connecting the audio source device to the Bluetooth playback device, the audio source device automatically obtains the Bluetooth pairing information from the playback device, achieving automatic one-to-one pairing without any additional user intervention. This is simple, efficient, and eliminates signal interference issues. Moreover, during the Bluetooth connection process, there is no need to publicly broadcast pairing information, reducing the security risk of information leakage and protecting privacy.
[0027] Furthermore, in step S12, the Bluetooth auxiliary connection device pre-acquires the Bluetooth pairing information of the Bluetooth playback device, which may further include the following steps: S122. In response to the user's Bluetooth pre-pairing operation, when the first real-time distance between the Bluetooth auxiliary connection device and the Bluetooth playback device reaches the first preset distance, the Bluetooth auxiliary connection device and the Bluetooth playback device enter the pairing state.
[0028] In this embodiment, the user's Bluetooth pre-pairing operation can refer to the user bringing the Bluetooth auxiliary connection device close to or attaching it to the Bluetooth playback device, so that the Bluetooth auxiliary connection device reaches the pairing distance requirement (i.e., the first preset distance) with the Bluetooth playback device, thereby enabling the Bluetooth auxiliary connection device to pair with the Bluetooth playback device. This avoids mis-pairing of the Bluetooth auxiliary connection device with other Bluetooth devices. Furthermore, in this embodiment, the first preset distance can refer to the Bluetooth auxiliary connection device being in contact with the Bluetooth playback device, i.e., zero distance; alternatively, the first preset distance can also refer to the distance between the Bluetooth auxiliary connection device and the Bluetooth playback device being within a pre-set pairing distance range. Moreover, the first preset distance can typically be represented by signal strength; that is, the distance with the signal strength required for the Bluetooth auxiliary connection device and the Bluetooth playback device to connect and pair can be set as the first preset distance.
[0029] Furthermore, pairing between the Bluetooth auxiliary connection device and the Bluetooth playback device can be performed using a third-party device or directly between the two. In this embodiment, the Bluetooth auxiliary connection device can be attached to the Bluetooth playback device, and the Bluetooth auxiliary connection device can filter signal strength to ensure that it only enters pairing mode with the attached Bluetooth playback device.
[0030] S124. The Bluetooth auxiliary connection device exchanges pairing information with the Bluetooth playback device, obtains the Bluetooth pairing information of the Bluetooth playback device, and establishes a unique binding relationship between the two; the Bluetooth pairing information includes device identification information and encryption key.
[0031] Once the Bluetooth auxiliary connection device and the Bluetooth playback device enter pairing mode, the Bluetooth auxiliary connection device can obtain the Bluetooth pairing information of the playback device, namely the first device identification information and the first encryption key of the playback device. Similarly, the Bluetooth auxiliary connection device can also provide the Bluetooth playback device with its Bluetooth pairing information, namely the second device identification information and the second encryption key of the Bluetooth auxiliary connection device, to achieve the binding between the two. Moreover, the binding between the Bluetooth auxiliary connection device and the Bluetooth playback device only requires one operation, and no repeated operations are needed subsequently.
[0032] Furthermore, in step S124, the Bluetooth auxiliary connection device and the Bluetooth playback device exchange pairing information, which may further include the following steps: S1242, The Bluetooth auxiliary connection device sends a connection request message to the Bluetooth playback device; S1244. After the Bluetooth playback device responds to the connection request information, it enters the pairing process; S1246. When the Bluetooth playback device and the Bluetooth auxiliary connection device enter the pairing process, they exchange pairing parameters, generate and save a long-term key, and establish an encrypted connection.
[0033] In this embodiment, the Bluetooth auxiliary connection device can communicate with the Bluetooth playback device via Bluetooth, enabling the Bluetooth auxiliary connection device to exchange pairing information with the Bluetooth playback device through Bluetooth communication. In this case, the Bluetooth auxiliary connection device can be a Bluetooth Low Energy tag, or a card, wearable device (such as a bracelet, watch, etc.) with a Bluetooth Low Energy tag.
[0034] Furthermore, the Bluetooth auxiliary connection device can communicate with the Bluetooth playback device via NFC, enabling the Bluetooth auxiliary connection device to exchange pairing information with the Bluetooth playback device through NFC communication. In this case, the Bluetooth auxiliary connection device can be an NFC card, or a wearable device with NFC functionality (such as a bracelet, watch, etc.).
[0035] Furthermore, in step S14, in response to the user's Bluetooth connection operation, the completed Bluetooth auxiliary connection device is used to enable the target audio source device among multiple audio source devices to obtain Bluetooth pairing information, which may further include the following steps: S142. In response to the user's Bluetooth connection operation, when the second real-time distance between the Bluetooth auxiliary connection device and the target audio source device reaches the second preset distance, the Bluetooth auxiliary connection device and the target audio source device enter the connection state.
[0036] In this embodiment, the user's Bluetooth connection operation can refer to the user bringing the Bluetooth auxiliary connection device close to or attaching it to the target audio source device, so that the Bluetooth auxiliary connection device reaches the pairing distance requirement (i.e., the second preset distance) with the target audio source device, thereby enabling the Bluetooth auxiliary connection device to pair with the target audio source device. This avoids accidental pairing of the Bluetooth auxiliary connection device with other Bluetooth devices. Similarly, in this embodiment, the second preset distance can refer to the Bluetooth auxiliary connection device being in contact with the target audio source device, i.e., zero distance; or it can refer to the distance between the Bluetooth auxiliary connection device and the target audio source device being within a pre-set pairing distance range. Similarly, the second preset distance can also be represented by signal strength (such as the strength of near-field communication signals, Bluetooth RSSI signals, etc.), that is, the distance with the signal strength required for the Bluetooth auxiliary connection device to connect and pair with the target audio source device is set as the second preset distance.
[0037] Similarly, pairing the Bluetooth auxiliary connection device with the target audio source device can be done using a third-party device or directly between the two. In this embodiment, the Bluetooth auxiliary connection device can be directly attached to the target audio source device, and the Bluetooth auxiliary connection device can filter signal strength to ensure that it only enters pairing mode with the attached target audio source device.
[0038] S144. When the Bluetooth auxiliary connection device is connected to the target audio source device, the Bluetooth auxiliary connection device is used to allow the target audio source device to read and copy the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device.
[0039] After the Bluetooth auxiliary connection device and the target audio source device enter pairing mode, the target audio source device can obtain the first device identification information and the first encryption key obtained by the Bluetooth auxiliary connection device from the Bluetooth playback device. Simultaneously, the target audio source device can also obtain its own Bluetooth pairing information from the Bluetooth auxiliary connection device, namely the second device identification information and the second encryption key of the Bluetooth auxiliary connection device. This allows the target audio source device to read and copy the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device, as well as its own Bluetooth pairing information, thereby enabling the target audio source device to replicate the identity of the Bluetooth auxiliary connection device and establish a connection and pairing with the Bluetooth playback device.
[0040] Furthermore, in step S142, the Bluetooth assisted connection device and the target audio source device enter a connection state, which may further include the following steps: S1422, the Bluetooth auxiliary connection device and the target audio source device enter the connection state via near field communication.
[0041] In other words, the Bluetooth auxiliary connection device and the target audio source device obtain corresponding Bluetooth pairing information via NFC, enabling a Bluetooth connection between them. For example, the Bluetooth auxiliary connection device can be an NFC card, or a wearable device with NFC functionality (such as a bracelet or watch). The NFC-enabled Bluetooth auxiliary connection device can be brought close to the target audio source device, allowing the target audio source device to read the Bluetooth pairing information from the Bluetooth auxiliary connection device, thereby obtaining the Bluetooth pairing information of the Bluetooth playback device (i.e., the first device identification information and the first encryption key).
[0042] Alternatively, S1424, the Bluetooth auxiliary connection device is used to allow the target audio source device to be detected via Bluetooth RSSI, so that the target audio source device and the Bluetooth auxiliary connection device can enter a connection state.
[0043] Specifically, the Bluetooth auxiliary connection device can broadcast a Bluetooth signal with a specific identifier and move closer to the target audio source device. The target audio source device can detect the proximity of the Bluetooth auxiliary connection device through Bluetooth RSSI (signal strength index) and automatically send an information request to the Bluetooth auxiliary connection device to obtain Bluetooth pairing information, thereby achieving connection between the target audio source device and the Bluetooth auxiliary connection device.
[0044] Alternatively, S1426, the Bluetooth auxiliary connection device is used to enable the target audio source device to virtualize itself as the Bluetooth auxiliary connection device, so that the target audio source device and the Bluetooth auxiliary connection device can enter a connection state.
[0045] In other words, the target audio source device can obtain the Bluetooth pairing information of the Bluetooth auxiliary connection device and virtualize itself as the Bluetooth auxiliary connection device (i.e., a paired device simulating a Bluetooth playback device). This can bypass the traditional Bluetooth pairing process and also enable the connection between the target audio source device and the Bluetooth auxiliary connection device.
[0046] Furthermore, in step S14, the process of establishing a Bluetooth connection between the target audio source device and the Bluetooth playback device based on Bluetooth pairing information may further include the following steps: S146. The Bluetooth auxiliary connection device is used to allow the target audio source device to copy the Bluetooth connection identity of the Bluetooth auxiliary connection device based on the copied Bluetooth pairing information.
[0047] After the target audio source device reads and copies the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device, as well as its own Bluetooth pairing information, the target audio source device can copy the Bluetooth connection identity of the Bluetooth auxiliary connection device, thus simulating the target audio source device as a Bluetooth auxiliary connection device that has been paired with the Bluetooth playback device.
[0048] S148. Enables the target audio source device to directly establish an A2DP (Advanced Audio Distribution Profile) audio connection with the Bluetooth playback device based on the copied Bluetooth connection identity.
[0049] When the target audio source device is simulated as a Bluetooth auxiliary connection device that has been paired with the Bluetooth playback device, the target audio source device can directly establish an A2DP audio connection with the Bluetooth playback device, and can directly transmit the audio information of the target audio source device to the Bluetooth playback device, so that the Bluetooth playback device can play the A2DP audio information of the target audio source device.
[0050] Furthermore, in step S148, enabling the target audio source device to directly establish an A2DP audio connection with the Bluetooth playback device based on the copied Bluetooth connection identity may further include the following steps: S1482. Enables the target audio source device to verify pairing information with the Bluetooth playback device based on the copied Bluetooth connection identity.
[0051] After the target audio source device and the Bluetooth playback device establish a connection, the pairing information is verified. This is based on the key system (i.e., encryption key) negotiated and stored during the initial pairing (i.e. when the Bluetooth playback device and the Bluetooth auxiliary connection device are paired via Bluetooth). Through identity authentication, encryption verification and other mechanisms, it is confirmed that both parties are legitimate devices that have been paired before, thus preventing unauthorized devices from accessing the device or data from being tampered with.
[0052] S1484. When the encryption key of the target audio source device is detected to be consistent with the encryption key of the Bluetooth auxiliary connection device, the target audio source device establishes an A2DP audio connection with the Bluetooth playback device.
[0053] In the preceding steps, the Bluetooth playback device has already paired with the Bluetooth auxiliary connection device. Subsequently, the target audio source device copies the Bluetooth pairing information from the pairing process between the Bluetooth auxiliary connection device and the Bluetooth playback device, thus simulating a Bluetooth auxiliary connection device already paired with the Bluetooth playback device. This allows the target audio source device to possess the encryption key of the Bluetooth auxiliary connection device. Therefore, verifying the pairing information between the target audio source device and the Bluetooth playback device is equivalent to verifying the pairing information between the Bluetooth auxiliary connection device and the Bluetooth playback device. Verification is successful when the encryption key of the target audio source device matches the encryption key of the Bluetooth auxiliary connection device. Once the pairing information verification between the target audio source device and the Bluetooth playback device is successful, an A2DP audio connection can be established, allowing the Bluetooth playback device to play A2DP audio information from the target audio source device.
[0054] Moreover, such as Figure 5 As shown, in step S14, after the target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information, the following steps may also be included: S16, The Bluetooth auxiliary connection device is used to enable the target audio source device to detect the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time.
[0055] When the target audio source device connects and pairs with the Bluetooth playback device through the Bluetooth auxiliary connection device, it will also detect the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device. Specifically, the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device can be detected by signal strength.
[0056] S18. When the third real-time distance reaches the third preset distance, the Bluetooth auxiliary connection device disconnects from the target audio source device, causing the target audio source device to disconnect from the Bluetooth playback device.
[0057] In this embodiment, the signal strength when the Bluetooth auxiliary connection device and the target audio source device disconnect from pairing can be set to the signal strength when they reach a third preset distance. When the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device reaches the third preset distance, it is determined that the connection signal strength between the Bluetooth auxiliary connection device and the target audio source device is insufficient to achieve pairing, and at this time, they disconnect from pairing (i.e., the connection is cut off). When the connection between the Bluetooth auxiliary connection device and the target audio source device is cut off, the target audio source device can no longer simulate the Bluetooth connection identity of the Bluetooth auxiliary connection device, causing the connection between the target audio source device and the Bluetooth playback device to be cut off accordingly.
[0058] Furthermore, after the Bluetooth auxiliary connection device disconnects from the target audio source device in step S18, the following steps may also be included: S19. In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the Bluetooth auxiliary connection device that completes pairing is used to enable the second target audio source device among the multiple audio source devices to obtain Bluetooth pairing information, and enables the second target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information.
[0059] In essence, after disconnecting from one target audio source device among multiple audio source devices, the Bluetooth auxiliary connection device can establish a Bluetooth connection with another target audio source device (i.e., the second target audio source device). This allows the second target audio source device to simulate the Bluetooth connection identity of the auxiliary connection device, establishing a Bluetooth connection and an A2DP audio connection with the Bluetooth playback device. Consequently, the Bluetooth playback device can receive A2DP audio information sent by the second target audio source device. Thus, through a Bluetooth auxiliary connection device pre-paired with the Bluetooth playback device, any one of the multiple audio source devices can establish a Bluetooth connection and an A2DP audio connection with the Bluetooth playback device, and switching between them can be performed at any time.
[0060] Furthermore, the specific method by which the Bluetooth auxiliary connection device connects to the second target audio source device to achieve the connection between the Bluetooth playback device and the second target audio source device is similar to the specific method by which the Bluetooth auxiliary connection device connects to the target audio source device to achieve the connection between the Bluetooth playback device and the target audio source device, and will not be repeated here.
[0061] The multi-device Bluetooth connection fast switching solution proposed in this invention allows audio source devices to obtain the identity information of Bluetooth playback devices through a Bluetooth auxiliary connection device in scenarios with multiple audio source devices, without having to publicly broadcast their own pairing status, thus improving security. Users only need to touch or approach the target audio source device among multiple audio source devices to trigger a fully automatic connection process. It supports seamless switching of the same Bluetooth playback device between different audio source devices and is suitable for complex multi-device environments.
[0062] Furthermore, the present invention also proposes a multi-device Bluetooth connection fast switching device 100, configured in the Bluetooth auxiliary connection device 10. For example... Figure 6 As shown, the multi-device Bluetooth connection quick switching device 100 may include: The first pre-pairing module 102 is used for the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device in advance. The first auxiliary connection module 104 is used in a scenario with multiple audio source devices to respond to the user's Bluetooth connection operation and complete the pairing of the Bluetooth auxiliary connection device. This device is used to enable the target audio source device among the multiple audio source devices to obtain Bluetooth pairing information and to enable the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information.
[0063] In addition, such as Figure 7 As shown, the multi-device Bluetooth connection fast switching device 100 may further include a first switching connection module 106, which can be used for: The Bluetooth auxiliary connection device is used to enable the target audio source device to detect the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time. When the third real-time distance reaches the third preset distance, the Bluetooth auxiliary connection device disconnects from the target audio source device, causing the target audio source device to disconnect from the Bluetooth playback device.
[0064] Furthermore, the first switching connection module 106 can also be used in a scenario with multiple audio source devices to respond to the user's Bluetooth connection operation and complete the pairing of the Bluetooth auxiliary connection device for the second target audio source device among the multiple audio source devices to obtain Bluetooth pairing information, and enable the second target audio source device to establish a Bluetooth connection with the Bluetooth playback device according to the Bluetooth pairing information.
[0065] The multi-device Bluetooth connection fast switching device 100 described in this embodiment corresponds to the multi-device Bluetooth connection fast switching method described above. The functions of each module in the multi-device Bluetooth connection fast switching device 100 in this embodiment are described in detail in the corresponding method embodiments, and will not be repeated here.
[0066] In addition, such as Figure 8 As shown, the present invention also proposes a Bluetooth assisted connection device 10, which may include: The first storage unit 11 is used to store computer programs; The first wireless signal transceiver unit 13 is used to receive or transmit radio signals; The first processor 15 is used to execute the computer program, enabling the Bluetooth assisted connection device to implement the multi-device Bluetooth connection fast switching method as described above. For specific implementation details, please refer to the specific content of the multi-device Bluetooth connection fast switching method in this embodiment, which will not be repeated here.
[0067] Furthermore, the present invention also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement all or part of the method steps of the multi-device Bluetooth connection fast switching method described above. Moreover, this computer-readable storage medium can be applied to the Bluetooth assisted connection device 10 described above.
[0068] Furthermore, the present invention also proposes a computer program product for running on a computer to realize the multi-device Bluetooth connection fast switching method described above. Moreover, this computer program product can be applied to the Bluetooth assisted connection device 10 described above.
[0069] Example 2 Furthermore, this invention also proposes a method for fast switching of Bluetooth connections between multiple devices. Specifically, as follows: Figure 9 As shown, the method for quickly switching between multiple device Bluetooth connections may include the following steps: S22, The Bluetooth playback device provides Bluetooth auxiliary connection devices with Bluetooth pairing information in advance; S24. In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with the target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the paired Bluetooth auxiliary connection device.
[0070] In scenarios with multiple audio source devices, the Bluetooth auxiliary connection device can obtain the Bluetooth pairing information of the Bluetooth playback device, allowing the Bluetooth playback device to be pre-bound to the Bluetooth auxiliary connection device. When it is necessary to connect the Bluetooth playback device to one of the multiple audio source devices (i.e., the target audio source device) via Bluetooth, the target audio source device can obtain the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device from the Bluetooth playback device, thereby enabling the Bluetooth connection between the Bluetooth playback device and the target audio source device through the Bluetooth auxiliary connection device.
[0071] In this context, "the Bluetooth playback device provides Bluetooth auxiliary connection device with Bluetooth pairing information in advance" means that the Bluetooth auxiliary connection device first pairs with the Bluetooth playback device, then saves the Bluetooth pairing information, and then the target audio source device copies the Bluetooth pairing information saved in the Bluetooth auxiliary connection device.
[0072] When a user needs to connect a Bluetooth playback device to one of multiple audio source devices via Bluetooth, or switch between multiple audio source devices, they only need to connect a Bluetooth auxiliary connection device that obtains Bluetooth pairing information from the Bluetooth playback device to the audio source device (i.e., the target audio source device). This allows the Bluetooth playback device to connect to any of the multiple audio source devices, enabling quick connection and switching. Furthermore, when connecting an audio source device to a Bluetooth playback device, the audio source device automatically obtains the Bluetooth pairing information from the playback device, achieving automatic one-to-one pairing without any additional user intervention. This is simple, efficient, and eliminates signal interference issues. Moreover, during the Bluetooth connection process, there is no need to publicly broadcast pairing information, reducing the security risk of information leakage and protecting privacy.
[0073] Furthermore, in step S22, the Bluetooth playback device provides Bluetooth auxiliary connection device with Bluetooth pairing information in advance, which may further include the following steps: S222. In response to the user's Bluetooth pre-pairing operation, when the first real-time distance between the Bluetooth auxiliary connection device and the Bluetooth playback device reaches the first preset distance, the Bluetooth playback device and the Bluetooth auxiliary connection device enter the pairing state. S224. The Bluetooth playback device and the Bluetooth auxiliary connection device exchange pairing information, which is used for the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device, so that the two establish a unique binding relationship; the Bluetooth pairing information includes device identification information and encryption key.
[0074] In this embodiment, the Bluetooth playback device acts as the implementing entity for step S22 of the multi-device Bluetooth connection fast switching method, enabling the Bluetooth auxiliary connection device to exchange Bluetooth pairing information with the Bluetooth auxiliary connection device, thus allowing the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device. It can be seen that step S22 in this embodiment corresponds to step S12 in the previous embodiment, the difference being that the implementing entity for step S12 is the Bluetooth auxiliary connection device, which will not be described further here.
[0075] Furthermore, in step S224, the Bluetooth playback device and the Bluetooth auxiliary connection device exchange pairing information, which may further include the following steps: S2242. The Bluetooth playback device receives a connection request information sent by the Bluetooth auxiliary connection device; S2244. When the Bluetooth playback device receives the connection request information, it enters the pairing process; S2246. When the Bluetooth playback device and the Bluetooth auxiliary connection device enter the pairing process, they exchange pairing parameters, generate and save a long-term key, and establish an encrypted connection.
[0076] Furthermore, in step S24, in response to the user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with the target audio source device among multiple audio source devices that have obtained Bluetooth pairing information from the paired Bluetooth auxiliary connection device, which may further include the following steps: S242. In response to the user's Bluetooth connection operation, when the second real-time distance between the Bluetooth auxiliary connection device and the target audio source device reaches the second preset distance, the paired Bluetooth auxiliary connection device and the target audio source device enter the connection state. S244. When the Bluetooth auxiliary connection device is connected to the target audio source device, the Bluetooth auxiliary connection device is used to allow the target audio source device to read and copy the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device. S246. When the target audio source device obtains Bluetooth pairing information, the Bluetooth playback device and the target audio source device establish a Bluetooth connection based on the Bluetooth pairing information.
[0077] Similarly, in this embodiment, the Bluetooth playback device acts as the implementing entity of step S24, establishing a Bluetooth connection with the target audio source device using a Bluetooth auxiliary connection device. It can be seen that step S24 in this embodiment corresponds to step S14 in the above embodiments, the difference being that the implementing entity of step S14 is the Bluetooth auxiliary connection device, which will not be elaborated further here.
[0078] Furthermore, in step S242, the pairing of the Bluetooth auxiliary connection device and the target audio source device can be further included in the following steps: S2422, enables the Bluetooth auxiliary connection device and the target audio source device to enter a connection state via near field communication; Alternatively, S2424, enables the Bluetooth auxiliary connection device to be detected by the target audio source device via Bluetooth RSSI, so that the target audio source device and the Bluetooth auxiliary connection device enter a connection state. Alternatively, S2426, the Bluetooth auxiliary connection device is used to allow the target audio source device to virtualize itself as the Bluetooth auxiliary connection device, so that the target audio source device and the Bluetooth auxiliary connection device enter a connection state.
[0079] Furthermore, in step S246, the Bluetooth playback device and the target audio source device establish a Bluetooth connection based on the Bluetooth pairing information, which may further include the following steps: S2462, Enables the Bluetooth auxiliary connection device to be used by the target audio source device to copy the Bluetooth connection identity of the Bluetooth auxiliary connection device based on the copied Bluetooth pairing information; S2464. A Bluetooth playback device and a target audio source device with copied Bluetooth connection identity directly establish an A2DP audio connection.
[0080] Furthermore, in step S2464, the Bluetooth playback device and the target audio source device with the copied Bluetooth connection identity directly establish an A2DP audio connection, which may further include the following steps: S24642. The Bluetooth playback device verifies pairing information with the target audio source device that has copied the Bluetooth connection identity. S24644 When the encryption key of the target audio source device is detected to be consistent with the encryption key of the Bluetooth auxiliary connection device, the Bluetooth playback device establishes an A2DP audio connection with the target audio source device.
[0081] Moreover, such as Figure 10 As shown, in step S24, after the Bluetooth playback device establishes a Bluetooth connection with the target audio source device among multiple audio source devices that have obtained Bluetooth pairing information from the paired Bluetooth auxiliary connection device, the following steps may also be included: S26, enabling the Bluetooth auxiliary connection device to provide the target audio source device with real-time detection of the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device; S28. When the third real-time distance reaches the third preset distance, the Bluetooth auxiliary connection device disconnects from the target audio source device, and the Bluetooth playback device disconnects from the target audio source device.
[0082] Similarly, in this embodiment, the Bluetooth playback device acts as the implementing entity for steps S26 and S28. By disconnecting the Bluetooth auxiliary connection device from the target audio source device, the Bluetooth playback device is disconnected from the target audio source device. It can be seen that steps S26 and S28 in this embodiment correspond to steps S16 and S18 in the above embodiments, the difference being that the implementing entity for steps S16 and S18 is the Bluetooth auxiliary connection device, which will not be elaborated further here.
[0083] Furthermore, in step S28, after the Bluetooth playback device disconnects from the target audio source device, the following steps may be further included: S29. In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with the second target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the paired Bluetooth auxiliary connection device.
[0084] Similarly, in this embodiment, the Bluetooth playback device acts as the implementing entity of step S29. By connecting and pairing the Bluetooth auxiliary connection device with the second target audio source device, the Bluetooth playback device establishes a Bluetooth connection with the second target audio source device, thereby realizing the connection switching between the Bluetooth playback device and multiple audio source devices. It can be seen that step S29 in this embodiment corresponds to step S19 in the above embodiment, the difference being that the implementing entity of step S19 is the Bluetooth auxiliary connection device, which will not be described further here.
[0085] The multi-device Bluetooth connection fast switching solution proposed in this invention allows audio source devices to obtain the identity information of Bluetooth playback devices through a Bluetooth auxiliary connection device in scenarios with multiple audio source devices, without having to publicly broadcast their own pairing status, thus improving security. Users only need to touch or approach the target audio source device among multiple audio source devices to trigger a fully automatic connection process. It supports seamless switching of the same Bluetooth playback device between different audio source devices and is suitable for complex multi-device environments.
[0086] Furthermore, this invention also proposes a multi-device Bluetooth connection fast switching device 200, configured in a Bluetooth playback device 20. For example... Figure 11 As shown, the multi-device Bluetooth connection quick switching device 200 may include: The second pre-pairing module 202 is used for the Bluetooth playback device to pre-provide Bluetooth auxiliary connection device with Bluetooth pairing information; The first Bluetooth connection module 204 is used to establish a Bluetooth connection between a Bluetooth playback device and a target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from a Bluetooth auxiliary connection device that has completed pairing, in response to a user's Bluetooth connection operation, in a scenario with multiple audio source devices.
[0087] Moreover, such as Figure 12 As shown, the multi-device Bluetooth connection fast switching device 200 may further include a second switching connection module 206, which can be used for: This enables the Bluetooth auxiliary connection device to be used by the target audio source device to detect the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time; When the third real-time distance reaches the third preset distance, the Bluetooth auxiliary connection device disconnects from the target audio source device, and the Bluetooth playback device disconnects from the target audio source device.
[0088] Furthermore, the second switching connection module 206 can also be used to: in a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with the second target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the paired Bluetooth auxiliary connection device.
[0089] The multi-device Bluetooth connection fast switching device 200 described in this embodiment corresponds to the multi-device Bluetooth connection fast switching method described above. The functions of each module in the multi-device Bluetooth connection fast switching device 200 in this embodiment are described in detail in the corresponding method embodiments, and will not be repeated here.
[0090] In addition, such as Figure 13 As shown, the present invention also proposes a Bluetooth playback device 20, which may include: The second storage unit 21 is used to store computer programs; The second wireless signal transceiver unit 23 is used to receive or transmit radio signals; The second processor 25 is used to execute the computer program, enabling the Bluetooth playback device to implement the multi-device Bluetooth connection fast switching method described above. For specific implementation details, please refer to the specific content of the multi-device Bluetooth connection fast switching method in this embodiment, which will not be repeated here.
[0091] Furthermore, the present invention also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement all or part of the method steps of the multi-device Bluetooth connection fast switching method described above. Moreover, this computer-readable storage medium can be applied to the Bluetooth playback device 20 described above.
[0092] Furthermore, the present invention also proposes a computer program product for running on a computer to implement the multi-device Bluetooth connection fast switching method described above. Moreover, this computer program product can be applied to the Bluetooth playback device 20 described above.
[0093] Example 3 Furthermore, this invention also proposes a method for fast switching of Bluetooth connections between multiple devices, such as... Figure 14 As shown, the method may include the following steps: S32. In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device from the Bluetooth auxiliary connection device. S34. The target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information.
[0094] In scenarios with multiple audio source devices, the Bluetooth auxiliary connection device can obtain the Bluetooth pairing information of the Bluetooth playback device, allowing the Bluetooth playback device to be pre-bound to the Bluetooth auxiliary connection device. When it is necessary to connect the Bluetooth playback device to one of the multiple audio source devices (i.e., the target audio source device) via Bluetooth, the target audio source device can obtain the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device from the Bluetooth playback device, thereby enabling the Bluetooth connection between the Bluetooth playback device and the target audio source device through the Bluetooth auxiliary connection device.
[0095] In this context, "the Bluetooth playback device provides Bluetooth auxiliary connection device with Bluetooth pairing information in advance" means that the Bluetooth auxiliary connection device first pairs with the Bluetooth playback device, then saves the Bluetooth pairing information, and then the target audio source device copies the Bluetooth pairing information saved in the Bluetooth auxiliary connection device.
[0096] When a user needs to connect a Bluetooth playback device to one of multiple audio source devices via Bluetooth, or switch between multiple audio source devices, they only need to connect a Bluetooth auxiliary connection device that obtains Bluetooth pairing information from the Bluetooth playback device to the audio source device (i.e., the target audio source device). This allows the Bluetooth playback device to connect to any of the multiple audio source devices, enabling quick connection and switching. Furthermore, when connecting an audio source device to a Bluetooth playback device, the audio source device automatically obtains the Bluetooth pairing information from the playback device, achieving automatic one-to-one pairing without any additional user intervention. This is simple, efficient, and eliminates signal interference issues. Moreover, during the Bluetooth connection process, there is no need to publicly broadcast pairing information, reducing the security risk of information leakage and protecting privacy.
[0097] Furthermore, in step S32, the Bluetooth pairing information that the Bluetooth auxiliary connection device has obtained from the Bluetooth playback device in advance may further include the following steps: S322. In response to the user's Bluetooth pre-pairing operation, when the first real-time distance between the Bluetooth auxiliary connection device and the Bluetooth playback device reaches the first preset distance, the Bluetooth auxiliary connection device and the Bluetooth playback device enter the pairing state. S324. Enables the Bluetooth auxiliary connection device to exchange pairing information with the Bluetooth playback device, obtain the Bluetooth pairing information of the Bluetooth playback device, and establish a unique binding relationship between the two; the Bluetooth pairing information includes device identification information and encryption key.
[0098] Furthermore, in step S324, the pairing information exchange between the Bluetooth auxiliary connection device and the Bluetooth playback device may further include the following steps: S3242, causes the Bluetooth auxiliary connection device to send a connection request message to the Bluetooth playback device; S3244. When the Bluetooth playback device receives the connection request information, it enters the pairing process; S3246. When the Bluetooth playback device and the Bluetooth auxiliary connection device enter the pairing process, they exchange pairing parameters, generate and save a long-term key, and establish an encrypted connection.
[0099] Furthermore, in step S32, in response to the user's Bluetooth connection operation, the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device, which may further include the following steps: S326. In response to the user's Bluetooth connection operation, when the second real-time distance between the Bluetooth auxiliary connection device and the target audio source device reaches the second preset distance, the target audio source device and the Bluetooth auxiliary connection device enter the connection state. S328. When the target audio source device is connected to the Bluetooth auxiliary connection device, the target audio source device reads and copies the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device.
[0100] In this embodiment, the audio source device (target audio source device) is the implementing entity of step S32 in the multi-device Bluetooth connection fast switching method. The target audio source device connects to the Bluetooth playback device by means of a Bluetooth auxiliary connection device that is pre-paired with the Bluetooth playback device and obtains Bluetooth pairing information from the Bluetooth playback device using the Bluetooth auxiliary connection device. It can be seen that step S32 in this embodiment corresponds to step S12 in the above embodiment, the difference being that the implementing entity of step S12 is the Bluetooth auxiliary connection device, which will not be described again here.
[0101] Furthermore, in step S326, the target audio source device and the Bluetooth auxiliary connection device enter a connection state, which may further include the following steps: S3262, The target audio source device and the Bluetooth auxiliary connection device enter a connection state via near-field communication; or... S3264. The target audio source device detects the Bluetooth auxiliary connection device via Bluetooth RSSI, and the target audio source device and the Bluetooth auxiliary connection device enter a connection state; or... S3266, The target audio source device virtualizes itself as a Bluetooth auxiliary connection device, and the target audio source device and the Bluetooth auxiliary connection device enter the connection state.
[0102] Furthermore, in step S34, the target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information, which may further include the following steps: S342. The target audio source device copies the Bluetooth connection identity of the Bluetooth auxiliary connection device based on the copied Bluetooth pairing information of the Bluetooth auxiliary connection device. S344. The target audio source device establishes an A2DP audio connection directly with the Bluetooth playback device based on the copied Bluetooth connection identity.
[0103] Similarly, in this embodiment, the audio source device (target audio source device) is the implementing entity of step S34. The target audio source device achieves Bluetooth connection with the Bluetooth playback device through a Bluetooth auxiliary connection device. It can be seen that step S34 in this embodiment corresponds to step S14 in the above embodiment, the difference being that the implementing entity of step S14 is the Bluetooth auxiliary connection device, which will not be described again here.
[0104] Furthermore, in step S344, the target audio source device establishes an A2DP audio connection directly with the Bluetooth playback device based on the copied Bluetooth connection identity, which may further include the following steps: S3442. The target audio source device verifies the pairing information with the Bluetooth playback device based on the copied Bluetooth connection identity. S3444 When the encryption key of the target audio source device is detected to be consistent with the encryption key of the Bluetooth auxiliary connection device, the target audio source device establishes an A2DP audio connection with the Bluetooth playback device.
[0105] Moreover, such as Figure 15 As shown, in step S34, after the target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information, the following steps may also be included: S36. The target audio source device detects the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time. S38. When the third real-time distance reaches the third preset distance, the target audio source device disconnects from the Bluetooth auxiliary connection device and disconnects from the Bluetooth playback device.
[0106] Similarly, in this embodiment, the audio source device (target audio source device) is the implementing entity of steps S36 and S38, causing the target audio source device to disconnect from the Bluetooth auxiliary connection device, thereby achieving the effect of cutting off the connection between the target audio source device and the Bluetooth playback device. It can be seen that steps S36 and S38 in this embodiment correspond to steps S16 and S18 in the above embodiments, the difference being that the implementing entity of steps S16 and S18 is the Bluetooth auxiliary connection device, which will not be elaborated further here.
[0107] Furthermore, in step S38, after the Bluetooth playback device disconnects from the target audio source device, the following steps may also be included: S39. In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the second target audio source device among the multiple audio source devices obtains Bluetooth pairing information from the paired Bluetooth auxiliary connection device. Based on the Bluetooth pairing information, the second target audio source device establishes a Bluetooth connection with the Bluetooth playback device.
[0108] Similarly, in this embodiment, the audio source device (the second target audio source device) serves as the implementing entity of step S39. By connecting and pairing the second target audio source device with the Bluetooth auxiliary connection device, a Bluetooth connection is established between the second target audio source device and the Bluetooth playback device, enabling the switching of connections between multiple audio source devices and the Bluetooth playback device. It can be seen that step S39 in this embodiment corresponds to step S19 in the above embodiment, the difference being that the implementing entity of step S39 is the Bluetooth auxiliary connection device, which will not be elaborated further here.
[0109] The multi-device Bluetooth connection fast switching solution proposed in this invention allows audio source devices to obtain the identity information of Bluetooth playback devices through a Bluetooth auxiliary connection device in scenarios with multiple audio source devices, without having to publicly broadcast their own pairing status, thus improving security. Users only need to touch or approach the target audio source device among multiple audio source devices to trigger a fully automatic connection process. It supports seamless switching of the same Bluetooth playback device between different audio source devices and is suitable for complex multi-device environments.
[0110] Furthermore, this invention also proposes a multi-device Bluetooth connection fast switching device 300, configured in the audio source device 30. For example... Figure 16 As shown, the device may include: The second auxiliary connection module 302 is used to, in a scenario with multiple audio source devices, respond to the user's Bluetooth connection operation, and the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device from the Bluetooth auxiliary connection device. The second Bluetooth connection module 304 is used for the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information.
[0111] Moreover, such as Figure 17 As shown, the multi-device Bluetooth connection fast switching device 300 may further include a third switching connection module 306. The third switching connection module 306 can be used for: The target audio source device detects the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time. When the third real-time distance reaches the third preset distance, the target audio source device disconnects from the Bluetooth auxiliary connection device and disconnects from the Bluetooth playback device.
[0112] Furthermore, the third switching connection module 306 can also be used for: In scenarios with multiple audio source devices, in response to the user's Bluetooth connection operation, the second target audio source device among the multiple audio source devices obtains Bluetooth pairing information from the paired Bluetooth auxiliary connection device; Based on the Bluetooth pairing information, the second target audio source device establishes a Bluetooth connection with the Bluetooth playback device.
[0113] The multi-device Bluetooth connection fast switching device 300 described in this embodiment corresponds to the multi-device Bluetooth connection fast switching method described above. The functions of each module in the multi-device Bluetooth connection fast switching device 300 in this embodiment are described in detail in the corresponding method embodiments, and will not be repeated here.
[0114] In addition, such as Figure 18 As shown, the present invention also proposes an audio source device 30, which may include: The third storage unit 31 is used to store computer programs; The third wireless signal transceiver unit 33 is used to receive or transmit radio signals; The third processor 35 is used to execute the computer program, enabling the audio source device 30 to implement the multi-device Bluetooth connection fast switching method described above. For specific implementation details, please refer to the specific content of the multi-device Bluetooth connection fast switching method in this embodiment, which will not be repeated here.
[0115] Furthermore, the present invention also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement all or part of the method steps of the multi-device Bluetooth connection fast switching method described above. Moreover, this computer-readable storage medium can be applied to the aforementioned audio source device 30.
[0116] Furthermore, the present invention also proposes a computer program product for running on a computer to implement the multi-device Bluetooth connection fast switching method described above. Moreover, this computer program product can be applied to the aforementioned audio source device 30.
[0117] Example 4 Furthermore, this invention also proposes a multi-device Bluetooth connection fast switching system 1000. Moreover, as... Figure 19 As shown, the multi-device Bluetooth connection fast switching system 1000 may include the Bluetooth auxiliary connection device 10 as described above, the Bluetooth playback device 20 as described above, and the multiple audio source devices 30 as described above.
[0118] Among them, the Bluetooth auxiliary connection device 10 can refer to the Bluetooth auxiliary connection device in Embodiment 1, the Bluetooth playback device 20 can refer to the Bluetooth playback device in Embodiment 2, and the audio source device 30 can refer to the audio source device in Embodiment 3, which will not be described again here.
[0119] The multi-device Bluetooth connection fast switching system 1000 has multiple audio source devices. Each audio source device can obtain the identity information of the Bluetooth playback device through the Bluetooth auxiliary connection device without publicly broadcasting its own pairing status, thus improving security. Users only need to touch or approach the target audio source device among the multiple audio source devices to trigger a fully automatic connection process. It supports seamless switching of the same Bluetooth playback device between different audio source devices and is suitable for complex multi-device environments.
[0120] The present invention can implement all or part of the processes in the above methods, or it can be accomplished by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0121] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the computer device, connecting all parts of the computer device through various interfaces and lines.
[0122] Memory can be used to store computer programs and / or models. The processor performs various functions of the computer device by running or executing the computer programs and / or models stored in the memory, and by accessing data stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system and at least one application program required for a function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on the use of the mobile phone (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, SmartMedia Cards (SMC), Secure Digital (SD) cards, Flash Cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0123] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, servers, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0124] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), servers, and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0125] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0126] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0127] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for fast switching of Bluetooth connections between multiple devices, characterized in that, The method includes: The Bluetooth auxiliary connection device obtains the Bluetooth pairing information of the Bluetooth playback device in advance; In a scenario with multiple audio source devices, the Bluetooth auxiliary connection device, which completes pairing in response to the user's Bluetooth connection operation, is used to enable the target audio source device among the multiple audio source devices to obtain the Bluetooth pairing information, and to enable the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information.
2. The method for fast switching of multi-device Bluetooth connections according to claim 1, characterized in that, The Bluetooth auxiliary connection device pre-acquires Bluetooth pairing information from the Bluetooth playback device, including: In response to the user's Bluetooth pre-pairing operation, when the first real-time distance between the Bluetooth auxiliary connection device and the Bluetooth playback device reaches the first preset distance, the Bluetooth auxiliary connection device and the Bluetooth playback device enter a pairing state. The Bluetooth auxiliary connection device exchanges pairing information with the Bluetooth playback device to obtain the Bluetooth pairing information of the Bluetooth playback device, thereby establishing a unique binding relationship between the two; the Bluetooth pairing information includes device identification information and encryption key.
3. The method for fast switching of multi-device Bluetooth connections according to claim 1, characterized in that, The Bluetooth auxiliary connection device, which completes pairing in response to a user's Bluetooth connection operation, is used to allow a target audio source device among multiple audio source devices to obtain the Bluetooth pairing information, including: In response to the user's Bluetooth connection operation, when the second real-time distance between the Bluetooth auxiliary connection device and the target audio source device reaches the second preset distance, the Bluetooth auxiliary connection device and the target audio source device enter a connection state; When the Bluetooth auxiliary connection device is connected to the target audio source device, the Bluetooth auxiliary connection device is used to allow the target audio source device to read and copy the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device.
4. The method for fast switching of multi-device Bluetooth connections according to claim 3, characterized in that, The Bluetooth-assisted connection device enters a connection state with the target audio source device, including: The Bluetooth-assisted connection device and the target audio source device enter a connection state via near-field communication; or... The Bluetooth auxiliary connection device is used to allow the target audio source device to be detected via Bluetooth RSSI, enabling the target audio source device and the Bluetooth auxiliary connection device to enter a connection state; or... The Bluetooth auxiliary connection device is used to enable the target audio source device to virtualize itself as the Bluetooth auxiliary connection device, so that the target audio source device and the Bluetooth auxiliary connection device can enter a connection state.
5. The method for fast switching of multi-device Bluetooth connections according to claim 3, characterized in that, The step of enabling the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information includes: The Bluetooth auxiliary connection device is used to allow the target audio source device to copy the Bluetooth connection identity of the Bluetooth auxiliary connection device based on the copied Bluetooth pairing information; This enables the target audio source device to directly establish an A2DP audio connection with the Bluetooth playback device based on the copied Bluetooth connection identity.
6. The method for fast switching of multi-device Bluetooth connections according to claim 5, characterized in that, The step of enabling the target audio source device to directly establish an A2DP audio connection with the Bluetooth playback device based on the copied Bluetooth connection identity includes: This enables the target audio source device to verify pairing information with the Bluetooth playback device based on the copied Bluetooth connection identity. When the encryption key of the target audio source device is detected to be consistent with the encryption key of the Bluetooth auxiliary connection device, the target audio source device establishes an A2DP audio connection with the Bluetooth playback device.
7. The method for fast switching of multi-device Bluetooth connections according to claim 1, characterized in that, After the target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information, the method further includes: The Bluetooth auxiliary connection device is used to enable the target audio source device to detect the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time; When the third real-time distance reaches the third preset distance, the Bluetooth auxiliary connection device disconnects from the target audio source device, causing the target audio source device to disconnect from the Bluetooth playback device.
8. The method for fast switching of multi-device Bluetooth connections according to claim 7, characterized in that, After the Bluetooth auxiliary connection device disconnects from the target audio source device, it further includes: In a scenario with multiple audio source devices, the Bluetooth auxiliary connection device, which completes pairing in response to the user's Bluetooth connection operation, is used to enable a second target audio source device among the multiple audio source devices to obtain the Bluetooth pairing information, and to enable the second target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the Bluetooth pairing information.
9. A multi-device Bluetooth connection fast switching device, configured in a Bluetooth auxiliary connection device, characterized in that, The device includes: The first pre-pairing module is used for the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device in advance. The first auxiliary connection module is used to complete pairing in response to the user's Bluetooth connection operation in a scenario with multiple audio source devices. The Bluetooth auxiliary connection device is used to enable the target audio source device among the multiple audio source devices to obtain the Bluetooth pairing information, and to enable the target audio source device to establish a Bluetooth connection with the Bluetooth playback device according to the Bluetooth pairing information.
10. A method for fast switching of Bluetooth connections between multiple devices, characterized in that, The method includes: The Bluetooth playback device provides Bluetooth auxiliary connection devices with Bluetooth pairing information in advance. In a scenario with multiple audio source devices, in response to a user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with a target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the Bluetooth auxiliary connection device that has completed pairing.
11. The method for fast switching of multi-device Bluetooth connections according to claim 10, characterized in that, The Bluetooth playback device pre-provides Bluetooth auxiliary connection devices with Bluetooth pairing information, including: In response to the user's Bluetooth pre-pairing operation, when the first real-time distance between the Bluetooth auxiliary connection device and the Bluetooth playback device reaches the first preset distance, the Bluetooth playback device and the Bluetooth auxiliary connection device enter a pairing state. The Bluetooth playback device and the Bluetooth auxiliary connection device exchange pairing information, which is used for the Bluetooth auxiliary connection device to obtain the Bluetooth pairing information of the Bluetooth playback device, so that the two establish a unique binding relationship; the Bluetooth pairing information includes device identification information and encryption key.
12. The method for fast switching of multi-device Bluetooth connections according to claim 10, characterized in that, In response to a user's Bluetooth connection operation, the Bluetooth playback device establishes a Bluetooth connection with a target audio source device among a plurality of audio source devices that have obtained Bluetooth pairing information from the paired Bluetooth assisted connection device, including: In response to the user's Bluetooth connection operation, when the second real-time distance between the Bluetooth auxiliary connection device and the target audio source device reaches the second preset distance, the Bluetooth auxiliary connection device and the target audio source device that have completed pairing enter a connection state. When the Bluetooth auxiliary connection device is connected to the target audio source device, the Bluetooth auxiliary connection device is used to allow the target audio source device to read and copy the Bluetooth pairing information obtained by the Bluetooth auxiliary connection device; When the target audio source device obtains the Bluetooth pairing information, the Bluetooth playback device and the target audio source device establish a Bluetooth connection based on the Bluetooth pairing information.
13. The method for fast switching of multi-device Bluetooth connections according to claim 10, characterized in that, After the Bluetooth playback device establishes a Bluetooth connection with the target audio source device among a plurality of audio source devices that have obtained Bluetooth pairing information from the Bluetooth auxiliary connection device that has completed pairing, the method further includes: This enables the Bluetooth auxiliary connection device to be used by the target audio source device to detect the third real-time distance between the Bluetooth auxiliary connection device and the target audio source device in real time; When the third real-time distance reaches the third preset distance, the Bluetooth auxiliary connection device disconnects from the target audio source device, and the Bluetooth playback device disconnects from the target audio source device.
14. A multi-device Bluetooth connection fast switching device, configured in a Bluetooth playback device, characterized in that, The device includes: The second pre-pairing module is used by the Bluetooth playback device to pre-provide Bluetooth auxiliary connection device with Bluetooth pairing information; The first Bluetooth connection module is used to, in a scenario with multiple audio source devices, respond to a user's Bluetooth connection operation, establish a Bluetooth connection between the Bluetooth playback device and a target audio source device among the multiple audio source devices that have obtained Bluetooth pairing information from the Bluetooth auxiliary connection device that has completed pairing.
15. A method for fast switching of Bluetooth connections between multiple devices, characterized in that, The method includes: In a scenario with multiple audio source devices, in response to the user's Bluetooth connection operation, the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device from the Bluetooth auxiliary connection device. The target audio source device establishes a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information.
16. A multi-device Bluetooth connection fast switching device, configured in an audio source device, characterized in that, The device includes: The second auxiliary connection module is used to, in a scenario with multiple audio source devices, respond to the user's Bluetooth connection operation, and the target audio source device among the multiple audio source devices obtains the Bluetooth pairing information that the Bluetooth auxiliary connection device has previously obtained from the Bluetooth playback device from the Bluetooth auxiliary connection device. The second Bluetooth connection module is used for the target audio source device to establish a Bluetooth connection with the Bluetooth playback device based on the obtained Bluetooth pairing information.
17. A Bluetooth-assisted connection device, characterized in that, include: The first storage unit is used to store the computer program; The first wireless signal transceiver unit is used to receive or transmit radio signals; A first processor is configured to execute the computer program, enabling the Bluetooth assisted connection device to implement the multi-device Bluetooth connection fast switching method as described in any one of claims 18.
18. A Bluetooth playback device, characterized in that, include: The second storage unit is used to store computer programs; The second wireless signal transceiver unit is used to receive or transmit radio signals; A second processor is configured to execute the computer program, enabling the Bluetooth playback device to implement the multi-device Bluetooth connection fast switching method as described in any one of claims 1013.
19. A sound source device, characterized in that, include: The third storage unit is used to store computer programs; The third wireless signal transceiver unit is used to receive or transmit radio signals; A third processor is configured to execute the computer program, enabling the audio source device to implement the multi-device Bluetooth connection fast switching method as described in claim 15.
20. A multi-device Bluetooth connection fast switching system, characterized in that, include: The Bluetooth assisted connection device as described in claim 17; The Bluetooth playback device as described in claim 18; as well as, The plurality of audio source devices as described in claim 19.