A Bluetooth eavesdropping method, apparatus, device, and storage medium based on active compensation.

By obtaining the signal strength data and historical frequency hopping data before the Bluetooth link is disconnected, predicting the channel and time point of the next interaction, and performing compensation for the monitoring equipment, it solves the problem of low monitoring efficiency and success rate when the Bluetooth link is disconnected. Fast recovery and highly reliable communication are achieved.

CN118381574BActive Publication Date: 2024-09-03ANSHAN KEDA INTERNET OF THINGS SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834295.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-03
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

The traditional Bluetooth channel monitoring method has low monitoring efficiency and success rate when faced with link disconnection and multi-node monitoring in a multi-Bluetooth slave node environment, especially in link disconnection and multi-node monitoring scenarios.

Method used

By obtaining signal strength data at multiple time points before the Bluetooth link is disconnected, the cause of the link disconnection is determined, and the channel and time point of the next interaction are predicted based on historical frequency hopping data to determine whether the monitoring device needs to be compensated to ensure The listening device listens at the correct frequency and time of the next interaction.

Benefits of technology

Quickly re-lock the frequency hopping channel, reduce monitoring delays caused by link recovery, ensure the continuity and reliability of communication, and improve the efficiency and success rate of monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381574B
    Figure CN118381574B
Patent Text Reader

Abstract

The present application relates to a Bluetooth monitoring method, device, equipment and storage medium based on active compensation. When a Bluetooth link is broken, the signal strength data of the Bluetooth link at multiple time points before the link is broken is obtained; the reason for the link breaking of the Bluetooth link is determined based on the signal strength data at multiple time points; the channel of the Bluetooth device corresponding to the Bluetooth link is predicted at the next interaction based on the historical frequency hopping data corresponding to the link breaking reason, and the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link is determined; based on the channel at the next interaction, it is determined whether the monitoring device needs to be compensated; when the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point at the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel at the next interaction. The present application can quickly re-lock the frequency hopping channel, reduce the monitoring delay caused by link recovery, and ensure the continuity and reliability of communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and specifically to a Bluetooth monitoring method, device, equipment and storage medium based on active compensation. Background Art

[0002] In the current wireless communication field, Bluetooth technology is widely used in communication between various devices due to its low power consumption and low cost. However, the traditional Bluetooth channel monitoring method faces many challenges in the environment of multiple Bluetooth slave nodes, especially in the scenarios of link disconnection and multi-node monitoring, the monitoring efficiency and success rate need to be improved urgently. Summary of the invention

[0003] In view of this, the purpose of the present application is to provide a Bluetooth monitoring method, device, equipment and storage medium based on active compensation, which can solve the problems in the prior art.

[0004] In order to achieve the above purpose, this application adopts the following technical solutions:

[0005] The present application provides a Bluetooth monitoring method, device, equipment and storage medium based on active compensation, including the following steps:

[0006] When a Bluetooth link is disconnected, obtain signal strength data of the Bluetooth link at multiple time points before the disconnection;

[0007] Determine the cause of the disconnection of the Bluetooth link based on the signal strength data at the multiple time points;

[0008] Acquire historical frequency hopping data corresponding to the link disconnection reason, predict the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data, and determine the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link;

[0009] Determining whether the monitoring device needs to be compensated based on the channel during the next interaction;

[0010] When the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point of the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel of the next interaction.

[0011] In an embodiment of the present application, determining the disconnection reason of the Bluetooth link based on the signal strength data at the multiple time points includes:

[0012] Filtering the signal strength data at the multiple time points to obtain filtered data;

[0013] Calculate the motion trajectory of the Bluetooth device corresponding to the Bluetooth link based on the filtered data;

[0014] When the movement trajectory is that one of the Bluetooth devices moves away from the other Bluetooth device, it is determined that the cause of the link disconnection is signal attenuation.

[0015] In an embodiment of the present application, determining the disconnection reason of the Bluetooth link based on the signal strength data at the multiple time points includes:

[0016] Determine the application scenario of the Bluetooth device corresponding to the Bluetooth link;

