Low-power-consumption Bluetooth device connection matching detection system and method

By monitoring and detecting the connection process of low-power Bluetooth devices in real time, dynamically adjusting search strategies and reconnection, the pairing instability caused by environmental interference and signal changes during device connection is solved, and the connection success rate and user experience are improved.

CN119854966AActive Publication Date: 2025-04-18SHENZHEN OCEANTECH ELECTRONICS CO LTD

Patent Information

Application Number
CN202510315583.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-04-18
Estimated Expiration
2045-03-18

AI Technical Summary

Technical Problem

Existing low-power Bluetooth devices are susceptible to environmental interference and signal strength changes during connection, resulting in connection failure and unstable pairing, and lack of real-time state detection and matching verification.

Method used

The identification module sends broadcast signals, obtains the module to collect signal strength and environmental noise data in real time, the verification module calculates dynamic matching scores and performs identity verification, and the detection module regularly detects signal strength and communication quality, dynamically adjusts search strategies and reconnects.

Benefits of technology

It improves the success rate of equipment connection, provides real-time pairing status feedback and connection quality evaluation, reduces manual intervention, and improves the reliability and user experience of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854966A_ABST
    Figure CN119854966A_ABST
Patent Text Reader

Abstract

The invention discloses a low-power-consumption Bluetooth device connection matching detection system and method, and relates to the technical field of Bluetooth communication, and the method comprises the steps: sending a broadcast signal to a surrounding environment, enabling a scanning function by a scanning device, scanning the broadcast signal, and recognizing a target device from a scanning result; evaluating the environmental complexity according to the environmental noise data and the broadcast signal strength, and dynamically adjusting a search strategy according to the environmental complexity to obtain a connectable device list; calculating a dynamic matching score of the connectable device according to the real-time state information, and performing identity verification on the connectable device according to the dynamic matching score to obtain a target connection device; the stability of connection matching is judged by periodically detecting signal strength and communication quality information, unstable connection is interrupted according to a detection result, and reconnection is tried. According to the invention, the problem of unstable pairing possibly occurring in the connection process of the BLE equipment can be effectively solved, and the reliability of the equipment and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Bluetooth communication, and more specifically, to a low-power Bluetooth device connection matching detection system and method. Background Art

[0002] With the popularity of smart devices, Bluetooth Low Energy (BLE), as a technology suitable for short-distance communication, has been widely used for wireless data transmission between smart devices. However, the connection process of BLE devices is often affected by factors such as environmental interference and changes in signal strength. Therefore, the matching process of BLE devices may face problems such as connection failure and unstable pairing. Most current technologies only focus on the completion of device connection, but lack the detection of the real-time status of the connection process and the verification of matching, which may result in some devices not being paired successfully during the connection process, affecting the user experience.

[0003] The shortcomings of the existing technology: by real-time monitoring and detection of the connection process of BLE devices, it is ensured that the devices can be successfully paired and provide pairing status feedback. Through this system, the unstable pairing problem that may occur during the connection process of BLE devices can be effectively solved, and the reliability and user experience of the device can be improved. In the existing low-power Bluetooth device connection matching detection technology, there are generally problems such as low connection efficiency, poor matching accuracy and high power consumption. In the device search stage, the traditional method often adopts a wide scanning mode, which consumes a lot of time and power, and is easily interfered by other Bluetooth signals around, resulting in an inaccurate list of searched devices. In the connection matching process, it mainly relies on the fixed identification of the device for matching, lacks consideration of the dynamic state of the device and environmental factors, and makes the matching success rate low, especially in complex environments or scenarios with a large number of devices, connection matching failures frequently occur. At the same time, the existing detection method cannot monitor the stability of the connection status in real time, and cannot promptly detect and handle problems such as connection interruption or signal quality degradation, which affects the normal use of the device and user experience.

