Connection and Binding Method, Device, Terminal Device and Storage Medium of Bluetooth Device

By obtaining the device information and connection identification information of Bluetooth devices, the connection binding between Bluetooth devices and terminal devices is directly completed, solving the problems of unstable and low efficiency in the prior art, and achieving a more efficient and stable connection process.

CN114615650BActive Publication Date: 2025-08-05SHENZHEN TCL NEW-TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011427684.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-09
Publication Date
2025-08-05
Estimated Expiration
2040-12-09

AI Technical Summary

Technical Problem

In the prior art, the connection binding process between Bluetooth devices and terminal devices is unstable and inefficient. Especially when obtaining the name of Bluetooth device through Page paging, it is greatly affected by the surrounding environment, resulting in high uncertainty in the connection process and may interfere with other devices.

Method used

By obtaining the device information of the Bluetooth device, determining the connection identification information, directly completing the connection binding based on the connection identification information, skipping the Page paging and RNR request processes in the prior art, and directly establishing a stable wireless link.

Benefits of technology

It improves the connection stability and efficiency of Bluetooth devices and terminal devices, reduces dependence on the surrounding environment, avoids interference with other devices, and improves connection speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615650B_ABST
    Figure CN114615650B_ABST
Patent Text Reader

Abstract

The present invention discloses a connection and binding method, device, terminal device and storage medium for a Bluetooth device. The method includes: obtaining device information of a Bluetooth device to be connected; determining connection identification information in the device information; and completing connection and binding with the Bluetooth device according to the connection identification information. The present invention determines the connection identification information based on the device information of the Bluetooth device to be connected, and then establishes connection and binding between the terminal device and the Bluetooth device according to the connection identification information, thereby improving the speed of connection and binding of the Bluetooth device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of connection and binding of Bluetooth devices, and particularly to a method, device, terminal device and storage medium for connecting and binding Bluetooth devices. Background Art

[0002] With the continuous update and development of Bluetooth technology, Bluetooth has become a standard configuration for smart TVs; Bluetooth devices on the market are divided into two categories: BLE (Bluetooth Low Energy) devices and BR / EDR (basic rate and enhanced rate) devices. When a user wants to use these Bluetooth devices on a terminal device, a wireless link for establishing a binding connection needs to be established first. When there is no established Bluetooth wireless link, in the prior art, the Page paging method is first used, and after waiting for the Bluetooth device to respond to the paging response, a RNR (Remote Name Request) request is sent to obtain the Bluetooth device name. The Page paging is carried out by means of Bluetooth pseudo-random sequence frequency modulation, and the time for waiting for the response to the Page paging has a great relationship with the surrounding environment at that time, and there are many uncertain factors, resulting in an unstable and inefficient connection and binding process between the terminal device and the Bluetooth device.

