Signal sending method and device, combination identification method and device, and electronic device

By using different SIRKs and terminal devices in Bluetooth devices, the recognition problem when switching modes of Bluetooth devices is solved, and flexible switching between combined and separate usage modes is achieved, meeting user needs.

CN117060949BActive Publication Date: 2024-11-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210494289.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-07
Publication Date
2024-11-12
Estimated Expiration
2042-05-07

AI Technical Summary

Technical Problem

The prior art is difficult to effectively allow Bluetooth devices to switch between a combined usage mode and a separate usage mode, resulting in the device being unable to meet the user's usage needs.

Method used

By using different SIRKs (Set Identity Resolving Keys) between Bluetooth devices, differentiating the combined usage mode and using separate usage modes, and implementing identification and removal mechanisms in terminal devices, ensuring that the device is no longer combined as the same Bluetooth when switching Use.

Benefits of technology

It realizes flexible switching between the combined usage mode and the separate usage mode of Bluetooth devices, avoiding the terminal device from mistakenly identifying the device as the same Bluetooth combination, and meeting the user's usage needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117060949B_ABST
    Figure CN117060949B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a signal sending method and device, a combination identification method and device, and an electronic device. The method includes: when the first Bluetooth device is in a combination use mode, sending a first LE Audio broadcast signal corresponding to the first SIRK, so that the terminal device identifies the first Bluetooth device as belonging to a target Bluetooth combination according to the first SIRK, and the first Bluetooth device shares the first SIRK with the second Bluetooth device in the target Bluetooth combination; when the first Bluetooth device is in a single use mode, sending a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first Bluetooth device from the target Bluetooth combination. In the embodiments of the present application, the Bluetooth device can be effectively switched between the combination use mode and the single use mode to meet the user's usage needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and specifically to a signal sending method and device, a combination identification method and device, and an electronic device. Background Art

[0002] With the development of Bluetooth technology, BLE Audio (Bluetooth Low Energy Audio) technology will bring people wireless audio services with lower power consumption, lower cost, higher quality, and lower latency. In BLE Audio technology, multiple Bluetooth devices can interact with external devices as the same Bluetooth combination to achieve the purpose of coordinated and synchronous use of multiple Bluetooth devices, and in some scenarios, it is also necessary to use one of the Bluetooth devices separately. Therefore, how to effectively switch Bluetooth devices between coordinated and synchronous use with other Bluetooth devices and separate use has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application disclose a signal sending method and device, a combination identification method and device, and an electronic device, which can effectively switch a Bluetooth device between a combined use mode and a single use mode to meet the user's usage needs.

[0004] The embodiment of the present application discloses a signal sending method, which is applied to a first Bluetooth device, and the method includes:

[0005] When the first Bluetooth device is in combined use mode, sending a first LE Audio broadcast signal corresponding to a first combination identifier resolution value SIRK, so that a terminal device receiving the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to a target Bluetooth combination according to the first SIRK, and the first Bluetooth device shares the first SIRK with a second Bluetooth device under the target Bluetooth combination;

[0006] When the first Bluetooth device is in single use mode, a second LE Audio broadcast signal corresponding to the second SIRK is sent, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

[0007] The embodiment of the present application discloses a signal sending method, which is applied to an earphone device, wherein the earphone device includes a first earphone and a second earphone, and the method includes:

[0008] When the first earphone and the second earphone are in a combined use mode, the first earphone sends a first LE Audio broadcast signal corresponding to a first SIRK, and the second earphone sends a third LE Audio broadcast signal corresponding to the first SIRK, so that a terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first earphone and the second earphone as belonging to a target Bluetooth combination according to the first SIRK;

[0009] When the first earphone is in a single use mode, the first earphone sends a second LE Audio broadcast signal corresponding to a second SIRK, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first earphone from the target Bluetooth combination; and / or, when the second earphone is in a single use mode, the second earphone sends a fourth LE Audio broadcast signal corresponding to a third SIRK, so that the terminal device that receives the fourth LE Audio broadcast signal determines that the third SIRK is different from the first SIRK and removes the second earphone from the target Bluetooth combination.

[0010] The present application embodiment discloses a combination identification method, which is applied to a terminal device, and the method includes:

[0011] Receive a second LE Audio broadcast signal sent by the first Bluetooth device, where the second LE Audio broadcast signal is sent when the first Bluetooth device is in a single-use mode;

[0012] If the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, the first Bluetooth device is removed from the target Bluetooth combination; wherein the first SIRK is the SIRK configured when the first Bluetooth device is in a combination usage mode, and in the combination usage mode, the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

[0013] The present application embodiment discloses a combination identification method, which is applied to a terminal device, and the method includes:

[0014] Receive LE Audio broadcast signals sent by Bluetooth devices;

[0015] Determine whether the Bluetooth address information corresponding to the LE Audio broadcast signal is stored in a connection list;

[0016] If the Bluetooth address information is stored in the connection list, obtaining the SIRK corresponding to the Bluetooth combination to which the Bluetooth address information belongs in the connection list;

[0017] Determine whether the SIRK corresponding to the Bluetooth combination is the same as the SIKR corresponding to the LE Audio broadcast signal;

[0018] If they are not the same, the Bluetooth device is removed from the Bluetooth combination.

[0019] The embodiment of the present application discloses a signal sending device, which is applied to a first Bluetooth device, and the device includes:

[0020] A first sending module, configured to send a first LE Audio broadcast signal corresponding to a first combination identifier resolution value SIRK when the first Bluetooth device is in a combination use mode, so that a terminal device that receives the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to a target Bluetooth combination according to the first SIRK, and the first Bluetooth device shares the first SIRK with a second Bluetooth device under the target Bluetooth combination;

[0021] The second sending module is used to send a second LE Audio broadcast signal corresponding to the second SIRK when the first Bluetooth device is in a single use mode, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

[0022] The embodiment of the present application discloses a signal sending device, which is applied to an earphone device, wherein the earphone device includes a first earphone and a second earphone, and the device includes:

[0023] a combination mode module, configured to, when the first earphone and the second earphone are in a combination use mode, cause the first earphone to send a first LE Audio broadcast signal corresponding to a first SIRK, and cause the second earphone to send a third LE Audio broadcast signal corresponding to the first SIRK, so that a terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first earphone and the second earphone as belonging to a target Bluetooth combination according to the first SIRK;

[0024] A single mode module is used to, when the first earphone is in single use mode, cause the first earphone to send a second LE Audio broadcast signal corresponding to a second SIRK, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first earphone from the target Bluetooth combination; and / or, when the second earphone is in single use mode, cause the second earphone to send a fourth LE Audio broadcast signal corresponding to a third SIRK, so that the terminal device that receives the fourth LE Audio broadcast signal determines that the third SIRK is different from the first SIRK and removes the second earphone from the target Bluetooth combination.

[0025] The present application embodiment discloses a combination identification device, which is applied to a terminal device, and the device includes:

[0026] a receiving module, configured to receive a second LE Audio broadcast signal sent by the first Bluetooth device, where the second LE Audio broadcast signal is sent when the first Bluetooth device is in a single-use mode;

[0027] A removal module is used to remove the first Bluetooth device from the target Bluetooth combination if the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK; wherein the first SIRK is the SIRK configured when the first Bluetooth device is in a combination use mode, and in the combination use mode, the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

[0028] An embodiment of the present application discloses an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements any of the above methods.

[0029] An embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, any of the above methods is implemented.

[0030] The signal sending method and apparatus, combination identification method and apparatus, electronic device, and storage medium disclosed in the embodiments of the present application send a first LE Audio broadcast signal corresponding to a first SIRK when the first Bluetooth device is in a combination use mode. The terminal device that receives the first LE Audio broadcast signal can identify the first Bluetooth device as belonging to a target Bluetooth combination based on the first SIRK. The first Bluetooth device shares the first SIRK with the second Bluetooth device in the target Bluetooth combination. When the first Bluetooth device is in a single use mode, a second LE Audio broadcast signal corresponding to a second SIRK is sent. The terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK, and removes the first Bluetooth device from the target Bluetooth combination. In an embodiment of the present application, the first Bluetooth device uses different SIRKs in the combined use mode and the single use mode respectively. When the terminal device determines that the SIRK of the first Bluetooth device in the single use mode is different from the first SIRK used in the combined use mode, the first Bluetooth device can be removed from the target Bluetooth combination and not be used together with the second Bluetooth device to form a target Bluetooth combination. This can avoid the terminal device using the first Bluetooth device in the single use mode and the second Bluetooth device as the same Bluetooth combination, and can effectively allow the first Bluetooth device to switch between the combined use mode and the single use mode to meet the user's usage needs. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1A It is an application scenario diagram of a signal sending method and a combination identification method in an embodiment;

[0033] Figure 1B This is an application scenario diagram of a signal sending method and a combination identification method in another embodiment;

[0034] Figure 2 A timing diagram of a signal sending method in an embodiment;

[0035] Figure 3 is a flow chart of a signal sending method in one embodiment;

[0036] Figure 4A A timing diagram of establishing an LE Audio Bluetooth connection between a terminal device and a first Bluetooth device and a second Bluetooth device in a combined use mode in one embodiment;

[0037] Figure 4B is a timing diagram of a first Bluetooth device switching between a combined use mode and a single use mode in one embodiment;

[0038] Figure 4C is a timing diagram of switching of the first Bluetooth device between the combined use mode and the single use mode in another embodiment;

[0039] Figure 5 is a flowchart of a signal sending method in another embodiment;

[0040] Fig. 6A is a timing diagram of the earphone in binaural mode in one embodiment;

[0041] Figure 6B A schematic diagram of the timing of switching the earphone from binaural mode to monaural mode in one embodiment;

[0042] Figure 7 is a flowchart of a signal sending method in yet another embodiment;

[0043] Figure 8 is a flow chart of a combination identification method in one embodiment;

[0044] Fig. 9 is a block diagram of a signal sending device in one embodiment;

[0045] Fig.10 is a block diagram of a signal sending device in another embodiment;

[0046] Fig.11 A block diagram of a combined identification device in one embodiment;

[0047] Fig.12 FIG. 4 is a structural block diagram of a Bluetooth device in an embodiment. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0049] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0050] It is understood that the terms "first", "second", etc. used in this application can be used to describe various elements in this article, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, without departing from the scope of this application, the first Bluetooth device can be referred to as the second Bluetooth device, and similarly, the second Bluetooth device can be referred to as the first Bluetooth device. Both the first Bluetooth device and the second Bluetooth device are Bluetooth devices, but they are not the same Bluetooth device. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the schemes, or any combination of multiple schemes.

[0051] The technical features of the various embodiments provided in this application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the various embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0052] Figure 1A FIG. 1 is an application scenario diagram of a signal sending method and a combination identification method in an embodiment. Figure 1AAs shown, in the BLE Audio technology, the Bluetooth device 110 and the Bluetooth device 120 can interact with the terminal device 10 as the same Bluetooth combination, and the Bluetooth device 110 and the Bluetooth device 120 can be used in coordination and synchronization. Among them, the terminal device 10 may include but is not limited to a mobile phone, a smart wearable device, a car terminal, a tablet computer, a PC (Personal Computer), a PDA (Personal Digital Assistant), etc. The Bluetooth device 110 and the Bluetooth device 120 may include but are not limited to headphones, mobile phones, wearable devices, speaker devices, smart home devices, etc. As an implementation method, the Bluetooth device 110 and the Bluetooth device 120 may be matching devices, for example, the Bluetooth device 110 and the Bluetooth device 120 may belong to the same headphone device, the Bluetooth device 110 is the left headphone in the headphone device, the Bluetooth device 120 is the right headphone in the headphone device, or the Bluetooth device 110 is the right headphone in the headphone device, and the Bluetooth device 120 is the left headphone in the headphone device, etc. Furthermore, the headphone device may be a TWS (True Wireless Stereo) headphone, but is not limited thereto.

[0053] When the Bluetooth device 110 and the Bluetooth device 120 are used as the same Bluetooth combination, they can respectively establish LE Audio Bluetooth connections with the terminal device 10, and can support audio data encoded by LC3 (Low Complexity Communications Codec), so that the transmission of audio data can better balance power consumption, real-time performance, sound quality and other issues. The terminal device 10 can respectively establish LE Audio Bluetooth connections with the Bluetooth device 110 and the Bluetooth device 120, and can synchronously transmit audio data to the Bluetooth device 110 and the Bluetooth device 120 based on the BLE Audio technology, and the Bluetooth device 110 and the Bluetooth device 120 coordinate and synchronously output the audio data.

[0054] In some scenarios, the user may need to use any Bluetooth device separately. When the Bluetooth device 110 and / or the Bluetooth device 120 are used separately, the Bluetooth device 110 and the Bluetooth device 120 may no longer coordinate and synchronize with each other. Furthermore, the Bluetooth device 110 and the Bluetooth device 120 may respectively establish Bluetooth connections with different terminal devices and be used separately as independent devices. Figure 1B As shown, Figure 1BThis is an application scenario diagram of the signal sending method and the combined identification method in another embodiment. When the Bluetooth device 110 and the Bluetooth device 120 are used separately, the Bluetooth device 110 can establish a LE Audio Bluetooth connection with the terminal device 10, interact with the terminal device 10, and receive data sent by the terminal device 10, while the Bluetooth device 120 can establish a LE Audio Bluetooth connection with the terminal device 20, interact with the second terminal device 20, and receive data sent by the terminal device 20.

