Bluetooth reconnection method and apparatus

By determining preset reconnection conditions when the Bluetooth reconnection link starts, using a timer to control the Bluetooth reconnection, and combining time-division multiplexing technology, the problem of automatic reconnection after the source device drops in the case of dual connection of Bluetooth headsets is solved, realizing seamless Bluetooth connection.

WO2026157541A1PCT designated stage Publication Date: 2026-07-30YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
Filing Date
2025-11-28
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

In existing Bluetooth headsets, when one source device is playing Bluetooth music and the other source device disconnects, the connection cannot be automatically reconnected, requiring users to manually reconnect, which affects the user experience.

Method used

By determining preset reconnection restrictions when the Bluetooth reconnection link is started, and using the first and second timers to control the start and stop of the Bluetooth reconnection, combined with time-division multiplexing technology, it ensures that Bluetooth devices automatically reconnect during Bluetooth service idle time slots, avoiding music conflicts and interruptions.

Benefits of technology

It enables accurate and efficient automatic reconnection of Bluetooth devices between multiple source devices, reducing connection error rate and failure rate, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025138760_30072026_PF_FP_ABST
    Figure CN2025138760_30072026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a Bluetooth reconnection method and apparatus. The method is executed by a source device, and comprises: when a Bluetooth reconnection link is enabled, determining whether a preset reconnection restriction condition is satisfied; if the preset reconnection restriction condition is satisfied, starting up a first timer, and retrying a Bluetooth reconnection after the first timer expires; and if the preset reconnection restriction condition is not satisfied, starting to execute the Bluetooth reconnection, starting up a second timer, and ending the Bluetooth reconnection after the second timer expires.
Need to check novelty before this filing date? Find Prior Art

Description

A Bluetooth reconnection method and apparatus

[0001] This application claims priority to Chinese Patent Application No. 202510092459.7, filed on January 21, 2025, entitled "A Bluetooth Reconnection Method and Apparatus", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to, but is not limited to, a Bluetooth reconnection method and apparatus. Background Technology

[0003] In wireless headset connectivity, the ability to pair with multiple devices simultaneously has become a fundamental user requirement, meaning a single wireless headset can wirelessly connect and pair with multiple source devices at the same time. Most wireless headsets now widely support dual connection or multipoint connection functionality, an evolution directly stemming from the rigid demands of users in mobile work and multitasking scenarios. Users need to maintain connections between Bluetooth headsets and multiple devices such as computers, phones, and mobile phones simultaneously. Many office scenarios require simultaneous multitasking; for example, during video conferences or online collaborations via a computer, the headset needs to be able to respond to incoming calls and activate call functionality independently of the computer connection to avoid missing important calls. After the call ends, the user further needs the headset to return to the audio transmission state on the computer to continue the work process. Wireless headsets that support parallel access from multiple source devices meet the modern user's common need for "multi-threaded" use of electronic devices. Invention Overview

[0004] In a first aspect, embodiments of this application provide a Bluetooth reconnection method, executed by a source device, comprising: when the Bluetooth reconnection link is started, determining whether a preset restriction reconnection condition is met; if the preset restriction reconnection condition is met, starting a first timer, and retrying Bluetooth reconnection after the first timer ends; if the preset restriction reconnection condition is not met, starting Bluetooth reconnection and starting a second timer, and ending Bluetooth reconnection after the second timer ends.

[0005] Secondly, embodiments of this application also provide a Bluetooth reconnection method, executed by a Bluetooth device, comprising: when any source device goes offline, initiating a Bluetooth reconnection to the first source device for a first preset time, and after the Bluetooth reconnection ends, initiating a Bluetooth reconnection scan to the first source device for a second preset time.

[0006] A Bluetooth reconnection is initiated with the second source device for a first preset time. After the Bluetooth reconnection ends, a Bluetooth reconnection scan is initiated with the second source device for a second preset time. After the Bluetooth reconnection scans of the first and second source devices are completed, it is determined whether a Bluetooth communication link identical to the corresponding source device exists after a Bluetooth reconnection. If a Bluetooth communication link identical to the corresponding source device exists in both, the current Bluetooth reconnection event is cancelled. If one source device does not have a corresponding identical Bluetooth communication link, a new Bluetooth reconnection and Bluetooth reconnection scan is initiated with the first and second source devices.

[0007] Thirdly, embodiments of this application also provide a Bluetooth reconnection device, executed by a source device, comprising: a link initiation module, a first timing module, and a second timing module; the link initiation module is used to determine whether a preset restriction reconnection condition is met when the Bluetooth reconnection link is initiated; the first timing module is used to start a first timer if the preset restriction reconnection condition is met, and retry the Bluetooth reconnection after the first timer ends; the second timing module is used to start the Bluetooth reconnection and start a second timer if the preset restriction reconnection condition is not met, and terminate the Bluetooth reconnection after the second timer ends.

[0008] Fourthly, embodiments of this application also provide a Bluetooth reconnection device, executed by a Bluetooth device, comprising: a first Bluetooth reconnection module, a second Bluetooth reconnection module, a link determination module, a Bluetooth reconnection termination module, and a Bluetooth reconnection repetition module; the first Bluetooth reconnection module is configured to initiate a Bluetooth reconnection to the first source device for a first preset time when either source device drops, and to initiate a Bluetooth reconnection scan to the first source device for a second preset time after the Bluetooth reconnection ends; the second Bluetooth reconnection module is configured to initiate a Bluetooth reconnection to the second source device for a first preset time, and to initiate a Bluetooth reconnection scan to the second source device for a second preset time after the Bluetooth reconnection ends; the link determination module is configured to determine whether both source devices have the same Bluetooth communication link after Bluetooth reconnection; the Bluetooth reconnection termination module is configured to cancel the current Bluetooth reconnection event if both source devices have the same Bluetooth communication link; the Bluetooth reconnection repetition module is configured to re-initiate Bluetooth reconnection and Bluetooth reconnection scans for the first and second source devices if one source device does not have a corresponding Bluetooth communication link.

[0009] Fifthly, embodiments of this application also provide a Bluetooth backlink device, executed by a source device, comprising: a processor, configured to determine whether preset restriction backlink conditions are met when the Bluetooth backlink link is started;

[0010] If the preset reconnection restriction conditions are met, a first timer is started, and the Bluetooth reconnection is retried after the first timer ends. If the preset reconnection restriction conditions are not met, the Bluetooth reconnection is started, and a second timer is started, and the Bluetooth reconnection ends after the second timer ends.