[0017] When the Bluetooth device is used in a scene where movement is impossible, obtaining location information of the Bluetooth device corresponding to the Bluetooth link, wherein there are at least two Bluetooth devices;

[0018] Determine the relative positions between the Bluetooth devices, and determine theoretical signal strength data corresponding to the relative positions based on a pre-built prediction model, wherein the prediction model is established based on historical data, and the prediction model characterizes the corresponding relationship between the relative positions of the Bluetooth devices and the signal strength;

[0019] The theoretical signal strength data is compared with the signal strength data at the multiple time points, and when the theoretical signal strength data is inconsistent with the signal strength data at the multiple time points, it is determined that the cause of the link disconnection is signal interference.

[0020] In one embodiment of the present application, predicting the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data includes:

[0021] Determine a current interaction channel of a Bluetooth device corresponding to the Bluetooth link;

[0022] Fitting the historical frequency hopping data to obtain a prediction curve, wherein the prediction curve includes a jump correspondence relationship between a previous interactive channel and a next interactive channel;

[0023] A channel for the next interaction of the current interaction channel is determined in the prediction curve.

[0024] In an embodiment of the present application, determining the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link includes:

[0025] The original next monitoring time point of the monitoring device is used as the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link.

[0026] In an embodiment of the present application, judging whether the monitoring device needs to be compensated based on the channel during the next interaction includes:

[0027] The frequency of the channel at the next interaction is compared with the frequency of the original next monitoring channel of the monitoring device, and when the frequency of the channel at the next interaction is inconsistent with the frequency of the original next monitoring channel of the monitoring device, it is determined that the monitoring device needs to be compensated; otherwise, no compensation is required.

[0028] In an embodiment of the present application, when the number of the Bluetooth links is multiple, it also includes:

[0029] Determine the reasons for disconnection of multiple Bluetooth links;

[0030] The monitoring priority of the Bluetooth link whose disconnection reason is the target reason is lowered.

[0031] The present application also provides a Bluetooth monitoring device based on active compensation, comprising:

[0032] An acquisition module is used to acquire signal strength data of the Bluetooth link at multiple time points before the Bluetooth link is disconnected when the Bluetooth link is disconnected;

[0033] A cause determination module, configured to determine a cause of disconnection of the Bluetooth link based on the signal strength data at the multiple time points;

[0034] A prediction module, used to obtain historical frequency hopping data corresponding to the link disconnection reason, predict the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data, and determine the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link;

[0035] A judgment module, used for judging whether the monitoring device needs to be compensated based on the channel and time point of the next interaction;

[0036] The compensation module is used to compensate the monitoring device based on the channel and time point of the next interaction when compensation is needed, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel of the next interaction.

[0037] The present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above-mentioned method when executed by a processor.

[0038] The present application also provides an electronic terminal, comprising: a processor and a memory;

[0039] The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method as described above.

[0040] The beneficial effects of the present application are as follows: a Bluetooth monitoring method, device, equipment and storage medium based on active compensation of the present application, when a Bluetooth link is broken, obtains the signal strength data of the Bluetooth link at multiple time points before the link is broken; determines the cause of the Bluetooth link breaking based on the signal strength data at multiple time points; obtains the historical frequency hopping data corresponding to the cause of the link breaking, predicts the channel of the Bluetooth device corresponding to the Bluetooth link at the next interaction based on the historical frequency hopping data, and determines the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link; determines whether the monitoring device needs to be compensated based on the channel at the next interaction; when the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point at the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel at the next interaction. In the case of a Bluetooth link breaking, the present application can quickly re-lock the frequency hopping channel, reduce the monitoring delay caused by link recovery, and ensure the continuity and reliability of communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative work:

[0042] Figure 1 This is a flow chart of a Bluetooth monitoring method based on active compensation in one embodiment of the present application;

[0043] Figure 2 This is a flow chart of a monitoring method in a specific implementation of the present application;

[0044] Figure 3 4 is a structural diagram of a Bluetooth monitoring device based on active compensation in one embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0046] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0047] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0048] In this application, the Bluetooth device in communication is monitored based on the monitoring device, and the monitoring device monitors based on the Bluetooth frequency hopping characteristics. Existing Bluetooth technology uses Gaussian frequency shift keying (GFSK) for interaction. In this method, the communicating parties quickly switch between a series of channels to complete data transmission. Different channels have different frequencies. The monitoring device needs to be able to detect and identify these hopping frequencies and lock onto the correct frequency at the right time in order to receive and decode the transmitted data.