[0055] In the related technology, since the Bluetooth device 110 and the Bluetooth device 120 have established an LE Audio Bluetooth connection with the terminal device 10 when they are in the combined use mode, the terminal device 10 stores the Bluetooth parameters (such as Bluetooth addresses, etc.) corresponding to the Bluetooth device 110 and the Bluetooth device 120 in the combined use mode. After the Bluetooth device 110 and / or the Bluetooth device 120 switches to the individual use mode, the terminal device 10 receives the LE Audio broadcast signal sent by the Bluetooth device 110 and / or the Bluetooth device 120 switched to the individual use mode, and directly connects with the Bluetooth device 110 and / or the Bluetooth device 120 according to the stored Bluetooth parameters, and after the connection, the Bluetooth device 110 and the Bluetooth device 120 are directly regarded as the original Bluetooth combination for use, resulting in the situation that the Bluetooth device cannot effectively switch between the combined use mode and the individual use mode, and cannot meet the user's usage needs.

[0056] In an embodiment of the present application, when the Bluetooth device 110 and the Bluetooth device 120 are in a combined use mode, the Bluetooth device 110 and the Bluetooth device 120 share the same SIRK (Set Identity Resolving Key). When the Bluetooth device 110 and / or the Bluetooth device 120 is switched to a single use mode, the Bluetooth device 110 and / or the Bluetooth device 120 switched to the single use mode will change the SIRK and use a different SIRK from the combined use mode to send the LE Audio broadcast signal. When the terminal device 10 determines that the SIRK of the Bluetooth device 110 and / or the Bluetooth device 120 switched to the single use mode has changed, the Bluetooth device 110 and / or the Bluetooth device 120 switched to the single use mode can be removed from the target Bluetooth combination. The Bluetooth device 110 and the Bluetooth device 120 are no longer used as a Bluetooth combination, which can avoid the terminal device 10 from using the Bluetooth device 110 and the Bluetooth device 120 as the same Bluetooth combination, and can effectively allow the Bluetooth device to switch between the combined use mode and the single use mode to meet the user's usage needs.

[0057] It should be noted that there are multiple opportunities for the Bluetooth device involved in the embodiments of the present application to send LE Audio broadcast signals. For example, for TWS headphones, the sending of the headphones can be triggered after the headphone box is opened, or by pressing a button on the headphone box or the headphones; for another example, the sending can be automatically triggered after the Bluetooth device and the terminal device are disconnected over a long distance, etc. There is no restriction on the way to trigger the sending of LE Audio broadcast signals, and it does not mean that the LE Audio broadcast signal will be sent during the entire combined use mode of the Bluetooth device, and it is similar in the case of single use mode.

[0058] Figure 2 FIG. 1 is a timing diagram of a signal sending method in an embodiment. Figure 2 As shown, the signal sending method may include the following steps:

[0059] Step 1: The first Bluetooth device is in combined use mode and sends a first LE Audio broadcast signal corresponding to the first SIRK.

[0060] Step 2: The second Bluetooth device is in combined use mode and sends a third LE Audio broadcast signal corresponding to the first SIRK.

[0061] Step 3: The terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first Bluetooth device and the second Bluetooth device as belonging to the target Bluetooth combination according to the first SIRK corresponding to the first LE Audio broadcast signal and the first SIRK corresponding to the third LE Audio broadcast signal.

[0062] Step 4: The first Bluetooth device is in single use mode and sends a second LE Audio broadcast signal corresponding to the second SIRK.

[0063] Step 5: The terminal device that receives the second LE Audio broadcast signal determines that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, and removes the first Bluetooth device from the target Bluetooth combination.

[0064] like Figure 3 As shown, in one embodiment, a signal sending method is provided, which can be applied to a first Bluetooth device, and the first Bluetooth device can be the Bluetooth device 110 or the Bluetooth device 120, which is not limited thereto. The signal sending method can include the following steps:

[0065] Step 310, when the first Bluetooth device is in a combined use mode, sends a first LE Audio broadcast signal corresponding to the first SIRK, so that the terminal device that receives the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to the target Bluetooth combination based on the first SIRK, and the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

[0066] The combined use mode may refer to a mode in which the first Bluetooth device and at least the second Bluetooth device form the same Bluetooth combination for use. In the combined use mode, the first Bluetooth device and the second Bluetooth device belonging to the same Bluetooth combination can be used synchronously and in coordination. For example, in the combined use mode of the TWS headset, the left headset and the right headset synchronously output audio data and cooperate with each other.

[0067] The BLE Audio technology provides CSIP (Coordinated Set Identification Profile), which allows multiple Bluetooth devices belonging to the same Bluetooth combination to achieve coordination and synchronization when interacting with external devices. In CSIP, for multiple Bluetooth devices belonging to the same Bluetooth combination, the same SIRK (Set Identity Resolving Key) can be used, that is, Bluetooth devices with the same SIRK are identified as the same Bluetooth combination.

[0068] In an embodiment of the present application, when the first Bluetooth device and the second Bluetooth device are in a combined use mode, the first Bluetooth device and the second Bluetooth device can form a Bluetooth combination to interact with an external terminal device. The first Bluetooth device and the second Bluetooth device share the same first SIRK, and respectively establish LE Audio Bluetooth connections with the terminal device. Since the SIRKs of the first Bluetooth device and the second Bluetooth device are the same (both are the first SIRKs), the terminal device can identify the first Bluetooth device and the second Bluetooth device as belonging to the same Bluetooth combination and perform data interaction.

[0069] When the first Bluetooth device is in combined use, the first Bluetooth device can send a first LE Audio broadcast signal corresponding to the first SIRK. After the terminal device receives the first LE Audio broadcast signal sent by the first Bluetooth device, it can establish a first LE Audio Bluetooth connection with the first Bluetooth device according to the first LE Audio broadcast signal, and obtain the first SIRK corresponding to the first LE Audio broadcast signal. Furthermore, the terminal device can turn on the scanning mode, scan and obtain the first LE Audio broadcast signal, and establish a first LE Audio Bluetooth connection with the first Bluetooth device based on the first BLE address corresponding to the first LE Audio broadcast signal.

[0070] As a specific implementation, the terminal device may send a connection request command to the first Bluetooth device based on the first BLE address in the received first LE Audio broadcast signal, and the connection request command is used to notify the first Bluetooth device that an LE Audio Bluetooth connection is about to be established with the first Bluetooth device. After receiving the connection request command, the first Bluetooth device may prepare for reception according to the connection request command. For example, the connection request command may include field information such as a transmission window delay (Transmit window offset) and a transmission window size (Transmit window size). Among them, information such as the transmission window delay and the transmission window size can be used to determine the time interval from the first Bluetooth device receiving the connection request command to receiving the LE Audio connection data packet. When the connection anchor point is reached, the terminal device may send an LE Audio connection data packet to the first Bluetooth device. After receiving the LE Audio connection data packet, the first Bluetooth device may return a response signal to the terminal device, thereby successfully establishing a first LE Audio Bluetooth connection with the terminal device. The specific connection method can also refer to the settings of the relevant Bluetooth protocol, which will not be repeated here.

[0071] As an implementation method, the LE Audio Bluetooth connection is established based on the BLE connection. The process of establishing the LE Audio Bluetooth connection may include querying some device parameters based on the BLE connection. The query of the device parameters may include a SIRK query of the Bluetooth device. After the LE Audio Bluetooth connection is established, when there is a business demand, a CIS (Connected Isochronous Streams) channel may be established for business transmission. Therefore, the terminal device can receive the first SIRK sent by the first Bluetooth device during the process of establishing the first LE Audio Bluetooth connection with the first Bluetooth device.

[0072] As another implementation, the terminal device may also directly parse the first LE Audio broadcast signal to obtain a first SIRK corresponding to the first LE Audio broadcast signal. Optionally, the first LE Audio broadcast signal may directly include the first SIRK, and the terminal device may directly obtain the first SIRK by parsing the first LE Audio broadcast signal.

[0073] Optionally, the first LE Audio broadcast signal may include a target field generated according to the first SIRK, and the terminal device may parse the first LE Audio broadcast signal to obtain the target field, and determine the first SIRK based on the target field. Exemplarily, the first LE Audio broadcast signal may include RSI (resolvable Set Identifier), and RSI may include two parts: 1. A hash sequence generated by the first SIRK; 2. A random sequence generated by a random number. The target field may be a hash sequence of the RSI carried in the first LE Audio broadcast signal. The terminal device may parse the first LE Audio broadcast signal to obtain a hash sequence and a random sequence of the RSI carried in the first LE Audio broadcast signal, and calculate the hash sequence based on the random sequence of the RSI to obtain the first SIRK.

[0074] In some embodiments, if the terminal device establishes a first LE Audio Bluetooth connection with a first Bluetooth device for the first time, after the terminal device obtains the first SIRK corresponding to the first LE Audio broadcast signal, the Bluetooth parameters of the first Bluetooth device in the combined use mode (for example, may include the first SIRK of the first Bluetooth device, Bluetooth address information, etc., but not limited to this) can be stored in the connection list, indicating that the first Bluetooth device is added to the whitelist. After the terminal device disconnects the first LE Audio Bluetooth connection with the first Bluetooth device, if the terminal device receives the first LE Audio broadcast signal again, it can directly reconnect to the first Bluetooth device according to the Bluetooth parameters stored in the connection list. It should be noted that Bluetooth reconnection refers to re-establishing a Bluetooth connection with a previously connected electronic device based on the information stored in the connection list after disconnection.

[0075] When the second Bluetooth device is in combined use mode, the second Bluetooth device can send a third LE Audio broadcast signal corresponding to the first SIRK. The terminal device can receive the third LE Audio broadcast signal sent by the second Bluetooth device, and can determine whether the SIRK corresponding to the third LE Audio broadcast signal is the same as the first SIRK. If it is determined that the SIRK corresponding to the third LE Audio broadcast signal is the same as the first SIRK (that is, it is determined that the third LE Audio broadcast signal corresponds to the above-mentioned first SIRK), a third LE Audio Bluetooth connection can be established with the second Bluetooth device according to the third LE Audio broadcast signal, and the first Bluetooth device and the second Bluetooth device can be marked as belonging to the target Bluetooth combination.

[0076] The terminal device may parse the third LE Audio broadcast signal to obtain the target field and specific information contained in the third LE Audio broadcast signal. A local value may be calculated based on the first SIRK and the specific information contained in the third LE Audio broadcast signal. If the local value is consistent with the target field, it can be determined that the SIRK corresponding to the third LE Audio broadcast signal is the same as the first SIRK. As a specific implementation, the target field may include a hash sequence of the RSI carried in the third LE Audio broadcast signal, and the specific information may include a random sequence of the RSI carried in the third LE Audio broadcast signal. The terminal device may parse the third LE Audio broadcast signal to obtain a hash sequence and a random sequence of the RSI carried in the third LE Audio broadcast signal. The first SIRK and the random sequence may be hashed to obtain a local value, and the local value may be compared with the hash sequence of the RSI. If the two are consistent, it can be determined that the SIRK corresponding to the third LE Audio broadcast signal is consistent with the first SIRK.

[0077] After determining that the SIRK corresponding to the third LE Audio broadcast signal is the same as the first SIRK, the terminal device can establish a third LE Audio Bluetooth connection with the second Bluetooth device according to the third BLE address corresponding to the third LE Audio broadcast signal. The specific method for the terminal device to establish the third LE Audio Bluetooth connection with the second Bluetooth device can be similar to the method for establishing the first LE Audio Bluetooth connection with the first Bluetooth device, and will not be repeated here.

[0078] After the terminal device establishes the third LE Audio Bluetooth connection with the second Bluetooth device, the Bluetooth address information of the second Bluetooth device and the Bluetooth parameters of the first Bluetooth device in the combined usage mode can be stored in a connection list. Through the connection list, the first SIRK, the Bluetooth address information of the first Bluetooth device (such as the first BLE address of the first Bluetooth device sending the first LE Audio broadcast signal), and the Bluetooth address information of the second Bluetooth device (such as the third BLE address of the second Bluetooth device sending the third LE Audio broadcast signal) can be recorded as parameters of the target Bluetooth combination.

[0079] For example, Figure 4A FIG. 1 is a timing diagram of establishing an LE Audio Bluetooth connection between a terminal device and a first Bluetooth device and a second Bluetooth device in a combined use mode in an embodiment. Figure 4A As shown, in the combined use mode, the first Bluetooth device and the second Bluetooth device are used as a Bluetooth combination, the first Bluetooth device can send a first LE Audio broadcast signal corresponding to the first SIRK (such as SIRK1), and the second Bluetooth device can send a third LE Audio broadcast signal corresponding to the first SIRK (such as SIRK1). The terminal device can be in a scanning mode, and can scan the first LE Audio broadcast signal sent by the first Bluetooth device, and can determine whether the Bluetooth parameters of the first Bluetooth device in the combined use mode (such as the first BLE address corresponding to the first LE Audio broadcast signal) are stored in the connection list. If the Bluetooth parameters of the first Bluetooth device in the combined use mode are stored in the connection list, it means that the terminal device has previously established a first LE Audio Bluetooth connection with the first Bluetooth device, then the terminal device can actively connect back to the first Bluetooth device according to the first BLE address corresponding to the first LE Audio broadcast signal, and establish a first LE Audio Bluetooth connection with the first Bluetooth device.

