A method and system for improving bluetooth pairing reconnection stability

By adjusting the transmission power of the Bluetooth transmitter and changing the signal coverage, the problem of manually reconnecting Bluetooth devices after multiple connection and disconnection issues was solved, thus improving the stability of Bluetooth pairing.

CN116567597BActive Publication Date: 2026-03-24ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-29
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing Bluetooth devices trigger security and power consumption policies after multiple connection and disconnection cycles, requiring manual reconnection and affecting ease of use.

Method used

By transmitting Bluetooth broadcast signals with varying power under different conditions using a Bluetooth transmitter, the signal coverage can be altered, connection and disconnection frequencies reduced, and stability improved.

Benefits of technology

By adjusting the Bluetooth transmission power, the frequency of reconnection and disconnection is reduced, the stability of Bluetooth pairing is improved, and the need for manual operation is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116567597B_ABST
    Figure CN116567597B_ABST
Patent Text Reader

Abstract

The embodiment of the specification discloses a method for improving the stability of Bluetooth pairing and reconnection, which is applied to a Bluetooth transmitting device, and the method comprises the following steps: transmitting a Bluetooth broadcast signal at a first transmitting power, so that a Bluetooth receiving device which is previously paired with the Bluetooth transmitting device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmitting power; reducing the first transmitting power to a second transmitting power based on a first trigger condition, so as to transmit the Bluetooth broadcast signal outwardly; wherein the first trigger condition is that the number of times that the Bluetooth receiving device is disconnected from the Bluetooth transmitting device within a preset time period is greater than or equal to a set threshold; and based on a second trigger condition, the transmitting power of the Bluetooth broadcast signal is increased again; wherein the second trigger condition is that the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmitting power.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present specification relate to communication technology, and particularly relate to a device connection method and system based on near field communication. BACKGROUND

[0002] With the continuous expansion of Bluetooth technology in life, more and more Bluetooth devices are used in daily life. Among them, the pairing and communication between different Bluetooth devices are realized through the signal intercommunication between Bluetooth communication devices. Bluetooth pairing refers to the technology scheme of realizing data transmission between different Bluetooth device modules based on Bluetooth HID (Human Interface Device) protocol.

[0003] According to the existing pairing scheme, after completing pairing, when the Bluetooth transmitting device and the Bluetooth receiving device are close, the Bluetooth receiving device will automatically reconnect. The problem of this scheme is that when the Bluetooth receiving device and the Bluetooth transmitting device are connected and disconnected for many times, the security and energy consumption strategy of the Bluetooth receiving device will be triggered, and then the Bluetooth receiving device will no longer automatically reconnect. After this situation occurs, the user needs to manually click the target Bluetooth device to be connected for connection, thereby causing inconvenience.

[0004] Therefore, the embodiments of the present specification expect to provide a method and system for improving the stability of Bluetooth pairing and reconnection, which can improve the connection stability of paired Bluetooth devices. SUMMARY

[0005] One of the purposes of the embodiments of the present specification is to provide a method for improving the stability of Bluetooth pairing and reconnection. The method changes the signal coverage range by transmitting Bluetooth broadcast signals with different powers under different conditions by the Bluetooth transmitting device, thereby reducing the frequency of pairing connection and disconnection, and improving the stability of Bluetooth pairing.

[0006] In order to achieve the above purpose, the embodiments of the present specification provide a method for improving the stability of Bluetooth pairing and reconnection, which is applied to a Bluetooth transmitting device, and includes the steps of:

[0007] transmitting a Bluetooth broadcast signal with a first transmission power, so that a Bluetooth receiving device which is paired with the Bluetooth transmitting device in advance establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted with the first transmission power;

[0008] based on a first trigger condition, reducing the first transmission power to a second transmission power to transmit a Bluetooth broadcast signal outwardly; the first trigger condition is that the number of times of disconnection between the Bluetooth receiving device and the Bluetooth transmitting device within a preset time period is greater than or equal to a set threshold value;

[0009] Based on the second triggering condition, the transmission power of the Bluetooth broadcast signal is increased again; the second triggering condition is: the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power.

