Connection establishment method, device, equipment, storage medium and program product

In the Bluetooth audio connection, when the terminal device and the second audio device belong to the same device group, the attribute support information of the second audio device is directly used to establish the connection, which solves the problem of slow connection speed under the BLE Audio protocol and improves the connection efficiency. .

CN114786139BActive Publication Date: 2024-10-29GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210188399.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-10-29
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

In the existing Bluetooth audio connection process, especially under the BLE Audio protocol, service query is required when connecting for the first time, resulting in slow connection speed and affecting user experience.

Method used

When the terminal device receives the Bluetooth broadcast message of the first audio device, if it belongs to the same device group as the second audio device, it directly establishes an audio connection based on the attribute support information of the second audio device, eliminating the service query step.

Benefits of technology

Significantly shortens the establishment time of audio connections, improves connection efficiency, and reduces the time overhead of service queries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114786139B_ABST
    Figure CN114786139B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a connection establishment method, device, equipment, storage medium and program product, which belongs to the field of Bluetooth technology. The method includes: receiving a Bluetooth broadcast message sent by a first audio device; when the first audio device and the second audio device belong to the same device group, establishing an audio connection with the first audio device according to the attribute support information of the second audio device. The above scheme saves the process of querying the service to the first audio device, greatly shortens the time of establishing the audio connection, and improves the efficiency of establishing the audio connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of Bluetooth technology, and in particular to a connection establishment method, apparatus, device, storage medium and program product. Background Art

[0002] With the continuous development of short-range wireless communication technologies such as Bluetooth, the application of Bluetooth-based audio devices such as wireless headphones is becoming more and more widespread.

[0003] In the related art, after receiving the Bluetooth broadcast message sent by the audio device, the terminal device can initiate a service query to the audio device to query the attributes supported by the audio device, and establish an audio connection with the audio device based on the result of the service query. Summary of the invention

[0004] The embodiments of the present application provide a connection establishment method, apparatus, device, storage medium and program product. The technical solution includes:

[0005] On the one hand, an embodiment of the present application provides a connection establishment method, which is performed by a terminal device and includes:

[0006] Receiving a Bluetooth broadcast message sent by a first audio device;

[0007] When the first audio device and the second audio device belong to the same device group, establishing an audio connection with the first audio device according to the attribute support information of the second audio device;

[0008] The second audio device is an audio device that the terminal device is connected to or determined to be connected to; and the attribute support information is used to indicate the services supported by the audio device.

[0009] On the one hand, an embodiment of the present application provides a connection establishment device, the device comprising:

[0010] A broadcast receiving module, used for receiving a Bluetooth broadcast message sent by a first audio device;

[0011] a connection establishing module, configured to establish an audio connection with the first audio device according to the attribute support information of the second audio device when the first audio device and the second audio device belong to the same device group;

[0012] The second audio device is an audio device that the terminal device is connected to or determined to be connected to; and the attribute support information is used to indicate the services supported by the audio device.

[0013] On the other hand, an embodiment of the present application provides a processing chip, which is used to execute the connection establishment method as described above.

[0014] On the other hand, an embodiment of the present application provides a processing chip, in which the connection establishing device as described above is provided.

[0015] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, and the processor and the memory are connected via a bus; the processor executes computer instructions stored in the memory so that the computer device implements the connection establishment method as described above.

[0016] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. The computer instructions are used to be executed by a processor to implement the above-mentioned connection establishment method.

[0017] In another aspect, the present application provides a computer program product, the computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. The computer program product is used to implement the above connection establishment method.

[0018] On the other hand, the present application provides a computer program, which is executed by a processor of a computer device to implement the above connection establishment method.

[0019] The technical solution provided by the embodiments of the present application includes at least the following beneficial effects:

[0020] When the terminal device receives the Bluetooth broadcast message sent by the first audio device, if an audio connection has been established with the second audio device, if the first audio device and the second audio device belong to the same device group, an audio connection is established with the first audio device according to the attribute support information of the second audio device, thereby saving the process of querying the service of the first audio device, greatly shortening the time of establishing the audio connection, and improving the efficiency of establishing the audio connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a system architecture diagram of a wireless audio playback system provided by an exemplary embodiment of the present application;

[0022] Figure 2 It is a message structure diagram of the RSI value involved in this application;

[0023] Figure 3 A schematic diagram of audio connection involved in the present application is shown;

[0024] Figure 4 A schematic diagram of service query involved in this application is shown;

[0025] Figure 5 A schematic diagram of the GATT structure involved in this application is shown;

[0026] Figure 6 A flow chart of a connection establishment method provided by an exemplary embodiment of the present application is shown;

[0027] Figure 7 A flow chart of a connection establishment method provided by an exemplary embodiment of the present application is shown;

[0028] Figure 8 A flow chart of a connection establishment method provided by an exemplary embodiment of the present application is shown;

[0029] Fig. 9 yes Figure 8 A flowchart of an audio connection related to the illustrated embodiment;

[0030] Fig.10 A flow chart of a connection establishment method provided by an exemplary embodiment of the present application is shown;

[0031] Fig.11 is a structural schematic diagram of a connection establishment device provided by an exemplary embodiment of the present application;

[0032] Fig.12 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

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

[0034] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0035] It should be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B.

[0036] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.

[0037] In the embodiments of the present application, "pre-definition" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in a device (for example, including a terminal device and a network device), and the present application does not limit the specific implementation method. For example, pre-definition can refer to what is defined in the protocol.

[0038] Thanks to the development of short-range wireless communication technologies such as Bluetooth (BT), Bluetooth-based audio devices such as wireless headphones are increasingly accepted by users, and their implementation forms are becoming more and more diverse. For example, current wireless headphones include True Wireless Stereo (TWS) Bluetooth headphones, etc.

[0039] When using audio devices such as wireless headphones, they need to establish a Bluetooth-based wireless audio connection with the terminal device (i.e., the audio source device) and play the audio data pushed by the terminal device. In some business scenarios, the audio device can also feedback user operations and user voice data to the terminal device.