[0049] When the Bluetooth link is disconnected, the Bluetooth link will try to recover. During the recovery process, the interaction channel or interaction time point of the Bluetooth link will change. The Bluetooth FM channel will be determined when two Bluetooth devices establish a connection. This involves a series of parameters such as channel selection, including information such as which channel to initiate the next interaction after each interaction. This information is given to the listening node through out-of-band transmission. The listening node can listen to it by waiting on the channel where the two will interact next. There will be a timeout period. The time for two Bluetooth devices to interact on any channel is at most a few milliseconds, so if the listening node misses it once, it may not be able to listen to it later.

[0050] In order to solve the above problems, the present application adopts the following Bluetooth monitoring method based on active compensation.

[0051] Figure 1 is a flow chart of a Bluetooth monitoring method based on active compensation in this application, such as Figure 1 As shown: A Bluetooth monitoring method based on active compensation in this embodiment includes the following steps:

[0052] S110, when a Bluetooth link is disconnected, obtaining signal strength data of the Bluetooth link at multiple time points before the disconnection;

[0053] S120, determining a disconnection reason of the Bluetooth link based on the signal strength data at the multiple time points;

[0054] Most of the reasons for link disconnection are mainly due to signal interference or distance exceeding the Bluetooth radiation range. For distance exceeding the Bluetooth radiation range, this application adopts the following determination method, and the determination process includes:

[0055] S1201, filtering the signal strength data at the multiple time points to obtain filtered data;

[0056] S1202, calculating a motion trajectory of the Bluetooth device corresponding to the Bluetooth link based on the filtered data;

[0057] S1203: When the movement trajectory shows that one Bluetooth device moves away from another Bluetooth device, determining that the cause of the disconnection is signal attenuation.

[0058] The present application first performs Kalman filtering on the signal strength data RSSI, and then uses the PID algorithm and trend calculation or prediction to determine the movement trajectory of the monitored Bluetooth device. For example, if the device is moving away, the link may be disconnected.

[0059] In response to signal interference, this application adopts the following determination method, and the determination process includes:

[0060] S1211, determining an application scenario of a Bluetooth device corresponding to the Bluetooth link;

[0061] S1212, when the Bluetooth device is used in a scene where movement is impossible, obtaining location information of the Bluetooth device corresponding to the Bluetooth link, wherein there are at least two Bluetooth devices;

[0062] S1213, determining the relative positions between the Bluetooth devices, and determining theoretical signal strength data corresponding to the relative positions based on a pre-built prediction model, wherein the prediction model is established based on historical data, and the prediction model characterizes the corresponding relationship between the relative positions of the Bluetooth devices and the signal strengths;

[0063] S1214: Compare the theoretical signal strength data with the signal strength data at the multiple time points, and when the theoretical signal strength data is inconsistent with the signal strength data at the multiple time points, determine that the cause of the link disconnection is signal interference.

[0064] If the Bluetooth device is used in a specific situation, such as a car in a stopped state, this application will build a model based on historical data, and then use the Monte Carlo algorithm to predict the signal strength at the corresponding location. By comparing it with the collected real-time data, it can be determined whether the link is broken due to signal interference.

[0065] S130, acquiring historical frequency hopping data corresponding to the link disconnection reason, predicting a channel for the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data, and determining a time point for the next interaction of the Bluetooth device corresponding to the Bluetooth link;

[0066] Specific prediction methods include:

[0067] S131, determining a current interaction channel of the Bluetooth device corresponding to the Bluetooth link;

[0068] S132, fitting the historical frequency hopping data to obtain a prediction curve, wherein the prediction curve includes a jump correspondence relationship between a previous interactive channel and a next interactive channel;

[0069] S133: Determine the channel for the next interaction of the current interaction channel in the prediction curve.

[0070] If algorithm compensation is not performed, the monitoring device will still wait for the channel in the established order and will most likely miss the timing.