[0011] Sixthly, embodiments of this application also provide a Bluetooth reconnection device, executed by a Bluetooth device, comprising: a processor configured to: when any source device disconnects, initiate a Bluetooth reconnection to a first source device for a first preset time, and after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the first source device for a second preset time; initiate a Bluetooth reconnection to a second source device for a first preset time, and after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the second source device for a second preset time; after the Bluetooth reconnection scans of the first and second source devices are completed, determine whether both have a Bluetooth communication link identical to the corresponding source device after Bluetooth reconnection; if both have a Bluetooth communication link identical to the corresponding source device, cancel the current Bluetooth reconnection event; if one source device does not have a corresponding identical Bluetooth communication link, re-initiate Bluetooth reconnection and Bluetooth reconnection scans for the first and second source devices.

[0012] Seventhly, embodiments of this application also provide a Bluetooth reconnection method, including:

[0013] When the Bluetooth backlink link is initiated, the source device determines whether the preset backlink restriction conditions are met. If the preset backlink restriction conditions are met, the source device starts a first timer, and after the first timer ends, it retryes the Bluetooth backlink. If the preset backlink restriction conditions are not met, the source device starts the Bluetooth backlink and starts a second timer, and after the second timer ends, it terminates the Bluetooth backlink. In the case where the preset backlink restriction conditions are not met, the Bluetooth device performs the Bluetooth backlink.

[0014] Eighthly, embodiments of this application also provide a Bluetooth reconnection system, comprising:

[0015] The source device is used to determine whether a preset restriction on Bluetooth reconnection is met when the Bluetooth reconnection link is started; if the preset restriction on Bluetooth reconnection is met, a first timer is started, and after the first timer ends, the Bluetooth reconnection is retried; if the preset restriction on Bluetooth reconnection is not met, the Bluetooth reconnection is started, and a second timer is started, and after the second timer ends, the Bluetooth reconnection is terminated.

[0016] A Bluetooth device is used to perform a Bluetooth reconnection when the preset reconnection conditions are not met.

[0017] Ninthly, embodiments of this application also provide a Bluetooth reconnection method, comprising:

[0018] When any source device goes offline, the Bluetooth device initiates a Bluetooth reconnection to the first source device for a first preset time, and after the Bluetooth reconnection ends, it initiates a Bluetooth reconnection scan to the first source device for a second preset time; the first source device receives the Bluetooth reconnection, and after the Bluetooth reconnection ends, it receives the Bluetooth reconnection scan.

[0019] The Bluetooth device initiates a Bluetooth reconnection to the second source device for a first preset time, and after the Bluetooth reconnection ends, initiates a Bluetooth reconnection scan to the second source device for a second preset time.

[0020] The second source device receives the Bluetooth reconnection and, after the Bluetooth reconnection ends, receives the Bluetooth reconnection scan.

[0021] After the Bluetooth device finishes scanning the Bluetooth backlink of the first and second source devices, it determines whether a Bluetooth communication link identical to the corresponding source device exists in both. If a Bluetooth communication link identical to the corresponding source device exists in both, the Bluetooth device cancels the current Bluetooth backlink event. If one source device does not have a corresponding Bluetooth communication link, the Bluetooth device re-initiates the Bluetooth backlink and Bluetooth backlink scan for the first and second source devices. If one source device does not have a corresponding Bluetooth communication link, the first source device receives the Bluetooth backlink and Bluetooth backlink scan. If one source device does not have a corresponding Bluetooth communication link, the second source device receives the Bluetooth backlink and Bluetooth backlink scan.

[0022] In a tenth aspect, embodiments of this application also provide a Bluetooth reconnection system, comprising:

[0023] A Bluetooth device is configured to initiate a Bluetooth reconnection to a first source device for a first preset time when either source device becomes offline, and to initiate a Bluetooth reconnection scan to the first source device for a second preset time after the Bluetooth reconnection ends. The first source device is configured to receive the Bluetooth reconnection and, after the Bluetooth reconnection ends, receive the Bluetooth reconnection scan. The Bluetooth device is also configured to initiate a Bluetooth reconnection to a second source device for a first preset time and, after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the second source device for a second preset time. The second source device is configured to receive the Bluetooth reconnection and, after the Bluetooth reconnection ends, receive the Bluetooth reconnection scan. The Bluetooth device is further configured to, when the Bluetooth device connects to the first source device... After the Bluetooth backlink scan of the first and second source devices is completed, it is determined whether a Bluetooth communication link identical to the corresponding source device exists after a Bluetooth backlink. If a Bluetooth communication link identical to the corresponding source device exists in both cases, the current Bluetooth backlink event is cancelled. If one source device does not have a corresponding Bluetooth communication link, a new Bluetooth backlink and Bluetooth backlink scan are initiated for both the first and second source devices. The first source device is also configured to receive the Bluetooth backlink and Bluetooth backlink scan if one source device does not have a corresponding Bluetooth communication link. The second source device is also configured to receive the Bluetooth backlink and Bluetooth backlink scan if one source device does not have a corresponding Bluetooth communication link.

[0024] Eleventhly, embodiments of this application also provide a Bluetooth reconnection device, including a functional module, unit, or means for performing the method in any of the optional designs of any aspect of this application above. This module may be implemented in software or hardware, or in a combination of software and hardware. The inclusion of a processing unit and a communication unit is not limited.

[0025] In a twelfth aspect, embodiments of this application also provide a Bluetooth reconnection device, comprising: a processor configured to perform the method of any of the above aspects.

[0026] In a thirteenth aspect, embodiments of this application also provide a computer-readable storage medium including computer instructions that, when executed on a device, cause the device to perform the method in any possible design of any of the above aspects.

[0027] In a fourteenth aspect, embodiments of this application also provide a chip system including at least one processor and at least one interface circuit, the at least one interface circuit being used to perform transceiver functions and send instructions to at least one processor, wherein when at least one processor executes instructions, at least one processor performs the method as described in the first aspect and any of the designs therein.

[0028] In a fifteenth aspect, embodiments of this application also provide a Bluetooth back-connection system, which includes a source device (or a chip in the source device) and a Bluetooth device (or a chip in the source device) in any possible design of any of the above aspects. Attached Figure Description

[0029] Figure 1 is a schematic diagram of the Bluetooth communication link connection between the Bluetooth device and the source device provided in an embodiment of this application;

[0030] Figure 2 is a flowchart of the steps of a Bluetooth reconnection method performed by a source device according to an embodiment of this application;

[0031] Figure 3 is a timing diagram of a Bluetooth device performing a Bluetooth reconnection method according to an embodiment of this application;

[0032] Figure 4 is a flowchart of the steps of a Bluetooth device performing a Bluetooth reconnection method according to an embodiment of this application;

[0033] Figure 5 is a schematic diagram of the Bluetooth reconnection device performed by the source device according to an embodiment of this application;

[0034] Figure 6 is a schematic diagram of the structure of a Bluetooth back-connection device performed by a Bluetooth device according to an embodiment of this application. Embodiments of the present invention