[0004] In view of the above problems, the present invention proposes a solution. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art, the embodiments of the present invention provide a low-power Bluetooth device connection matching detection system and method to solve the problems raised in the above-mentioned background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions: A low-power Bluetooth device connection matching detection system and method, comprising the following steps: The identification module is used for the Bluetooth device to send a broadcast signal to the surrounding environment, the scanning device to start the scanning function, scan the broadcast signal, and identify the target device from the scanning results; The acquisition module is used to collect broadcast signal strength, interference signal characteristics and environmental noise data in real time, evaluate the environmental complexity based on the environmental noise data and broadcast signal strength, and dynamically adjust the search strategy according to the environmental complexity to obtain a list of connectable devices; A verification module is used to obtain real-time status information, calculate a dynamic matching score of a connectable device according to the real-time status information, and authenticate the connectable device according to the dynamic matching score to obtain a target connection device; The detection module is used to determine the stability of the connection matching by regularly detecting the signal strength and communication quality information, wherein the communication quality information includes the data transmission speed and error rate, and interrupt the unstable connection and try to reconnect according to the detection result.

[0007] In a preferred embodiment, the specific steps of the Bluetooth device sending a broadcast signal to the surrounding environment are: Bluetooth devices periodically construct advertising packets that contain basic information about the device, including device name, device type, service list, and advertising interval; The advertising packet is constructed and the Bluetooth device sends the advertising signal to the surrounding environment via wireless signals.

[0008] In a preferred embodiment, the scanning device starts the scanning function, scans the broadcast signal, and identifies the target device from the scanning result in the following specific steps: The scanning device starts the scanning program in the Bluetooth protocol stack and monitors the surrounding broadcast signals through active scanning; After receiving the broadcast signal, it will monitor the broadcast signal according to the set scanning interval, and parse the received broadcast packet to obtain device information; Filter the target device according to the device information in the advertising packet; When the scanning device identifies a qualified broadcast signal, it determines the target device based on the information in the broadcast packet; After identifying the target device, scan the device for subsequent operations.

[0009] In a preferred embodiment, the process of acquiring the broadcast signal strength is as follows: The broadcast signal power is obtained through a wireless receiving device, and the broadcast signal strength is calculated in combination with the reference power. The interference signal characteristics include the interference signal power. The acquisition process is as follows: Discretely sampling the broadcast signal according to a predetermined sampling frequency to obtain a discrete signal sequence; And the discrete signal sequence is subjected to discrete Fourier transform, and the signal power spectrum density is calculated by using the periodogram method according to the signal sequence after discrete Fourier transform; The interference signal power is calculated by analyzing the spectrum of the interference signal according to the signal power spectrum density in the frequency band; The environmental noise acquisition process is as follows: obtaining environmental noise power through a wireless receiving device, and calculating environmental noise data in combination with reference power; Assess environmental complexity based on ambient noise data and broadcast signal strength.

[0010] In a preferred embodiment, the process of obtaining the list of connectable devices is as follows: Dynamically adjust the search strategy according to the complexity of the environment. If the complexity of the environment is less than the preset threshold, it means that in a simple environment, the device uses the conventional fast scanning mode to obtain a list of connectable devices according to the scanning interval and frequency specified by the Bluetooth protocol; If the environmental complexity is greater than the preset threshold, it means that in a complex environment, it switches to the intelligent filtering scanning mode, inputs the monitored environmental signal data into the machine learning algorithm model, and classifies and filters the scanned Bluetooth signals based on the pre-stored interference and effective device signal characteristics, retaining only potential effective device signals, and then further scans and analyzes to obtain detailed device information to form an accurate list of connectable devices.

[0011] In a preferred embodiment, the dynamic matching score process of the connectable device is as follows: Pre-establish the battery capacity-voltage calibration curve and obtain the capacity percentage through linear interpolation; Read the current working mode information from the internal status register, which stores the working mode information in binary code form; The Bluetooth device sends a request to the connectable device through a specific status query instruction in the Bluetooth communication protocol; After receiving the request, the connectable device performs the same operation as its own status information, obtains its own power percentage and working mode, and packages and replies to the Bluetooth device; The dynamic matching score of each connectable device is calculated based on its own power percentage and working mode combined with the interference signal characteristics, according to the pre-built device status and environmental factor association model.

[0012] In a preferred embodiment, the process of authenticating the connectable device according to the dynamic matching score is as follows: Compare the calculated dynamic matching score of each connectable device with the threshold, and for connectable devices with a score greater than the threshold, enter the identity authentication process; For connectable devices whose size is smaller than the threshold, they are temporarily excluded from connection consideration.

[0013] In a preferred embodiment, the process of obtaining the target connection device is as follows: Compare the calculated dynamic matching score of each connectable device with the threshold, and for connectable devices with a score greater than the threshold, enter the identity authentication process; After authentication, all connected devices that pass the authentication become potential target connected devices; If there are multiple devices that have passed the verification, they are sorted from high to low according to the dynamic matching scores, and the connectable device with the highest score is selected as the final target connection device; If there is only one device that passes the authentication, then that device is the target connection device.