[0010] This specification provides a method to improve the stability of Bluetooth pairing and reconnection based on Bluetooth communication technology. This method alters the Bluetooth signal coverage by changing the Bluetooth transmitter's transmission power, thereby affecting the Bluetooth reconnection performance. If a Bluetooth connection is successfully established but experiences a certain number of disconnections within a given timeframe, the Bluetooth transmitter's transmission power is reduced to keep the Bluetooth receiver outside the Bluetooth signal coverage area. When the Bluetooth receiver approaches the Bluetooth transmitter, the connection is stabilized before the normal Bluetooth transmission power is restored. This mechanism reduces the frequency of reconnections and disconnections, improving the stability of Bluetooth pairing.

[0011] Furthermore, in some embodiments of this specification, in the method for improving Bluetooth pairing reconnection stability, further increasing the transmission power of the Bluetooth broadcast signal specifically includes:

[0012] The second transmission power is then increased back to the first transmission power.

[0013] Another objective of the embodiments of this specification is to provide a method for improving the stability of Bluetooth pairing and reconnection. This method reduces the frequency of pairing connection and disconnection by having a Bluetooth receiving device establish a connection with Bluetooth broadcasts of different power levels under different conditions, thereby improving the stability of Bluetooth pairing.

[0014] In accordance with the above objectives, embodiments of this specification also propose a method for improving the stability of Bluetooth pairing and reconnection, which is applied to a Bluetooth receiving device and includes the following steps:

[0015] Receives a Bluetooth broadcast signal transmitted at a first transmission power by a Bluetooth transmitter that has been pre-paired with it, and establishes a connection with the Bluetooth transmitter based on the Bluetooth broadcast signal transmitted at the first transmission power;

[0016] After the first triggering condition is triggered, a connection is established with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power. The first triggering condition is: the number of times the connection with the Bluetooth transmitting device is disconnected within a preset time period is greater than or equal to a set threshold; wherein, the second transmission power is less than the first transmission power.

[0017] Furthermore, in some embodiments of this specification, in the method for improving Bluetooth pairing reconnection stability, wherein:

[0018] Receiving a Bluetooth broadcast signal transmitted at a first transmission power by a Bluetooth transmitter device that has been pre-paired with it, and establishing a connection with the Bluetooth transmitter device based on the Bluetooth broadcast signal transmitted at the first transmission power, specifically includes: moving to a range of a first distance from the Bluetooth transmitter device, so as to establish a connection with the Bluetooth transmitter device based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0019] Establishing a connection with a Bluetooth transmitting device based on a received Bluetooth broadcast signal transmitted at a second transmission power specifically includes: moving to a range of a second distance from the Bluetooth transmitting device and establishing a connection with the Bluetooth transmitting device based on a received Bluetooth broadcast signal transmitted at a second transmission power;

[0020] The second distance is less than the first distance.

[0021] Another objective of the embodiments of this specification is to provide a method for improving the stability of Bluetooth pairing and reconnection. This method changes the coverage of the Bluetooth signal by changing the Bluetooth transmission power of the Bluetooth transmitting device, thereby affecting the Bluetooth reconnection effect, reducing the frequency of pairing connection and disconnection, and improving the stability of Bluetooth pairing.

[0022] In accordance with the above objectives, embodiments of this specification also propose a method for improving the stability of Bluetooth pairing and reconnection, which is based on pre-paired Bluetooth transmitting and receiving devices, and the method includes the following steps:

[0023] The Bluetooth transmitting device transmits Bluetooth broadcast signals at the first transmit power;

[0024] The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0025] When the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnects within a preset time period is greater than or equal to a set threshold, the Bluetooth transmitting device will reduce its first transmission power to a second transmission power in order to transmit a Bluetooth broadcast signal.

[0026] When the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power, the Bluetooth transmitting device increases the transmission power of the Bluetooth broadcast signal again.

[0027] In the embodiments of this specification, the pre-paired Bluetooth transmitting device and Bluetooth receiving device refer to the technology by which the Bluetooth transmitting device and Bluetooth receiving device transmit data based on the Bluetooth HID (Human Interface Device) protocol.

[0028] Once a Bluetooth transmitter and receiver are paired, they will automatically connect when they are close to each other, without requiring any user intervention; this is also known as reconnection.