[0071] For conventional Bluetooth low energy communication, excluding the three broadcast channels, a prediction curve is fitted on the remaining 37 data channels. Because Bluetooth frequency hopping is periodic, one state depends on the previous state, so this application uses Markov chain fitting to predict the channel where the next interaction will be located. Then, the monitoring device is actively compensated, that is, its frequency hopping algorithm is compensated, so that the monitoring device waits on the real interaction channel.

[0072] In addition, in the present application, the original next monitoring time point of the monitoring device is used as the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link.

[0073] The monitoring time, that is, the monitoring waiting time, generally does not need to be specially adjusted, because the monitoring hit rate exceeds 97% after the compensation algorithm actively compensates. The monitoring time needs to be adjusted only when the hardware is replaced, such as antenna adjustment. The compensation algorithm generally does not adjust the monitoring time without modifying the input parameters.

[0074] S140, determining whether the monitoring device needs to be compensated based on the channel during the next interaction;

[0075] Among them, the frequency of the channel at the next interaction is compared with the frequency of the original next monitoring channel of the monitoring device, and when the frequency of the channel at the next interaction is inconsistent with the frequency of the original next monitoring channel of the monitoring device, it is determined that the monitoring device needs to be compensated; otherwise, no compensation is required.

[0076] S150: When the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point of the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel of the next interaction.

[0077] Among them, the compensation process involves the optimization and adjustment of the monitoring strategy. Specifically, this application will independently calculate the pre-judgment compensation for each connection, which may include adjusting the monitoring frequency, monitoring time or monitoring order, etc. Compensation may also involve adjusting the monitoring waiting time, that is, determining the best time for the monitoring device to start monitoring in order to quickly resume monitoring. The use of a parallel computing mechanism allows the pre-judgment compensation for each connection to be calculated independently in a multi-connection scenario, which helps to optimize the monitoring strategy and improve parallel processing capabilities.

[0078] When there is only one Bluetooth link, the compensation method can start to operate when the judgment algorithm described above finds that there is a loss of monitoring.

[0079] If there are multiple Bluetooth links, the following process is required:

[0080] Determine the reasons for disconnection of multiple Bluetooth links;

[0081] The monitoring priority of the Bluetooth link whose disconnection reason is the target reason is lowered.

[0082] If there are more than two Bluetooth links, and one or more of them cannot be monitored due to signal interference or other reasons, the algorithm will lower the priority of that one or more links and allocate the software resources required by the compensation strategy to those links that can be monitored normally.

[0083] Figure 2 This is a flowchart of a monitoring method in a specific implementation of the present application, such as Figure 2 As shown, this application includes two Bluetooth links, and the priority of channel A is higher than that of channel B. The specific process is as follows:

[0084] (1) Prepare to monitor the connection of channel A, determine whether channel A needs compensation, and if so, perform compensation, and then complete the monitoring of channel A; if not, complete the monitoring of channel A;

[0085] (2) After completing the monitoring of channel A, prepare to monitor the connection of channel B, determine whether channel B needs compensation, and if so, perform compensation, and then complete the monitoring of channel B. If not, complete the monitoring of channel B;

[0086] (3) After completing the monitoring of channel B, return to step (1) and execute it in a loop, thereby continuously monitoring channels A and B.

[0087] The active compensation method of this application can achieve the following two main effects:

[0088] Rapid monitoring recovery: In the event of a Bluetooth link disconnection, the algorithm of the present invention can quickly re-lock the frequency hopping channel, reduce the monitoring delay caused by link recovery, and ensure the continuity and reliability of communication.

[0089] Strong scalability: The algorithm of the present invention allows the monitoring device to monitor multiple Bluetooth nodes at the same time, which improves the parallelism and efficiency of monitoring, and is particularly suitable for multi-node communication scenarios in complex environments.