[0080] If the Bluetooth parameters of the first Bluetooth device in the combined use mode are not stored in the connection list, the terminal device can output the pending connection information corresponding to the first LE Audio broadcast signal, and the pending connection information may include the first BLE address, the device information of the first Bluetooth device (such as the device name, device model, etc.), etc. The user can decide whether to allow the terminal device to establish an LE Audio Bluetooth connection with the first Bluetooth device. If the terminal device detects that the user triggers the pending connection information (such as clicking the connection control, etc.), it can establish a first LE Audio Bluetooth connection with the first Bluetooth device according to the first BLE address, and obtain the first SIRK (such as SIRK1), and the Bluetooth parameters of the first Bluetooth device in the combined use mode (including SIRK1, the first BLE address, etc.) can be stored in the connection list.

[0081] The terminal device can also scan the third LE Audio broadcast signal sent by the second Bluetooth device, and determine whether the SIRK corresponding to the third LE Audio broadcast signal is the same as the first SIRK (such as SIRK1). If it is determined that the SIRK corresponding to the third LE Audio broadcast signal is the same as the first SIRK (such as SIRK1), the second Bluetooth device can be automatically connected to establish a third LE Audio Bluetooth connection with the second Bluetooth device. The terminal device can store the first SIRK, the first BLE address, and the third BLE address corresponding to the third LE Audio broadcast signal in the connection list, and mark the first Bluetooth device and the second Bluetooth device as belonging to the target Bluetooth combination.

[0082] It should be noted that the above embodiments only involve the first Bluetooth device and the second Bluetooth device in the same Bluetooth combination, and do not mean that the same Bluetooth combination can only include two Bluetooth devices. The same Bluetooth combination may include multiple Bluetooth devices, and the usage of more Bluetooth devices in the same Bluetooth combination is similar to the usage of the first Bluetooth device and the second Bluetooth device mentioned above. The number of Bluetooth devices included in a Bluetooth combination is not limited in the embodiments of the present application.

[0083] Step 320, when the first Bluetooth device is in single use mode, sends a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device receiving the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

[0084] The single-use mode may refer to a mode in which the first Bluetooth device is used independently. In the single-use mode, the first Bluetooth device may not form a Bluetooth combination with any other Bluetooth device for coordinated and synchronous use, but is used independently as a Bluetooth combination. For example, when the left earphone and the right earphone of a TWS headset are in single-use mode, they can establish Bluetooth connections with different terminal devices and exchange data respectively, and the two are no longer used synchronously and coordinatedly.

[0085] When the first Bluetooth device is in single-use mode, the first Bluetooth device can send a second LE Audio broadcast signal corresponding to a second SIRK, which is different from the first SIRK mentioned above. The terminal device can receive the second LE Audio broadcast signal sent by the first Bluetooth device, and determine whether the second SIRK corresponding to the second LE Audio broadcast signal is the same as the first SIRK. If it is determined that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, it can be considered that the first Bluetooth device does not belong to the target Bluetooth combination, and the first Bluetooth device can be removed from the target Bluetooth combination, thereby avoiding the first Bluetooth device in single-use mode and the second Bluetooth device from being used as the same Bluetooth combination.

[0086] As an implementation mode, the first Bluetooth device can use the same Bluetooth address information as that in the combined use mode to send a second LE Audio broadcast signal in the single use mode, such as still using the above-mentioned first BLE address to send the second LE Audio broadcast signal. After the terminal device receives the second LE Audio broadcast signal, since the Bluetooth address information is stored in the connection list, it can directly connect back to the first Bluetooth device according to the second LE Audio broadcast signal, establish a second LE Audio Bluetooth connection with the first Bluetooth device, and obtain the second SIRK corresponding to the second LE Audio broadcast signal. After obtaining the second SIRK corresponding to the second LE Audio broadcast signal, it can determine whether the second SIRK is the same as the first SIRK. If not, the first Bluetooth device will be removed from the target Bluetooth combination.

[0087] For example, Figure 4B FIG. 1 is a timing diagram of a first Bluetooth device switching between a combined use mode and a single use mode in an embodiment. Figure 4BAs shown, the terminal device can establish a first LE Audio Bluetooth connection and a third LE Audio Bluetooth connection with the first Bluetooth device and the second Bluetooth device in the combined use mode respectively. The terminal device can obtain the Bluetooth parameters (including SIRK1, Bluetooth address information, etc.) used by the first Bluetooth device in the combined use mode, the Bluetooth address information of the second Bluetooth device in the combined use mode, etc., and store them in the connection list accordingly, and mark the first Bluetooth device and the second Bluetooth device as belonging to the target Bluetooth combination. After the terminal device disconnects the first LE Audio Bluetooth connection with the first Bluetooth device, the first Bluetooth device switches to the single use mode. It should be noted that at this time, the terminal device may continue to maintain the third LE Audio Bluetooth connection with the second Bluetooth device, or may disconnect the third LE Audio Bluetooth connection with the second Bluetooth device. When the first Bluetooth device is in the single use mode, the first Bluetooth device switches SIRK1 to SIRK2 (SIRK2 is different from SIKR1) and sends a second LE Audio broadcast signal corresponding to SIRK2. The terminal device receives the second LE Audio broadcast signal and can determine whether the Bluetooth address information corresponding to the second LE Audio broadcast signal is stored in the connection list. If it is stored, it can automatically initiate a connection to the first Bluetooth device, establish a second LE Audio Bluetooth connection with the first Bluetooth device, and obtain SIRK2. The terminal device can determine whether SIR2 is the same as SIRK1. If they are not the same, the first Bluetooth device is removed from the target Bluetooth combination. If they are the same, the first Bluetooth device is kept in the target Bluetooth combination.

[0088] Furthermore, in most application scenarios, when the first Bluetooth device switches from the combined use mode to the single use mode, there will be a need to establish an LE Audio Bluetooth connection with other terminal devices (not terminal devices connected in the combined use mode). Therefore, after the terminal device removes the first Bluetooth device from the target Bluetooth combination, the terminal device can also disconnect the second LE Audio Bluetooth connection with the first Bluetooth device, so that the first Bluetooth device can normally establish an LE Audio Bluetooth connection with other terminal devices for single use, meeting the actual usage needs of users.

[0089] As another implementation, after receiving the second LE Audio broadcast signal, the terminal device may not establish a second LE Audio Bluetooth connection with the first Bluetooth device first, but first determine whether the second SIRK corresponding to the second LE Audio broadcast signal is the same as the first SIRK. If it is determined that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, it will not reconnect to the first Bluetooth device according to the second LE Audio broadcast signal, and remove the first Bluetooth device from the target Bluetooth combination. This can avoid the situation where the user wants the first Bluetooth device to establish an LE Audio Bluetooth connection with other terminal devices after switching the first Bluetooth device to single-use mode, but it triggers the connection with the original terminal device, which cannot meet the user's usage needs.

[0090] After the terminal device receives the second LE Audio broadcast signal, it can parse the second LE Audio broadcast signal to obtain the target field and specific information contained in the second LE Audio broadcast signal, and calculate according to the first SIRK and the specific information contained in the second LE Audio broadcast signal to obtain a local value. If the local value is inconsistent with the target field, it can be determined that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK. Among them, the target field contained in the second LE Audio broadcast signal can be a hash sequence of the RSI carried in the second LE Audio broadcast signal, and the specific information contained in the second LE Audio broadcast signal can be a random sequence of the RSI carried in the second LE Audio broadcast signal. The method of calculating the local value can refer to the relevant description of the above embodiment, which will not be repeated here.

[0091] For example, Figure 4C FIG. 1 is a timing diagram of the first Bluetooth device switching between the combined use mode and the single use mode in another embodiment. Figure 4C As shown, after the first Bluetooth device switches to the single-use mode, SIRK1 is switched to SIRK2 (SIRK2 is different from SIRK1), and a second LE Audio broadcast signal corresponding to SIRK2 is sent. After receiving the second LE Audio broadcast signal, the terminal device can parse the second LE Audio broadcast signal and determine whether the SIRK corresponding to the second LE Audio broadcast signal is the same as SIRK1 based on SIRK1. If they are not the same, the first Bluetooth device can be removed from the target Bluetooth combination. If they are the same, the first Bluetooth device remains in the target Bluetooth combination.

[0092] After the terminal device removes the first Bluetooth device from the target Bluetooth combination, the first Bluetooth device in the single-use mode will not be identified as belonging to the target Bluetooth combination, that is, it will not form a target Bluetooth combination with the second Bluetooth device for use, which can effectively allow the first Bluetooth device to switch between the combined use mode and the single-use mode. In some embodiments, if the first Bluetooth device switches back from the single-use mode to the combined use mode, the terminal device can add the first Bluetooth device to the target Bluetooth combination again, and use the first Bluetooth device and the second Bluetooth device as a Bluetooth combination.

[0093] In an embodiment of the present application, the first Bluetooth device uses different SIRKs in the combined use mode and the single use mode respectively. When the terminal device determines that the SIRK of the first Bluetooth device in the single use mode is different from the first SIRK used in the combined use mode, the first Bluetooth device can be removed from the target Bluetooth combination and not be used together with the second Bluetooth device to form a target Bluetooth combination. This can avoid the terminal device using the first Bluetooth device in the single use mode and the second Bluetooth device as the same Bluetooth combination, and can effectively allow the first Bluetooth device to switch between the combined use mode and the single use mode to meet the user's usage needs.

[0094] like Figure 5 As shown, in another embodiment, a signal sending method is provided, which can be applied to the first Bluetooth device mentioned above, and the method may include the following steps:

[0095] Step 502, when the first Bluetooth device is in a combined use mode, sends a first LE Audio broadcast signal corresponding to the first SIRK, so that the terminal device that receives the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to the target Bluetooth combination based on the first SIRK, and the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

[0096] The description of step 502 may refer to the related description of step 310 in the above embodiment, which will not be repeated here.

[0097] Step 504: Acquire a first mode switching instruction, where the first mode switching instruction is used to instruct the first Bluetooth device to switch from the combined use mode to the single use mode.

[0098] Step 506: According to the first mode switching instruction, the SIRK corresponding to the first Bluetooth device is switched from the first SIRK to the second SIRK.

[0099] When the first Bluetooth device is in the combined use mode, if the first Bluetooth device obtains the first mode switching instruction, it can respond to the first mode switching instruction, switch from the combined use mode to the single use mode, and configure the used Bluetooth parameters to the second set of Bluetooth parameters. Further, the used SIRK can be configured as the second SIRK according to the first mode switching instruction.

[0100] In some embodiments, the first Bluetooth device may obtain the first mode switching instruction in one or more of the following ways:

[0101] Method 1: receiving a first mode switching instruction sent by an electronic device that is communicatively connected to a first Bluetooth device, where the first mode switching instruction is generated by the electronic device when detecting a first mode switching operation.

[0102] Optionally, the electronic device that is communicatively connected to the first Bluetooth device may be an electronic device used in conjunction with the first Bluetooth device. For example, if the first Bluetooth device is an earphone, then the electronic device may be an earphone box; if the first Bluetooth device is a smart home (such as a TV, etc.), then the electronic device may be a remote control, but is not limited to this.

[0103] The first Bluetooth device can establish a communication connection with the electronic device, and the specific mode of the communication connection is not limited in the embodiment of the present application. For example, if the first Bluetooth device is a headset and the electronic device is a headset box, the communication connection mode can be a contact communication connection, etc. The user can perform a first mode switching operation on the electronic device, and when the electronic device detects the first mode switching operation, it can generate a first mode switching instruction and send the first mode switching instruction to the first Bluetooth device through the communication connection.

[0104] Taking the first Bluetooth device as a first headset and the electronic device as a headset box as an example, the first mode switching operation may include but is not limited to any one of the following operations:

[0105] Operate the pairing controls on the earphone box;

[0106] Put only the first earphone into the earphone case and close the lid;

[0107] Place only the first earphone in the earphone case for the first duration;

[0108] Only the first earphone is placed in the earphone box with the lid of the earphone box open, and the pairing control on the earphone box is operated.

[0109] As an embodiment, a pairing control may be provided on the earphone box. When the user performs a pre-set operation on the pairing control, the earphone box may determine that a first mode switching operation is detected. The pre-set operation may include but is not limited to an operation of pre-setting a pressing duration, a pre-setting a pressing frequency, or a pre-setting a number of pressing times.

[0110] As another implementation, the user may also place only the first earphone in the earphone device into the earphone box without placing the second earphone in the earphone device into the earphone box, and close the box cover, thereby triggering the first mode switching operation. If the earphone box detects the cover closing operation, and only the first earphone is stored in the earphone box when the cover is closed, it can be determined that the first mode switching operation is detected.