[0029] Furthermore, in some embodiments of this specification, in the method for improving Bluetooth pairing and reconnection stability, the Bluetooth transmitting device further increasing the transmission power of the Bluetooth broadcast signal specifically includes:

[0030] The Bluetooth transmitter then increases the second transmission power back to the first transmission power.

[0031] Furthermore, in some embodiments of this specification, in the method for improving Bluetooth pairing reconnection stability, wherein:

[0032] The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at a first transmission power, specifically including: the Bluetooth receiving device moving to a range of a first distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at a first transmission power;

[0033] The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power, specifically including: the Bluetooth receiving device moving to a range of a second distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power;

[0034] The second distance is less than the first distance.

[0035] Another objective of the embodiments of this specification is to provide a system for improving the stability of Bluetooth pairing and reconnection. This system changes the coverage of the Bluetooth signal by changing the Bluetooth transmission power, thereby affecting the Bluetooth reconnection effect, reducing the frequency of pairing connection and disconnection, and improving the stability of Bluetooth pairing.

[0036] In accordance with the above objectives, embodiments of this specification also propose a system for improving the stability of Bluetooth pairing and reconnection, which includes a pre-paired Bluetooth transmitting device and a Bluetooth receiving device, wherein:

[0037] The Bluetooth transmitting device transmits a Bluetooth broadcast signal at a first transmission power;

[0038] The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0039] When the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnects within a preset time period is greater than or equal to a set threshold, the Bluetooth transmitting device will reduce its first transmission power to a second transmission power in order to transmit a Bluetooth broadcast signal.

[0040] When the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power, the Bluetooth transmitting device increases the transmission power of the Bluetooth broadcast signal again.

[0041] Furthermore, in some embodiments of this specification, in the system for improving Bluetooth pairing and reconnection stability, the Bluetooth transmitting device further increasing the transmission power of the Bluetooth broadcast signal specifically includes:

[0042] The Bluetooth transmitter then increases the second transmission power back to the first transmission power.

[0043] Furthermore, in some embodiments of this specification, in the system for improving Bluetooth pairing and reconnection stability, wherein:

[0044] The establishment of a connection between the Bluetooth receiving device and the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power specifically includes: the Bluetooth receiving device moving to a range of a first distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0045] The establishment of a connection between the Bluetooth receiving device and the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power specifically includes: the Bluetooth receiving device moving to a range of a second distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power;

[0046] The second distance is less than the first distance.

[0047] Another object of the embodiments of this specification is to provide a Bluetooth transmitting device that, by transmitting Bluetooth broadcasts at different power levels under different conditions, changes the signal coverage, reduces the frequency of pairing connections and disconnections, and improves the stability of Bluetooth pairing.

[0048] In accordance with the above objectives, embodiments of this specification also provide a Bluetooth transmitting device, wherein:

[0049] The Bluetooth transmitting device transmits a Bluetooth broadcast signal at a first transmission power, so that a Bluetooth receiving device pre-paired with the Bluetooth transmitting device can establish a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power.

[0050] The Bluetooth transmitting device reduces its first transmission power to a second transmission power based on a first trigger condition in order to transmit a Bluetooth broadcast signal; the trigger condition is that the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnect within a preset time period is greater than or equal to a set threshold.

[0051] The Bluetooth transmitting device further increases the transmission power of the Bluetooth broadcast signal based on a second triggering condition; the second triggering condition is that the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power.

[0052] Furthermore, in some embodiments of this specification, the Bluetooth transmitting device further enhances the transmission power of the Bluetooth broadcast signal by specifically including:

[0053] The second transmission power is then increased back to the first transmission power.

[0054] Another object of the embodiments of this specification is to provide a readable storage medium having a computer program stored thereon, wherein when the computer program is executed in a computer, the calculator executes the program to implement the method described above.

[0055] Another object of the embodiments of this specification is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the methods described above.