[0040] Please refer to Figure 1 , which shows a system architecture diagram of a wireless audio playback system provided by an exemplary embodiment of the present application. Figure 1 As shown, the system includes an audio device 110 and a terminal device 120 .

[0041] The audio device 110 may be a Bluetooth headset or other audio playback device supporting the Bluetooth protocol, such as a Bluetooth speaker, etc. The audio device 110 may also be a computer device supporting the Bluetooth protocol, such as a smart phone, a tablet computer, a smart TV, a personal computer, etc.

[0042] The audio device 110 has a function of playing audio. For example, a speaker component is provided in the audio device 110 .

[0043] Optionally, the audio device 110 also has an audio collection function, an operation receiving function, etc. For example, the audio device 110 is also provided with a pickup / microphone, an operation button, a touch sensor, etc.

[0044] The terminal device 120 may be a computer device supporting the Bluetooth protocol, for example, the terminal device 120 may be a smart phone, a tablet computer, a smart TV, a personal computer, and the like.

[0045] After the terminal device 120 and the audio device 110 are connected via the Bluetooth protocol, the terminal device 120 can push audio data to the audio device 110, and the audio device plays the audio data.

[0046] Optionally, the audio device 110 may collect the user's voice (for example, in a call scenario or a voice control scenario), obtain the user's voice data, and transmit the voice data back to the terminal device 120 .

[0047] Optionally, when receiving an operation on an operation button or a touch sensor in the audio device 110 , the audio device 110 may transmit an operation signal to the terminal device 120 , and the terminal device 120 may perform a corresponding operation according to the operation signal.

[0048] For example, in some scenarios, the audio device 110 can send control information to the terminal device 120 based on the received user operations to control the functions related to audio playback in the terminal device 120, such as switching to the previous song, switching to the next song, adjusting the volume, answering / hanging up the phone, etc.

[0049] Bluetooth Low Energy Audio (BLE-Audio, also known as LE-Audio) is a new audio transmission technology of the Bluetooth protocol, which brings people wireless audio services with lower power consumption, lower cost, higher quality, and lower latency. TWS headphones are one of the hottest Bluetooth products on the market.

[0050] BLE Audio provides the CSIP (Coordinated Set Identification Profile) protocol, which allows devices belonging to the same group to achieve coordination and synchronization when interacting with external devices. This protocol mainly describes how external devices can identify multiple independent devices in a group as the same group. For multiple devices belonging to the same group, if they are to be used with external devices at the same time, each device needs to establish an independent BLE Audio connection with the external device. At the same time, based on the obtained combination identification information of each device, such as the combination identification resolution value (Set Identity Resolving Key, SIRK), devices with the same SIRK value can be grouped into a group.

[0051] For the first connection, TWS earphones that support BLE Audio will send LE Audio broadcasts when the earphones are opened. When the user chooses to connect one earphone, the mobile phone (terminal device) first connects to earphone 1 to establish an LE Audio connection and obtain the SIRK of the earphone. At this time, earphone 1 can interact with the mobile phone for voice data. When the mobile phone receives the LE Audio broadcast from earphone 2, it can parse and determine whether earphone 2 and the currently connected earphone 1 belong to the same coordination set (that is, whether they belong to the same device group).

[0052] Please refer to Figure 2 , which shows the message structure diagram of the RSI value involved in this application. Figure 2 As shown, the RSI value in the LE Audio broadcast message contains a hash value and a prand field, where the prand field contains a random part and a fixed part (i.e., the 1 and 0 at the end). The hash value can be calculated from the SIRK and prand fields.

[0053] The phone calculates a hash value based on the SIRK of earphone 1 and the prand field in the RSI value carried in the broadcast message of earphone 2, and then compares the calculated hash value with the hash field of the RSI value in the broadcast message of earphone 2 to determine whether the two are consistent. If the two are consistent, the phone automatically establishes an LE Audio connection with the other earphone 2.

[0054] Please refer to Figure 3 , which shows a schematic diagram of the audio connection involved in this application. Figure 3 As shown, the process of establishing LE-Audio between the mobile phone and the TWS headset can be as follows:

[0055] S31, earphone 1 and earphone 2 in the TWS earphone send LE-Audio broadcast.

[0056] Among them, after the earphone box of the TWS earphone is opened, earphone 1 and earphone 2 will each send LE-Audio broadcasts.

[0057] S32, after the mobile phone turns on the Bluetooth low energy LE scan, it scans the LE-Audio broadcast (broadcast 1) sent by earphone 1.

[0058] S33, the user clicks to connect to earphone 1, an LE connection is established between the mobile phone and earphone 1, a service query is initiated to earphone 1, and an LE-Audio connection is established with earphone 1 according to the service query result.

[0059] S34, the mobile phone obtains SIRK from the headset 1.

[0060] S35, the mobile phone scans the LE-Audio broadcast (broadcast 2) sent by earphone 2.

[0061] S36, the mobile phone calculates a hash value according to the SIRK of earphone 1 and the prand field of the RSI value in broadcast 2.

[0062] S37, the mobile phone determines whether the calculated hash value is consistent with the hash field in broadcast 2; if so, enter S38, otherwise end.

[0063] S38, an LE connection is established between the mobile phone and the headset 2, a service query is initiated to the headset 2, and an LE-Audio connection is established with the headset 2 according to the service query result.

[0064] The execution order of the above step S36 and the subsequent steps S35 to S38 is not limited, that is, step S36 and steps S35 to S38 can be executed simultaneously or in a sequential order. For example, the mobile phone can execute steps S35 to S38 while executing step S36.

[0065] Please refer to Figure 4 , which shows a schematic diagram of the service query involved in this application. Figure 4 As shown, the service query process is a process in which the client 41 (Client) queries the server 42 (Server) for various attributes supported by the client. In the service query process, the client 41 sends an ATT (Attribute) request / command to the server 42, and the server 42 returns an ATT response to the client 41, and the ATT response includes relevant information about the attributes supported by the server 42.