[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the Invention

[0004] In view of the above-mentioned defects of the prior art, a method, device, terminal device and storage medium for connecting and binding Bluetooth devices are provided, aiming to solve the problems of unstable and inefficient connection and binding process between the terminal device and the Bluetooth device in the prior art.

[0005] In order to solve the above technical problems, the technical solutions adopted by the present invention are as follows:

[0006] In the first aspect, the present invention provides a method for connecting and binding Bluetooth devices, including:

[0007] Obtain the device information of the Bluetooth device to be connected;

[0008] Determine the connection identification information in the device information;

[0009] Complete the connection and binding with the Bluetooth device according to the connection identification information.

[0010] In the second aspect, the present embodiment further provides a device for connecting and binding Bluetooth devices, including:

[0011] A device information acquisition module, configured to obtain the device information of the Bluetooth device to be connected;

[0012] An identification information determination module, configured to determine connection identification information in device information;

[0013] A connection binding completion module, configured to complete connection binding with a Bluetooth device according to the connection identification information.

[0014] Thirdly, an embodiment of the present invention further provides a terminal device. The terminal device includes a memory, a processor, and a connection binding program of a Bluetooth device stored in the memory and executable on the processor. When the processor executes the connection binding program of the Bluetooth device, the steps of the connection binding method of the Bluetooth device in any one of the above solutions are implemented.

[0015] Fourthly, an embodiment of the present invention further provides a computer-readable storage medium. A connection binding program of a Bluetooth device is stored on the computer-readable storage medium. When the connection binding program of the Bluetooth device is executed by a processor, the steps of the connection binding method of the Bluetooth device in any one of the above solutions are implemented.

[0016] Advantageous effects: The present invention completes the connection binding between the terminal device and the Bluetooth device by setting connection identification information and according to the connection identification information. Compared with the connection method between the Bluetooth device and the terminal device in the prior art, the present invention does not need to obtain the Bluetooth device name through the RNR method, so there is no need to obtain the Bluetooth pseudo-random sequence frequency modulation through the Page paging method. Therefore, the terminal device and the Bluetooth device in the present invention are more stable during the connection establishment process and have high connection efficiency. Description of the Drawings

[0017] Figure 1 It is a flowchart of a specific implementation manner of the connection binding method of the Bluetooth device provided by an embodiment of the present invention.

[0018] Figure 2 It is a flowchart of obtaining device information in the connection binding method of the Bluetooth device provided by an embodiment of the present invention.

[0019] Figure 3 It is a flowchart of obtaining connection identification information in the connection binding method of the Bluetooth device provided by an embodiment of the present invention.

[0020] Figure 4 It is a flowchart of obtaining connection binding establishment in the connection binding method of the Bluetooth device provided by an embodiment of the present invention.

[0021] Figure 5 It is a principle block diagram of the connection binding device of the Bluetooth device provided by an embodiment of the present invention.

[0022] Figure 6 It is an internal structure principle block diagram of the terminal device provided by an embodiment of the present invention. Specific Embodiment

[0023] To make the objectives, technical solutions and effects of the present invention clearer and more explicit, the following further describes the present invention in detail with reference to the accompanying drawings and by way of examples. It should be understood that the specific examples described herein are only used to explain the present invention and are not used to limit the present invention.

[0024] With the continuous update and development of Bluetooth technology, Bluetooth has become a standard feature of smart TVs; Bluetooth devices on the market are divided into two categories: BLE (Bluetooth Low Energy) devices and BR / EDR (basic rate and enhanced rate) devices. When a user wants to use these Bluetooth devices on a terminal device, a wireless link for establishing a binding connection needs to be established with these Bluetooth devices first. Currently, when using Bluetooth devices such as headphones / speakers (BR devices) on a terminal device, the following several stages will be experienced

[0025] 1) Conduct a Bluetooth scan to scan for Bluetooth speakers / headphones that are currently in a state of being available for pairing and connection;

[0026] 2) Establish a binding connection, and the TV establishes a wireless link for binding connection with the Bluetooth speaker / headphone;

[0027] 3) Conduct key distribution. After the binding connection is completed, the two devices distribute the keys negotiated during the binding connection process;

[0028] In the first and second stages, the TV will actively send out RNR (Remote Name Request) requests to obtain the device names of the Bluetooth speaker / headphone. Sending out the RNR request in the first stage allows the user to better understand which Bluetooth devices are present around. In the second stage, after sending out the RNR request again to obtain the device name of the Bluetooth speaker / headphone, a request for establishing a binding connection will be sent out.

[0029] When there is no established Bluetooth wireless link, in the prior art, first, through the Page paging method, after waiting for the Bluetooth device to respond to the paging response, an RNR (Remote Name Request) request is sent out to obtain the Bluetooth device name. Performing Page paging is through the method of frequency modulation with a Bluetooth pseudo-random sequence. The time for waiting for the response to the Page paging has a great relationship with the surrounding environment at that time, and there are many uncertain factors, resulting in an unstable and inefficient connection and binding process between the terminal device and the Bluetooth device, and there is also a possibility of interfering with the normal use of other Bluetooth devices.

[0030] To solve the problems of the prior art, this embodiment provides a method for connecting and binding a Bluetooth device. Through the method of this embodiment, there is no need to obtain the Bluetooth device name through the RNR method, so there is no need to obtain the Bluetooth pseudo-random sequence frequency modulation through the Page paging method. Therefore, the terminal device and the Bluetooth device in this invention are more stable during the connection establishment process and have high connection efficiency. Specifically in implementation, this embodiment first obtains the device information of the Bluetooth device to be connected, then determines the connection identification information of the device information according to the device information, and finally completes the connection and binding between the terminal device and the Bluetooth device according to the connection identification information. It can be seen that this embodiment completes the connection and binding between the terminal device and the Bluetooth device by setting the connection identification information. Therefore, the terminal device and the Bluetooth device are more stable during the connection establishment process and have high connection efficiency.

[0031] Exemplary method