[0056] The beneficial effect of the Bluetooth-based device connection method described in the embodiments of this specification is that it changes the coverage range of the Bluetooth signal by altering the Bluetooth transmission power, thereby affecting the Bluetooth reconnection effect. If a Bluetooth connection is successfully established but experiences a certain number of disconnections within a certain timeframe, the Bluetooth device's transmission power is reduced to keep the Bluetooth receiving device out of Bluetooth coverage. When the Bluetooth receiving device approaches the Bluetooth transmitting device, the connection is stabilized before the normal Bluetooth transmission power is restored. This mechanism reduces the frequency of reconnections and disconnections, improving the stability of Bluetooth pairing.

[0057] The Bluetooth-based device connection system described in the embodiments of this specification also has the above-mentioned beneficial effects. Attached Figure Description

[0058] Figure 1 An exemplary schematic diagram of one implementation of the method for improving Bluetooth pairing and reconnection stability described in the embodiments of this specification is shown.

[0059] Figure 2 This diagram illustrates the steps of the method for improving Bluetooth pairing and reconnection stability as described in the embodiments of this specification when applied to a Bluetooth transmitting device.

[0060] Figure 3This diagram illustrates the steps of the method for improving Bluetooth pairing and reconnection stability as described in the embodiments of this specification when applied to a Bluetooth receiving device.

[0061] Figure 4 This diagram illustrates the steps of the method for improving Bluetooth pairing and reconnection stability as described in the embodiments of this specification when applied to Bluetooth transmitting and receiving devices.

[0062] Figure 5 The diagram illustrates the system architecture of the system for improving Bluetooth pairing and reconnection stability as described in the embodiments of this specification under some implementations.

[0063] Figure 6 This diagram illustrates the operational steps of the system for improving Bluetooth pairing and reconnection stability as described in the embodiments of this specification.

[0064] Figure 7 A schematic diagram illustrating the operation flow of the Bluetooth transmitting device described in the embodiments of this specification is shown. Detailed Implementation

[0065] The method and system for improving Bluetooth pairing and reconnection stability described in this specification will be further described in detail below with reference to the accompanying drawings and specific embodiments. However, this detailed description does not constitute a limitation on the embodiments of this specification.

[0066] The following explanation uses the example of a Bluetooth receiving device that is a mobile terminal, such as a mobile phone or wearable watch, which has a digital car key function through a Bluetooth module, and a Bluetooth transmitting device that is a vehicle, such as a four-wheeled vehicle or a two-wheeled vehicle with a digital car key Bluetooth module, to further illustrate the technical solutions involved in this specification.

[0067] For example, such as Figure 1 As shown in one embodiment of this specification, the mobile phone has the function of a digital car key through the Bluetooth module installed on it. The car owner can control the vehicle connected to it via Bluetooth through the mobile phone to perform operations such as opening and closing doors, opening and closing windows, turning on and off the air conditioning, and turning on and off the lights.

[0068] To enable a mobile phone to function as a digital car key, it must first be paired with the vehicle via Bluetooth. In some specific implementations, Bluetooth pairing can be based on the HID protocol. After the vehicle and mobile phone are paired, they can automatically connect or reconnect when they are close to each other without user intervention.

[0069] However, after a phone and vehicle are paired, if the phone is in a range where the Bluetooth signal reception is unstable, the Bluetooth connection will frequently disconnect and reconnect. For security and power consumption reasons, some phones will stop actively reconnecting to paired devices that frequently reconnect and disconnect. Since the phone doesn't initiate automatic reconnection, the user needs to manually click on the Bluetooth connection in the system settings to reconnect. Taking the digital car key application scenario as an example, when the paired phone doesn't actively reconnect, the seamless function cannot be used properly, causing inconvenience to the user.

[0070] To address the aforementioned issues, this specification proposes a method for improving the stability of Bluetooth pairing and reconnection in some implementations.

[0071] In this implementation, based on the rules of the Bluetooth underlying protocol stack, the Bluetooth connection response packet interval of the mobile phone is used, for example, 20 milliseconds. When the response packet time exceeds the interval set by the Bluetooth application, the Bluetooth underlying protocol will prompt the upper layer Bluetooth application to disconnect, and otherwise maintain the Bluetooth connection. When the mobile phone is in the critical zone of the Bluetooth device signal, the transmission power of the Bluetooth device is reduced to change the signal coverage range, ensuring that the mobile phone is not in the critical zone of the signal. When the mobile phone is close to the stable Bluetooth zone, the transmission power of the Bluetooth device is restored.