[0014] In a preferred embodiment, the process of determining the stability of connection matching by periodically detecting signal strength and communication quality information is as follows: The Bluetooth device periodically starts the signal strength detection procedure according to the preset detection cycle; Read the signal strength indicator (RSSI) value between the current connected device and the Bluetooth device through the RF module; In each detection cycle, the amount of data sent by the Bluetooth device is recorded; according to the detection cycle T, the data transmission time is calculated; the data transmission speed is calculated according to the amount of data sent and the transmission time; During the data transmission process, the error checking mechanism in the Bluetooth protocol is used to count the amount of data transmitted with errors during the detection period, and the error rate is calculated based on the total amount of data transmitted during the detection period. The communication quality information is obtained by comprehensively calculating the signal strength indicator (RSSI) value and the error rate; The communication quality information and the signal strength indicator (RSSI) value are comprehensively calculated to obtain a matching detection value; Compare the current match detection value with the threshold; if the match detection value is greater than the threshold, the connection match is determined to be stable; If the match detection value is less than the threshold, the connection match is determined to be unstable.

[0015] In a preferred embodiment, the steps include: The Bluetooth device sends a broadcast signal to the surrounding environment, and the scanning device turns on the scanning function to scan the broadcast signal and identify the target device from the scanning results; Collect broadcast signal strength, interference signal characteristics, and environmental noise data in real time, evaluate the environmental complexity based on the environmental noise data and broadcast signal strength, and dynamically adjust the search strategy based on the environmental complexity to obtain a list of connectable devices; Acquire real-time status information, calculate a dynamic matching score of a connectable device according to the real-time status information, and authenticate the connectable device according to the dynamic matching score to obtain a target connecting device; The stability of the connection matching is determined by regularly detecting the signal strength and communication quality information, wherein the communication quality information includes data transmission speed and error rate, and the unstable connection is interrupted and reconnection is attempted according to the detection result.

[0016] The technical effects and advantages of the low-power Bluetooth device connection matching detection system and method of the present invention are as follows: 1. The present invention monitors and detects the connection process of the device in real time to avoid pairing failures caused by signal problems or environmental interference, thereby improving the connection success rate of the device. The system provides pairing status feedback and connection quality assessment to help users discover connection problems in a timely manner and take corresponding measures to ensure a smooth connection process.

[0017] 2. The present invention reduces the need for manual intervention through automated detection and feedback mechanisms, and effectively avoids device failures caused by improper device matching or poor connection quality. Through optimized detection of signal strength and connection quality, the system can adapt to different environments and improve compatibility between devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the structure of the low-power Bluetooth device connection matching detection system of the present invention.

[0019] Figure 2 It is a structural schematic diagram of a low-power Bluetooth device connection matching detection method of the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] Embodiment 1, Figure 1 A module diagram of a low-power Bluetooth device connection matching detection system of the present invention is given.

[0022] The Bluetooth device sends a broadcast signal to the surrounding environment, and the scanning device turns on the scanning function to scan the broadcast signal and identify the target device from the scanning results; The specific steps of the Bluetooth device sending a broadcast signal to the surrounding environment are: Bluetooth devices periodically construct advertising packets that contain basic information about the device, including device name, device type, service list, and advertising interval; Bluetooth devices set the broadcast interval, which determines how often the device broadcasts signals; Once the advertising packet is constructed, the Bluetooth device sends the advertising signal to the surrounding environment through wireless signals; the advertising signal will propagate within a certain range, usually several meters to tens of meters, and the advertising signal is connectionless. The scanning device can receive the signal, but does not need to establish a connection with the broadcasting device; The content of the broadcast signal includes a device identifier (such as a device address), a broadcast type (such as unconnectable, connectable, scan response, etc.), a device name, and supported service types.

[0023] The specific steps of the scanning device turning on the scanning function, scanning the broadcast signal, and identifying the target device from the scanning result are as follows: The scanning device starts the scanning program in the Bluetooth protocol stack and monitors the surrounding broadcast signals through active scanning; After receiving the broadcast signal, it will monitor the broadcast signal according to the set scanning interval, and parse the received broadcast packet to obtain device information; Filter the target device according to the device information in the advertising packet; When the scanning device identifies a qualified broadcast signal, it determines the target device based on the information in the broadcast packet; After identifying the target device, scan the device for subsequent operations, including sending a connection request, obtaining more device information, and pairing.