[0032] The connection and binding method of the Bluetooth device in this embodiment can be applied to a terminal device. Specifically, as Figure 1 shown, the connection and binding method of the Bluetooth device includes the following steps:

[0033] Step S100, obtain the device information of the Bluetooth device to be connected.

[0034] In this embodiment, when the terminal device needs to connect to a Bluetooth device, it will first obtain the device information of the Bluetooth device to be connected. This device information is used to reflect which device the Bluetooth device to be connected is, and the device information can be used to distinguish the Bluetooth device to be connected. For example, when the Bluetooth devices to be connected include a Bluetooth headset and a Bluetooth speaker, the device information of the Bluetooth headset and the Bluetooth speaker can be obtained, and according to this device information, it can be confirmed which one is the Bluetooth speaker and which one is the Bluetooth headset.

[0035] In one implementation, as Figure 2 shown, this step S100 specifically includes the following steps:

[0036] Step S101, send a connection establishment request message, and obtain the status information of a preset scanning program according to the connection establishment request message. The scanning program is used to scan the Bluetooth devices to be connected within a preset range;

[0037] Step S102, obtain the device information of the Bluetooth device to be connected according to the status information.

[0038] In specific implementation, when the terminal device needs to connect to a Bluetooth device, it will send a connection establishment request message and obtain the status information of a preset scanning program according to the connection establishment request message. The connection establishment request message is used to send a connection request to the Bluetooth device. After the terminal device generates the connection establishment request message, it will start scanning the Bluetooth device to determine the Bluetooth device to be connected. In this embodiment, the terminal device scans the Bluetooth device through a preset scanning program, which can scan Bluetooth devices within a preset range. For example, the terminal device can scan Bluetooth devices within a range of 5M. After the terminal device obtains the status information of the scanning program, it can further obtain the device information of the Bluetooth device according to the status information of the scanning program.

[0039] In one implementation manner, in this embodiment, after obtaining the status information of the scanning program, if the status information indicates that the scanning program is in the scanning stage, the scanning program is controlled to stop scanning. After the scanning program stops scanning, the device information of the scanned Bluetooth device to be connected is obtained. If the status information indicates that the scanning program is not in the scanning stage, the device information of the scanned Bluetooth device to be connected is obtained. That is to say, in this embodiment, after the terminal device sends a connection establishment request message (creat_bond), it first determines whether the scanning program is in the scanning stage. If it is in the scanning stage, the scanning is stopped first. Then, after the scanning stops, the device information of the scanned Bluetooth device is obtained. If it is not in the scanning stage, the device information of the scanned Bluetooth device is directly obtained.

[0040] Step S200: Determine the connection identification information in the device information.

[0041] In this embodiment, after the terminal device obtains the device information of the Bluetooth device to be connected, according to the device information, the connection identification information in the device information is obtained. The connection identification information is preset in the device information and is used to control the establishment of a connection binding between the terminal device and the Bluetooth device. In the prior art, first, through the Page paging method, after waiting for the Bluetooth device to respond to the paging response, an RNR (Remote Name Request) request is sent to obtain the Bluetooth device name. The Page paging is performed by modulating the Bluetooth pseudo-random sequence frequency. The time for waiting for the response to the Page paging has a great relationship with the surrounding environment at that time, and there are many uncertain factors, resulting in an unstable and inefficient connection binding process between the terminal device and the Bluetooth device, and it may also interfere with the normal use of other Bluetooth devices. In this embodiment, the connection identification information is directly obtained from the device information to complete the connection between the terminal device and the Bluetooth device according to the connection identification information.

[0042] In one implementation, as Figure 3 shown in

[0043] Step S201: Analyze the device information to obtain the field information in the device information;

[0044] Step S202: Determine the connection identification information in the field information.

[0045] In this embodiment, when the device information is obtained in the terminal device, the device information is analyzed to obtain the field information from the device information. The field information reflects the detailed introduction in the device information. Therefore, based on the field information, the connection identification information can be obtained. Specifically, the connection identification information in this embodiment includes two fields, one field is the EIR (Extend Inquiry Result) field, and the other field is the Time field. The EIR (Extend Inquiry Result) field can reflect the attribute value of the connection identification information, which includes the first value "yes" and the second value "no". The attribute value of the EIR field can reflect whether the Bluetooth device is easily searchable when searching for the Bluetooth device, that is, whether the Bluetooth device is the optimal device to connect to the terminal device. When the attribute value of the EIR field is the first value "yes", it means that the Bluetooth device is the optimal device to connect to the terminal device. In this embodiment, the Time field is used to reflect the scanning duration information of the terminal device. When the scanning duration information is short, it means that the Bluetooth device is easily searchable. It can be seen that in this embodiment, the connection identification information can be obtained according to the device information, and there are two fields in the connection identification information. Therefore, in the subsequent steps, the connection between the terminal device and the Bluetooth device can be established according to these two field information.