[0090] The present application discloses a Bluetooth monitoring method based on active compensation. When a Bluetooth link is broken, the signal strength data of the Bluetooth link at multiple time points before the link is broken is obtained; the reason for the link breaking of the Bluetooth link is determined based on the signal strength data at multiple time points; the historical frequency hopping data corresponding to the link breaking reason is obtained, and the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link is predicted based on the historical frequency hopping data, and the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link is determined; based on the channel at the next interaction, it is determined whether the monitoring device needs to be compensated; when the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point at the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel at the next interaction. In the case of a Bluetooth link break, the present application can quickly re-lock the frequency hopping channel, reduce the monitoring delay caused by link recovery, and ensure the continuity and reliability of communication.

[0091] like Figure 3 As shown, the present application also provides a Bluetooth monitoring device based on active compensation, comprising:

[0092] An acquisition module is used to acquire signal strength data of the Bluetooth link at multiple time points before the Bluetooth link is disconnected when the Bluetooth link is disconnected;

[0093] A cause determination module, configured to determine a cause of disconnection of the Bluetooth link based on the signal strength data at the multiple time points;

[0094] A prediction module, used to obtain historical frequency hopping data corresponding to the link disconnection reason, predict the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data, and determine the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link;

[0095] A judgment module, used for judging whether the monitoring device needs to be compensated based on the channel and time point of the next interaction;

[0096] The compensation module is used to compensate the monitoring device based on the channel and time point of the next interaction when compensation is needed, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel of the next interaction.

[0097] The present application discloses a Bluetooth monitoring device based on active compensation. When a Bluetooth link is broken, the signal strength data of the Bluetooth link at multiple time points before the link is broken is obtained; the reason for the link breaking of the Bluetooth link is determined based on the signal strength data at multiple time points; the historical frequency hopping data corresponding to the reason for the link breaking is obtained, and the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link is predicted based on the historical frequency hopping data, and the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link is determined; based on the channel at the next interaction, it is determined whether the monitoring device needs to be compensated; when the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point at the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel at the next interaction. In the case of a Bluetooth link break, the present application can quickly re-lock the frequency hopping channel, reduce the monitoring delay caused by link recovery, and ensure the continuity and reliability of communication.

[0098] This embodiment further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, any one of the methods in this embodiment is implemented, wherein the method is the execution logic of this device.

[0099] This embodiment also provides an electronic terminal, including: a processor and a memory;

[0100] The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes any one of the methods in this embodiment.

[0101] The computer-readable storage medium in this embodiment can be understood by ordinary technicians in this field: all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0102] The electronic terminal provided in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic terminal executes each step of the above method.

[0103] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0104] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0105] In the above-mentioned embodiments, although the present application has been described in conjunction with the specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those of ordinary skill in the art according to the foregoing description. The embodiments of the present application are intended to cover all such replacements, modifications and variations falling within the broad scope of the appended claims.

[0106] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A Bluetooth monitoring method based on active compensation, characterized in that: Includes steps: When a Bluetooth link is disconnected, obtain signal strength data of the Bluetooth link at multiple time points before the disconnection; Determine the cause of the disconnection of the Bluetooth link based on the signal strength data at the multiple time points; Determining the cause of the disconnection of the Bluetooth link based on the signal strength data of the multiple time points, including: filtering the signal strength data of the multiple time points to obtain filtered data; calculating the movement trajectory of the Bluetooth device corresponding to the Bluetooth link based on the filtered data; when the movement trajectory is that one Bluetooth device is away from another Bluetooth device, determining that the cause of the disconnection is signal attenuation, or including: determining the application scenario of the Bluetooth device corresponding to the Bluetooth link; when the Bluetooth device is used in a scenario where it cannot move, obtaining the location information of the Bluetooth device corresponding to the Bluetooth link, wherein there are at least two Bluetooth devices; determining the relative positions between the Bluetooth devices, and determining the theoretical signal strength data corresponding to the relative positions based on a pre-constructed prediction model, wherein the prediction model is established based on historical data, and the prediction model characterizes the corresponding relationship between the relative positions of the Bluetooth devices and the signal strength; comparing the theoretical signal strength data with the signal strength data at the multiple time points, and when the theoretical signal strength data is inconsistent with the signal strength data at the multiple time points, determining that the cause of the disconnection is signal interference; Acquire historical frequency hopping data corresponding to the link disconnection reason, predict the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data, and determine the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link; Determining whether the monitoring device needs to be compensated based on the channel during the next interaction; When the monitoring device needs to be compensated, the monitoring device is compensated based on the channel and time point of the next interaction, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel of the next interaction; Wherein, judging whether the monitoring device needs to be compensated based on the channel at the next interaction includes: comparing the frequency of the channel at the next interaction with the frequency of the original next monitoring channel of the monitoring device, and when the frequency of the channel at the next interaction is inconsistent with the frequency of the original next monitoring channel of the monitoring device, judging that the monitoring device needs to be compensated; otherwise, no compensation is required; When the number of the Bluetooth links is multiple, it also includes: Determine the reasons for disconnection of multiple Bluetooth links; The monitoring priority of the Bluetooth link whose disconnection reason is the target reason is lowered.