[0024] If the scanning device is interested in the broadcasting device, and the broadcasting device allows connection, the scanning device can send a connection request; The connection request will be processed by the Bluetooth protocol stack. If a connection is established between the two, subsequent data exchange can be carried out through the Bluetooth connection; The scanning device will pass the identified target device information to the upper-layer application, and the application can make further operations based on this information, such as displaying a device list or initiating a connection; For most BLE devices, advertising and scanning are usually performed in low power mode, so power management is very critical.

[0025] Collect broadcast signal strength, interference signal characteristics, and environmental noise data in real time, evaluate the environmental complexity based on the environmental noise data and broadcast signal strength, and dynamically adjust the search strategy based on the environmental complexity to obtain a list of connectable devices; The process of obtaining the broadcast signal strength is as follows: The broadcast signal power is obtained through a wireless receiving device, and the broadcast signal strength is calculated in combination with the reference power. The calculation formula of the broadcast signal strength is as follows: ; In the formula, is the broadcast signal strength, is the broadcast signal power, is the reference power; The interference signal characteristics include interference signal power, and the acquisition process is as follows: Discretely sampling the broadcast signal according to a predetermined sampling frequency to obtain a discrete signal sequence; And the discrete signal sequence is subjected to discrete Fourier transform, and the signal power spectrum density is calculated by using the periodogram method according to the signal sequence after discrete Fourier transform; The interference signal power is calculated by analyzing the spectrum of the interference signal according to the signal power spectrum density in the frequency band; The calculation formula is as follows: ; In the formula, It is the frequency band The interference signal power within is the signal power spectral density.

[0026] The environmental noise refers to the background noise caused by environmental factors (such as equipment noise, electromagnetic interference, surrounding objects, etc.) in addition to broadcast signals and interference signals; The ambient noise power is obtained through a wireless receiving device, and the ambient noise data is calculated in combination with the reference power. The calculation formula of the ambient noise data is as follows: ; In the formula, is the environmental noise data, is the ambient noise power, is the reference power; Assess environmental complexity based on ambient noise data and broadcast signal strength; The complexity of the environment reflects the relative relationship between interference signals, noise, and broadcast signals, and can be evaluated based on the relative strength of noise and interference; The inverse of the noise-to-interference signal strength ratio (SNR) is used to calculate the environmental complexity; the calculation formula is as follows: ; Where R is the environmental complexity, is the environmental noise data, is the broadcast signal strength.

[0027] If R is high, it means that the environment complexity is high and the signal is greatly affected by noise or interference. Otherwise, the environment complexity is low.

[0028] Dynamically adjust the search strategy according to the complexity of the environment. If the complexity of the environment is less than the preset threshold, it means that in a simple environment, the device uses the conventional fast scanning mode to obtain a list of connectable devices according to the scanning interval and frequency specified by the Bluetooth protocol; If the environmental complexity is greater than the preset threshold, it means that in a complex environment, it switches to the intelligent filtering scanning mode, and the monitored environmental signal data is input into the machine learning algorithm model (such as a convolutional neural network model). According to the pre-stored interference and effective device signal characteristics, the scanned Bluetooth signals are classified and filtered, and only potentially effective device signals are retained. Further scanning and analysis are performed to obtain detailed device information and form an accurate list of connectable devices.

[0029] Acquire real-time status information, calculate a dynamic matching score of a connectable device according to the real-time status information, and authenticate the connectable device according to the dynamic matching score to obtain a target connecting device; Pre-establish the battery capacity-voltage calibration curve and obtain the capacity percentage through linear interpolation; Read the current working mode information from the internal status register. The status register stores the working mode in binary code. Bit 0 indicates whether it is in data transmission mode, and bit 1 indicates whether it is in standby mode. The Bluetooth device sends a request to the connectable device through a specific status query instruction in the Bluetooth communication protocol; After receiving the request, the connectable device performs the same operation as the above-mentioned acquisition of its own status information, obtains its own power percentage and working mode, and packages this information and replies to the Bluetooth device; According to the power percentage and working mode of the device combined with the interference signal characteristics, the dynamic matching score of each connectable device is calculated based on the pre-built device status and environmental factor association model. The calculation formula is as follows: ; Where M is the dynamic matching score, D is the power percentage, a is the power percentage weight factor, G is the current working mode information, expressed in binary code, b is the current working mode information weight factor, c is the interference signal power weight factor, is the interference signal power.