[0046] Step S300: Complete the connection binding with the Bluetooth device according to the connection identification information.

[0047] In this embodiment, when the terminal device obtains the connection identification information, it can obtain two fields in the connection identification information, and then establish a connection binding between the terminal device and the Bluetooth device according to these two fields, so as to achieve the connection binding between the terminal device and the Bluetooth device. In the prior art, first, through the Page paging method, after waiting for the response paging response of the Bluetooth device, a request for RNR (Remote Name Request) is sent to obtain the Bluetooth device name. The Page paging is performed by modulating the frequency with a Bluetooth pseudo-random sequence, and the time for waiting for the response to the Page paging has a great relationship with the surrounding environment at that time, and there are many uncertain factors, resulting in an unstable and inefficient connection binding process between the terminal device and the Bluetooth device, and it may also interfere with the normal use of other Bluetooth devices. In this embodiment, the connection between the terminal device and the Bluetooth device is directly completed according to the connection identification information, skipping the process of waiting for the response paging response of the Bluetooth device and then sending a request for RNR (Remote Name Request) to obtain the Bluetooth device name, thus improving the connection speed between the terminal device and the Bluetooth device.

[0048] In one implementation, as Figure 4 shown in, step S300 specifically includes the following steps:

[0049] Step S301, obtain the device name corresponding to the connection identification information;

[0050] Step S302, obtain the scanning duration information of the Bluetooth device to be connected corresponding to the device name;

[0051] Step S303, establish a link connection with the Bluetooth device to be connected according to the scanning duration information to complete the connection binding with the Bluetooth device.

[0052] During specific implementation, the terminal device first obtains the device name corresponding to the connection identification information according to the connection identification information, that is, determines which Bluetooth device to connect to. Specifically, in this embodiment, the attribute value of the connection identification information is first determined; if the attribute value is the first value "yes", it means that this Bluetooth device is the device that is optimal to connect to the terminal device. At this time, the device name corresponding to this connection identification information is obtained. Then, according to the device name, the scanning duration information of the Bluetooth device to be connected corresponding to the device name is obtained. In this embodiment, this scanning duration information is obtained from the Time field in this connection identification information, and it reflects the duration information when this Bluetooth device is scanned by the terminal device. When the scanning duration information is short, it means that this Bluetooth device is easy to be searched. After obtaining this duration information, in this embodiment, this scanning duration information is compared with a preset duration threshold. If this scanning duration information is less than the duration threshold, it means that this Bluetooth device is the device that is optimal to establish a connection with the terminal device, and then a link connection with the Bluetooth device to be connected is established. Specifically, after the terminal device issues the HCI_Create_Connection command, the Bluetooth device side will page and bind the device through Page. When responding to the page paging of the terminal device, it enters the SSP protocol of the binding connection, exchanges input and output capabilities between both sides, generates random numbers, generates key information, sends the key information to the Bluetooth device to be connected, and performs service discovery of SDP to complete the connection binding with the Bluetooth device to be connected through the key information, and finally starts encryption.

[0053] When the attribute value of the connection identification information is the second value "no", it means that this Bluetooth device is not the device that is optimal to connect to the terminal device. At this time, a preset timer is started, and after the timer is started for 5S, an RNR (Remote Name Request) operation is performed to read the name of the Bluetooth device, and then the HCI_Create_Connection command is initiated to create a wireless link. Similarly, if this scanning duration information is greater than the duration threshold, that is, the time to scan this Bluetooth device is too long, it means that this Bluetooth device is not the device that is optimal to establish with the terminal device. At this time, a preset timer is also started, and after the timer is started for 5S, an RNR (Remote Name Request) operation is performed to read the name of the Bluetooth device, and then the HCI_Create_Connection command is initiated to create a wireless link, and a link connection between the terminal device and the Bluetooth device to be connected is established. It can be seen that when the terminal device in this embodiment needs to establish a binding connection with the Bluetooth device, it first selectively skips the RNR operation and first establishes a stable wireless link with the Bluetooth device. Such a method can greatly improve the binding connection speed between the terminal device and the Bluetooth device, solve the problems of blindness and repetition in the existing method, bring a good product experience to users, and improve the core competitiveness of the product.