[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0036] In current Bluetooth headset connections, pairing with multiple source devices is becoming a basic user requirement, meaning one Bluetooth headset connects and pairs with two source devices. However, in dual-connection scenarios, such as when one source device is playing Bluetooth music, the other source device often disconnects and reconnects due to being away. Current Bluetooth devices, in dual-connection situations, do not have a way to allow the second source device to simultaneously reconnect via Bluetooth while the first source device is communicating (e.g., playing Bluetooth music) without affecting the first Bluetooth connection. Most Bluetooth devices currently only offer a compromise: a brief reconnection after a disconnection. This means that if the second source device is away for a short time and then returns, it misses the brief reconnection window and cannot automatically reconnect, requiring manual reconnection. Manual reconnection can disrupt the Bluetooth communication of the first source device; for example, Bluetooth music may stutter or be interrupted when manually reconnected, thus affecting the user experience.

[0037] Referring to Figures 1 and 2, in some embodiments of this application, a Bluetooth reconnection method is provided, executed by the source device, including steps S101-S103:

[0038] Step S101: When the Bluetooth backlink link is started, determine whether the preset backlink restriction conditions are met.

[0039] Step S102: If the preset reconnection restriction conditions are met, start the first timer, and retry Bluetooth reconnection after the first timer ends.

[0040] Step S103: If the preset reconnection conditions are not met, Bluetooth reconnection is started and a second timer is started. After the second timer ends, Bluetooth reconnection ends.

[0041] It is understood that, in this embodiment of the application, the Bluetooth reconnection method uses a preset limit for reconnection, a first timer, and a second timer to precisely control the start and stop of Bluetooth reconnection, changing the previous blind continuous packet sending to only acting within a preset time window: when the limit is met, the first timer is re-judged after a short delay; when the limit is not met, the second timer completes the page within a time limit and ends immediately, thereby precisely inserting the reconnection into the Bluetooth service idle time slot, achieving the effect of zero packet loss and low power consumption automatic retry.

[0042] In some alternative embodiments, the preset limiting reconnection conditions include:

[0043] Record the first packet reception time during the first Bluetooth packet reception, and record the second packet reception time during the current Bluetooth packet reception in real time. Calculate the current packet reception time interval based on the first and second packet reception times. Obtain the Bluetooth reconnection time, and calculate whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time. If yes, restrict reconnection; otherwise, do not restrict reconnection.

[0044] In specific application scenarios, taking Bluetooth music packet reception as an example, when Bluetooth music reception begins, the first reception time (last_tick) can be marked. As Bluetooth music reception continues, the current reception interval (interval = cur_tick - last_tick) can be calculated using the first reception time (last_tick) and the current reception time (cur_tick) (second reception time). In continuous operation, the current second reception time (cur_tick) and the Bluetooth music reception interval (interval) can be continuously obtained. Furthermore, by statistically analyzing the most recent Bluetooth music reception interval (interval) and the most recent Bluetooth music packet reception time (cur_tick), when performing a page reconnection check, the reconnection time (page_tick) is compared with cur_tick. If (page_tick – cur_tick + the second timer T2 time of the reconnection operation (15ms)) is greater than the Bluetooth music reception interval (interval), a reconnection is not allowed. This is because in this case, the remaining time for Bluetooth music packet reception is insufficient to support a reconnection, and a reconnection would result in music loss due to conflicts. By controlling the pause and resumption of Bluetooth page messages during idle time slots when receiving Bluetooth music packets, conflicts with Bluetooth music packet reception are avoided. This allows the source device to reconnect to any other device during Bluetooth music playback without interrupting the music, achieving device reconnection without the user's awareness.

[0045] Understandably, the preset reconnection limit is calculated by recording the first packet reception time during the first Bluetooth packet reception and the second packet reception time during the current Bluetooth packet reception. This calculates the time interval between each packet reception and the first packet reception. Then, after obtaining the duration of the Bluetooth reconnection, it calculates whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time. This determines whether the remaining time for Bluetooth packet reception is sufficient to support Bluetooth reconnection, preventing conflicts or loss of Bluetooth packets due to insufficient time.

[0046] In a specific application scenario, the current Bluetooth device is connected to active device A and source device B. When source device A is playing music, source device B is disconnected due to being away, and the Bluetooth backlink link is started, so that the Bluetooth device can reconnect to source device B.

[0047] In the exemplary Bluetooth backlink method disclosed in this paper, when the Bluetooth backlink page link is started, the preset backlink restriction condition C1 is first determined. If the backlink restriction condition is met, optionally, a 5ms backlink retry timer T1 is started; if the backlink restriction condition is not met, backlink begins, and optionally, a 15ms backlink run timer T2 is started. Here, a first timer of 5ms and a second timer of 10ms are used as an example. Alternatively, a first timer of 3ms and a second timer of 8ms can be used. The first and second timers are not specifically limited. Here, Bluetooth page backlink refers to Bluetooth backlink, which is the Bluetooth device initiating a Bluetooth connection request to the source device, or the source device initiating a Bluetooth connection request to the Bluetooth device, as shown in Figure 1.

[0048] It is understood that, in this embodiment of the application, when the Bluetooth backlink link is started, it is determined whether the current Bluetooth backlink meets the preset restriction backlink conditions. If the restriction backlink conditions are met, a first timer is started and the Bluetooth backlink is retried after the first timer ends. If the restriction backlink conditions are not met, a Bluetooth backlink is performed with the Bluetooth device, and the Bluetooth backlink is terminated after the second timer ends. This avoids the situation where the Bluetooth device cannot automatically backlink due to a single offline event, causing the Bluetooth device and the device source to permanently miss the Bluetooth backlink moment. This embodiment of the application can continuously attempt to initiate Bluetooth backlinks when the Bluetooth backlink link is started, ensuring that the Bluetooth device can accurately backlink with multiple device sources, and achieving accurate and efficient Bluetooth connection.

[0049] In some alternative embodiments, after the Bluetooth reconnection is terminated, step S104 is further included:

[0050] Step S104: Start the third timer. After the third timer ends, re-determine whether the restriction back-connection condition is met.

[0051] In this embodiment, when the third timer T3 for the paused reconnection expires, the condition C1 restricting the reconnection is re-evaluated.

[0052] It is understandable that by starting a third timer after ending the Bluetooth reconnection, it can be ensured that the Bluetooth reconnection receives a corresponding response from the Bluetooth device. This avoids directly re-judging the reconnection conditions after ending the Bluetooth reconnection, which could lead to the Bluetooth device being unable to respond in time, resulting in Bluetooth reconnection errors or even failures.