[0066] In the LE-Audio protocol, the result of the service query is the Generic Attribute Profile (GATT) structure information. Please refer to Figure 5 , which shows a schematic diagram of the GATT structure involved in this application.

[0067] like Figure 5 As shown in the figure, the GATT structure information indicates the consistent multiple services supported by the server. Each service has its own characteristic, description and other fields. During the service query process, each field requires a separate ATT query. Therefore, when there are many services and their contents are complex, the ATT query will take a lot of time.

[0068] Since LE-Audio uses the GATT protocol connection architecture at the bottom layer, both the mobile phone and the headset support many services. Therefore, the service query process on both sides takes a long time. Taking the protocol currently required by LE-audio as an example, the service query time for a single headset by a mobile phone takes about 2 to 3 seconds, and 5 to 6 seconds for two headsets. As a result, the first LE-Audio connection speed is very slow, affecting the user experience.

[0069] Please refer to Figure 6, which shows a flow chart of a connection establishment method provided by an exemplary embodiment of the present application. The method can be used in a terminal device; wherein the terminal device can be the above-mentioned Figure 1 The terminal device 120 in the system is shown. The method may include the following steps.

[0070] Step 601: Receive a Bluetooth broadcast message sent by a first audio device.

[0071] In the embodiment of the present application, the first audio device may be Figure 1 An audio device 110 is shown in the system.

[0072] The first audio device may periodically send a Bluetooth broadcast message so that surrounding terminal devices can discover the first audio device.

[0073] Step 602: When the first audio device and the second audio device belong to the same device group, establish an audio connection with the first audio device according to attribute support information of the second audio device; the second audio device is an audio device that the terminal device has connected or is determined to be connected; the attribute support information is used to indicate the services supported by the audio device.

[0074] The second audio device is an audio device to which the terminal device is connected, which may mean that an audio connection or a bottom layer connection has been established between the terminal device and the second audio device.

[0075] The second audio device is an audio device that the terminal device determines to connect to, which may mean that the terminal device receives an instruction to establish an audio connection with the second audio device, and the terminal has not yet completed the audio connection or the establishment of the underlying connection with the second audio device.

[0076] When the first audio device and the second audio device belong to the same device group, for example, when the first audio device and the second audio device form a pair of TWS headphones, the attribute types supported by the first audio device and the second audio device are the same. Therefore, when establishing an audio connection, if the second audio device is an audio device that the terminal device is already connected or determined to be connected, the terminal device can use the attribute support information of the second audio device to establish an audio connection with the first audio device, and there is no need to query the first audio device for its supported attributes through service query, thereby saving the step of performing service query on the first audio device.

[0077] To summarize, through the scheme shown in the embodiment of the present application, when the terminal device receives the Bluetooth broadcast message sent by the first audio device, if an audio connection has been established with the second audio device, if the first audio device and the second audio device belong to the same device group, an audio connection is established with the first audio device according to the attribute support information of the second audio device, thereby saving the process of querying the service to the first audio device, greatly shortening the time of establishing the audio connection, and improving the efficiency of establishing the audio connection.

[0078] In a possible implementation of the solution shown in 6 above, the terminal device may obtain the combination identification information of the second audio device, and determine whether the first audio device and the second audio device belong to the same device group according to the combination identification information of the second audio device. When it is determined that the first audio device and the second audio device belong to the same device group according to the combination identification information of the second audio device, an audio connection may be established with the first audio device according to the attribute support information of the second audio device.

[0079] Based on the above Figure 6 For the scheme shown, please refer to Figure 7 , which shows a flow chart of a connection establishment method provided by an exemplary embodiment of the present application. Taking the terminal device as a mobile phone, the first audio device and the second audio device as TWS Bluetooth headsets, and the established connection as an LE-Audio connection as an example, the method may include the following steps.

[0080] Step 701: The headset cover is opened, and headset 1 and headset 2 are paired and start sending Bluetooth low energy broadcasts.

[0081] Step 702: The mobile phone turns on Bluetooth and starts BLE scanning.

[0082] Step 703 , the mobile phone first scans the broadcast sent by earphone 1 and completes the connection of the underlying LE link with earphone 1 .

[0083] Step 704, the mobile phone obtains the SIRK of the headset 1 from the headset 1; at the same time, the mobile phone initiates a service query to the headset 1, and establishes a LE-Audio protocol connection with the headset 1 according to the attribute support information obtained from the service query.

[0084] Step 705: The mobile phone scans the broadcast of earphone 2 and determines that earphone 2 and earphone 1 belong to the same device group.

[0085] Step 706 : The mobile phone establishes an LE-Audio protocol connection with the headset 1 according to the attribute support information obtained from the headset 1 .

[0086] In the above step 706 , the mobile phone does not need to initiate a service query to the headset 1 .

[0087] In some embodiments, in the process of determining that the first audio device and the second audio device belong to the same device group based on the combination identification information of the second audio device, after the terminal device obtains the combination identification information of the second audio device, it can obtain the combination identification information of the first audio device from the first audio device, and then determine whether the combination identification information of the first audio device is the same as the combination identification information of the second audio device, thereby determining whether the first audio device and the second audio device belong to the same device group.

[0088] Please refer to Figure 8 , which shows a flow chart of a connection establishment method provided by an exemplary embodiment of the present application. The method can be executed by a terminal device; wherein the terminal device can be Figure 1 The terminal device 120 in the system is shown. The method may include the following steps.

[0089] Step 801: The terminal device receives a Bluetooth broadcast message sent by a second audio device.

[0090] In an embodiment of the present application, after the terminal device turns on the Bluetooth scanning function, it can receive Bluetooth broadcast messages sent by surrounding audio devices.

[0091] Step 802: The terminal device executes a process of establishing an audio connection with a second audio device.

[0092] Optionally, after the terminal device receives the Bluetooth broadcast message sent by the second audio device, the information of the second audio device can be displayed on the Bluetooth scanning interface. At this time, if the user clicks on the option of the second audio device displayed on the Bluetooth scanning interface, the terminal device can receive an instruction to establish a connection with the second audio device, and the terminal device can execute the process of establishing an audio connection with the second audio device.