[0054] In summary, in this embodiment, the device information of the Bluetooth device to be connected is first obtained, and then the connection identification information of the device information is determined according to the device information. Finally, the connection binding between the terminal device and the Bluetooth device is completed according to the connection identification information. It can be seen that in this embodiment, the connection binding between the terminal device and the Bluetooth device is completed by setting the connection identification information. Compared with the connection method between the Bluetooth device and the terminal device in the prior art, this embodiment does not need to obtain the Bluetooth device name through the RNR method, so there is no need to obtain the Bluetooth pseudo-random sequence frequency modulation through the Page paging method. Therefore, the terminal device and the Bluetooth device in this embodiment are more stable during the connection establishment process and have high connection efficiency.

[0055] Exemplary device

[0056] As Figure 5 shown in [figure number not provided], an embodiment of the present invention provides a connection binding device for a Bluetooth device. The device includes a device information acquisition module 10, an identification information determination module 20, and a connection binding completion module 30, where:

[0057] The device information acquisition module 10 is used to acquire the device information of the Bluetooth device to be connected;

[0058] The identification information determination module 20 is used to determine the connection identification information in the device information;

[0059] The connection binding completion module 30 is used to complete the connection binding with the Bluetooth device according to the connection identification information.

[0060] In one implementation, the device information acquisition module 10 includes:

[0061] A status information acquisition unit, which is used to send a connection establishment request message and acquire the status information of a preset scanning program according to the connection establishment request message. The scanning program is used to scan the Bluetooth devices to be connected within a preset range;

[0062] A device information acquisition unit, which is used to acquire the device information of the Bluetooth device to be connected according to the status information.

[0063] In one implementation, in terms of acquiring the device information of the Bluetooth device to be connected according to the status information, the device information acquisition unit is specifically used for:

[0064] If the status information indicates that the scanning program is in the scanning stage, control the scanning program to stop scanning, and after the scanning program stops scanning, acquire the device information of the scanned Bluetooth device to be connected; or,

[0065] If the status information indicates that the scanning program is not in the scanning stage, obtain the device information of the Bluetooth device to be connected scanned by the scanning program.

[0066] In one implementation, the identification information determination module 20 includes:

[0067] A field information acquisition unit, configured to parse the device information to obtain the field information in the device information;

[0068] An identification information acquisition unit, configured to determine the connection identification information in the field information.

[0069] In one implementation, the connection binding completion module 30 includes:

[0070] A device name acquisition unit, configured to acquire the device name corresponding to the connection identification information;

[0071] A scanning duration acquisition unit, configured to acquire the scanning duration information of the Bluetooth device to be connected corresponding to the device name;

[0072] A connection binding completion unit, configured to establish a link connection with the Bluetooth device to be connected according to the scanning duration information, so as to complete the connection binding with the Bluetooth device.

[0073] In one implementation, in terms of acquiring the device name corresponding to the connection identification information, the device name acquisition unit is specifically configured to:

[0074] Determine the attribute value of the connection identification information;

[0075] If the attribute value is the first value, acquire the device name corresponding to the connection identification information.

[0076] In one implementation, in terms of establishing a link connection with the Bluetooth device to be connected according to the scanning duration information, the connection binding completion unit is specifically configured to:

[0077] Compare the scanning duration information with a preset duration threshold;

[0078] If the scanning duration information is less than the duration threshold, establish a link connection with the Bluetooth device to be connected;

[0079] According to the link connection, send the key information to the Bluetooth device to be connected, so as to complete the connection binding with the Bluetooth device to be connected through the key information.

[0080] Based on the above embodiments, the present invention further provides a terminal device, and its principle block diagram can be as Figure 6As shown. The terminal device includes a processor, a memory, a network interface, a display screen, and a temperature sensor connected via a system bus. Among them, the processor of the terminal device is used to provide computing and control capabilities. The memory of the terminal device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the terminal device is used to communicate with an external terminal via a network connection. The computer program, when executed by the processor, implements a method for connecting and binding a Bluetooth device. The display screen of the terminal device can be a liquid crystal display screen or an electronic ink display screen. The temperature sensor of the terminal device is pre-set inside the terminal device and is used to detect the operating temperature of the internal device.