[0053] In some optional embodiments, the values ​​of the third timer T3 and the second timer T2 are not equal. When a user reconnects to a page via Bluetooth, there is a pseudo-random concept. Taking the aforementioned 15ms reconnection execution of the second timer T2 as an example, if the third timer T3, which pauses the reconnection at this time, is also 15ms, it is best to make these two times unequal. Otherwise, it may lead to regular Bluetooth reconnection page time periods. If the source device's Bluetooth reconnection page scan window falls within the reconnection pause period, the source device may miss the reconnection altogether. To avoid this situation, by presetting the third timer T3 and the second timer T2 to different values, or optionally inserting a T3 that is not an integer multiple of T2, pseudo-random desynchronization can be achieved, thus avoiding Bluetooth reconnection failures caused by pseudo-randomness, improving the reconnection success rate, and achieving automatic reconnection without the user's awareness.

[0054] Please refer to Figure 4. In some embodiments of this application, a Bluetooth reconnection method is provided, which is executed by a Bluetooth device and includes the following steps S201-S205:

[0055] Step S201: When any source device goes offline, initiate a Bluetooth reconnection to the first source device for a first preset time, and after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the first source device for a second preset time.

[0056] Step S202: Initiate a Bluetooth reconnection to the second source device for a first preset time, and after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the second source device for a second preset time.

[0057] Step S203: After the Bluetooth backlink scan of the first source device and the second source device is completed, determine whether there is a Bluetooth communication link with the corresponding source device after Bluetooth backlink.

[0058] Step S204: If there is a Bluetooth communication link with the corresponding source device, cancel the current Bluetooth reconnection event.

[0059] Step S205: If a source device does not have a corresponding Bluetooth communication link, then initiate Bluetooth reconnection and Bluetooth reconnection scans again for the first source device and the second source device.

[0060] Bluetooth page scan, or Bluetooth reconnection scan, refers to a Bluetooth device or source device enabling page scan mode in order to respond to connection requests from other Bluetooth devices or source devices. For example, a Bluetooth headset (Bluetooth device) only allows other source devices to connect when it is in page scan mode.