[0072] The stable zone can be the physical range within which a Bluetooth receiving device can stably connect within a certain transmission power, and the distance between the Bluetooth receiving device and the Bluetooth transmitting device can be the second distance.

[0073] The critical zone can be the physical range within which a Bluetooth receiving device cannot maintain a stable connection within a certain transmission power range, such as experiencing frequent connection and disconnection. In this case, the distance between the Bluetooth receiving device and the Bluetooth transmitting device can be considered the first distance. Figure 1 As can be seen, the second distance is smaller than the first distance.

[0074] Figure 2 This document illustrates a flowchart of one implementation of a method for improving Bluetooth pairing and reconnection stability when applied to a Bluetooth transmitting device, as exemplified in this specification.

[0075] This flowchart mainly shows the steps involved in using a Bluetooth transmitter.

[0076] like Figure 2 As shown, in some embodiments, this method for improving Bluetooth pairing and reconnection stability is applied to Bluetooth transmitting devices, such as vehicles with a digital vehicle key Bluetooth module in the above scenario. The method may include the following steps:

[0077] S1: Continuously transmits a Bluetooth broadcast signal via its Bluetooth module at a first transmission power, such as a pre-set default transmission power, so that a mobile phone pre-paired with the vehicle can establish a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0078] S3: Based on the first trigger condition, reduce the first transmission power to the second transmission power to transmit a Bluetooth broadcast signal.

[0079] The first trigger condition is: the number of times the mobile phone and the vehicle disconnect within a preset time period is greater than or equal to the set threshold.

[0080] In a specific example, the threshold could be set to allow the phone and vehicle to repeatedly connect two or more times within two seconds.

[0081] S5: Based on the second trigger condition, further increase the transmission power of the Bluetooth broadcast signal; in some more specific implementations, the second transmission power can be increased back to the first transmission power, such as the preset default transmission power.

[0082] The second triggering condition is: the mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power.

[0083] Figure 3 This document illustrates a flowchart of the steps in some implementations of a method for improving Bluetooth pairing and reconnection stability as described in embodiments of this specification, when applied to a Bluetooth receiving device.

[0084] like Figure 3 As shown, this method for improving Bluetooth pairing and reconnection stability is applied to Bluetooth receiving devices, such as mobile phones in the above application scenario. The method may include the following steps:

[0085] M1: Receives Bluetooth broadcast signals transmitted at a first transmission power from vehicles that have been pre-paired with it, and establishes a connection with the vehicles based on the Bluetooth broadcast signals transmitted at the first transmission power;

[0086] M2: After the first trigger condition is met, a connection is established with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power.

[0087] The first triggering condition is: the number of times the connection with the vehicle is disconnected within a preset time period is greater than or equal to a set threshold; wherein, the second transmission power is less than the first transmission power.

[0088] In a specific example, the threshold could be set to allow the phone and vehicle to repeatedly connect two or more times within two seconds.

[0089] In some more specific implementations, the mobile phone receiving a Bluetooth broadcast signal transmitted at a first transmission power by a vehicle pre-paired with it, and establishing a connection with the vehicle based on the Bluetooth broadcast signal transmitted at the first transmission power, specifically includes: moving to a range of a first distance from the vehicle to establish a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the first transmission power.

[0090] The process of establishing a connection between the mobile phone and the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power specifically includes: moving the mobile phone to a range of a second distance from the vehicle and establishing a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power;

[0091] The second distance is less than the first distance.

[0092] In some more specific embodiments, the first distance refers to the distance that the Bluetooth broadcast signal transmitted at the first transmission power can cover, which, in the application scenario described above, can be the critical zone range; the second distance refers to the distance that the Bluetooth broadcast signal transmitted at the second transmission power can cover, which, in the application scenario described above, can be the stable zone range.