[0093] The process of establishing an audio connection between the terminal device and the second audio device may include the following sub-steps:

[0094] S802a: The terminal device establishes a bottom layer connection with the second audio device.

[0095] Taking the Bluetooth low energy scenario as an example, the terminal device can establish an underlying LE connection with the second audio device, and perform key negotiation with the second audio device through the underlying LE connection to achieve encryption of link layer data.

[0096] Among them, the above-mentioned steps such as establishing the underlying LE connection and encrypting the link layer data can be performed in the manner specified in the BLE standard.

[0097] S802b: The terminal device initiates a service query to the second audio device to obtain attribute support information of the second audio device.

[0098] The service query process initiated by the terminal device to the second audio device may query which services the second audio device supports, and information such as capabilities / attributes corresponding to the services supported by the second audio device.

[0099] For example, the terminal device may query the second audio device for at least one of the following information:

[0100] 1) Whether the second audio device supports the media playback function;

[0101] 2) Whether the second audio device supports the call function;

[0102] 3) Whether the second audio device supports operation control;

[0103] 4) What operation controls does the second audio device support (for example, whether it supports the pause operation, whether it supports the next song switching operation, whether it supports the previous song switching operation, etc.);

[0104] 5) Coding capability / coding mode of the second audio device;

[0105] 6) Encoding parameters used by the second audio device.

[0106] When the upper terminal device initiates a service query to the second audio device, the terminal device may send a service query instruction to the second audio device. After receiving the service query instruction, the second audio device may return relevant information of the services it supports to the terminal device.

[0107] The service query process can be performed in accordance with the BLE standard (such as the relevant standard of the LE Audio protocol). The information structure of the queried attribute support information can refer to the above Figure 5 The structure shown.

[0108] S802c: The terminal device establishes an audio connection with the second audio device according to the attribute support information of the second audio device.

[0109] When establishing an audio connection between the terminal device and the second audio device, an audio connection establishment request may be sent according to the information related to the service supported by the second audio device queried in step 802b.

[0110] For example, after completing the service query for the second audio device, the terminal device can send an instruction for configuring the audio connection to the second audio device, such as an ATT protocol (Attribute Protocol) write instruction, and the ATT write instruction is used to write the relevant configuration information of the second audio connection in the audio device to complete the example of the audio connection. Correspondingly, after receiving the ATT write instruction, the second audio device performs the configuration of the audio connection according to the relevant configuration information in the ATT write instruction.

[0111] The audio connection establishment process may be performed in accordance with an audio connection establishment method specified in a BLE standard (eg, a standard related to the LE Audio protocol).

[0112] In addition, the process of establishing an audio connection between the terminal device and the second audio device may also include:

[0113] S802d: The terminal device initiates an identification query to the second audio device to obtain the combined identification information of the second audio device.

[0114] In the embodiment of the present application, after establishing the underlying connection with the second audio device, the terminal device may also query the second audio device for its combined identification information.

[0115] For example, taking the BLE protocol as an example, when the underlying connection is an underlying LE connection, the combined identification information may be SIRK.

[0116] Step 803: The terminal device receives the Bluetooth broadcast message sent by the first audio device.

[0117] The first audio device is another Bluetooth device other than the second audio device. In the embodiment of the present application, when the terminal device receives a Bluetooth broadcast message sent by the first audio device and determines that the sender of the Bluetooth broadcast message is not the second audio device, subsequent steps may be performed.

[0118] Step 804: The terminal device obtains the combination identification information of the second audio device.

[0119] In the embodiment of the present application, step 804 may be performed after step 802, or may be performed during the execution of step 802. When step 804 is performed, the terminal device has established a bottom layer connection or an audio connection with the second audio device; or, when step 804 is performed, the terminal device has received an instruction to connect to the second audio device. That is, at this time, the terminal device has been connected or determined to be connected to the second audio device.

[0120] In a possible implementation, when the terminal device has queried the combination identification information of the second audio device from the second audio device (for example, the combination identification information of the second audio device is queried according to the above-mentioned process S802d), in step 804, the combination identification information of the second audio device can be directly read and queried locally.

[0121] In another possible implementation, when the terminal device has not queried the second audio device for the combination identification information of the second audio device, in step 804, the terminal device may query the second audio device for its combination identification information according to the above process of S802d. In this case, step 804 is the same as the above step S802d.

[0122] Step 805: The terminal device obtains the combination identification information of the first audio device.

[0123] In the embodiment of the present application, the terminal device may query the first audio device for the combination identification information of the first audio device.

[0124] For example, the terminal device may establish an underlying connection with the first audio device, and query the first audio device for its combination identification information through the underlying connection with the first audio device.

[0125] In a possible implementation manner, the Bluetooth broadcast message sent by the first audio device includes a first hash field;

[0126] Before acquiring the combined identification information of the first audio device, the terminal device may generate a second hash field according to the combined identification information of the second audio device; when the first hash field is the same as the second hash field, an underlying connection with the first audio device is established.

[0127] Taking the BLE protocol as an example, in an embodiment of the present application, the RSI value of the Bluetooth broadcast message sent by the first audio device includes a first hash field and a prand field. The terminal device can extract the first hash field and the prand field in the Bluetooth broadcast message sent by the first audio device, and perform a hash calculation based on the extracted prand field and the SIRK of the second audio device to obtain the second hash field. When the comparison determines that the first hash field is the same as the second hash field, the terminal device can establish a bottom-level connection with the first audio device.

[0128] Step 806: When the combination identification information of the first audio device is the same as the combination identification information of the second audio device, the terminal device determines that the first audio device and the second audio device belong to the same device group.

[0129] In an embodiment of the present application, after the terminal device obtains the combination identification information of the first audio device through the underlying connection between the terminal device and the first audio device, it compares it with the combination identification information of the second audio device. If the two are consistent, the combination identification information of the first audio device matches the combination identification information of the second audio device, that is, the first audio device and the second audio device are considered to belong to the same device group.