[0081] Those skilled in the art can understand that Figure 6 the block diagram of the principle shown is only a block diagram of some structures related to the solution of the present invention, and does not constitute a limitation on the terminal device to which the solution of the present invention is applied. The specific terminal device may include more or fewer components than those shown in the figure, or combine some components, or have a different component arrangement.

[0082] In one embodiment, a terminal device is provided. The terminal device includes a memory, a processor, and a connection binding program for a Bluetooth device stored in the memory and executable on the processor. When the processor executes the connection binding program for the Bluetooth device, the following steps are implemented:

[0083] Obtain the device information of the Bluetooth device to be connected;

[0084] Determine the connection identification information in the device information;

[0085] Complete the connection and binding with the Bluetooth device according to the connection identification information.

[0086] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided by the present invention can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0087] In summary, the present invention discloses a connection binding method, device, terminal device, and storage medium for a Bluetooth device. The method includes: obtaining device information of a Bluetooth device to be connected; determining connection identification information in the device information; and completing the connection binding with the Bluetooth device according to the connection identification information. The present invention determines the connection identification information based on the device information of the Bluetooth device to be connected, and then establishes the connection binding between the terminal device and the Bluetooth device according to the connection identification information, thereby improving the speed of connection binding of the Bluetooth device.

[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for connecting and binding a Bluetooth device, characterized in that: include: Get the device information of the Bluetooth device to be connected; Determining connection identification information in the device information; According to the connection identification information, complete the connection binding with the Bluetooth device; The determining of the connection identification information in the device information includes: Parsing the device information to obtain field information in the device information; Determining the connection identification information in the field information; The step of completing the connection binding with the Bluetooth device according to the connection identification information includes: Obtaining a device name corresponding to the connection identification information; Obtaining scanning duration information of the Bluetooth device to be connected corresponding to the device name; Establishing a link connection with the Bluetooth device to be connected according to the scanning duration information to complete the connection binding with the Bluetooth device; The acquiring of the device name corresponding to the connection identification information includes: determining an attribute value of the connection identification information, where the attribute value reflects whether the Bluetooth device is easily found when searching for the Bluetooth device; If the attribute value is the first value, obtaining a device name corresponding to the connection identification information; If the attribute value is the second value, start a preset timer, and after the timer starts for a preset time, perform an RNR operation to read the name of the Bluetooth device; The establishing a link connection with the to-be-connected Bluetooth device according to the scanning duration information includes: Comparing the scanning duration information with a preset duration threshold; If the scanning duration information is less than the duration threshold, establishing a link connection with the Bluetooth device to be connected; According to the link connection, key information is sent to the Bluetooth device to be connected, so as to complete the connection binding with the Bluetooth device to be connected through the key information.

2. The method according to claim 1, characterized in that The obtaining of device information of the Bluetooth device to be connected includes: Sending a connection establishment request message, and obtaining status information of a preset scanning program according to the connection establishment request message, wherein the scanning program is used to scan for Bluetooth devices to be connected within a preset range; According to the status information, device information of the Bluetooth device to be connected is obtained.

3. The method according to claim 2, characterized in that The acquiring, according to the status information, device information of the to-be-connected Bluetooth device includes: If the status information indicates that the scanning program is in the scanning stage, the scanning program is controlled to stop scanning, and after the scanning program stops scanning, the device information of the Bluetooth device to be connected scanned is obtained; or, if the status information indicates that the scanning program is not in the scanning stage, the device information of the Bluetooth device to be connected scanned by the scanning program is obtained.

4. A connection binding device for a Bluetooth device, characterized in that: The steps for implementing the method for connecting and binding a Bluetooth device according to any one of claims 1 to 3 include: A device information acquisition module is used to obtain the device information of the Bluetooth device to be connected; an identification information determining module, configured to determine connection identification information in the device information; The connection binding completion module is used to complete the connection binding with the Bluetooth device according to the connection identification information.

5. A terminal device, characterized in that: The terminal device includes a memory, a processor, and a connection binding program for a Bluetooth device stored in the memory and runnable on the processor. When the processor executes the connection binding program for the Bluetooth device, the steps of the connection binding method for the Bluetooth device as described in any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a connection binding program for a Bluetooth device. When the connection binding program for the Bluetooth device is executed by the processor, the steps of the connection binding method for a Bluetooth device according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Pairing method for Bluetooth equipment and television, television and readable storage medium

    CN107155123A