[0093] In some more specific embodiments, after a Bluetooth connection is established between the phone and the vehicle, if the Bluetooth signal is unstable, such as when the phone fails to receive a connection signal within a 20-millisecond interval, the connection between the phone and the vehicle will be lost. After the disconnection, the phone will attempt to reconnect to the vehicle. When the number of disconnections between the phone and the vehicle within a preset time period is greater than or equal to a set threshold, such as two or more consecutive connection and disconnections within 2 seconds, the phone is considered to be in the signal critical zone of the Bluetooth transmitter.

[0094] When a mobile phone is determined to be in a critical signal zone and experiences frequent connection and disconnection, the vehicle will reduce its transmission frequency (from the first transmission power to the second transmission power), thus narrowing the range of the Bluetooth broadcast signal. This shifts the critical zone towards a stable zone, ensuring the phone is no longer in the critical area. Since the phone is outside the Bluetooth signal coverage area, it will not connect to the vehicle, preventing frequent connection and disconnection.

[0095] When the phone moves closer to the vehicle into a stable zone, and the connection between the phone and the vehicle is re-established, the vehicle can restore the Bluetooth transmission power to the first transmission power, such as the default value.

[0096] The Bluetooth broadcast signal transmitted at the second transmission power covers the stable region; the Bluetooth broadcast signal transmitted at the first transmission power covers the critical region. Generally, the critical region is greater than or equal to the stable region.

[0097] Figure 4This diagram illustrates a process flow of a method for improving Bluetooth pairing and reconnection stability as described in the embodiments of this specification, applied to a Bluetooth transmitting device and a Bluetooth receiving device.

[0098] like Figure 4 As shown, in some embodiments, when the method for improving Bluetooth pairing reconnection stability is applied to a Bluetooth transmitting device (e.g., a vehicle) and a Bluetooth receiving device (e.g., a mobile phone), it may include the following steps:

[0099] 100: The vehicle transmits a Bluetooth broadcast signal at the first transmit power.

[0100] 102: The mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0101] 104: When the number of times the mobile phone and the vehicle disconnects within a preset time period is greater than or equal to the set threshold, the vehicle will reduce the first transmission power to the second transmission power to transmit Bluetooth broadcast signals.

[0102] In a specific instance, if a mobile phone repeatedly connects to and disconnects from the vehicle two or more times within 2 seconds, the vehicle will reduce its transmission power.

[0103] 106: When the mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power, the vehicle increases the transmission power of the Bluetooth broadcast signal again.

[0104] In some more specific implementations, when the mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at a second transmission power, the vehicle increases the second transmission power back to the first transmission power.

[0105] In some more specific implementations, the process of the mobile phone establishing a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at a first transmission power specifically includes: the mobile phone moving to a range of a first distance from the vehicle and establishing a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at a first transmission power.

[0106] The process of establishing a connection between the mobile phone and the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power specifically includes: moving the mobile phone to a range of a second distance from the vehicle and establishing a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power;

[0107] The second distance is less than the first distance.

[0108] Figure 5 This document illustrates a system architecture diagram of some implementations of a system for improving Bluetooth pairing and reconnection stability as described in embodiments of this specification.

[0109] likeFigure 5 As shown, in some implementations, the system includes a pre-paired Bluetooth transmitting device (e.g., a vehicle) and a Bluetooth receiving device (e.g., a mobile phone).

[0110] Figure 6 This document illustrates a flowchart of the operation steps of a system for improving Bluetooth pairing and reconnection stability as described in some embodiments of this specification.

[0111] like Figure 6 Shown:

[0112] 201: The vehicle transmits a Bluetooth broadcast signal at a first transmission power, such as the default transmission power set in the system;

[0113] 203: The mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0114] 205: When the number of times the mobile phone and the vehicle disconnects within a preset time period is greater than or equal to the set threshold, the vehicle determines that the mobile phone is in the signal critical zone. The vehicle then reduces the transmission power of the Bluetooth broadcast signal from the first transmission power to the second transmission power. At this time, the mobile phone is not within the coverage range of the Bluetooth signal, so it will not connect to the vehicle, and thus will not experience frequent connection and disconnection.

[0115] 207: When the mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power, the vehicle increases the transmission power of the Bluetooth broadcast signal again, or in some more specific embodiments, it can be increased back to the first transmission power.