[0130] Step 807: When the first audio device and the second audio device belong to the same device group, the terminal device establishes an audio connection with the first audio device according to the attribute support information of the second audio device.

[0131] In a possible implementation, when the first audio device and the second audio device belong to the same device group, establishing an audio connection with the first audio device according to the attribute support information of the second audio device includes:

[0132] When the first audio device and the second audio device belong to the same device group, acquiring the attribute support information of the second audio device as the attribute support information of the first audio device;

[0133] An audio connection is established with the first audio device according to the attribute support information of the first audio device.

[0134] In an embodiment of the present application, when the terminal device determines that the first audio device and the second audio device belong to the same device group, it can be considered that the first audio device and the second audio device are the same set of audio devices, such as the same pair of TWS headphones, and the attribute support information of the two (such as the above-mentioned GATT structure information) can be considered to be the same. At this time, the terminal device can directly use the combination identification information of the second audio device to establish an audio connection with the first audio device, and there is no need to query the first audio device for attribute support information.

[0135] In a possible implementation, before the terminal device establishes an audio connection with the first audio device according to the attribute support information of the second audio device, the terminal device may further multiplex the attribute support information of the second audio device as the attribute support information of the first audio device.

[0136] For example, in an exemplary scheme, after the terminal device determines that the first hash field is the same as the second hash field, or after establishing the underlying connection with the first audio device, the attribute support information of the second audio device can be temporarily multiplexed as the attribute support information of the first audio device.

[0137] For another example, in another exemplary solution, after determining that the first audio device and the second audio device belong to the same device group, the terminal device multiplexes the attribute support information of the second audio device as the attribute support information of the first audio device.

[0138] In an embodiment of the present application, when the attribute support information includes GATT structure information, after the terminal device multiplexes the attribute support information of the second audio device as the attribute support information of the first audio device, in addition to establishing an audio connection with the first audio device according to the attribute support information, the terminal device can further read the parameter values ​​corresponding to each field in the GATT structure information. For the first audio device and the second audio device, when the two belong to the same device group, although the GATT structure information of the two is the same, the parameter values ​​corresponding to the fields in the GATT structure information of the two may be different.

[0139] Step 808: When the combination identification information of the first audio device is different from the combination identification information of the second audio device, the terminal device initiates a service query to the first audio device through the bottom layer connection to obtain the attribute support information of the first audio device.

[0140] In an embodiment of the present application, if the combination identification information of the first audio device is different from the combination identification information of the second audio device, the terminal device may consider that the first audio device and the second audio device are not the same set of audio devices, and the attribute support information of the two may be different. At this time, the terminal device may initiate a service query to the first audio device.

[0141] Step 809: The terminal device establishes an audio connection with the first audio device according to the attribute support information of the first audio device.

[0142] Among them, in the BLE protocol scenario, the above-mentioned Bluetooth broadcast message can be a Bluetooth low energy LE broadcast message, and the above-mentioned audio connection can be a Bluetooth low energy LE audio connection.

[0143] Among them, the first audio device and the second audio device mentioned above can be true wireless stereo TWS headphones.

[0144] Please refer to Fig. 9 , which shows a flowchart of an audio connection involved in an embodiment of the present application. Fig. 9 As shown, in the BLE protocol scenario, the terminal device is a mobile phone, and the first audio device and the second audio device are a pair of headphones. The process of the audio connection can be as follows:

[0145] S901, the headset cover is opened, and headset 1 and headset 2 start sending Bluetooth low energy broadcasts after pairing.

[0146] S902, turn on Bluetooth on your phone and start BLE scanning at the same time.

[0147] S903, the mobile phone first scans the broadcast 1 sent by the headset 1, and completes the connection of the underlying LE link with the headset 1.

[0148] S904, the mobile phone obtains SIRK1 of earphone 1 from earphone 1; at the same time, the mobile phone initiates a service query to earphone 1, and establishes an LE-Audio protocol connection with earphone 1 according to the GATT structure obtained from the service query.

[0149] S905, the mobile phone scans Broadcast 2 of earphone 2 and calculates a hash value based on SIRK1 and the information in Broadcast 2.

[0150] S906, the mobile phone determines whether the calculated hash value is the same as the hash field in broadcast 2; if so, proceed to S907, otherwise end.

[0151] S907: The mobile phone and the headset 2 complete the connection of the underlying LE link.

[0152] S908: Temporarily reuse the GATT structure of earphone 1 as the GATT structure of earphone 2.

[0153] S909: The mobile phone obtains SIRK2 of earphone 2 from earphone 2.

[0154] S910, the mobile phone determines whether SIRK1 is consistent with SIRK2; if so, it proceeds to S911, otherwise, it proceeds to S912.

[0155] S911, use the reused GATT structure of earphone 1 to establish an LE-Audio protocol connection with earphone 2.

[0156] S912, initiate a service query for earphone 1; and establish an LE-Audio protocol connection with earphone 2 according to the GATT structure obtained from the service query.

[0157] In the above Fig. 9 In the scheme shown, when the mobile phone parses the hash field in the broadcast of headset 2 and finds that the hash value calculated from the broadcast content is consistent, the mobile phone initiates an LE connection to headset 2.

[0158] Since the codes of earphone 1 and earphone 2 are the same set of codes, but the two initialization roles are different, the GATT structures of the two are the same, and they can also be regarded as the same device in disguise, but some attribute values ​​may be different between the two. For example, the left earphone will be configured to receive left channel data during the protocol connection stage with the mobile phone, and the right earphone will be configured to receive left channel data. Therefore, it is not necessary for the mobile phone to perform the service discovery and query process for earphone 2 again. In an embodiment of the present application, when the mobile phone actively initiates an LE connection to earphone 2, the mobile phone temporarily reuses the GATT structure of earphone 1 to earphone 2, and performs the SIRK reading step for earphone 2 at the same time.