[0061] In specific application scenarios, after a Bluetooth device initiates a Bluetooth page (Bluetooth reconnection) request for a certain period of time, if the Bluetooth device fails to reconnect successfully, it will initiate a Bluetooth page scan, allowing the source device to initiate its own Bluetooth reconnection page. If the source device does not actively initiate a Bluetooth reconnection page, the two devices will remain unable to connect. In other words, if the Bluetooth device initiates a Bluetooth page request while the source device simultaneously initiates a Bluetooth reconnection page, the Bluetooth device will be unable to respond (because it is not in a Bluetooth page scan and cannot respond to the source device's Bluetooth page); or if the Bluetooth device enters a Bluetooth page scan while the source device is also in a Bluetooth page scan state but does not actively initiate a Bluetooth reconnection page, the connection will remain unsuccessful. This application uses a 2.56s reconnection page duration and a 1.28s page scan duration as an example. Since Bluetooth devices initiating Bluetooth reconnection page requests generally maintain a Bluetooth reconnection page duration of at least 2.56s for easy connection, common page scan devices are configured to perform a page scan once every 1.28s, with each listening session lasting 10ms (the page device completes a frequency hopping sequence in 10ms). The 10ms period of the Bluetooth reconnection page scan accounts for a very small percentage of the time that a Bluetooth device (such as a Bluetooth headset) spends performing a 1.28s Bluetooth reconnection page, and does not affect the continuous Bluetooth reconnection page effect of the Bluetooth headset. Therefore, the coexistence of page and page scan can be achieved through time-division multiplexing. That is, by designing the headset's reconnection page to last 1.28s each time, and the headset's page scan duration to be once every 1.28s, each lasting 10ms, as shown in Figure 3, when the source device A goes offline, the Bluetooth device enters the Bluetooth reconnection page reconnection device A, and then enters the Bluetooth reconnection page scan to wait for the Bluetooth reconnection of device A. Because this application uses time-division multiplexing to satisfy the coexistence of page and page scan, it avoids the situation where the Bluetooth device and the source device cannot connect because they are both in Bluetooth page scan state or both in Bluetooth page state.

[0062] In a specific application scenario, when the first source device A disconnects, the Bluetooth device initiates a Bluetooth reconnection page, set to R1 mode (in R1 mode, there are two reconnection frequency hopping sequences for the first source device A and the second source device B, each lasting 1.28 seconds and requiring continuous switching), and records the current reconnection frequency hopping sequence as A, with a reconnection duration of 1.28 seconds. Furthermore, the distribution of the frequency hopping sequences differs across modes. For example, in R0 mode, sequences A and B are switched frequency by frequency; in R1 mode, each sequence lasts 1.28 seconds; and in R2 mode, each sequence lasts 2.56 seconds. In this embodiment, R1 mode is chosen because it falls between these three modes; R2 mode has a slower reconnection time, and R0 mode may miss frequencies, making it more prone to failure compared to the other modes.

[0063] In some optional embodiments, after initiating a Bluetooth reconnection to the first source device for a first preset time, the method further includes: generating a Bluetooth reconnection intermediate termination event for the first source device, and setting a timeout timer to reserve a third preset time periodically so that the first source device can respond to the Bluetooth reconnection.

[0064] Specifically, when the 1.28s Bluetooth reconnection page timeout expires, a Bluetooth reconnection mid-term end event (i.e., a page complete event) is received, at which point a Bluetooth reconnection page scan is initiated. A 20ms timeout timer T4 is set to provide 20ms for the response time of the first source device connecting, avoiding page conflicts with Bluetooth devices.

[0065] It is understandable that by setting a timeout timer based on the Bluetooth reconnection termination event of the first source device after the event is generated, a third preset time is reserved at regular intervals to ensure that sufficient time is reserved for the first source device to respond to the Bluetooth reconnection, thereby reducing the Bluetooth connection error rate and failure rate.

[0066] In some optional embodiments, after initiating a Bluetooth backlink scan for a second preset time on the first source device, the method further includes: reserving a fourth preset time periodically to allow the first source device to respond to the Bluetooth backlink scan.

[0067] It should be noted that, optionally, the fourth preset time is set to 10ms to ensure that the first source device can respond to the Bluetooth reconnection scan.

[0068] Understandably, by reserving a fourth preset time period, the first source device is ensured to accurately respond to the Bluetooth reconnection scan, further reducing the Bluetooth connection error rate and failure rate.

[0069] In some optional embodiments, after initiating a Bluetooth reconnection to the second source device for a first preset time, the method further includes: generating a Bluetooth reconnection intermediate termination event for the second source device, and setting a timeout timer to reserve a third preset time periodically so that the second source device can respond to the Bluetooth reconnection.

[0070] It should be noted that, similar to step S201, the steps of performing Bluetooth reconnection and Bluetooth reconnection scan on the second source device are performed.

[0071] It is understandable that by setting a timeout timer based on the Bluetooth reconnection termination event of the second source device after the event is generated, a third preset time is reserved at regular intervals to ensure that sufficient time is reserved for the second source device to respond to the Bluetooth reconnection, thereby reducing the Bluetooth connection error rate and failure rate.

[0072] In some optional embodiments, after initiating a Bluetooth backlink scan for a second preset time on the second source device, the method further includes: reserving a fourth preset time periodically to allow the second source device to respond to the Bluetooth backlink scan.

[0073] It should be noted that, optionally, the fourth preset time is set to 10ms to ensure that the second source device can respond to the Bluetooth reconnection scan.

[0074] Understandably, by reserving a fourth preset time period, the second source device is ensured to accurately respond to the Bluetooth reconnection scan, further reducing the Bluetooth connection error rate and failure rate.

[0075] The exemplary Bluetooth reconnection method disclosed in this article takes a 20ms Bluetooth reconnection page scan and each sequence lasting 1.28s as an example. When the 20ms timeout timer T4 of the Bluetooth reconnection page scan expires, it is necessary to determine whether a Bluetooth device link with the same Bluetooth reconnection page already exists. If it does, the current Bluetooth reconnection page request event is cancelled. If it does not exist, the Bluetooth reconnection page event is re-initiated and set to R1 mode (in R1 mode, there will be two reconnection frequency hopping sequences, A and B, each lasting 1.28s, which need to be continuously switched). If the previous frequency hopping sequence was A, then the current frequency hopping sequence should be B, and if it was B, then the current frequency hopping sequence should be A. The reconnection duration is 1.28s, and all processes end after all currently disconnected source devices have reconnected.

[0076] In this embodiment, when either source device goes offline, Bluetooth reconnection and Bluetooth reconnection scanning are performed sequentially on the first and second source devices. After the Bluetooth reconnection scans of the first and second source devices are completed, it is determined whether a corresponding Bluetooth communication link already exists for that source device. This ensures that if a corresponding Bluetooth communication link already exists for the source device, the Bluetooth communication link for that source device still exists, and there is no need to reconnect, thus canceling the current Bluetooth reconnection event. If a corresponding Bluetooth communication link does not exist for the source device, Bluetooth reconnection and Bluetooth reconnection scanning are re-initiated for the first and second source devices to ensure that all source devices can complete the Bluetooth reconnection event and connect to the Bluetooth device.

[0077] Please refer to Figure 5. In some embodiments of this application, a Bluetooth reconnection device is provided, which is executed by the source device and includes: a link initiation module 301, a first timing module 302, and a second timing module 303.

[0078] The link initiation module 301 is used to determine whether a preset restriction on Bluetooth reconnection is met when the Bluetooth reconnection link is initiated. The first timing module 302 is used to start a first timer if the preset restriction on Bluetooth reconnection is met, and retry the Bluetooth reconnection after the first timer ends. The second timing module 303 is used to start the Bluetooth reconnection and start a second timer if the preset restriction on Bluetooth reconnection is not met, and terminate the Bluetooth reconnection after the second timer ends.

[0079] In some optional embodiments, a third timing module is further included, which is used to start a third timer after the Bluetooth reconnection ends, and to re-determine whether the restriction reconnection conditions are met after the third timer ends.

[0080] In this embodiment, by starting a third timer after ending the Bluetooth reconnection, it can be ensured that the Bluetooth reconnection receives a corresponding response from the Bluetooth device. This avoids directly re-judging the reconnection conditions after ending the Bluetooth reconnection, which could lead to the Bluetooth device being unable to respond in time, resulting in Bluetooth reconnection errors or even failures.

[0081] In some optional embodiments, the preset restriction on reconnection includes: recording the first packet reception time when the first Bluetooth packet is received, and recording the second packet reception time when the Bluetooth packet is received at the current moment in real time, and calculating the current packet reception time interval based on the first packet reception time and the second packet reception time; obtaining the Bluetooth reconnection time, and calculating whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time; if so, then reconnection is restricted; if not, then reconnection is not restricted.

[0082] In this embodiment, the preset reconnection restriction condition is calculated by recording the first packet reception time during the first Bluetooth packet reception and the second packet reception time during the current Bluetooth packet reception. The time interval between each packet reception and the first packet reception is then calculated. After obtaining the duration of the Bluetooth reconnection, the difference between the Bluetooth reconnection time and the second packet reception time is calculated to determine whether the remaining time for Bluetooth packet reception is sufficient to support Bluetooth reconnection, thus preventing Bluetooth packet reception conflicts or loss due to insufficient time.

[0083] In some alternative embodiments, the values ​​of the third timer and the second timer are not equal.

[0084] In this embodiment, when the Bluetooth backlink link is started, it is determined whether the current Bluetooth backlink meets the preset backlink restriction conditions. If the restriction conditions are met, a first timer is started, and the Bluetooth backlink is retried after the first timer ends. If the restriction conditions are not met, a Bluetooth backlink is performed with the Bluetooth device, and the Bluetooth backlink ends after the second timer ends. This avoids the situation where the Bluetooth device cannot automatically backlink due to a single offline event, causing the Bluetooth device and the device source to permanently miss the Bluetooth backlink moment. This embodiment can continuously attempt to initiate Bluetooth backlinks when the Bluetooth backlink link is started, ensuring that the Bluetooth device can accurately backlink with multiple device sources, and achieving accurate and efficient Bluetooth connection.

[0085] Please refer to Figure 6. In some embodiments of this application, a Bluetooth reconnection device is provided, which is executed by a Bluetooth device and includes: a first Bluetooth reconnection module 401, a second Bluetooth reconnection module 402, a link determination module 403, a Bluetooth reconnection termination module 404, and a Bluetooth reconnection repeat module 405.

[0086] The first Bluetooth reconnection module 401 is used to initiate a Bluetooth reconnection to the first source device for a first preset time when either source device drops, and to initiate a Bluetooth reconnection scan to the first source device for a second preset time after the Bluetooth reconnection ends. The second Bluetooth reconnection module 402 is used to initiate a Bluetooth reconnection to the second source device for a first preset time, and to initiate a Bluetooth reconnection scan to the second source device for a second preset time after the Bluetooth reconnection ends. The link determination module 403 is used to determine whether a Bluetooth communication link identical to the corresponding source device exists after both the first and second source devices have Bluetooth reconnections after the Bluetooth reconnection scans are completed. The Bluetooth reconnection termination module 404 is used to cancel the current Bluetooth reconnection event if a Bluetooth communication link identical to the corresponding source device exists for both. The Bluetooth reconnection repetition module 405 is used to re-initiate Bluetooth reconnection and Bluetooth reconnection scans for both the first and second source devices if one source device does not have a corresponding identical Bluetooth communication link.

[0087] In some optional embodiments, the system further includes a first event generation module, configured to generate a Bluetooth reconnection interruption event for the first source device after the Bluetooth reconnection to the first source device has been initiated for a first preset time, and to set a timeout timer to periodically reserve a third preset time so that the first source device can respond to the Bluetooth reconnection. In this embodiment, by setting a timeout timer to periodically reserve a third preset time after generating the Bluetooth reconnection interruption event for the first source device, sufficient time is ensured for the first source device to respond to the Bluetooth reconnection, reducing the Bluetooth connection error rate and failure rate.

[0088] In some optional embodiments, a fourth timing module is further included, configured to reserve a fourth preset time after the first source device initiates a Bluetooth backlink scan for a second preset time, so that the first source device can respond to the Bluetooth backlink scan. In this embodiment, by reserving a fourth preset time, it is ensured that the first source device can accurately respond to the Bluetooth backlink scan, further reducing the Bluetooth connection error rate and failure rate.

[0089] In some optional embodiments, the system further includes a second event generation module, configured to generate a Bluetooth reconnection interruption event for the second source device after the Bluetooth reconnection to the second source device has been initiated for a first preset time, and to set a timeout timer to periodically reserve a third preset time so that the second source device can respond to the Bluetooth reconnection. In this embodiment, by setting a timeout timer to periodically reserve a third preset time after generating the Bluetooth reconnection interruption event for the second source device, sufficient time is ensured for the second source device to respond to the Bluetooth reconnection, reducing the Bluetooth connection error rate and failure rate.

[0090] In some optional embodiments, a fifth timing module is further included, configured to reserve a fourth preset time after the second source device initiates a Bluetooth backlink scan for a second preset time, so that the second source device can respond to the Bluetooth backlink scan. In this embodiment, reserving a fourth preset time ensures that the second source device can accurately respond to the Bluetooth backlink scan, further reducing the Bluetooth connection error rate and failure rate.

[0091] Embodiments of this application also provide a Bluetooth reconnection device, executed by a source device, comprising:

[0092] The processor is used to determine whether the preset reconnection conditions are met when the Bluetooth reconnection link is started.

[0093] If the preset reconnection restriction conditions are met, the first timer is started, and the Bluetooth reconnection is retried after the first timer ends.

[0094] If the preset reconnection conditions are not met, Bluetooth reconnection will begin and a second timer will be started. After the second timer ends, Bluetooth reconnection will end.

[0095] Optionally, the processor is also configured to start a third timer after the Bluetooth reconnection ends, and after the third timer ends, re-determine whether the reconnection restriction conditions are met.

[0096] Optionally, the preset reconnection restriction conditions include: recording the first packet reception time when the first Bluetooth packet is received, and recording the second packet reception time when the Bluetooth packet is received at the current moment in real time, and calculating the current packet reception time interval based on the first packet reception time and the second packet reception time; obtaining the Bluetooth reconnection time, and calculating whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time; if so, then reconnection is restricted; if not, then reconnection is not restricted.

[0097] Optionally, the values ​​of the third timer and the second timer are not equal.

[0098] This application embodiment also provides a Bluetooth reconnection device, executed by a Bluetooth device, including:

[0099] The processor is configured to: initiate a Bluetooth reconnection for a first preset time to the first source device when either source device goes offline, and initiate a Bluetooth reconnection scan for a second preset time after the Bluetooth reconnection ends; initiate a Bluetooth reconnection for a second source device for a first preset time, and initiate a Bluetooth reconnection scan for a second preset time after the Bluetooth reconnection ends; after the Bluetooth reconnection scans for the first and second source devices are completed, determine whether both have the same Bluetooth communication link as the corresponding source device after Bluetooth reconnection; if both have the same Bluetooth communication link as the corresponding source device, cancel the current Bluetooth reconnection event; if one source device does not have the same Bluetooth communication link, re-initiate Bluetooth reconnection and Bluetooth reconnection scans for the first and second source devices.

[0100] Optionally, the processor is further configured to generate a Bluetooth reconnection interruption event for the first source device after the Bluetooth reconnection to the first source device is initiated for a continuous first preset time, and to set a timeout timer to reserve a third preset time periodically so that the first source device can respond to the Bluetooth reconnection.

[0101] Optionally, the processor is further configured to, after initiating a Bluetooth backlink scan on the first source device for a duration of a second preset time, reserve a fourth preset time period so that the first source device can respond to the Bluetooth backlink scan.

[0102] Optionally, the processor is further configured to generate a Bluetooth reconnection interruption event for the second source device after the Bluetooth reconnection to the second source device is initiated for a first preset time, and to set a timeout timer to reserve a third preset time period so that the second source device can respond to the Bluetooth reconnection.

[0103] Optionally, the processor is further configured to, after initiating a Bluetooth backlink scan on the first source device for a duration of a second preset time, reserve a fourth preset time period so that the second source device can respond to the Bluetooth backlink scan.

[0104] An embodiment of this application also provides a Bluetooth reconnection method, comprising: when the Bluetooth reconnection link is started, the source device determines whether a preset restriction reconnection condition is met; if the preset restriction reconnection condition is met, the source device starts a first timer, and after the first timer ends, retrying the Bluetooth reconnection; if the preset restriction reconnection condition is not met, the source device starts performing the Bluetooth reconnection and starts a second timer, and after the second timer ends, terminates the Bluetooth reconnection; in the case where the preset restriction reconnection condition is not met, the Bluetooth device performs the Bluetooth reconnection.

[0105] Optionally, after the Bluetooth reconnection ends, the method further includes: the source device starts a third timer, and after the third timer ends, it re-determines whether the reconnection restriction conditions are met.

[0106] Optionally, the preset reconnection restriction conditions include: recording the first packet reception time when the first Bluetooth packet is received, and recording the second packet reception time when the Bluetooth packet is received at the current moment in real time, and calculating the current packet reception time interval based on the first packet reception time and the second packet reception time; obtaining the Bluetooth reconnection time, and calculating whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time; if so, then reconnection is restricted; if not, then reconnection is not restricted.

[0107] Optionally, the value of the third timer can be different from that of the second timer.

[0108] An embodiment of this application also provides a Bluetooth backconnection system, comprising: a source device, configured to determine whether a preset restriction backconnection condition is met when the Bluetooth backconnection link is started; if the preset restriction backconnection condition is met, start a first timer, and retry Bluetooth backconnection after the first timer ends; if the preset restriction backconnection condition is not met, start Bluetooth backconnection and start a second timer, and terminate Bluetooth backconnection after the second timer ends; and a Bluetooth device, configured to perform Bluetooth backconnection when the preset restriction backconnection condition is not met.

[0109] Optionally, the source device is further configured to start a third timer after the Bluetooth reconnection ends, and after the third timer ends, re-determine whether the reconnection restriction conditions are met. Optionally, the preset reconnection restriction conditions include: recording the first packet reception time during the first Bluetooth packet reception, and recording the second packet reception time during the current Bluetooth packet reception in real time, and calculating the current packet reception time interval based on the first packet reception time and the second packet reception time; obtaining the Bluetooth reconnection time, and calculating whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time; if so, then reconnection is restricted; if not, then reconnection is not restricted.

[0110] Optionally, the value of the third timer can be different from that of the second timer.

[0111] Embodiments of this application also provide a Bluetooth reconnection method, including:

[0112] When any source device goes offline, the Bluetooth device initiates a Bluetooth reconnection to the first source device for a first preset time, and after the Bluetooth reconnection ends, it initiates a Bluetooth reconnection scan to the first source device for a second preset time; the first source device receives the Bluetooth reconnection, and after the Bluetooth reconnection ends, it receives the Bluetooth reconnection scan.

[0113] The Bluetooth device initiates a Bluetooth reconnection to the second source device for a first preset time, and after the Bluetooth reconnection ends, it initiates a Bluetooth reconnection scan to the second source device for a second preset time. The second source device receives the Bluetooth reconnection and, after the Bluetooth reconnection ends, receives the Bluetooth reconnection scan. When the Bluetooth device finishes scanning the Bluetooth reconnection of the first and second source devices, it determines whether a Bluetooth communication link identical to the corresponding source device exists after a Bluetooth reconnection. If a Bluetooth communication link identical to the corresponding source device exists in both cases, the Bluetooth device cancels the current Bluetooth reconnection event.

[0114] If one source device does not have a corresponding Bluetooth communication link, the Bluetooth device re-initiates Bluetooth reconnection and Bluetooth reconnection scan for both the first and second source devices. If one source device does not have a corresponding Bluetooth communication link, the first source device receives the Bluetooth reconnection and Bluetooth reconnection scan. If one source device does not have a corresponding Bluetooth communication link, the second source device receives the Bluetooth reconnection and Bluetooth reconnection scan. Optionally, after initiating a Bluetooth reconnection with the first source device for a first preset time, the method further includes: generating a Bluetooth reconnection intermediate termination event for the first source device, and setting a timeout timer to periodically reserve a third preset time so that the first source device can respond to the Bluetooth reconnection.

[0115] Optionally, after initiating a Bluetooth reconnection scan for a second preset time on the first source device, the method further includes: reserving a fourth preset time periodically to allow the first source device to respond to the Bluetooth reconnection scan. Optionally, after initiating a Bluetooth reconnection scan for a first preset time on the second source device, the method further includes: generating a Bluetooth reconnection intermediate termination event for the second source device and setting a timeout timer to reserve a third preset time periodically to allow the second source device to respond to the Bluetooth reconnection scan. Optionally, after initiating a Bluetooth reconnection scan for a second preset time on the first source device, the method further includes: reserving a fourth preset time periodically to allow the second source device to respond to the Bluetooth reconnection scan.

[0116] Embodiments of this application also provide a Bluetooth reconnection system, comprising:

[0117] A Bluetooth device is configured to initiate a Bluetooth reconnection to a first source device for a first preset time when either source device becomes offline, and to initiate a Bluetooth reconnection scan to the first source device for a second preset time after the Bluetooth reconnection ends. The first source device is configured to receive the Bluetooth reconnection and, after the Bluetooth reconnection ends, receive the Bluetooth reconnection scan. The Bluetooth device is also configured to initiate a Bluetooth reconnection to a second source device for a first preset time and, after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the second source device for a second preset time. The second source device is configured to receive the Bluetooth reconnection and, after the Bluetooth reconnection ends, receive the Bluetooth reconnection scan. The Bluetooth device is further configured to, when the Bluetooth device connects to the first source device... After the Bluetooth backlink scan of the first and second source devices is completed, it is determined whether a Bluetooth communication link identical to the corresponding source device exists after a Bluetooth backlink. If a Bluetooth communication link identical to the corresponding source device exists in both cases, the current Bluetooth backlink event is cancelled. If one source device does not have a corresponding Bluetooth communication link, a new Bluetooth backlink and Bluetooth backlink scan are initiated for both the first and second source devices. The first source device is also configured to receive the Bluetooth backlink and Bluetooth backlink scan if one source device does not have a corresponding Bluetooth communication link. The second source device is also configured to receive the Bluetooth backlink and Bluetooth backlink scan if one source device does not have a corresponding Bluetooth communication link.

[0118] Optionally, the Bluetooth device is further configured to: after initiating a Bluetooth reconnection to the first source device for a continuous first preset time, generate a Bluetooth reconnection intermediate termination event for the first source device, and set a timeout timer to reserve a third preset time periodically, so that the first source device can respond to the Bluetooth reconnection.

[0119] Optionally, the Bluetooth device is further configured to, after initiating a Bluetooth backlink scan for a second preset time, reserve a fourth preset time periodically so that the first source device can respond to the Bluetooth backlink scan.

[0120] Optionally, the Bluetooth device is further configured to generate a Bluetooth reconnection interruption event for the second source device after the Bluetooth reconnection to the second source device is initiated for a first preset time, and to set a timeout timer to reserve a third preset time period so that the second source device can respond to the Bluetooth reconnection.

[0121] Optionally, the Bluetooth device is further configured to, after initiating a Bluetooth backlink scan for a second preset time, reserve a fourth preset time periodically to allow the second source device to respond to the Bluetooth backlink scan.

[0122] In this embodiment, when either source device goes offline, Bluetooth reconnection and Bluetooth reconnection scanning are performed sequentially on the first and second source devices. After the Bluetooth reconnection scans of the first and second source devices are completed, it is determined whether a corresponding Bluetooth communication link already exists for that source device. This ensures that if a corresponding Bluetooth communication link already exists for the source device, it means that the Bluetooth communication link for the source device still exists, and there is no need to reconnect, thus canceling the current Bluetooth reconnection event. If a corresponding Bluetooth communication link does not exist for the source device, Bluetooth reconnection and Bluetooth reconnection scanning are re-initiated for the first and second source devices, ensuring that all source devices can complete the Bluetooth reconnection event and connect to the Bluetooth device.

[0123] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above descriptions are merely specific embodiments of this application and are not intended to limit the scope of protection of this application. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application for those skilled in the art.

Claims

1. A Bluetooth reconnection method, performed by a source device, comprising: When the Bluetooth backlink link is started, determine whether the preset backlink conditions are met; If the preset reconnection restriction conditions are met, the first timer is started, and the Bluetooth reconnection is retried after the first timer ends. If the preset reconnection conditions are not met, Bluetooth reconnection will begin and a second timer will be started. After the second timer ends, Bluetooth reconnection will end.

2. The Bluetooth reconnection method as described in claim 1, wherein, After the Bluetooth reconnection is terminated, the following is also included: Start the third timer. After the third timer ends, re-evaluate whether the restriction connection condition is met.

3. A Bluetooth reconnection method as described in claim 1 or 2, wherein, The preset reconnection restriction conditions include: Record the first packet reception time when the first Bluetooth packet reception occurs, and record the second packet reception time when the Bluetooth packet reception occurs at the current moment in real time. Calculate the current packet reception time interval based on the first and second packet reception times. Obtain the Bluetooth reconnection time and calculate whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time; If so, then restrict backlinks; If not, then there is no restriction on backlinks.

4. The Bluetooth reconnection method as described in claim 2, wherein, The values ​​of the third timer and the second timer are not equal.

5. A Bluetooth reconnection method, executed by a Bluetooth device, comprising: When any source device goes offline, initiate a Bluetooth reconnection to the first source device for a first preset time, and initiate a Bluetooth reconnection scan to the first source device for a second preset time after the Bluetooth reconnection ends. Initiate a Bluetooth reconnection to the second source device for a first preset time, and after the Bluetooth reconnection ends, initiate a Bluetooth reconnection scan to the second source device for a second preset time. After the Bluetooth backlink scan of the first source device and the second source device is completed, determine whether there is a Bluetooth communication link that is the same as the corresponding source device after Bluetooth backlink. If both have the same Bluetooth communication link as the corresponding source device, then cancel the current Bluetooth reconnection event; If a source device does not have a corresponding Bluetooth communication link, then re-initiate Bluetooth reconnection and Bluetooth reconnection scans for the first and second source devices.

6. A Bluetooth reconnection method as described in claim 5, wherein, After initiating a Bluetooth reconnection to the first source device for a continuous first preset time, the method further includes: Generate a Bluetooth reconnection interruption event for the first source device and set a timeout timer to reserve a third preset time so that the first source device can respond to the Bluetooth reconnection.

7. A Bluetooth reconnection method as described in claim 5 or 6, wherein, After initiating a Bluetooth reconnection scan on the first source device for a continuous second preset time, the method further includes: A fourth preset time is reserved to allow the first source device to respond to the Bluetooth reconnection scan.

8. A Bluetooth reconnection method as described in any one of claims 5-7, wherein, After initiating a Bluetooth reconnection to the second source device for a first preset time, the method further includes: Generate a Bluetooth reconnection interruption event for the second source device, and set a timeout timer to reserve a third preset time so that the second source device can respond to the Bluetooth reconnection.

9. A Bluetooth reconnection method as described in any one of claims 5-8, wherein, After initiating a Bluetooth reconnection scan on the first source device for a continuous second preset time, the method further includes: A fourth preset time is reserved to allow the second source device to respond to the Bluetooth reconnection scan.

10. A Bluetooth reconnection device, executed by a source device, comprising: Link startup module, first timing module, and second timing module; The link activation module is used to determine whether the preset reconnection conditions are met when the Bluetooth reconnection link is activated. The first timing module is used to start a first timer if the preset reconnection restriction conditions are met, and to retry Bluetooth reconnection after the first timer ends. The second timing module is used to start Bluetooth reconnection and start a second timer if the preset reconnection conditions are not met, and to end Bluetooth reconnection after the second timer ends.

11. A Bluetooth reconnection device as described in claim 10, wherein, Also includes: The third timing module is used to start a third timer after the Bluetooth reconnection ends, and after the third timer ends, to re-determine whether the reconnection restriction conditions are met.

12. A Bluetooth reconnection device as described in claim 10 or 11, wherein, The preset restriction on reconnection conditions includes: Record the first packet reception time when the first Bluetooth packet reception occurs, and record the second packet reception time when the Bluetooth packet reception occurs at the current moment in real time. Calculate the current packet reception time interval based on the first and second packet reception times. Obtain the Bluetooth reconnection time and calculate whether the difference between the Bluetooth reconnection time and the second packet reception time is greater than the difference between the packet reception time interval and the second timer time; If so, then restrict backlinks; If not, then there is no restriction on backlinks.

13. A Bluetooth reconnection method as described in claim 11, wherein, The values ​​of the third timer and the second timer are not equal.

14. A Bluetooth reconnection device, executed by a Bluetooth device, comprising: First Bluetooth reconnection module, second Bluetooth reconnection module, link determination module, Bluetooth reconnection end module, Bluetooth reconnection repeat module; The first Bluetooth backconnect module is used to initiate a Bluetooth backconnect to the first source device for a first preset time when any source device goes offline, and to initiate a Bluetooth backconnect scan to the first source device for a second preset time after the Bluetooth backconnect ends. The second Bluetooth back-connection module is used to initiate a Bluetooth back-connection to the second source device for a continuous first preset time, and after the Bluetooth back-connection ends, initiate a Bluetooth back-connection scan to the second source device for a continuous second preset time. The link determination module is used to determine whether, after the Bluetooth back-connection scan of the first source device and the second source device is completed, there is a Bluetooth communication link that is the same as the corresponding source device after Bluetooth back-connection. The Bluetooth reconnection termination module is used to cancel the current Bluetooth reconnection event if there is a Bluetooth communication link with the corresponding source device. The Bluetooth reconnection repeat module is used to re-initiate Bluetooth reconnection and Bluetooth reconnection scan for the first source device and the second source device if a source device does not have a corresponding Bluetooth communication link.

15. A Bluetooth reconnection device as described in claim 14, wherein, Also includes: The first event generation module is used to generate a Bluetooth reconnection interruption event of the first source device after the Bluetooth reconnection to the first source device is initiated for a continuous first preset time, and to set a timeout timer to reserve a third preset time so that the first source device can respond to the Bluetooth reconnection.

16. A Bluetooth reconnection device as described in claim 14 or 15, wherein, Also includes: The fourth timing module is used to reserve a fourth preset time after the first source device initiates a Bluetooth back-connection scan for a continuous second preset time, so that the first source device can respond to the Bluetooth back-connection scan.

17. A Bluetooth device as claimed in any one of claims 14-16, wherein, Also includes: The second event generation module is used to generate a Bluetooth reconnection interruption event of the second source device after the Bluetooth reconnection to the second source device is initiated for a continuous first preset time, and to set a timeout timer to reserve a third preset time so that the second source device can respond to the Bluetooth reconnection.

18. A Bluetooth reconnection device as described in any one of claims 14-17, wherein, Also includes: The fifth timing module is used to reserve a fourth preset time after the second source device initiates a Bluetooth back-connection scan for a continuous second preset time, so that the second source device can respond to the Bluetooth back-connection scan.

19. A Bluetooth reconnection device, executed by a source device, comprising: The processor is used to determine whether the preset reconnection conditions are met when the Bluetooth reconnection link is started. If the preset reconnection restriction conditions are met, the first timer is started, and the Bluetooth reconnection is retried after the first timer ends. If the preset reconnection conditions are not met, Bluetooth reconnection will begin and a second timer will be started. After the second timer ends, Bluetooth reconnection will end.

20. A Bluetooth reconnection device as described in claim 19, wherein, The processor is also configured to start a third timer after the Bluetooth reconnection ends, and after the third timer ends, re-determine whether the reconnection restriction conditions are met.