[0030] According to actual application requirements and experience, a dynamic matching score threshold is pre-set, which is used to initially screen connectable devices. Only devices with matching scores greater than the threshold will enter the subsequent identity authentication stage. Compare the calculated dynamic matching score of each connectable device with the threshold, and for connectable devices with a score greater than the threshold, enter the identity authentication process; For connectable devices whose size is smaller than the threshold, they are temporarily excluded from connection consideration.

[0031] For a connectable device that enters the identity authentication phase, the Bluetooth device and the connectable device exchange their respective identity information, such as the device's unique serial number and device name, through specific identity authentication instructions; The Bluetooth device initiating the verification encrypts its own identity information, the identity information of the connectable device and the current timestamp according to a predefined encryption algorithm to generate a verification message; Sending the generated verification information to the connectable device; After receiving the verification information, the connectable device uses the same encryption algorithm to perform the same encryption operation based on the received identity information of the initiating verification device, its own identity information, and the locally recorded timestamp (to ensure that the time synchronization error is within an acceptable range) to obtain a local verification information. Then compare the received verification information with the locally generated verification information to see if they are consistent. If they are consistent, the identity authentication is passed; if they are inconsistent, the verification fails and the connectable device is excluded; After identity authentication, all connected devices that have passed authentication become potential target devices. If there are multiple devices that have passed authentication, they are sorted from high to low according to the dynamic matching score, and the connectable device with the highest score is selected as the final target device; if there is only one device that has passed authentication, then that device is the target device.

[0032] The stability of the connection matching is determined by regularly detecting the signal strength and communication quality information, wherein the communication quality information includes data transmission speed and error rate, and the unstable connection is interrupted and reconnection is attempted according to the detection result.

[0033] The Bluetooth device periodically starts the signal strength detection procedure according to the preset detection cycle; for example, the detection cycle can be set to perform a detection every 5 seconds; Read the signal strength indicator (RSSI) value between the current connected device and the Bluetooth device through the RF module; In each detection cycle, the amount of data sent by the Bluetooth device is recorded; According to the detection period T, the data transmission time is calculated; The data transmission speed is calculated based on the amount of data sent and the transmission time; During data transmission, the error checking mechanism (such as CRC check) in the Bluetooth protocol is used to count the amount of data transmitted errors during the detection period, and the error rate is calculated based on the total amount of data transmitted during the detection period. The communication quality information is obtained by comprehensively calculating the signal strength indicator (RSSI) value and the error rate; The current communication quality information value is compared with the threshold; if the communication quality information value is greater than the threshold, the connection matching is determined to be stable; If the communication quality information value is less than the threshold, it is determined that the connection matching is unstable.

[0034] When the connection match is determined to be unstable, the Bluetooth device immediately starts the connection interruption procedure. By sending a specific disconnection instruction, the communication link with the currently connected device is terminated. At the same time, the time and reason of the connection interruption (such as low signal strength, slow data transmission speed, high error rate) and other information are recorded.

[0035] After the connection is interrupted, the Bluetooth device rescans the surrounding connectable Bluetooth devices according to the search strategy in the adaptive connection matching operation based on environment perception to obtain a list of connectable devices.

[0036] According to the obtained list of connectable devices, the dynamic matching score of each device is recalculated, and the devices with high matching scores are preferentially tried to connect in descending order.

[0037] During the connection process, the authentication, key generation and exchange steps are repeated until the connection is successfully established or the preset number of retries is reached. If the connection is still not successful after the number of retries is reached, wait for the next detection cycle to try to reconnect again.

[0038] Embodiment 2, Figure 2 A flow chart of a low-power Bluetooth device connection matching detection method of the present invention is provided.