[0159] Since in the above scheme, the mobile phone queries the SIRK of the headset through the underlying LE connection, the SIRK can be transmitted in an encrypted manner, that is, the queried SIRK is based on the underlying LE connection and is encrypted, which is unique and secure. When the mobile phone obtains SIRK2, the mobile phone compares the SIRK of headset 1 with that of headset 2. If they are consistent, it means that the two headsets are a pair, because usually, the SIRK is fixed when the product leaves the factory, and only matched pairs of headsets have the same SIRK. At this point, the mobile phone will directly reuse the GATT structure of headset 1 for headset 2, eliminating the service query process for headset 2, and then initiate an LE-Audio protocol connection to headset 2.

[0160] If the phone finds that SIRK1 and SIRK2 are inconsistent, it means that earphone 2 is not a pair with earphone 1. It is possible that an external device has stolen the broadcast content of earphone 1 to forge it. At this time, the phone will not regard earphone 1 and earphone 2 as a pair of devices. The phone also needs to perform a complete service query and LE-audio protocol connection for earphone 2 separately.

[0161] Through the above solution of the present application, on the one hand, while ensuring safety, the mobile phone reuses the GATT structure of earphone 1, thereby eliminating the service query link for earphone 2, thereby saving 2 to 3 seconds of connection time. In addition, if there are more peripheral devices, that is, multiple external devices form a group and all support the CSIP protocol, this solution can save more connection time.

[0162] On the other hand, the SIRK judgment link is added, instead of simply judging that earphone 2 and earphone 1 are a pair of devices by parsing the broadcast field of earphone 2, because the broadcast content can be easily forged by external devices, that is, a third-party device steals the broadcast content of earphone 1 for LE broadcast, making the mobile phone mistakenly believe that the three-party device and earphone 1 are a group of devices and directly reuse their GATT structure. However, in fact, the GATT structure of the three-party device is different from that of earphone 1, which will eventually cause the mobile phone and the three-party device to not work properly, and there are also risks such as communication security. By judging SIRK, it is possible to make a deep judgment on whether the two devices are a pair of devices to ensure their security.

[0163] To summarize, through the scheme shown in the embodiment of the present application, when the terminal device receives the Bluetooth broadcast message sent by the first audio device, if an audio connection has been established with the second audio device, if the first audio device and the second audio device belong to the same device group, an audio connection is established with the first audio device according to the attribute support information of the second audio device, thereby saving the process of querying the service to the first audio device, greatly shortening the time of establishing the audio connection, and improving the efficiency of establishing the audio connection.

[0164] In other embodiments, when it is determined that the first audio device and the second audio device belong to the same device group based on the combination identification information of the second audio device, after the terminal device obtains the combination identification information of the second audio device, it can determine whether the first audio device and the second audio device belong to the same device group through the Bluetooth broadcast message sent by the first audio device.

[0165] Please refer to Fig.10 , which shows a flow chart of a connection establishment method provided by an exemplary embodiment of the present application. The method can be interactively executed by a terminal device and an audio device; wherein the audio device can be the above-mentioned Figure 1 The audio device 110 in the system shown in the figure may be a terminal device Figure 1 The terminal device 120 in the system is shown. The method may include the following steps.

[0166] Step 1001: A terminal device receives a Bluetooth broadcast message sent by a second audio device.

[0167] Step 1002: The terminal device executes a process of establishing an audio connection with a second audio device.

[0168] Step 1003: The terminal device receives a Bluetooth broadcast message sent by the first audio device.

[0169] Step 1004: The terminal device obtains the combination identification information of the second audio device.

[0170] The execution process of the above steps 1001 to 1004 is Figure 8 The execution process of step 801 to step 804 in the illustrated embodiment is similar and will not be repeated here.

[0171] Step 1005: The terminal device generates a second hash field according to the combined identification information of the second audio device.

[0172] Step 1006: When the first hash field is the same as the second hash field in the Bluetooth broadcast message sent by the first audio device, it is determined that the first audio device and the second audio device belong to the same device group.

[0173] In the embodiment of the present application, the calculation method of the second hash field can refer to the above Figure 8 The description in the illustrated embodiment will not be repeated here.

[0174] Step 1007: When the first audio device and the second audio device belong to the same device group, the terminal device establishes an audio connection with the first audio device according to the attribute support information of the second audio device.

[0175] In an embodiment of the present application, after the terminal device determines that the first audio device and the second audio device belong to the same device group based on the combined identification information of the first broadcast message and the second audio device, it can directly establish an audio connection with the first audio device based on the attribute support information of the second audio device, without the need to directly compare the combined identification information, thereby further shortening the duration of the audio connection.

[0176] To summarize, through the scheme shown in the embodiment of the present application, when the terminal device receives the Bluetooth broadcast message sent by the first audio device, if an audio connection has been established with the second audio device, if the first audio device and the second audio device belong to the same device group, an audio connection is established with the first audio device according to the attribute support information of the second audio device, thereby saving the process of querying the service to the first audio device, greatly shortening the time of establishing the audio connection, and improving the efficiency of establishing the audio connection.

[0177] Please refer to Fig.11 , which shows a schematic diagram of the structure of a connection establishment device provided by an exemplary embodiment of the present application. The connection establishment device 1100 can be used to perform the above Figure 6 or Figure 8 In the embodiment shown, all or part of the steps are performed by the terminal device; the device includes:

[0178] The broadcast receiving module 1101 is used to receive a Bluetooth broadcast message sent by a first audio device;

[0179] a connection establishing module 1102, configured to establish an audio connection with the first audio device according to attribute support information of the second audio device when the first audio device and the second audio device belong to the same device group;

[0180] The second audio device is an audio device that the terminal device is connected to or determined to be connected to; and the attribute support information is used to indicate the services supported by the audio device.

[0181] In a possible implementation manner, the device further includes:

[0182] A first identification information acquisition module, configured to acquire the combined identification information of the second audio device before the connection establishment module establishes an audio connection with the first audio device according to the attribute support information of the second audio device; the combined identification information is used to indicate the device group to which the audio device belongs;

[0183] The connection establishing module 1102 is configured to establish an audio connection with the first audio device according to the attribute support information of the second audio device when it is determined that the first audio device and the second audio device belong to the same device group according to the combination identification information of the second audio device.