[0111] As another implementation, the user may only put the first earphone in the earphone device into the earphone box, and may choose not to close the cover of the earphone box. If the earphone box detects that only the first earphone is stored, and the duration of storing only the first earphone reaches a first duration, it may be determined that the first mode switching operation is detected.

[0112] As another implementation, the user may only place the first earphone in the earphone device into the earphone box and open the lid of the earphone box, and then perform a pre-set operation on the pairing control on the earphone box. The earphone box detects the pre-set operation and determines that the first mode switching operation is detected.

[0113] Optionally, the electronic device may also be a terminal device that is communicatively connected to the first Bluetooth device, or may be the second Bluetooth device mentioned above, etc., which is not limited here.

[0114] It should be noted that the specific operation method of the first mode switching operation on the electronic device can be set according to actual needs and is not limited to the above-mentioned methods. It can also be other operation methods, which are not specifically limited here.

[0115] Method 2: When the first Bluetooth device detects the second mode switching operation, a first mode switching instruction is generated.

[0116] The user can directly switch the first Bluetooth device to the second mode, and when the first Bluetooth device detects the second mode switching operation, it generates a first mode switching instruction. The operation interaction method of the second mode switching operation may include but is not limited to touch interaction operation, voice interaction operation and other operation methods.

[0117] Taking touch interaction operation as an example, optionally, a mode switching button may be provided on the first Bluetooth device, and the mode switching button may be a physical button or a virtual button, and the second mode switching operation may be performed by the user clicking on the mode switching button; optionally, a sensor device (such as one or more of a pressure sensor, a distance sensor, a touch sensor, etc., but not limited to these) may also be provided on the first Bluetooth device, and the second mode switching operation may be a pre-set operation detected by the sensor device, such as a pressing operation detected by a pressure sensor, a gesture operation detected by a distance sensor, etc.

[0118] It should be noted that the specific operation method of the second mode switching operation performed on the first Bluetooth device can be set according to actual needs and is not limited to the above methods. It can also be other operation methods, which are not specifically limited here.

[0119] In some embodiments, when the first Bluetooth device is in the combined use mode, a communication connection can be established with a second Bluetooth device belonging to the same Bluetooth combination, and the communication connection may include but is not limited to a Bluetooth connection (which may be a classic Bluetooth connection or a BLE connection, etc.), and information can be shared between the first Bluetooth device and the second Bluetooth device, such as sharing the SIRK and BLE address used by each other in the combined use mode, but not limited thereto. After the first Bluetooth device receives the first mode switching instruction, it can disconnect the communication connection with the second Bluetooth device according to the first mode switching instruction, and configure the SIRK as the second SIRK, so that a second LE Audio broadcast signal corresponding to the second SIRK can be sent, which can ensure that the first Bluetooth device accurately switches to the single use mode.

[0120] Step 508, when the first Bluetooth device is in single use mode, send a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device receiving the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

[0121] In some embodiments, the first Bluetooth device uses the same Bluetooth address information for communication in both the combined use mode and the single use mode. When the first Bluetooth device is in the single use mode, a second LE Audio broadcast signal corresponding to the second SIRK may be sent, so that the terminal device receiving the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK, and removes the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination.

[0122] In the related art, after the terminal device establishes an LE Audio Bluetooth connection with a Bluetooth device in a combined use mode, the same group number (such as groupID=1) is assigned to the Bluetooth devices belonging to the same Bluetooth combination. When the Bluetooth device switched to the single use mode uses the same Bluetooth address information for the LE Audio Bluetooth connection, since the Bluetooth address information corresponds to the combination of Bluetooth devices in the combined use mode (such as groupID=1), the terminal device will directly identify it as the same device and reconnect, and after reconnecting, the Bluetooth device in the single use mode is directly used as the original Bluetooth combination (such as groupID=1), resulting in the failure of the Bluetooth device to be used alone. In the embodiment of the present application, the terminal device will determine whether the SIRK corresponding to the received LE Audio broadcast signal is the same as the SIRK of the original Bluetooth combination (such as groupID=1) each time. If they are not the same, the Bluetooth address information of the Bluetooth device is removed from the original Bluetooth combination (such as groupID=1), thereby avoiding the situation where the Bluetooth device in the single use mode is used as the original Bluetooth combination.

[0123] Optionally, the terminal device removes the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination, which may include but is not limited to any of the following methods:

[0124] Method 1: Remove the Bluetooth address information corresponding to the first Bluetooth device stored in the connection list from the target Bluetooth combination, but the Bluetooth address information is still stored in the connection list.

[0125] When the first Bluetooth device and the second Bluetooth device are in the combined use mode, the terminal device that establishes LE Audio Bluetooth connections with the first Bluetooth device and the second Bluetooth device respectively can store the first SIRK, the Bluetooth address information of the first Bluetooth device, and the Bluetooth address information of the second Bluetooth device in the connection list, and mark the Bluetooth address information of the first Bluetooth device and the Bluetooth address information of the second Bluetooth device as belonging to the target Bluetooth combination. When the first Bluetooth device is switched to the single use mode, the terminal device determines that the second SIRK of the first Bluetooth device is different from the first SIRK, then the Bluetooth address information of the first Bluetooth device can be removed from the target Bluetooth combination, but the Bluetooth address information of the first Bluetooth device is still stored in the connection list. It should be noted that the Bluetooth address information of the second Bluetooth device is still stored in the connection list corresponding to the first SIRK. If the terminal device receives the fourth LE Audio broadcast signal corresponding to the third SIRK (different from the first SIRK) sent by the second Bluetooth device, it is determined that the third SIRK corresponding to the fourth LE Audio broadcast signal is different from the first SIRK, and then the Bluetooth address information of the second Bluetooth device is removed from the target Bluetooth combination.

[0126] Furthermore, the Bluetooth address information of the first Bluetooth device can be removed from the target Bluetooth combination, and the Bluetooth address information of the first Bluetooth device can be stored corresponding to the second SIRK, and the Bluetooth address information of the first Bluetooth device can be identified as another Bluetooth combination different from the target Bluetooth combination. If the first Bluetooth device sends a second LE Audio broadcast signal next time, and the terminal device determines that the SIRK of the second LE Audio broadcast signal is the same as the second SIRK, the first Bluetooth device can be directly identified as the other Bluetooth combination, and the first Bluetooth device can be used alone. With this implementation, since the Bluetooth address information of the first Bluetooth device is still stored in the connection list, it is possible to reconnect to the first Bluetooth device, which can meet the requirement in certain scenarios that the terminal device needs to directly reconnect to the first Bluetooth device in single use mode and use the first Bluetooth device independently.

[0127] Method 2: Deleting the Bluetooth address information of the first Bluetooth device from the connection list.

[0128] When the first Bluetooth device switches to the single-use mode, the terminal device determines that the second SIRK of the first Bluetooth device is different from the first SIRK, and can directly delete the Bluetooth address information of the first Bluetooth device from the connection list, that is, the Bluetooth address information of the first Bluetooth device is no longer stored in the connection list. If the terminal device has established a second LE Audio Bluetooth connection or BLE connection with the first Bluetooth device, then after deleting the Bluetooth address information of the first Bluetooth device from the connection list, the terminal device can disconnect the second LE Audio Bluetooth connection or BLE connection, and the next time the terminal device receives the LE Audio broadcast signal sent by the first Bluetooth device, it will not actively reconnect with the first Bluetooth device. This implementation can meet the needs of users in certain scenarios who want to connect the first Bluetooth device in single-use mode to other terminal devices but do not want to connect to the original terminal device.

[0129] Method three: deleting the Bluetooth address information of the first Bluetooth device and the first SIRK from the connection list.

[0130] When the first Bluetooth device is switched to the single-use mode, the terminal device determines that the second SIRK of the first Bluetooth device is different from the first SIRK, and can delete the Bluetooth address information of the first Bluetooth device and the first SIRK from the connection list. It should be noted that after deleting the Bluetooth address information and the first SIRK of the first Bluetooth device, the Bluetooth address information of the second Bluetooth device can be retained and stored in the connection list, or can be deleted together.

[0131] If the terminal device has established a second LE Audio Bluetooth connection or BLE connection with the first Bluetooth device, after deleting the Bluetooth address information of the first Bluetooth device and the first SIRK from the connection list, the terminal device can disconnect the second LE Audio Bluetooth connection or BLE connection, and the next time the terminal device receives the LE Audio broadcast signal sent by the first Bluetooth device, it will not actively connect back to the first Bluetooth device. This implementation can meet the needs of users in certain scenarios who want to connect the first Bluetooth device in single use mode with other terminal devices instead of connecting with the original terminal device.

[0132] By removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination, the terminal device can effectively avoid using the first Bluetooth device and the second Bluetooth device in the single use mode as the same Bluetooth combination, thereby ensuring that the first Bluetooth device can effectively switch to the single use state.

[0133] As an implementation mode, the Bluetooth address information of the first Bluetooth device may include a first BLE address, that is, the first Bluetooth device can send an LE Audio broadcast signal based on the same first BLE address in the combined use mode and the single use mode. When the first Bluetooth device is in the combined use mode, a first LE Audio broadcast signal corresponding to the first SIRK can be sent based on the first BLE address, so that the terminal device identifies the first BLE address as belonging to the target Bluetooth combination according to the first SIRK. After the terminal device establishes a first LE Audio Bluetooth connection with the first Bluetooth device, the first SIRK and the first BLE address can be stored in the connection list accordingly. After establishing a third LE Audio Bluetooth connection with the second Bluetooth device, the third BLE address of the second Bluetooth device can be stored in correspondence with the first SIRK and the first BLE address, and the first BLE address and the third BLE address can be identified as belonging to the target Bluetooth combination.

[0134] When the first Bluetooth device is in single use mode, a second LE Audio broadcast signal corresponding to the second SIRK can be sent based on the first BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK and removes the first BLE address from the target Bluetooth combination.

[0135] Furthermore, the first BLE address may be a public address (Public Address) type.

[0136] As another implementation, the BLE address of the first Bluetooth device may also be of RPA (Resolvable Private Address) type, and the BLE address of RPA type has a corresponding IRK (Identity Resolving Key) value, and the IRK value can be used to resolve the corresponding BLE address. The Bluetooth address information may include a first IRK value, which is used to generate a first BLE address used by the first Bluetooth device in a combined use mode, and to generate a second BLE address used by the first Bluetooth device in a single use mode. The first BLE address and the second BLE address may be the same or different.

[0137] The format of the BLE address of the RPA type can be randomAddress=hash||prand, where randomAddress represents the BLE address, hash represents the hash sequence, prand represents the random sequence, and the hash sequence is obtained by hashing the IRK value and the random sequence. The first Bluetooth device can perform a hash calculation based on the first IRK value and the first random sequence to obtain a first hash sequence, and the first hash sequence and the first random sequence form a first BLE address. If the second BLE address is different from the first BLE address, the first Bluetooth device can perform a hash calculation based on the first IRK value and the second random sequence (different from the first random sequence) to obtain a second hash sequence, and the second hash sequence and the second random sequence form a second BLE address.

[0138] When the first Bluetooth device is in the combined use mode, a first LE Audio broadcast signal corresponding to the first SIRK can be sent based on the first BLE address, so that the terminal device identifies the first IRK value as belonging to the target Bluetooth combination according to the first SIRK. Since the BLE address of the RPA type may change, but it uses the same first IRK value, after the terminal device establishes the first LE Audio Bluetooth connection with the first Bluetooth device, the first IRK value corresponding to the first BLE address can be stored in the connection list in correspondence with the first SIRK. After establishing a third LE Audio Bluetooth connection with the second Bluetooth device, the second IRK value of the second Bluetooth device (used to generate the third BLE address of the second Bluetooth device in the combined use mode) can be stored in correspondence with the first SIRK and the first IRK value, and the first IRK value and the second IRK value can be identified as belonging to the target Bluetooth combination.

[0139] Optionally, the terminal device may receive a first IRK value sent by the first Bluetooth device during the process of establishing a first LE Audio Bluetooth connection with the first Bluetooth device, or may directly parse the first BLE address corresponding to the first LE Audio broadcast signal to obtain the first IRK value. For example, the first BLE address may be parsed to obtain a first hash sequence and a first random sequence, and the first hash sequence may be calculated based on the first random sequence to obtain the first IRK value.

[0140] When the first Bluetooth device is in single use mode, a second LE Audio broadcast signal corresponding to the second SIRK can be sent based on the second BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK and removes the first IRK value from the target Bluetooth combination.

[0141] In some embodiments, when the BLE address of the first Bluetooth device is of RPA type, the first Bluetooth device may also use different IRK values ​​in combined use mode and single use mode respectively. The first Bluetooth device may generate a first BLE address based on the first IRK value, and generate a second BLE address based on the third IRK value, and the first IRK value is different from the third IRK value. After the terminal device receives the second LE Audio broadcast signal sent by the first Bluetooth device based on the second BLE address, it recognizes that the third IRK value corresponding to the second LE Audio broadcast signal is different from the first IRK value, and the first Bluetooth device can be identified as belonging to another Bluetooth combination without removing the first IRK value from the target Bluetooth combination.