[0116] In some more specific embodiments, the process of the mobile phone establishing a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at a second transmission power specifically includes: the mobile phone moving to a range (e.g., a stable zone) at a second distance from the vehicle, and establishing a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at a second transmission power; wherein the second distance is less than the first distance.

[0117] Figure 7 This document illustrates a flowchart of the operation steps of the Bluetooth transmitting device described in some embodiments of this specification.

[0118] like Figure 7 As shown, in some implementations, the Bluetooth transmitting device (e.g., a vehicle) is configured to perform the following steps:

[0119] 300: The vehicle transmits a Bluetooth broadcast signal at a first transmission power so that a mobile phone pre-paired with the vehicle can establish a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the first transmission power;

[0120] 302: When the number of times the mobile phone and the vehicle disconnects within a preset time period is greater than or equal to the set threshold, the vehicle will reduce the transmission power of the Bluetooth broadcast signal from the first transmission power to the second transmission power;

[0121] 304: After the mobile phone establishes a connection with the vehicle based on the received Bluetooth broadcast signal transmitted at the second transmission power, the vehicle increases the transmission power of the Bluetooth broadcast signal again.

[0122] In some more specific implementations, the vehicle can boost the second transmission power back to the first transmission power.

[0123] In other specific embodiments, a readable storage medium is also provided, on which a computer program is stored, which, when executed in a computer, causes the computer to perform the steps of the method described above.

[0124] In some other specific embodiments, an electronic device is also provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described above.

[0125] Therefore, the embodiments of this specification use the Bluetooth connection interval parameter to determine whether the Bluetooth receiving device is in the critical zone of the signal by judging the number of times the Bluetooth disconnects within a certain time range. If it is in the critical zone, the Bluetooth transmission power is reduced to ensure that the Bluetooth receiving device is not in the critical zone of the Bluetooth device signal. This will prevent frequent connection and disconnection, thereby improving the stability of Bluetooth pairing and reconnection.

[0126] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0127] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0128] It should be noted that the above examples are merely specific embodiments of the present invention, and the present invention is obviously not limited to the above embodiments, with many similar variations. All modifications that can be directly derived or conceived by those skilled in the art from the content disclosed in this invention should fall within the protection scope of this invention.

Claims

1. A method for improving the stability of Bluetooth pairing and reconnection, applied to a Bluetooth transmitting device, the method comprising the steps of: A Bluetooth broadcast signal is transmitted at a first transmission power so that a Bluetooth receiver device pre-paired with the Bluetooth transmitter device can establish a connection with the Bluetooth transmitter device based on the received Bluetooth broadcast signal transmitted at the first transmission power. Based on a first triggering condition, the first transmission power is reduced to a second transmission power to transmit a Bluetooth broadcast signal; the first triggering condition is: the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnect within a preset time period is greater than or equal to a set threshold. Based on the second triggering condition, the transmission power of the Bluetooth broadcast signal is increased again; the second triggering condition is: the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power.

2. The method for improving Bluetooth pairing and reconnection stability as described in claim 1, wherein further increasing the transmission power of the Bluetooth broadcast signal specifically includes: The second transmission power is then increased back to the first transmission power.

3. A method for improving the stability of Bluetooth pairing and reconnection, applied to a Bluetooth receiving device, the method comprising the steps of: Receives a Bluetooth broadcast signal transmitted at a first transmission power by a Bluetooth transmitter that has been pre-paired with it, and establishes a connection with the Bluetooth transmitter based on the Bluetooth broadcast signal transmitted at the first transmission power; After the first trigger condition is met, a connection is established with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power. The first trigger condition is that the number of times the connection with the Bluetooth transmitting device is disconnected within a preset time period is greater than or equal to a set threshold. The second transmission power is less than the first transmission power.

4. The method for improving Bluetooth pairing and reconnection stability as described in claim 3, wherein: Receiving a Bluetooth broadcast signal transmitted at a first transmission power by a Bluetooth transmitter device that has been pre-paired with it, and establishing a connection with the Bluetooth transmitter device based on the Bluetooth broadcast signal transmitted at the first transmission power, specifically includes: moving to a range of a first distance from the Bluetooth transmitter device, so as to establish a connection with the Bluetooth transmitter device based on the received Bluetooth broadcast signal transmitted at the first transmission power; Establishing a connection with a Bluetooth transmitting device based on a received Bluetooth broadcast signal transmitted at a second transmission power specifically includes: moving to a range of a second distance from the Bluetooth transmitting device and establishing a connection with the Bluetooth transmitting device based on a received Bluetooth broadcast signal transmitted at a second transmission power; The second distance is less than the first distance.