[0039] The Bluetooth device sends a broadcast signal to the surrounding environment, and the scanning device turns on the scanning function to scan the broadcast signal and identify the target device from the scanning results; Collect broadcast signal strength, interference signal characteristics, and environmental noise data in real time, evaluate the environmental complexity based on the environmental noise data and broadcast signal strength, and dynamically adjust the search strategy based on the environmental complexity to obtain a list of connectable devices; Acquire real-time status information, calculate a dynamic matching score of a connectable device according to the real-time status information, and authenticate the connectable device according to the dynamic matching score to obtain a target connecting device; The stability of the connection matching is determined by regularly detecting the signal strength and communication quality information, wherein the communication quality information includes data transmission speed and error rate, and the unstable connection is interrupted and reconnection is attempted according to the detection result.

[0040] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0041] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product.

[0042] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0043] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0044] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0045] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A low-power Bluetooth device connection matching detection system, characterized in that: The following steps are involved: The identification module is used for the Bluetooth device to send a broadcast signal to the surrounding environment, the scanning device to start the scanning function, scan the broadcast signal, and identify the target device from the scanning results; The acquisition module is used to collect broadcast signal strength, interference signal characteristics and environmental noise data in real time, evaluate the environmental complexity based on the environmental noise data and broadcast signal strength, and dynamically adjust the search strategy according to the environmental complexity to obtain a list of connectable devices; A verification module is used to obtain real-time status information, calculate a dynamic matching score of a connectable device according to the real-time status information, and authenticate the connectable device according to the dynamic matching score to obtain a target connection device; The detection module is used to determine the stability of connection matching by regularly detecting signal strength and communication quality information, wherein the communication quality information includes data transmission speed and error rate, and interrupt unstable connections and try to reconnect according to the detection results.

2. The low-power Bluetooth device connection matching detection system according to claim 1, characterized in that: The specific steps of the Bluetooth device sending a broadcast signal to the surrounding environment are: Bluetooth devices periodically construct advertising packets that contain basic information about the device, including device name, device type, service list, and advertising interval; Once the advertising packet is constructed, the Bluetooth device sends the advertising signal to the surrounding environment via wireless signals.

3. The low-power Bluetooth device connection matching detection system according to claim 2, characterized in that: The specific steps of the scanning device turning on the scanning function, scanning the broadcast signal, and identifying the target device from the scanning result are as follows: The scanning device starts the scanning program in the Bluetooth protocol stack and monitors the surrounding broadcast signals through active scanning; After receiving the broadcast signal, the broadcast signal is monitored according to the set scanning interval, and the received broadcast packet is analyzed to obtain device information; Filter the target device according to the device information in the advertising packet; When the scanning device identifies a qualified broadcast signal, it determines the target device based on the information in the broadcast packet; After identifying the target device, scan the device for subsequent operations.

4. The low-power Bluetooth device connection matching detection system according to claim 3, characterized in that: The process of obtaining the broadcast signal strength is as follows: Acquire the broadcast signal power through the wireless receiving device and calculate the broadcast signal strength in combination with the reference power; The interference signal characteristics include interference signal power, and the acquisition process is as follows: Discretely sampling the broadcast signal according to a predetermined sampling frequency to obtain a discrete signal sequence; And the discrete signal sequence is subjected to discrete Fourier transform, and the signal power spectrum density is calculated by using the periodogram method according to the signal sequence after discrete Fourier transform; The interference signal power is calculated by analyzing the spectrum of the interference signal according to the signal power spectrum density in the frequency band; The environmental noise acquisition process is as follows: obtaining environmental noise power through a wireless receiving device, and calculating environmental noise data in combination with reference power; Assess environmental complexity based on ambient noise data and broadcast signal strength.

5. The low-power Bluetooth device connection matching detection system according to claim 4, characterized in that: The process of obtaining a list of connectable devices is as follows: Dynamically adjust the search strategy according to the complexity of the environment. If the complexity of the environment is less than the preset threshold, it means that in a simple environment, the device uses the conventional fast scanning mode to obtain a list of connectable devices according to the scanning interval and frequency specified by the Bluetooth protocol; If the environmental complexity is greater than the preset threshold, it means that in a complex environment, it switches to the intelligent filtering scanning mode, inputs the monitored environmental signal data into the machine learning algorithm model, and classifies and filters the scanned Bluetooth signals based on the pre-stored interference and effective device signal characteristics, retaining only potential effective device signals, and then further scans and analyzes to obtain detailed device information to form an accurate list of connectable devices.