2. The Bluetooth monitoring method based on active compensation according to claim 1, characterized in that: Predicting a channel for a next interaction of a Bluetooth device corresponding to the Bluetooth link based on historical frequency hopping data includes: Determine a current interaction channel of a Bluetooth device corresponding to the Bluetooth link; Fitting the historical frequency hopping data to obtain a prediction curve, wherein the prediction curve includes a jump correspondence relationship between a previous interactive channel and a next interactive channel; A channel for the next interaction of the current interaction channel is determined in the prediction curve.

3. The Bluetooth monitoring method based on active compensation according to claim 1, characterized in that: Determining a time point when the Bluetooth device corresponding to the Bluetooth link interacts next time includes: The original next monitoring time point of the monitoring device is used as the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link.

4. A Bluetooth monitoring device based on active compensation, characterized in that: include: An acquisition module is used to acquire signal strength data of the Bluetooth link at multiple time points before the Bluetooth link is disconnected when the Bluetooth link is disconnected; A cause determination module, configured to determine a cause of disconnection of the Bluetooth link based on the signal strength data at the multiple time points; Determining the cause of the disconnection of the Bluetooth link based on the signal strength data of the multiple time points, including: filtering the signal strength data of the multiple time points to obtain filtered data; calculating the movement trajectory of the Bluetooth device corresponding to the Bluetooth link based on the filtered data; when the movement trajectory is that one Bluetooth device is away from another Bluetooth device, determining that the cause of the disconnection is signal attenuation, or including: determining the application scenario of the Bluetooth device corresponding to the Bluetooth link; when the Bluetooth device is used in a scenario where it cannot move, obtaining the location information of the Bluetooth device corresponding to the Bluetooth link, wherein there are at least two Bluetooth devices; determining the relative positions between the Bluetooth devices, and determining the theoretical signal strength data corresponding to the relative positions based on a pre-constructed prediction model, wherein the prediction model is established based on historical data, and the prediction model characterizes the corresponding relationship between the relative positions of the Bluetooth devices and the signal strength; comparing the theoretical signal strength data with the signal strength data at the multiple time points, and when the theoretical signal strength data is inconsistent with the signal strength data at the multiple time points, determining that the cause of the disconnection is signal interference; A prediction module, used to obtain historical frequency hopping data corresponding to the link disconnection reason, predict the channel of the next interaction of the Bluetooth device corresponding to the Bluetooth link based on the historical frequency hopping data, and determine the time point of the next interaction of the Bluetooth device corresponding to the Bluetooth link; A judgment module, used for judging whether it is necessary to compensate the monitoring device based on the channel and time point of the next interaction; A compensation module, configured to compensate the monitoring device based on the channel and time point of the next interaction when compensation is required, so that the monitoring device performs monitoring at the monitoring frequency and time point corresponding to the channel of the next interaction; The judgment module is specifically used to compare the frequency of the channel at the next interaction with the frequency of the original next monitoring channel of the monitoring device, and when the frequency of the channel at the next interaction is inconsistent with the frequency of the original next monitoring channel of the monitoring device, determine that the monitoring device needs to be compensated; otherwise, no compensation is required; When there are multiple Bluetooth links, the prediction module is further used to determine the reasons for the disconnection of the multiple Bluetooth links; The monitoring priority of the Bluetooth link whose disconnection reason is the target reason is lowered.

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

6. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic terminal executes the method according to any one of claims 1 to 3.