5. A method for improving the stability of Bluetooth pairing and reconnection, based on pre-paired Bluetooth transmitting and receiving devices, the method comprising the steps of: The Bluetooth transmitting device transmits Bluetooth broadcast signals at the first transmit power; The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power; When the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnects within a preset time period is greater than or equal to a set threshold, the Bluetooth transmitting device will reduce its first transmission power to a second transmission power in order to transmit a Bluetooth broadcast signal. When the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power, the Bluetooth transmitting device increases the transmission power of the Bluetooth broadcast signal again.

6. The method for improving Bluetooth pairing and reconnection stability as described in claim 5, wherein the Bluetooth transmitting device further increases the transmission power of the Bluetooth broadcast signal, specifically including: The Bluetooth transmitter then increases the second transmission power back to the first transmission power.

7. The method for improving Bluetooth pairing and reconnection stability as described in claim 6, wherein: The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at a first transmission power, specifically including: the Bluetooth receiving device moving to a range of a first distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at a first transmission power; The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power, specifically including: the Bluetooth receiving device moving to a range of a second distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power; The second distance is less than the first distance.

8. A system for improving the stability of Bluetooth pairing and reconnection, comprising a pre-paired Bluetooth transmitting device and a Bluetooth receiving device, wherein: The Bluetooth transmitting device transmits a Bluetooth broadcast signal at a first transmission power; The Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power; When the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnects within a preset time period is greater than or equal to a set threshold, the Bluetooth transmitting device will reduce its first transmission power to a second transmission power in order to transmit a Bluetooth broadcast signal. When the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power, the Bluetooth transmitting device increases the transmission power of the Bluetooth broadcast signal again.

9. The system for improving Bluetooth pairing and reconnection stability as described in claim 8, wherein the Bluetooth transmitting device further increases the transmission power of the Bluetooth broadcast signal, specifically including: The Bluetooth transmitter then increases the second transmission power back to the first transmission power.

10. The system for improving Bluetooth pairing and reconnection stability as described in claim 8, wherein: The establishment of a connection between the Bluetooth receiving device and the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power specifically includes: the Bluetooth receiving device moving to a range of a first distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power; The establishment of a connection between the Bluetooth receiving device and the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power specifically includes: the Bluetooth receiving device moving to a range of a second distance from the Bluetooth transmitting device, and establishing a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power; The second distance is less than the first distance.

11. A Bluetooth transmitting device, wherein: The Bluetooth transmitting device transmits a Bluetooth broadcast signal at a first transmission power, so that a Bluetooth receiving device pre-paired with the Bluetooth transmitting device can establish a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the first transmission power. The Bluetooth transmitting device reduces its first transmission power to a second transmission power based on a first trigger condition in order to transmit a Bluetooth broadcast signal; the trigger condition is that the number of times the Bluetooth receiving device and the Bluetooth transmitting device disconnect within a preset time period is greater than or equal to a set threshold. The Bluetooth transmitting device further increases the transmission power of the Bluetooth broadcast signal based on a second triggering condition; the second triggering condition is that the Bluetooth receiving device establishes a connection with the Bluetooth transmitting device based on the received Bluetooth broadcast signal transmitted at the second transmission power.

12. The Bluetooth transmitting device as described in claim 11, wherein further increasing the transmission power of the Bluetooth broadcast signal specifically includes: The second transmission power is then increased back to the first transmission power.

13. A readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the steps of the method as described in any one of claims 1-7.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the program, it implements the method described in any one of claims 1-7.

Citation Information

Patent Citations

  • System and method for establishing Bluetooth connection and Bluetooth device

    CN110267358A

  • Method for connecting to network, mobile terminal, electronic device, and graphical user interface

    CN110352606A

  • Method for controlling Bluetooth connection and electronic equipment

    CN113891297A