6. The low-power Bluetooth device connection matching detection system according to claim 5, characterized in that: The dynamic matching score process of the connectable device is as follows: Pre-establish the battery capacity-voltage calibration curve and obtain the capacity percentage through linear interpolation; Read the current working mode information from the internal status register, which stores the working mode information in binary code form; The Bluetooth device sends a request to the connectable device through a specific status query instruction in the Bluetooth communication protocol; After receiving the request, the connectable device performs the same operation as its own status information, obtains its own power percentage and working mode, and packages and replies to the Bluetooth device; The dynamic matching score of each connectable device is calculated based on its own power percentage and working mode combined with the interference signal characteristics, according to the pre-built device status and environmental factor association model.

7. The low-power Bluetooth device connection matching detection system according to claim 6, characterized in that: The process of authenticating a connectable device based on a dynamic matching score is as follows: Compare the calculated dynamic matching score of each connectable device with the threshold, and for connectable devices with a score greater than the threshold, enter the identity authentication process; For connectable devices whose size is smaller than the threshold, they are temporarily excluded from connection consideration.

8. The low-power Bluetooth device connection matching detection system according to claim 7, characterized in that: The process of obtaining the target connection device is as follows: Compare the calculated dynamic matching score of each connectable device with the threshold, and for connectable devices with a score greater than the threshold, enter the identity authentication process; After authentication, all connected devices that pass the authentication become potential target connected devices; If there are multiple devices that have passed the verification, they are sorted from high to low according to the dynamic matching scores, and the connectable device with the highest score is selected as the final target connection device; If there is only one device that passes the authentication, then that device is the target connection device.

9. The low-power Bluetooth device connection matching detection system according to claim 8, characterized in that: The process of judging the stability of connection matching by regularly checking signal strength and communication quality information is as follows: The Bluetooth device periodically starts the signal strength detection procedure according to the preset detection cycle; Read the signal strength indicator value between the current and connected device through the radio frequency module of the Bluetooth device; In each detection cycle, the amount of data sent by the Bluetooth device is recorded; according to the detection cycle T, the data transmission time is calculated; the data transmission speed is calculated according to the amount of data sent and the transmission time; During the data transmission process, the error checking mechanism in the Bluetooth protocol is used to count the amount of data transmitted with errors during the detection period, and the error rate is calculated based on the total amount of data transmitted during the detection period. The communication quality information is obtained by comprehensive calculation based on the signal strength indicator value and the error rate; The communication quality information and the signal strength indicator value are comprehensively calculated to obtain a matching detection value; Compare the current match detection value with the threshold; If the match detection value is greater than the threshold, the connection match is determined to be stable; If the match detection value is less than the threshold, the connection match is determined to be unstable.

10. A low-power Bluetooth device connection matching detection method, characterized in that: The following steps are involved: The Bluetooth device sends a broadcast signal to the surrounding environment, and the scanning device turns on the scanning function to scan the broadcast signal and identify the target device from the scanning results; Collect broadcast signal strength, interference signal characteristics, and environmental noise data in real time, evaluate the environmental complexity based on the environmental noise data and broadcast signal strength, and dynamically adjust the search strategy based on the environmental complexity to obtain a list of connectable devices; Acquire real-time status information, calculate a dynamic matching score of a connectable device according to the real-time status information, and authenticate the connectable device according to the dynamic matching score to obtain a target connecting device; The stability of the connection matching is determined by regularly detecting the signal strength and communication quality information, wherein the communication quality information includes data transmission speed and error rate, and the unstable connection is interrupted and reconnection is attempted according to the detection result.

Citation Information

Patent Citations

  • Method and system for rapidly pairing connection of Bluetooth equipment

    CN104918206A

  • Bluetooth earphone automatic pairing method and device for multi-terminal switching

    CN119402935A

  • Data transmission method and apparatus, storage medium, and terminal device

    US20220330000A1

  • Pairing connection method and system for terminal devices

    WO2016192350A1

  • Device connection method and apparatus, first device, and computer readable storage medium

    WO2023202161A1

Cited By

  • Star flash and Bluetooth signal stability detection and improvement method and device

    CN120034886A

  • Method and device for detecting and improving stability of SparkLink and Bluetooth signals

    CN120034886B

  • Projection screen connection method and device, medium and equipment

    CN120751196A

  • Communication pairing method, system and equipment of electronic equipment and control device, and medium

    CN121174148A

  • Data transmission method and device based on equipment reconnection mechanism

    CN121262643A