[0184] In a possible implementation manner, the Bluetooth broadcast message includes a first hash field;

[0185] The device also includes:

[0186] A first field generating module, configured to generate a second Hash field according to the combined identification information of the second audio device before the connection establishing module 1102 establishes an audio connection with the first audio device according to the attribute support information of the second audio device;

[0187] The first determining module is configured to determine that the first audio device and the second audio device belong to the same device group when the first hash field is the same as the second hash field.

[0188] In a possible implementation manner, the device further includes:

[0189] A first identification information acquisition module, configured to acquire the combined identification information of the first audio device before the connection establishment module 1102 establishes an audio connection with the first audio device according to the attribute support information of the second audio device;

[0190] The second determining module is configured to determine that the first audio device and the second audio device belong to the same device group when the combination identification information of the first audio device is the same as the combination identification information of the second audio device.

[0191] In a possible implementation manner, the Bluetooth broadcast message includes a first hash field;

[0192] The device also includes:

[0193] A first field generating module, configured to generate a second Hash field according to the combined identification information of the second audio device before the first identification information acquiring module acquires the combined identification information of the first audio device;

[0194] The connection establishing module 1102 is further configured to establish a bottom layer connection with the first audio device when the first hash field is the same as the second hash field.

[0195] In a possible implementation manner, the first identification information acquisition module is configured to acquire the combined identification information of the first audio device from the first audio device through the underlying connection.

[0196] In a possible implementation manner, the device further includes:

[0197] a service query module, configured to initiate a service query to the first audio device through the underlying connection to obtain attribute support information of the first audio device when the combination identification information of the first audio device is different from the combination identification information of the second audio device;

[0198] The connection establishing module 1102 is further configured to establish an audio connection with the first audio device according to the attribute support information of the first audio device.

[0199] In a possible implementation, the Bluetooth broadcast message is a Bluetooth low energy LE broadcast message; and the audio connection is a Bluetooth low energy LE audio connection.

[0200] In a possible implementation manner, the combined identification information is a combined identification resolution value SIRK; and the attribute support information is general attribute coordination set protocol GATT structure information.

[0201] In a possible implementation, the first audio device and the second audio device are true wireless stereo TWS headphones.

[0202] To summarize, through the scheme shown in the embodiment of the present application, when the terminal device receives the Bluetooth broadcast message sent by the first audio device, if an audio connection has been established with the second audio device, if the first audio device and the second audio device belong to the same device group, an audio connection is established with the first audio device according to the attribute support information of the second audio device, thereby saving the process of querying the service to the first audio device, greatly shortening the time of establishing the audio connection, and improving the efficiency of establishing the audio connection.

[0203] One point that needs to be explained is that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0204] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0205] Please refer to Fig.12, which shows a schematic diagram of the structure of a computer device 1200 provided in one embodiment of the present application. The computer device 1200 may include: a processor 1201, a receiver 1202, a transmitter 1203, a memory 1204 and a bus 1205.

[0206] The processor 1201 includes one or more processing cores. The processor 1201 executes various functional applications and information processing by running software programs and modules.

[0207] The receiver 1202 and the transmitter 1203 may be implemented as a communication component, which may be a communication chip, which may also be called a transceiver.

[0208] The memory 1204 is connected to the processor 1201 via a bus 1205 .

[0209] The memory 1204 may be used to store a computer program, and the processor 1201 may be used to execute the computer program to implement each step in the above method embodiment.

[0210] In addition, memory 1204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and volatile or non-volatile storage devices include but are not limited to: magnetic disks or optical disks, electrically erasable programmable read-only memory, erasable programmable read-only memory, static random access memory, read-only memory, magnetic memory, flash memory, and programmable read-only memory.

[0211] In an exemplary solution, when the computer device 1200 is implemented as a terminal device, the receiver 1202 is used to receive a Bluetooth broadcast message sent by the first audio device;

[0212] Processor 1201, when the first audio device and the second audio device belong to the same device group, establishes an audio connection with the first audio device according to attribute support information of the second audio device; wherein the second audio device is an audio device that the terminal device has connected or is determined to be connected; and the attribute support information is used to indicate services supported by the audio device.

[0213] The process executed by the processor 1201 and / or the receiver 1202 in the above-mentioned computer device 1200 may refer to the various steps executed by the terminal device in the above-mentioned method embodiments.

[0214] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. The computer instructions are loaded and executed by a processor to implement all or part of the steps performed by a terminal device or an audio device in the above-mentioned method embodiments.

[0215] The present application also provides a chip, which is used to run in a computer device so that the computer device executes all or part of the steps executed by the terminal device in the above-mentioned various method embodiments.

[0216] The present application also provides a computer program product, the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The above computer program product can be used to implement all or part of the steps executed by the terminal device in the above various method embodiments.

[0217] The present application also provides a computer program product, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes all or part of the steps executed by the terminal device in the above-mentioned various method embodiments.

[0218] The present application also provides a computer program, which is executed by a processor of a computer device to implement all or part of the steps executed by a terminal device in each of the above method embodiments.

[0219] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

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

Claims

1. A connection establishment method, characterized in that: The method is performed by a terminal device, and the method includes: Receiving a Bluetooth broadcast message sent by a first audio device; When the first audio device and the second audio device belong to the same device group, establishing an audio connection with the first audio device according to the attribute support information of the second audio device; The second audio device is an audio device that the terminal device is connected to or determined to be connected to; and the attribute support information is used to indicate the services supported by the audio device.

2. The method according to claim 1, characterized in that When the first audio device and the second audio device belong to the same device group, before establishing an audio connection with the first audio device according to the attribute support information of the second audio device, the method further includes: Acquire the combination identification information of the second audio device; the combination identification is used to indicate the device group to which the audio device belongs; When the first audio device and the second audio device belong to the same device group, establishing an audio connection with the first audio device according to the attribute support information of the second audio device includes: When it is determined according to the combination identification information of the second audio device that the first audio device and the second audio device belong to the same device group, an audio connection is established with the first audio device according to the attribute support information of the second audio device.