[0142] Furthermore, the terminal device may parse the second LE Audio broadcast signal with each IRK value stored in the connection list. Since the third IRK value is not stored in the connection list, the parsing fails and the device will not be directly connected to the first Bluetooth device. The terminal device may output the pending connection information corresponding to the second LE Audio broadcast signal, and upon detecting the connection operation performed by the user, establish a second LE Audio Bluetooth connection with the first Bluetooth device, and then store the third IRK value and the second SIRK in correspondence. If it is detected that the user determines not to connect, the third IRK value and the second SIRK may not be stored. This can prevent the terminal device from directly connecting to the first Bluetooth device in the single use mode, and meet the user's need to connect the first Bluetooth device in the single use mode with other terminal devices.

[0143] It should be noted that if the BLE address of the first Bluetooth device is of the Public Address type, similar to the above-mentioned RPA type, the first Bluetooth device can use different BLE addresses in the combined use mode and the single use mode, and the terminal device recognizes that the BLE address corresponding to the second LE Audio broadcast signal is different from the first BLE address used in the combined use mode. In this case, the first Bluetooth device can be identified as belonging to another Bluetooth combination without removing the first BLE address from the target Bluetooth combination. Moreover, since the terminal device does not store the BLE address of the first Bluetooth device in the single use mode, it will not directly connect back to the first Bluetooth device.

[0144] In the embodiment of the present application, regardless of whether the first Bluetooth device uses a Public Address type BLE address or an RPA type BLE address, the terminal device will not mistakenly identify the first Bluetooth device in the single use mode as belonging to the same Bluetooth combination as the second Bluetooth device, thereby ensuring that the first Bluetooth device can effectively switch between the combined use mode and the single use mode.

[0145] In some embodiments, the terminal device removes the first Bluetooth device from the target Bluetooth combination, or deletes the first SIRK stored in the connection list. When the first Bluetooth device is in a single-use mode, a second LE Audio broadcast signal corresponding to the second SIRK can be sent to enable the terminal device to determine that the second SIRK is different from the first SIRK and delete the first SIRK stored in the connection list. After the terminal device deletes the first SIRK stored in the connection list, the Bluetooth address information of the first Bluetooth device and the second Bluetooth device can still be retained, but the Bluetooth address information of the first Bluetooth device and the second Bluetooth device will not be stored accordingly. Since the Bluetooth address information of the first Bluetooth device and the second Bluetooth device is still stored in the connection list, if the terminal device receives the LE Audio broadcast signal sent by the first Bluetooth device and / or the second Bluetooth device, it can directly connect back to the first Bluetooth device and / or the second Bluetooth device, but the first Bluetooth device and the second Bluetooth device will not be used as the same Bluetooth combination. The first Bluetooth device can be effectively switched between the combined use mode and the single use mode to meet the user's usage needs.

[0146] In some embodiments, when the first Bluetooth device is in a single use mode, if the first Bluetooth device obtains a second mode switching instruction, and the second mode switching instruction is used to instruct the first Bluetooth device to switch from the single use mode to the combined use mode, the SIRK of the first Bluetooth device can be switched from the second SIRK to the first SIRK according to the second mode switching instruction.

[0147] Optionally, the second mode switching instruction may be sent by an electronic device that is in communication with the first Bluetooth device, and the second mode switching instruction may be generated by the electronic device when the third mode switching operation is detected. Optionally, the second mode switching instruction may also be generated when the first Bluetooth device detects a fourth mode switching operation.

[0148] It should be noted that the third mode switching operation may be the same as the first mode switching operation mentioned above, and the fourth mode switching operation may be the same as the second mode switching operation mentioned above. The same mode switching operation can be used to control the first Bluetooth device to switch between the combined use mode and the single use mode, thereby reducing the user's memory cost and improving the ease of operation.

[0149] The third mode switching operation may also be different from the first mode switching operation described above. For example, the first Bluetooth device is a first headset, and the second Bluetooth device is a second headset. The third mode switching operation may be an operation such as placing both the first headset and the second headset in a headset box. The fourth mode switching operation may also be different from the second mode switching operation described above. Using different mode switching operations to control the first Bluetooth device to switch between a combined use mode and a single use mode may improve the accuracy of control. The specific operation methods of the third mode switching operation and the fourth mode switching operation are not limited in the embodiments of the present application.

[0150] In some embodiments, after the first Bluetooth device obtains the second mode switching instruction, it can re-establish a communication connection with the second Bluetooth device according to the second mode switching instruction, and reconfigure the SIRK to the first SIRK so as to be able to send a first LE Audio broadcast signal corresponding to the first SIRK, thereby ensuring that the first Bluetooth device accurately switches to the combined use mode.

[0151] The way in which the second Bluetooth device switches between the combined use mode and the single use mode may be similar to that of the first Bluetooth device. Please refer to the relevant description of the switching of the first Bluetooth device between the combined use mode and the single use mode in the above embodiments, which will not be repeated here.

[0152] In the embodiment of the present application, the first Bluetooth device can be flexibly and accurately controlled to switch between the combined use mode and the single use mode, thereby improving the flexibility and simplicity of mode switching and meeting the user's usage needs.

[0153] Exemplarily, the signal sending method provided in the embodiment of the present application is described by taking the first Bluetooth device as the first earphone in the TWS earphone and the second Bluetooth device as the second earphone in the TWS. When the first earphone and the second earphone are in combined use mode, the SIRK of the first earphone and the SIRK of the second earphone can both be configured as the first SIRK. The first earphone can send a first LE Audio broadcast signal corresponding to the first SIRK, and the second earphone can send a third LE Audio broadcast signal corresponding to the first SIRK.

[0154] Fig. 6A FIG. 1 is a timing diagram of the earphone in binaural mode in one embodiment. Fig. 6A As shown, after opening the lid of the earphone box, the first earphone and the second earphone can establish a communication connection to form a binaural mode (i.e., the above-mentioned combined use mode), and the first earphone and the second earphone can respectively set SIRK to the same SIRK1. The first earphone sends a first LE Audio broadcast signal corresponding to SIRK1, and the second earphone sends a third LE Audio broadcast signal corresponding to SIRK1. The terminal device is in inquiry scanning mode, and scans the first LE Audio broadcast signal sent by the first earphone, and determines whether the first earphone is in the connection list (determines whether the Bluetooth address information of the first earphone exists in the connection list). If the first earphone is not in the connection list (the connection list does not include the Bluetooth address information of the first earphone), the information to be connected can be displayed, and the user can click on the information to be connected to trigger the terminal device to establish a first LE Audio Bluetooth connection with the first earphone; if the first earphone is in the connection list (the connection list includes the Bluetooth address information of the first earphone), the terminal device can directly connect back to the first earphone and establish a first LE Audio Bluetooth connection with the first earphone. The terminal device can obtain the SIRK1 of the first earphone and store the SIRK1 and Bluetooth address information in the connection list. It should be noted that if the SIRK1 and Bluetooth address information of the first headset have been stored in the connection list, there is no need to store them again.

[0155] The terminal device is in inquiry scanning mode. When scanning the third LE Audio broadcast signal sent by the second earphone, the SIRK1 of the first earphone can be used to parse the third LE Audio broadcast signal, calculate the local value according to the SIRK1 of the first earphone and the specific information in the third LE Audio broadcast signal, and determine whether the local value is consistent with the target field in the third LE Audio broadcast signal. If they are consistent, it means that the SIRK of the second earphone is the same as the SIRK of the first earphone and belongs to the same Bluetooth combination. The terminal device can automatically connect to the second earphone and establish a third LE Audio Bluetooth connection with the second earphone. The terminal device can obtain the SIRK1 of the second earphone, and store the SIRK1, the Bluetooth address information of the first earphone and the Bluetooth address information of the second earphone in the connection list accordingly, and mark the first earphone and the second earphone as the same Bluetooth combination, so that the first earphone and the second earphone can be identified as a Bluetooth device for use, and the coordinated and synchronous use of the first earphone and the second earphone can be achieved.

[0156] When the first earphone is switched to the single-use mode, the SIRK of the first earphone can be configured as the second SIRK, and a second LE Audio broadcast signal corresponding to the second SIRK can be sent. As an implementation, when the first earphone is switched to the single-use mode, the SIRK of the second earphone can still be the first SIRK; as another implementation, when the first earphone is switched to the single-use mode, the second earphone can also be switched to the single-use mode, and the SIRK of the second earphone can be configured as the third SIRK, and a fourth LE Audio broadcast signal corresponding to the third SIRK can be sent.

[0157] Figure 6B FIG. 1 is a timing diagram of a headset switching from binaural mode to monaural mode in an embodiment. Figure 6B As shown, the first earphone and the second earphone can establish a communication connection to form a binaural mode (i.e., the above-mentioned combined use mode). The terminal device can establish a first LE Audio Bluetooth connection with the first earphone, and store the acquired SIRK1 and Bluetooth address information of the first earphone in the connection list. The terminal device can establish a third LE Audio Bluetooth connection with the second earphone, and acquire the SIRK1 of the second earphone. Since the first earphone and the second earphone both correspond to SIRK1, SIRK1, the Bluetooth address information of the first earphone, and the Bluetooth address information of the second earphone can be stored in the connection list accordingly, marking the first earphone and the second earphone as the same Bluetooth combination.

[0158] The user can put both the first earphone and the second earphone into the earphone box and close the lid. The terminal device disconnects the first LE Audio Bluetooth connection with the first earphone and disconnects the third LE Audio Bluetooth connection with the second earphone. The user can open the lid of the earphone box again. When the lid is opened, the first earphone and the second earphone are still in binaural mode. The user can take out the second earphone from the earphone box and long press the pairing button on the earphone box. The first earphone and the second earphone can disconnect the communication connection, the first earphone switches to single-ear mode (i.e. the above-mentioned single-use mode), and sets SIRK to SIRK2.

[0159] The first earphone can send a second LE Audio broadcast signal corresponding to SIRK2. When the terminal device receives the second LE Audio broadcast signal, it can determine whether the Bluetooth address information of the first earphone is stored in the connection list based on the second LE Audio broadcast signal. If it is stored in the connection list, it can directly initiate a connection to the first earphone, establish a second LE Audio Bluetooth connection with the first earphone, and obtain ISKR2.

[0160] Optionally, the first headset may send a second LE Audio broadcast signal based on a second BLE address, and the second BLE address is generated based on IRK1, and IRK1 is also used to generate the first BLE address used by the first headset in binaural mode. After receiving the second LE Audio broadcast signal, the terminal device may first determine whether the address type of the second BLE address corresponding to the second LE Audio broadcast signal is an RPA type. If it is an RPA type, it may further determine whether the second BLE address can be parsed according to each IRK value stored in the connection list, and determine whether the parsing is successful, that is, determine whether IRK1 is stored in the connection list. If the IRK1 is stored, a connection can be directly initiated to the first headset to establish a second LE Audio Bluetooth connection with the first headset. It should be noted that the second BLE address is parsed according to each IRK value stored in the connection list, and each IRK value stored in the connection list and the random sequence of the second BLE address are hashed, and the calculation result is determined to be the same as the hash sequence of the second BLE address. If they are the same, the parsing is successful, and if they are not the same, the parsing fails.

[0161] If the first earphone uses the same first BLE address to send LE Audio broadcast signals in both binaural mode and monaural mode, and the first BLE address is of Public Address type, then after receiving the second LE Audio broadcast signal, the terminal device can determine that the address type of the second BLE address corresponding to the second LE Audio broadcast signal is not of RPA type, and can further determine whether the first BLE address is stored in the connection list. If the first BLE address is stored, a connection can be directly initiated to the first earphone to establish a second LE Audio Bluetooth connection with the first earphone.

[0162] After the terminal device obtains SIRK2, it can determine whether SIRK2 is the same as SIRK1. If they are the same, the first headset is kept in the original Bluetooth combination. If they are not the same, the first headset is removed from the original Bluetooth combination. Since SIKR2 of the first headset is different from SIRK1, the terminal device can remove the first headset from the original Bluetooth combination to avoid using the first headset as the original Bluetooth combination again.

[0163] like Figure 7 As shown, in one embodiment, another signal sending method is provided, which can be applied to an earphone device, and the earphone device can include a first earphone and a second earphone. The signal sending method can include the following steps:

[0164] In step 710, when the first earphone and the second earphone are in a combined use mode, the first earphone sends a first LE Audio broadcast signal corresponding to the first SIRK, and the second earphone sends a third LE Audio broadcast signal corresponding to the first SIRK, so that the terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first earphone and the second earphone as belonging to the target Bluetooth combination according to the first SIRK.

[0165] Step 720, when the first earphone is in the single use mode, the first earphone sends a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device receiving the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first earphone from the target Bluetooth combination; and / or, when the second earphone is in the single use mode, the second earphone sends a fourth LE Audio broadcast signal corresponding to the third SIRK, so that the terminal device receiving the fourth LE Audio broadcast signal determines that the third SIRK is different from the first SIRK and removes the second earphone from the target Bluetooth combination.

[0166] Further, the third SIRK is distinguishable from the second SIRK.

[0167] In one embodiment, removing the first headset from the target Bluetooth combination may include: removing the Bluetooth address information of the first headset from the target Bluetooth combination. Removing the second headset from the target Bluetooth combination may include: removing the Bluetooth address information of the second headset from the target Bluetooth combination.

[0168] In one embodiment, the Bluetooth address information of the first headset may include the first BLE address, and the Bluetooth address information of the second headset may include the third BLE address. The first headset sends a first LE Audio broadcast signal corresponding to the first SIRK, and the second headset sends a third LE Audio broadcast signal corresponding to the first SIRK, which may include: the first headset sends the first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, and the second headset sends the third LE Audio broadcast signal corresponding to the first SIRK based on the third BLE address, so that the terminal device recognizes the first BLE address and the third BLE address as belonging to the target Bluetooth combination according to the first SIRK.

[0169] The first earphone sends a second LE Audio broadcast signal corresponding to the second SIRK, which may include: the first earphone sends a second LE Audio broadcast signal corresponding to the second SIRK based on the first BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first BLE address from the target Bluetooth combination.

[0170] The second earphone sends a fourth LE Audio broadcast signal corresponding to the third SIRK, which may include: the second earphone sends a fourth LE Audio broadcast signal corresponding to the third SIRK based on the third BLE address, so that the terminal device determines that the third SIRK is different from the first SIRK, and removes the third BLE address from the target Bluetooth combination.

[0171] In one embodiment, the Bluetooth address information of the first earphone may include a first IRK value, which is used to generate a first BLE address used by the first earphone in a combined use mode, and is used to generate a second BLE address used by the first earphone in a single use mode; the Bluetooth address information of the second earphone may include a second IRK value, which is used to generate a third BLE address used by the second earphone, and is used to generate a fourth BLE address used by the second earphone in a single use mode.

[0172] The first earphone sends a first LE Audio broadcast signal corresponding to the first SIRK, and the second earphone sends a third LE Audio broadcast signal corresponding to the first SIRK, which may include: the first earphone sends the first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, and the second earphone sends the third LE Audio broadcast signal corresponding to the first SIRK based on the third BLE address, so that the terminal device recognizes the first IRK value and the second IRK value as belonging to the target Bluetooth combination according to the first SIRK.

[0173] The first earphone sends a second LE Audio broadcast signal corresponding to the second SIRK, which may include: the first earphone sends a second LE Audio broadcast signal corresponding to the second SIRK based on the second BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first IRK value from the target Bluetooth combination.

[0174] The second earphone sends a fourth LE Audio broadcast signal corresponding to the third SIRK, which may include: the second earphone sends a fourth LE Audio broadcast signal corresponding to the third SIRK based on the fourth BLE address, so that the terminal device determines that the third SIRK is different from the first SIRK, and removes the second IRK value from the target Bluetooth combination.

[0175] In one embodiment, removing the Bluetooth address information of the first earphone from the target Bluetooth combination may include: removing the Bluetooth address information of the first earphone stored in the connection list from the target Bluetooth combination, but still storing the Bluetooth address information of the first earphone in the connection list; or, deleting the Bluetooth address information of the first earphone from the connection list; or, deleting both the Bluetooth address information of the first earphone and the first SIRK from the connection list.

[0176] Removing the Bluetooth address information of the second earphone from the target Bluetooth combination may include: removing the Bluetooth address information of the second earphone stored in the connection list from the target Bluetooth combination, but still storing the Bluetooth address information of the second earphone in the connection list; or, deleting the Bluetooth address information of the second earphone from the connection list; or, deleting both the Bluetooth address information of the second earphone and the first SIRK from the connection list.

[0177] In one embodiment, removing the first headset from the target Bluetooth combination may include: deleting the first SIRK stored in the connection list. Removing the second headset from the target Bluetooth combination may include: deleting the first SIRK stored in the connection list.

[0178] It should be noted that the description of the signal sending method applied to the headphone device provided in the embodiment of the present application can refer to the relevant description of the signal sending method applied to the first Bluetooth device provided in the above embodiments, and will not be repeated here.

[0179] In an embodiment of the present application, the headphone device can be switched between binaural mode and monaural mode flexibly and accurately, which can avoid the terminal device using the headphone device switched to monaural mode as the same Bluetooth combination, thereby meeting the actual usage needs of the user.

[0180] like Figure 8 As shown, in one embodiment, a combined identification method is provided, which can be applied to the above-mentioned terminal device, and the method may include the following steps:

[0181] Step 810: Receive a second LE Audio broadcast signal sent by the first Bluetooth device, where the second LE Audio broadcast signal is sent when the first Bluetooth device is in a single-use mode.

[0182] In one embodiment, before step 810, it also includes: receiving a first LE Audio broadcast signal sent by a first Bluetooth device, the first LE Audio broadcast signal is sent when the first Bluetooth device is in a combined use mode; establishing a first LE Audio Bluetooth connection with the first Bluetooth device according to the first LE Audio broadcast signal, and obtaining a first SIRK corresponding to the first LE Audio broadcast signal; receiving a third LE Audio broadcast signal sent by a second Bluetooth device, the third LE Audio broadcast signal is sent when the second Bluetooth device is in a combined use mode; determining that the third LE Audio broadcast signal corresponds to the first SIRK, establishing a third LE Audio Bluetooth connection with the second Bluetooth device according to the third LE Audio broadcast signal, and marking the first Bluetooth device and the second Bluetooth device as belonging to the target Bluetooth combination.

[0183] Step 820: If the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, the first Bluetooth device is removed from the target Bluetooth combination; wherein the first SIRK is the SIRK configured when the first Bluetooth device is in the combination use mode, and in the combination use mode, the first Bluetooth device shares the first SIRK with the second Bluetooth device in the target Bluetooth combination.

[0184] In one embodiment, the step of removing the first Bluetooth device from the target Bluetooth combination may include: removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination.

[0185] In one embodiment, the first Bluetooth device uses the same first BLE address to send LE Audio broadcast signals in the combined use mode and the single use mode. The Bluetooth address information includes the first BLE address; the step of removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: removing the first BLE address from the target Bluetooth combination.

[0186] In one embodiment, the Bluetooth address information includes a first IRK value, which is used to generate a first BLE address used by the first Bluetooth device in a combined use mode, and is used to generate a second BLE address used by the first Bluetooth device in a single use mode; the step of removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: removing the first IRK value from the target Bluetooth combination.

[0187] In one embodiment, the step of removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: removing the Bluetooth address information corresponding to the first Bluetooth device stored in the connection list from the target Bluetooth combination, but still storing the Bluetooth address information corresponding to the first Bluetooth device in the connection list; or, deleting the Bluetooth address information corresponding to the first Bluetooth device from the connection list; or, deleting both the Bluetooth address information corresponding to the first Bluetooth device and the first SIRK from the connection list.

[0188] In one embodiment, the step of removing the first Bluetooth device from the target Bluetooth combination may include: deleting the first SIRK stored in the connection list.

[0189] In one embodiment, after step 810, it also includes: if the Bluetooth address information corresponding to the second LE Audio broadcast signal is stored in the connection list, then a second LE Audio Bluetooth connection is established with the first Bluetooth device according to the second LE Audio broadcast signal, and a second SIRK corresponding to the second LE Audio broadcast signal is obtained.

[0190] In one embodiment, after the step of removing the first Bluetooth device from the target Bluetooth combination, the method further includes: disconnecting the second LE Audio Bluetooth connection with the first Bluetooth device.

[0191] In one embodiment, after step 810, it also includes: if it is determined based on the first SIRK and the second LE Audio broadcast signal that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, then the first Bluetooth device is not connected back based on the second LE Audio broadcast signal.

[0192] It should be noted that the description of the combination identification method provided in the embodiment of the present application can refer to the relevant description of the signal sending method provided in the above embodiments, and will not be repeated here.

[0193] In an embodiment of the present application, the first Bluetooth device uses different SIRKs in the combined use mode and the single use mode respectively. When the terminal device determines that the SIRK of the first Bluetooth device in the single use mode is different from the first SIRK used in the combined use mode, the first Bluetooth device can be removed from the target Bluetooth combination and not be used together with the second Bluetooth device to form a target Bluetooth combination. This can avoid the terminal device using the first Bluetooth device in the single use mode and the second Bluetooth device as the same Bluetooth combination, and can effectively allow the first Bluetooth device to switch between the combined use mode and the single use mode to meet the user's usage needs.

[0194] In one embodiment, another combination identification method is provided, which can be applied to the above-mentioned terminal device, and the method may include the following steps:

[0195] Step 1: Receive the LE Audio broadcast signal sent by the Bluetooth device.

[0196] Step 2: Determine whether the Bluetooth address information corresponding to the LE Audio broadcast signal is stored in the connection list.

[0197] Step 3: If the connection list stores Bluetooth address information, then obtain the SIRK corresponding to the Bluetooth combination to which the Bluetooth address information belongs in the connection list.

[0198] For example, the Bluetooth address information corresponding to the LE Audio broadcast signal is the first BLE address. The terminal device can determine whether the first BLE address is stored in the connection list. After determining that the first BLE address is stored in the connection list, the terminal device can find in the connection list that the SIRK corresponding to the Bluetooth combination to which the first BLE address belongs is the first SIRK.

[0199] Optionally, if the Bluetooth address information corresponding to the LE Audio broadcast signal is not stored in the connection list, the Bluetooth device can be identified as a new device, that is, the Bluetooth device is a device that has not been connected. The terminal device can determine whether the SIKR corresponding to the LE Audio broadcast signal is the same as the various SIRKs stored in the connection list. If they are different, it means that the Bluetooth device and the Bluetooth device that the terminal device has previously connected to do not form a Bluetooth combination. The terminal device can output the pending connection information for the Bluetooth device. If the user determines that the terminal device needs to establish a Bluetooth connection with the Bluetooth device, the pending connection information can be triggered. When the terminal device detects the triggering operation for the pending connection information, it can establish an LE Audio Bluetooth connection with the Bluetooth device, and obtain the SIRK corresponding to the LE Audio broadcast signal, and store the SIRK corresponding to the LE Audio broadcast signal and the corresponding Bluetooth address information in the connection list, and mark it as a new Bluetooth combination.

[0200] If the Bluetooth address information corresponding to the LE Audio broadcast signal is not stored in the connection list, but the SIRK identical to the SIKR corresponding to the LE Audio broadcast signal is stored in the connection list, the terminal device can directly initiate an LE Audio Bluetooth connection to the Bluetooth device, establish an LE Audio Bluetooth connection with the Bluetooth device, and identify the Bluetooth device as belonging to the Bluetooth combination corresponding to the same SIKR, and can store the Bluetooth address information corresponding to the LE Audio broadcast signal in correspondence with the same SIRK.

[0201] Step 4: Determine whether the SIRK corresponding to the Bluetooth combination is the same as the SIKR corresponding to the LE Audio broadcast signal.

[0202] Step 5. If they are not the same, remove the Bluetooth device from the Bluetooth combination.

[0203] If the SIRK corresponding to the Bluetooth combination is the same as the SIKR corresponding to the LE Audio broadcast signal, the Bluetooth device remains in the Bluetooth combination and is not removed from the Bluetooth combination.

[0204] Optionally, removing the Bluetooth device from the Bluetooth combination may include: removing Bluetooth address information corresponding to the LE Audio broadcast signal from the Bluetooth combination.

[0205] Further, removing the Bluetooth address information corresponding to the LE Audio broadcast signal from the Bluetooth combination may include: removing the Bluetooth address information stored in the connection list from the Bluetooth combination, but still storing the Bluetooth address information in the connection list; or,

[0206] Delete the Bluetooth address information from the connection list; or,

[0207] The Bluetooth address information and the SIRK corresponding to the Bluetooth combination are deleted from the connection list.

[0208] Optionally, removing a Bluetooth device from a Bluetooth combination may include: deleting a SIRK corresponding to the Bluetooth combination stored in a connection list.

[0209] It should be noted that the description of the combination identification method provided in the embodiment of the present application can refer to the relevant description of the signal sending method provided in the above embodiments, and will not be repeated here.

[0210] In an embodiment of the present application, the terminal device will determine each time whether the SIRK corresponding to the received LE Audio broadcast signal is the same as the SIRK of the original Bluetooth combination. If they are not the same, the Bluetooth device will be removed from the original Bluetooth combination, thereby avoiding the situation where the Bluetooth device in the single use mode is used as the original Bluetooth combination. The first Bluetooth device can be effectively switched between the combined use mode and the single use mode to meet the user's usage needs.

[0211] like Fig. 9 As shown, in one embodiment, a signal sending device 900 is provided, which is applied to the above-mentioned first Bluetooth device. The signal sending device 900 includes a first sending module 910 and a second sending module 920 .

[0212] The first sending module 910 is used to send a first LE Audio broadcast signal corresponding to the first SIRK when the first Bluetooth device is in a combined use mode, so that the terminal device that receives the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to a target Bluetooth combination based on the first SIRK, and the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

[0213] The second sending module 920 is used to send a second LE Audio broadcast signal corresponding to the second SIRK when the first Bluetooth device is in a single use mode, so that the terminal device receiving the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

[0214] In one embodiment, the second sending module 920 is further used to send a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination.