3. The method according to claim 2, characterized in that The Bluetooth broadcast message includes a first hash field; When it is determined according to the combination identification information of the second audio device that the first audio device and the second audio device belong to the same device group, before establishing an audio connection with the first audio device according to the attribute support information of the second audio device, the method further includes: generating a second Hash field according to the combined identification information of the second audio device; When the first hash field is identical to the second hash field, it is determined that the first audio device and the second audio device belong to the same device group.

4. The method according to claim 2, characterized in that: When it is determined according to the combination identification information of the second audio device that the first audio device and the second audio device belong to the same device group, before establishing an audio connection with the first audio device according to the attribute support information of the second audio device, the method further includes: Acquire the combination identification information of the first audio device; When the combination identification information of the first audio device is the same as the combination identification information of the second audio device, it is determined that the first audio device and the second audio device belong to the same device group.

5. The method according to claim 4, characterized in that The Bluetooth broadcast message includes a first hash field; Before acquiring the combination identification information of the first audio device, the method further includes: generating a second Hash field according to the combined identification information of the second audio device; When the first hash field is identical to the second hash field, an underlying connection with the first audio device is established.

6. The method according to claim 5, characterized in that The acquiring the combined identification information of the first audio device includes: Acquire the combination identification information of the first audio device from the first audio device through the underlying connection.

7. The method according to claim 5, characterized in that The method further comprises: When the combination identification information of the first audio device is different from the combination identification information of the second audio device, initiating a service query to the first audio device through the underlying connection to obtain attribute support information of the first audio device; An audio connection is established with the first audio device according to the attribute support information of the first audio device.

8. The method according to any one of claims 1 to 7, characterized in that: The Bluetooth broadcast message is a Bluetooth low energy LE broadcast message; and the audio connection is a Bluetooth low energy LE audio connection.

9. The method according to any one of claims 2 to 7, characterized in that: The combined identification information is a combined identification resolution value SIRK; and the attribute support information is general attribute coordination set protocol GATT structure information.

10. The method according to any one of claims 1 to 7, characterized in that: The first audio device and the second audio device are true wireless stereo TWS headphones.

11. A connection establishment device, characterized in that: The device comprises: A broadcast receiving module, used for receiving a Bluetooth broadcast message sent by a first audio device; a connection establishing module, configured to establish an audio connection with the first audio device according to the attribute support information of the second audio device when the first audio device and the second audio device belong to the same device group; The second audio device is an audio device that the terminal device has connected or is determined to be connected to; and the attribute support information is used to indicate the services supported by the audio device.

12. The device according to claim 11, characterized in that The device also includes: A first identification information acquisition module, configured to acquire the combined identification information of the second audio device before the connection establishment module establishes an audio connection with the first audio device according to the attribute support information of the second audio device; the combined identification is used to indicate the device group to which the audio device belongs; The connection establishing module is configured to establish an audio connection with the first audio device according to the attribute support information of the second audio device when it is determined that the first audio device and the second audio device belong to the same device group according to the combination identification information of the second audio device.

13. The device according to claim 12, characterized in that The Bluetooth broadcast message includes a first hash field; The device also includes: a first field generating module, configured to generate a second hash field according to the combined identification information of the second audio device before the connection establishing module establishes an audio connection with the first audio device according to the attribute support information of the second audio device; The first determining module is configured to determine that the first audio device and the second audio device belong to the same device group when the first hash field is the same as the second hash field.

14. The device according to claim 12, characterized in that The device also includes: A first identification information acquisition module, configured to acquire the combined identification information of the first audio device before the connection establishment module establishes an audio connection with the first audio device according to the attribute support information of the second audio device; The second determining module is configured to determine that the first audio device and the second audio device belong to the same device group when the combination identification information of the first audio device is the same as the combination identification information of the second audio device.

15. The device according to claim 14, characterized in that The Bluetooth broadcast message includes a first hash field; The device also includes: A first field generating module, configured to generate a second Hash field according to the combined identification information of the second audio device before the first identification information acquiring module acquires the combined identification information of the first audio device; The connection establishing module is further configured to establish a bottom layer connection with the first audio device when the first hash field is the same as the second hash field.

16. The device according to claim 15, characterized in that The first identification information acquisition module is used to obtain the combined identification information of the first audio device from the first audio device through the underlying connection.

17. The device according to claim 15, characterized in that The device also includes: a service query module, configured to initiate a service query to the first audio device through the underlying connection to obtain attribute support information of the first audio device when the combination identification information of the first audio device is different from the combination identification information of the second audio device; The connection establishing module is further configured to establish an audio connection with the first audio device according to the attribute support information of the first audio device.

18. The device according to any one of claims 11 to 17, characterized in that The Bluetooth broadcast message is a Bluetooth low energy LE broadcast message; and the audio connection is a Bluetooth low energy LE audio connection.

19. The device according to any one of claims 12 to 17, characterized in that The combined identification information is a combined identification resolution value SIRK; and the attribute support information is general attribute coordination set protocol GATT structure information.

20. The device according to any one of claims 11 to 17, characterized in that The first audio device and the second audio device are true wireless stereo TWS headphones.

21. A computer device, characterized in that: The computer device includes a processor, a memory and a transceiver; The memory stores a computer program, and the processor executes the computer program so that the computer device implements the connection establishment method according to any one of claims 1 to 10.

22. A computer-readable storage medium, characterized in that: The storage medium stores computer instructions, and the computer instructions are used to be executed by a processor to implement the connection establishment method according to any one of claims 1 to 10.

23. A chip, characterized in that: The chip is used to run in a computer device, so that the computer device executes the connection establishment method according to any one of claims 1 to 10.

24. A computer program product, characterized in that The computer program product comprises computer instructions, and the computer instructions are stored in a computer-readable storage medium; the computer program product is used to implement the connection establishment method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for connecting bluetooth devices

    CN113366439A

  • Bluetooth protocol connection method and device, storage medium and related equipment

    CN113810887A