[0215] In one embodiment, the Bluetooth address information includes a first BLE address; the first sending module 910 is also used to send a first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, so that the terminal device identifies the first BLE address as belonging to the target Bluetooth combination according to the first SIRK; the second sending module 920 is also used to send a second LE Audio broadcast signal corresponding to the second SIRK based on the first BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first BLE address from the target Bluetooth combination.

[0216] In one embodiment, the Bluetooth address information includes a first IRK value, and the first IRK value is used to generate a first BLE address used by the first Bluetooth device in a combined use mode, and is used to generate a second BLE address used by the first Bluetooth device in a single use mode. The first sending module 910 is also used to send a first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, so that the terminal device recognizes the first IRK value as belonging to the target Bluetooth combination based on the first SIRK; the second sending module 920 is also used to send a second LE Audio broadcast signal corresponding to the second SIRK based on the second BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first IRK value from the target Bluetooth combination.

[0217] In one embodiment, removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes:

[0218] The Bluetooth address information corresponding to the first Bluetooth device stored in the connection list is removed from the target Bluetooth combination, but the Bluetooth address information is still stored in the connection list; or,

[0219] Delete the Bluetooth address information from the connection list; or,

[0220] The Bluetooth address information and the first SIRK are deleted from the connection list.

[0221] In one embodiment, the second sending module 920 is further configured to send a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device determines that the second SIRK is different from the first SIRK, and deletes the first SIRK stored in the connection list.

[0222] In one embodiment, the signal sending device 900 includes not only the first sending module 910 and the second sending module 920 , but also a mode switching module.

[0223] The mode switching module is used to obtain a first mode switching instruction, the first mode switching instruction is used to instruct the first Bluetooth device to switch from a combined use mode to a single use mode; according to the first mode switching instruction, the SIRK corresponding to the first Bluetooth device is switched from a first SIRK to a second SIRK.

[0224] In one embodiment, the mode switching module is also used to receive a first mode switching instruction sent by an electronic device that is communicatively connected to a first Bluetooth device, where the first mode switching instruction is generated by the electronic device when a first mode switching operation is detected; or, the first mode switching instruction is generated when the first Bluetooth device detects a second mode switching operation.

[0225] In one embodiment, the first Bluetooth device includes a first headset, and the electronic device includes an earphone box; the first mode switching operation includes at least one of the following:

[0226] Operate the pairing controls on the earphone box;

[0227] Put only the first earphone into the earphone case and close the lid;

[0228] Place only the first earphone in the earphone case for the first duration;

[0229] With only the first earphone in the earphone case and the lid open, operate the pairing controls on the earphone case.

[0230] like Fig.10 As shown, in one embodiment, another signal sending device 1000 is provided, which can be applied to an earphone device. The earphone device includes a first earphone and a second earphone. The signal sending device 1000 may include a combined mode module 1010 and a separate mode module 1020.

[0231] The combination mode module 1010 is used to, when the first earphone and the second earphone are in a combination use mode, have the first earphone send a first LE Audio broadcast signal corresponding to the first SIRK, and have the second earphone send a third LE Audio broadcast signal corresponding to the first SIRK, so that a terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first earphone and the second earphone as belonging to a target Bluetooth combination according to the first SIRK.

[0232] The single mode module 1020 is used to, when the first earphone is in the single use mode, send a second LE Audio broadcast signal corresponding to the second SIRK by the first earphone, so that the terminal device receiving the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first earphone from the target Bluetooth combination; and / or, when the second earphone is in the single use mode, send a fourth LE Audio broadcast signal corresponding to the third SIRK by the second earphone, so that the terminal device receiving the fourth LE Audio broadcast signal determines that the third SIRK is different from the first SIRK and removes the second earphone from the target Bluetooth combination.

[0233] In one embodiment, the single mode module 1020 is further configured to cause the first headset to send a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device removes the Bluetooth address information of the first headset from the target Bluetooth combination. The single mode module 1020 is further configured to cause the second headset to send a fourth LE Audio broadcast signal corresponding to the third SIRK, so that the terminal device removes the Bluetooth address information of the second headset from the target Bluetooth combination.

[0234] In one embodiment, the Bluetooth address information of the first headset may include the first BLE address, and the Bluetooth address information of the second headset may include the third BLE address. The combination mode module 1010 is further configured to cause the first headset to send a first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, and cause the second headset to send a third LE Audio broadcast signal corresponding to the first SIRK based on the third BLE address, so that the terminal device recognizes the first BLE address and the third BLE address as belonging to the target Bluetooth combination according to the first SIRK.

[0235] The single mode module 1020 is also used for the first headset to send a second LE Audio broadcast signal corresponding to the second SIRK based on the first BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK and removes the first BLE address from the target Bluetooth combination.

[0236] The single mode module 1020 is also used for the second headset to send a fourth LE Audio broadcast signal corresponding to the third SIRK based on the third BLE address, so that the terminal device determines that the third SIRK is different from the first SIRK and removes the third BLE address from the target Bluetooth combination.

[0237] In one embodiment, the Bluetooth address information of the first earphone may include a first IRK value, which is used to generate a first BLE address used by the first earphone in a combined use mode, and is used to generate a second BLE address used by the first earphone in a single use mode; the Bluetooth address information of the second earphone may include a second IRK value, which is used to generate a third BLE address used by the second earphone, and is used to generate a fourth BLE address used by the second earphone in a single use mode.

[0238] The combination mode module 1010 is also used for the first earphone to send a first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, and for the second earphone to send a third LE Audio broadcast signal corresponding to the first SIRK based on the third BLE address, so that the terminal device recognizes the first IRK value and the second IRK value as belonging to the target Bluetooth combination according to the first SIRK.

[0239] The single mode module 1020 is also used for the first headset to send a second LE Audio broadcast signal corresponding to the second SIRK based on the second BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK and removes the first IRK value from the target Bluetooth combination.

[0240] The single mode module 1020 is also used for the second headset to send a fourth LE Audio broadcast signal corresponding to the third SIRK based on the fourth BLE address, so that the terminal device determines that the third SIRK is different from the first SIRK and removes the second IRK value from the target Bluetooth combination.

[0241] In one embodiment, the single mode module 1020 is further configured to send, by the first headset, a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device deletes the first SIRK stored in the connection list. The single mode module 1020 is further configured to send, by the second headset, a fourth LE Audio broadcast signal corresponding to the third SIRK, so that the terminal device deletes the first SIRK stored in the connection list.

[0242] like Fig.11 As shown, in one embodiment, a combination identification device 1100 is provided, which can be applied to the above-mentioned terminal device. The combination identification device 1100 includes a receiving module 1110 and a removing module 1120.

[0243] The receiving module 1110 is used to receive a second LE Audio broadcast signal sent by the first Bluetooth device, where the second LE Audio broadcast signal is sent when the first Bluetooth device is in a single-use mode.

[0244] The removal module 1120 is used to remove the first Bluetooth device from the target Bluetooth combination if the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK; wherein the first SIRK is the SIRK configured when the first Bluetooth device is in the combination use mode. In the combination use mode, the first Bluetooth device shares the first SIRK with the second Bluetooth device in the target Bluetooth combination.

[0245] In one embodiment, the combination identification device 1100 further includes a connection module.

[0246] The receiving module 1110 is further configured to receive a first LE Audio broadcast signal sent by a first Bluetooth device, where the first LE Audio broadcast signal is sent when the first Bluetooth device is in a combined use mode.

[0247] A connection module is used to establish a first LE Audio Bluetooth connection with a first Bluetooth device according to a first LE Audio broadcast signal, and obtain a first SIRK corresponding to the first LE Audio broadcast signal.

[0248] The receiving module 1110 is further configured to receive a third LE Audio broadcast signal sent by the second Bluetooth device, where the third LE Audio broadcast signal is sent when the second Bluetooth device is in a combined use mode.

[0249] The connection module is also used to determine that the third LE Audio broadcast signal corresponds to the first SIRK, establish a third LE Audio Bluetooth connection with the second Bluetooth device according to the third LE Audio broadcast signal, and mark the first Bluetooth device and the second Bluetooth device as belonging to the target Bluetooth combination.

[0250] In one embodiment, the removal module 1120 is further configured to remove the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination.

[0251] In one embodiment, the first Bluetooth device uses the same first BLE address to send the LE Audio broadcast signal in the combined use mode and the single use mode. The Bluetooth address information includes the first BLE address; the removal module 1120 is also used to remove the first BLE address from the target Bluetooth combination.

[0252] In one embodiment, the Bluetooth address information includes a first IRK value, the first IRK value is used to generate a first BLE address used by the first Bluetooth device in a combined use mode, and is used to generate a second BLE address used by the first Bluetooth device in a single use mode. The removal module 1120 is further used to remove the first IRK value from the target Bluetooth combination.

[0253] In one embodiment, the removal module 1120 is also used to remove the Bluetooth address information corresponding to the first Bluetooth device stored in the connection list from the target Bluetooth combination, but the Bluetooth address information corresponding to the first Bluetooth device is still stored in the connection list; or, the Bluetooth address information corresponding to the first Bluetooth device is deleted from the connection list; or, the Bluetooth address information corresponding to the first Bluetooth device and the first SIRK are deleted from the connection list.

[0254] In one embodiment, the removal module 1120 is further configured to delete the first SIRK stored in the connection list.

[0255] In one embodiment, the connection module is also used to establish a second LE Audio Bluetooth connection with the first Bluetooth device according to the second LE Audio broadcast signal after receiving the second LE Audio broadcast signal, and obtain a second SIRK corresponding to the second LE Audio broadcast signal if the Bluetooth address information corresponding to the second LE Audio broadcast signal is stored in the connection list.

[0256] In one embodiment, the connection module is further configured to disconnect the second LE Audio Bluetooth connection with the first Bluetooth device after the first Bluetooth device is removed from the target Bluetooth combination by the removal module 1120 .

[0257] In one embodiment, the connection module is also used to, after receiving the second LE Audio broadcast signal, not connect back to the first Bluetooth device based on the second LE Audio broadcast signal if it is determined based on the first SIRK and the second LE Audio broadcast signal that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK.

[0258] In an embodiment of the present application, the first Bluetooth device uses different SIRKs in the combined use mode and the single use mode respectively. When the terminal device determines that the SIRK of the first Bluetooth device in the single use mode is different from the first SIRK used in the combined use mode, the first Bluetooth device can be removed from the target Bluetooth combination and not be used together with the second Bluetooth device to form a target Bluetooth combination. This can avoid the terminal device using the first Bluetooth device in the single use mode and the second Bluetooth device as the same Bluetooth combination, and can effectively allow the first Bluetooth device to switch between the combined use mode and the single use mode to meet the user's usage needs.

[0259] In one embodiment, another combination identification device is provided, which can be applied to the above-mentioned terminal device. The combination identification device may include a receiving module for receiving an LE Audio broadcast signal sent by a Bluetooth device.

[0260] The first determination module is used to determine whether the Bluetooth address information corresponding to the LE Audio broadcast signal is stored in the connection list.

[0261] The combination acquisition module is used to acquire the SIRK corresponding to the Bluetooth combination to which the Bluetooth address information belongs in the connection list if the Bluetooth address information is stored in the connection list.

[0262] The second determination module is used to determine whether the SIRK corresponding to the Bluetooth combination is the same as the SIKR corresponding to the LE Audio broadcast signal.

[0263] The removal module is used to remove the Bluetooth device from the Bluetooth combination if the SIRK corresponding to the Bluetooth combination is the same as the SIKR corresponding to the LE Audio broadcast signal.

[0264] In one embodiment, the removal module is further used to remove the Bluetooth address information corresponding to the LE Audio broadcast signal from the Bluetooth combination.

[0265] In one embodiment, the removal module is also used to remove the Bluetooth address information stored in the connection list from the Bluetooth combination, but the Bluetooth address information is still stored in the connection list; or, delete the Bluetooth address information from the connection list; or, delete both the Bluetooth address information and the SIRK corresponding to the Bluetooth combination from the connection list.

[0266] In one embodiment, the removal module is further configured to delete the SIRK corresponding to the Bluetooth combination stored in the connection list.

[0267] In an embodiment of the present application, the terminal device will determine each time whether the SIRK corresponding to the received LE Audio broadcast signal is the same as the SIRK of the original Bluetooth combination. If they are not the same, the Bluetooth device will be removed from the original Bluetooth combination, thereby avoiding the situation where the Bluetooth device in the single use mode is used as the original Bluetooth combination. The first Bluetooth device can be effectively switched between the combined use mode and the single use mode to meet the user's usage needs.

[0268] Fig.12 FIG. 1 is a structural block diagram of a Bluetooth device in one embodiment. Fig.12 As shown, the Bluetooth device 1200 may include one or more of the following components: a processor 1210, and a memory 1220 coupled to the processor 1210, wherein the memory 1220 may store one or more computer programs, and the one or more computer programs may be configured to implement the signal sending method described in the above embodiments when executed by one or more processors 1210.

[0269] The processor 1210 may include one or more processing cores. The processor 1210 uses various interfaces and lines to connect the various parts of the entire Bluetooth device 1200, and executes various functions and processes data of the Bluetooth device 1200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1220, and calling data stored in the memory 1220. Optionally, the processor 1210 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1210 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1210, but may be implemented separately through a communication chip.

[0270] The memory 1220 may include a random access memory (RAM) or a read-only memory (ROM). The memory 1220 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1220 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the Bluetooth device 1200 during use, etc.

[0271] The Bluetooth device 1200 may also include a Bluetooth module, which may be used to provide Bluetooth communication functions, establish Bluetooth connections with other electronic devices, and perform Bluetooth data transmission. The Bluetooth module may support one or more Bluetooth protocols, such as classic Bluetooth, BLE, BLE Audio, etc., but is not limited thereto and may change with the development of Bluetooth protocols.

[0272] In some embodiments, the processor 1210 may control the Bluetooth module to send a first LE Audio broadcast signal corresponding to the first SIRK when the Bluetooth device 1200 is in a combined use mode, and may control the Bluetooth module to send a second LE Audio broadcast signal corresponding to the second SIRK when the Bluetooth device 1200 is in a single use mode.

[0273] In one embodiment, the present application provides a terminal device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the combination identification method described in the above embodiments.

[0274] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the signal sending method described in the above embodiments.

[0275] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the combination identification method described in the above embodiments.

[0276] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the signal sending method described in the above embodiments.

[0277] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the combination identification method described in the above embodiments.

[0278] Regarding some contents specified in the relevant Bluetooth standards in this application, you can refer to the provisions of the relevant Bluetooth standards or use the provisions in the relevant Bluetooth standards as feasible implementation methods, which will not be repeated here.

[0279] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.

[0280] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).

[0281] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0282] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0283] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0284] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0285] The above is a detailed introduction to a signal transmission method and device, a combination identification method and device, and an electronic device disclosed in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those of ordinary skill in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A signal sending method, characterized in that: Applied to a first Bluetooth device, the method includes: When the first Bluetooth device is in combined use mode, sending a first LE Audio broadcast signal corresponding to a first combination identifier resolution value SIRK, so that a terminal device receiving the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to a target Bluetooth combination according to the first SIRK, and the first Bluetooth device shares the first SIRK with a second Bluetooth device under the target Bluetooth combination; When the first Bluetooth device is in single use mode, a second LE Audio broadcast signal corresponding to the second SIRK is sent, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

2. The method according to claim 1, characterized in that The sending a second LE Audio broadcast signal corresponding to the second SIRK includes: A second LE Audio broadcast signal corresponding to the second SIRK is sent, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination.

3. The method according to claim 2, characterized in that The Bluetooth address information includes a first Bluetooth low energy consumption BLE address; and the sending of a first LE Audio broadcast signal corresponding to the first combined identifier resolution value SIRK includes: Sending a first LE Audio broadcast signal corresponding to the first SIRK based on the first BLE address, so that the terminal device recognizes the first BLE address as belonging to the target Bluetooth combination according to the first SIRK; The sending a second LE Audio broadcast signal corresponding to the second SIRK includes: A second LE Audio broadcast signal corresponding to a second SIRK is sent based on the first BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first BLE address from the target Bluetooth combination.

4. The method according to claim 2, characterized in that: The Bluetooth address information includes a first Bluetooth device address resolution key IRK value, the first IRK value is used to generate a first BLE address used by the first Bluetooth device in the combined use mode, and is used to generate a second BLE address used by the first Bluetooth device in the single use mode; The sending a first LE Audio broadcast signal corresponding to the first combination identifier resolution value SIRK includes: Sending a first LE Audio broadcast signal corresponding to a first SIRK based on the first BLE address, so that the terminal device recognizes the first IRK value as belonging to the target Bluetooth combination according to the first SIRK; The sending a second LE Audio broadcast signal corresponding to the second SIRK includes: A second LE Audio broadcast signal corresponding to a second SIRK is sent based on the second BLE address, so that the terminal device determines that the second SIRK is different from the first SIRK, and removes the first IRK value from the target Bluetooth combination.

5. The method according to any one of claims 2 to 4, characterized in that: The removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: The Bluetooth address information corresponding to the first Bluetooth device stored in the connection list is removed from the target Bluetooth combination, but the Bluetooth address information is still stored in the connection list; or, Deleting the Bluetooth address information from the connection list; or, The Bluetooth address information and the first SIRK are deleted from the connection list.

6. The method according to claim 1, characterized in that The sending a second LE Audio broadcast signal corresponding to the second SIRK includes: Send a second LE Audio broadcast signal corresponding to the second SIRK, so that the terminal device determines that the second SIRK is different from the first SIRK, and deletes the first SIRK stored in the connection list.

7. The method according to any one of claims 1 to 4 and 6, characterized in that: Before sending a second LE Audio broadcast signal corresponding to a second SIRK when the first Bluetooth device is in a single use mode, the method further includes: Acquire a first mode switching instruction, where the first mode switching instruction is used to instruct the first Bluetooth device to switch from the combined use mode to the single use mode; According to the first mode switching instruction, the SIRK corresponding to the first Bluetooth device is switched from the first SIRK to the second SIRK.

8. The method according to claim 7, characterized in that The obtaining of the first mode switching instruction comprises: receiving a first mode switching instruction sent by an electronic device that is communicatively connected to the first Bluetooth device, where the first mode switching instruction is generated by the electronic device when a first mode switching operation is detected; or, When the first Bluetooth device detects the second mode switching operation, a first mode switching instruction is generated.

9. The method according to claim 8, characterized in that The first Bluetooth device includes a first earphone, and the electronic device includes an earphone box; The first mode switching operation includes at least one of the following: Operating the pairing control on the earphone box; Put only the first earphone into the earphone box and close the box cover; Putting only the first earphone into the earphone box for a first time period; Only the first earphone is placed in the earphone box with the cover of the earphone box opened, and the pairing control on the earphone box is operated.

10. A signal sending method, characterized in that: Applied to an earphone device, the earphone device includes a first earphone and a second earphone, and the method includes: When the first earphone and the second earphone are in a combined use mode, the first earphone sends a first LE Audio broadcast signal corresponding to a first SIRK, and the second earphone sends a third LE Audio broadcast signal corresponding to the first SIRK, so that a terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first earphone and the second earphone as belonging to a target Bluetooth combination according to the first SIRK; When the first earphone is in a single use mode, the first earphone sends a second LE Audio broadcast signal corresponding to a second SIRK, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first earphone from the target Bluetooth combination; and / or, when the second earphone is in a single use mode, the second earphone sends a fourth LE Audio broadcast signal corresponding to a third SIRK, so that the terminal device that receives the fourth LE Audio broadcast signal determines that the third SIRK is different from the first SIRK and removes the second earphone from the target Bluetooth combination.

11. A combination identification method, characterized in that: Applied to a terminal device, the method comprises: Receive a second LE Audio broadcast signal sent by the first Bluetooth device, where the second LE Audio broadcast signal is sent when the first Bluetooth device is in a single-use mode; If the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, the first Bluetooth device is removed from the target Bluetooth combination; wherein the first SIRK is the SIRK configured when the first Bluetooth device is in a combination usage mode, and in the combination usage mode, the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

12. The method according to claim 11, characterized in that Before receiving the second LE Audio broadcast signal sent by the first Bluetooth device, the method further includes: Receive a first LE Audio broadcast signal sent by a first Bluetooth device, where the first LE Audio broadcast signal is sent when the first Bluetooth device is in a combined use mode; Establishing a first LE Audio Bluetooth connection with the first Bluetooth device according to the first LE Audio broadcast signal, and acquiring a first SIRK corresponding to the first LE Audio broadcast signal; receiving a third LE Audio broadcast signal sent by a second Bluetooth device, where the third LE Audio broadcast signal is sent when the second Bluetooth device is in a combined use mode; Determine that the third LE Audio broadcast signal corresponds to the first SIRK, establish a third LE Audio Bluetooth connection with the second Bluetooth device according to the third LE Audio broadcast signal, and mark the first Bluetooth device and the second Bluetooth device as belonging to a target Bluetooth combination.

13. The method according to claim 11, characterized in that The removing the first Bluetooth device from the target Bluetooth combination includes: The Bluetooth address information corresponding to the first Bluetooth device is removed from the target Bluetooth combination.

14. The method according to claim 13, characterized in that The first Bluetooth device uses the same first BLE address to send the LE Audio broadcast signal in the combined use mode and the single use mode; the Bluetooth address information includes the first BLE address; The removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: The first BLE address is removed from the target Bluetooth combination.

15. The method according to claim 13, characterized in that The Bluetooth address information includes a first IRK value, the first IRK value is used to generate a first BLE address used by the first Bluetooth device in the combined use mode, and is used to generate a second BLE address used by the first Bluetooth device in the single use mode; The removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: The first IRK value is removed from the target Bluetooth combination.

16. The method according to any one of claims 13 to 15, characterized in that: The removing the Bluetooth address information corresponding to the first Bluetooth device from the target Bluetooth combination includes: The Bluetooth address information corresponding to the first Bluetooth device stored in the connection list is removed from the target Bluetooth combination, but the Bluetooth address information is still stored in the connection list; or, Deleting the Bluetooth address information corresponding to the first Bluetooth device from the connection list; or, The Bluetooth address information corresponding to the first Bluetooth device and the first SIRK are deleted from the connection list.

17. The method according to claim 11, characterized in that The removing the first Bluetooth device from the target Bluetooth combination includes: The first SIRK stored in the connection list is deleted.

18. The method according to claim 11 or 12, characterized in that: After receiving the second LE Audio broadcast signal sent by the first Bluetooth device, the method further includes: If the Bluetooth address information corresponding to the second LE Audio broadcast signal is stored in the connection list, a second LE Audio Bluetooth connection is established with the first Bluetooth device according to the second LE Audio broadcast signal, and a second SIRK corresponding to the second LE Audio broadcast signal is obtained.

19. The method according to claim 18, characterized in that After removing the first Bluetooth device from the target Bluetooth combination, the method further includes: Disconnect the second LE Audio Bluetooth connection with the first Bluetooth device.

20. The method according to claim 11 or 12, characterized in that After receiving the second LE Audio broadcast signal sent by the first Bluetooth device, the method further includes: If it is determined based on the first SIRK and the second LE Audio broadcast signal that the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK, then the first Bluetooth device is not reconnected based on the second LE Audio broadcast signal.

21. A combination identification method, characterized in that: Applied to a terminal device, the method comprises: Receive LE Audio broadcast signals sent by Bluetooth devices; Determine whether the Bluetooth address information corresponding to the LE Audio broadcast signal is stored in a connection list; If the Bluetooth address information is stored in the connection list, obtaining the SIRK corresponding to the Bluetooth combination to which the Bluetooth address information belongs in the connection list; Determine whether the SIRK corresponding to the Bluetooth combination is the same as the SIKR corresponding to the LE Audio broadcast signal; If they are not the same, the Bluetooth device is removed from the Bluetooth combination.

22. A signal sending device, characterized in that: Applied to a first Bluetooth device, the apparatus comprises: A first sending module, configured to send a first LE Audio broadcast signal corresponding to a first combination identifier resolution value SIRK when the first Bluetooth device is in a combination use mode, so that a terminal device that receives the first LE Audio broadcast signal identifies the first Bluetooth device as belonging to a target Bluetooth combination according to the first SIRK, and the first Bluetooth device shares the first SIRK with a second Bluetooth device under the target Bluetooth combination; The second sending module is used to send a second LE Audio broadcast signal corresponding to the second SIRK when the first Bluetooth device is in a single use mode, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first Bluetooth device from the target Bluetooth combination.

23. A signal sending device, characterized in that: Applied to an earphone device, the earphone device includes a first earphone and a second earphone, and the device includes: a combination mode module, configured to, when the first earphone and the second earphone are in a combination use mode, cause the first earphone to send a first LE Audio broadcast signal corresponding to a first SIRK, and cause the second earphone to send a third LE Audio broadcast signal corresponding to the first SIRK, so that a terminal device that receives the first LE Audio broadcast signal and the third LE Audio broadcast signal identifies the first earphone and the second earphone as belonging to a target Bluetooth combination according to the first SIRK; A single mode module is used to, when the first earphone is in single use mode, cause the first earphone to send a second LE Audio broadcast signal corresponding to a second SIRK, so that the terminal device that receives the second LE Audio broadcast signal determines that the second SIRK is different from the first SIRK and removes the first earphone from the target Bluetooth combination; and / or, when the second earphone is in single use mode, cause the second earphone to send a fourth LE Audio broadcast signal corresponding to a third SIRK, so that the terminal device that receives the fourth LE Audio broadcast signal determines that the third SIRK is different from the first SIRK and removes the second earphone from the target Bluetooth combination.

24. A combination identification device, characterized in that: Applied to a terminal device, the device comprises: a receiving module, configured to receive a second LE Audio broadcast signal sent by the first Bluetooth device, where the second LE Audio broadcast signal is sent when the first Bluetooth device is in a single-use mode; A removal module is used to remove the first Bluetooth device from the target Bluetooth combination if the second SIRK corresponding to the second LE Audio broadcast signal is different from the first SIRK; wherein the first SIRK is the SIRK configured when the first Bluetooth device is in a combination use mode, and in the combination use mode, the first Bluetooth device shares the first SIRK with the second Bluetooth device under the target Bluetooth combination.

25. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 10 or 11 to 21.

26. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 or 11 to 21 is implemented.