Star flash and Bluetooth signal stability detection and improvement method and device
Through the intelligent device, the stability of signal reception strength is analyzed in real time and the connection is dynamically arranged, solving the problem of unstable switching between smart devices between multiple wireless communication protocols, and achieving efficient and stable connections.
Patent Information
- Application Number
- CN202510495295.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-04-21
AI Technical Summary
现有技术在支持多种无线通信协议的智能设备中,缺乏自动化的机制进行设备间的快速、无缝切换,且信号接收强度的波动性和稳定性未被有效考虑,导致连接不稳定。
Through intelligent devices, the intelligent device is autonomously encrypted and paired with the star flash and Bluetooth host, the RSSI disconnection threshold and the back connection threshold are set, the stability of the signal reception strength is analyzed in real time, dynamically provision and reconnect, and actively initiate connection requests in a low-power state to ensure the stability of the signal.
It realizes automatic identification and switching of smart devices between multiple wireless communication protocols, improves the stability and efficiency of connections, reduces user usage costs, and improves user experience and device usage flexibility.
Smart Images

Figure CN120034886A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment communication, and in particular to a method and device for detecting and improving the stability of star flash and Bluetooth signals. Background Art
[0002] With the popularity of smart devices, especially various smart devices that support wireless communication have gradually become part of daily life and work, the interconnection between devices has become an important demand. The existing technology mainly designs connection solutions for a single wireless communication protocol, which usually requires the device and the host to establish a communication connection through pairing. However, with the increasing complexity of the connection requirements between devices, many smart devices need to support multiple wireless communication protocols and be able to automatically switch to the host with the strongest signal according to actual conditions, thereby improving user experience and device efficiency. Although the existing technology provides a relatively complete solution for single protocol connections, there are still certain technical challenges in supporting automatic switching of multiple protocols.
[0003] The prior art has the following deficiencies: Existing wireless communication technologies mainly focus on the application of a single protocol, such as Bluetooth or Wi-Fi, and the switching between devices and hosts is usually manually controlled by users. For smart devices that support multiple protocols such as Star Flash and Bluetooth, most of them lack an automated mechanism when switching between multiple devices, which requires users to manually operate when using different devices, and cannot achieve fast and seamless switching. In addition, existing wireless communication technologies usually only rely on a fixed signal strength threshold to determine whether to switch connections, ignoring the volatility and stability of signal reception strength, resulting in device connections that are easily interrupted or unstable when the signal is unstable, thereby affecting the user experience. For this reason, how to realize automatic identification and switching of smart devices between multiple communication protocols, and ensure the stability and efficiency of the connection, is still a difficulty in current technology. Summary of the invention
[0004] The object of the present invention is to provide a method and device for detecting and improving the stability of star flash and Bluetooth signals to solve the problems in the above background.
[0005] The purpose of the present invention can be achieved through the following technical solutions: The method for detecting and improving the stability of star flash and Bluetooth signals includes the following steps: S1: The smart device performs autonomous encryption pairing with the Star Flash host and the Bluetooth host; S2: Based on the RSSI connection status set by the host, set the RSSI disconnection threshold and RSSI reconnection threshold; The RSSI is the signal receiving strength; S3: Filter the received signal and analyze the stability of the signal reception strength according to the fluctuation degree of the received signal reception strength RSSI value; S4: Based on the analysis results, the signal stability of the unstable host is improved; S5: Dynamically adjust the reconnection of smart devices; S6: In the low power consumption state, if it is detected that the signal reception strength of the host exceeds the reconnection threshold, a connection request with the host is actively initiated.
[0006] As a further solution of the present invention: the smart device performs autonomous encryption pairing with the Xingshan host and the Bluetooth host, specifically including: Device discovery: Smart devices search and identify pairable objects; Authentication: Verify your identity by means of a password or PIN code; Key exchange: Generate and exchange encryption keys to ensure communication security; Connection establishment: After pairing is completed, a stable connection is established between the devices.
[0007] As a further solution of the present invention: the stability of the analysis signal reception strength specifically includes: Obtain the fluctuation amplitude value of the signal reception strength, and calculate the signal amplitude abnormal fluctuation coefficient according to the fluctuation amplitude of the signal reception strength, so as to evaluate whether the fluctuation of the signal reception strength is abnormal; The signal smoothness of the signal receiving strength is obtained, and the signal smoothness abnormality coefficient is calculated according to the smoothness of the signal change, which is used to evaluate the continuity of the signal change over time; The signal amplitude abnormal fluctuation coefficient and the signal stability abnormal coefficient are normalized and calculated, the signal reception quality coefficient is calculated, and it is determined whether the signal stability abnormal coefficient is greater than or equal to a preset threshold. If so, it means that the signal reception strength is stable, if not, it means that the signal reception strength is unstable.
[0008] As a further solution of the present invention: the process of obtaining the abnormal fluctuation coefficient of the signal amplitude is: Obtain the signal reception strength sequence between the smart device and the host, and perform wavelet transform decomposition to extract the low-frequency and high-frequency components of the signal; The signal reception strength sequence is decomposed by discrete wavelet transform to obtain the approximate coefficient and detail coefficient of the signal. The calculation expression is: ; in, Indicates The approximation coefficient of the layer, express The detail factor of the layer, Indicates the number of layers of wavelet transform; Based on the detail coefficient after wavelet transform, the fluctuation amplitude of the signal amplitude fluctuation signal is calculated. The calculation expression is: ; In the formula, express The fluctuation amplitude of the layer signal, represents the number of signal samples, Represents the total number of signal samples, represents the average value of detail coefficient; By comparing the current signal fluctuation range with the expected value of the historical fluctuation range, the signal amplitude abnormal fluctuation coefficient is calculated. The calculation expression is: ; number, Indicates the abnormal fluctuation coefficient of signal amplitude, Represents the mean of historical signal amplitude fluctuations.
[0009] As a further solution of the present invention: the process of obtaining the abnormal coefficient of signal stability is as follows: Acquire a signal reception strength sequence, and use empirical mode decomposition to decompose the signal into multiple intrinsic mode functions; The signal is decomposed into several intrinsic mode functions and residual terms with different frequencies. The decomposition formula is: ; in, Indicates the acquired signal, represents the number of eigenmode functions, is a positive integer greater than 0, represents the total number of eigenmode functions, Indicates The intrinsic mode functions, is the residual term, Indicates the signal acquisition time point; Calculate the fluctuation amplitude of each eigenmode function, and the calculation expression is: ; In the formula, Indicates The fluctuation amplitude of the eigenmode function, represents the sampling point, is a positive integer greater than 0, represents the total number of sampling points, Indicates The mean of the eigenmode functions, Indicates Sampling point Intrinsic mode functions; Calculate the signal's stationarity measure, the calculation expression is: ; In the formula, Represents a measure of signal stationarity; The stability measure of the current signal is calculated by comparing it with the stability measure of the historical signal to obtain the signal stability abnormality coefficient, which is recorded as .
[0010] As a further solution of the present invention: based on the analysis result, the signal stability of the unstable host signal reception is improved, which specifically includes: Receive signal strength data from unstable hosts in real time and record the signal value at each moment; Calculate the change between the current signal strength and the previous signal strength. The calculation expression is: ; In the formula, Indicates the signal acquisition time point, Indicates the amount of change, Indicates the signal strength at the current moment. Indicates the signal strength at the last moment; According to the change Compare with the preset threshold and dynamically adjust the filter coefficient ; Determine the amount of change Is it greater than the preset threshold? If so, reduce the filter coefficient. If not, increase the filter coefficient ; According to the dynamically adjusted filter coefficient , perform a first-order low-pass filter on the received signal, and the calculation expression is: ; In the formula, Indicates the signal strength after filtering at the current moment, Indicates the signal strength after filtering at the last moment; The filtered signal strength Output for subsequent signal processing.
[0011] As a further solution of the present invention: the dynamic allocation of the reconnection of the smart device specifically includes: Determine the maximum value of the RSSI value of the signal received strength among the unconnected hosts as the first characteristic value, and use the corresponding host as the first host; Determine the minimum value of the RSSI value of the signal received by the connected hosts as the second characteristic value, and use the corresponding host as the second host; When the first characteristic value exceeds the second characteristic value, the first host is switched to be connected, and the second host is switched to be disconnected.
[0012] Star flash and Bluetooth signal stability detection and improvement device, including: A pairing management module, which enables the smart device to perform autonomous encryption pairing with the Xingshan host and the Bluetooth host; An RSSI threshold management module, which sets an RSSI disconnection threshold and an RSSI reconnection threshold based on the RSSI connection status set by the host; A signal monitoring module, which filters the received signal, analyzes the fluctuation degree of the received RSSI value, and evaluates the stability of the signal reception strength; A signal optimization module, which applies a filtering algorithm signal enhancement technology to improve signal stability for unstable host signals based on the analysis results provided by the signal monitoring module; A connection decision module, which dynamically arranges the reconnection of the smart device; A low power management module, if the low power management module detects that the signal reception strength of a host exceeds its RSSI reconnection threshold, it will actively initiate a connection request with the host to re-establish the connection.
[0013] Beneficial effects of the present invention: (1) In the Star Flash and Bluetooth signal stability detection and improvement proposed in this application, the smart device supports pairing and connection with multiple Star Flash hosts and Bluetooth hosts of different wireless communication protocols, and broadcasts / receives Star Flash and Bluetooth broadcast data at the same time. By obtaining the signal reception strength RSSI values of all paired hosts in real time and making comprehensive judgments with their RSSI disconnection thresholds and RSSI reconnection thresholds, the communication connection between the smart device and multiple Star Flash hosts and Bluetooth hosts can be automatically identified and switched. Compared with a single wireless communication protocol smart device that cannot connect and switch between multiple wireless communication protocol hosts and needs to purchase multiple single wireless communication protocol smart devices to pair and connect to hosts with different wireless communication protocols, the user's use cost is reduced and the flexibility of smart device use and user experience are improved.
[0014] (2) In-depth analysis and optimization of the stability of signal reception strength, thereby improving the quality and reliability of the communication connection between smart devices and hosts. Smart devices obtain the RSSI values of the signal reception strength of all hosts in real time, and analyze the stability of the signal reception strength through a series of complex calculation and evaluation methods. By accurately measuring the fluctuation amplitude of the signal reception strength, the low-frequency and high-frequency components of the signal are decomposed using wavelet transform, and the abnormal fluctuation coefficient of the signal amplitude is calculated to evaluate whether the fluctuation of the signal reception strength is abnormal. The empirical mode decomposition technology is used to decompose the signal into multiple intrinsic mode functions, calculate the fluctuation amplitude of each function and comprehensively obtain the signal stability measurement, so as to obtain the abnormal coefficient of signal stability. These detailed analyses help smart devices accurately identify changes in signal quality and discover potential unstable factors in a timely manner. Based on the analysis results, for the detected unstable signal, the smart device can dynamically adjust the filter coefficient and perform first-order low-pass filtering on the received signal to effectively smooth the change of signal strength and improve the stability of the signal. This method not only improves the quality of signal reception and reduces the connection interruption or instability caused by signal fluctuations, but also enhances the adaptability of smart devices in complex environments. In addition, this continuous monitoring and optimization mechanism for the stability of signal reception strength enables smart devices to more efficiently manage switching operations with different hosts while maintaining high-quality communication. Even in environments where signal conditions change rapidly or are changeable, the continuity and stability of the connection can be ensured, greatly improving the user experience. Therefore, from the perspective of signal reception strength stability, the present invention not only solves the problem of automatic identification and switching between multi-protocol smart devices, but also provides strong support in ensuring communication quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The present invention will be further described below in conjunction with the accompanying drawings.
[0016] Figure 1 It is a flowchart of the specific steps of the method for detecting and improving the stability of star flash and Bluetooth signals of the present invention; Figure 2 It is a flow chart of the device for detecting and improving the stability of star flash and Bluetooth signals in the present invention. DETAILED DESCRIPTION
[0017] 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.
[0018] See also Figure 1As shown, the present invention is a method and device for detecting and improving the stability of star flash and Bluetooth signals, comprising the following steps: S1: The smart device performs autonomous encryption pairing with the Star Flash host and the Bluetooth host; S2: Based on the RSSI connection status set by the host, set the RSSI disconnection threshold and RSSI reconnection threshold; The RSSI is the signal receiving strength; S3: Filter the received signal and analyze the stability of the signal reception strength according to the fluctuation degree of the received signal reception strength RSSI value; S4: Based on the analysis results, the signal stability of the unstable host is improved; S5: Dynamically adjust the reconnection of smart devices; S6: In the low-power wake-up state, the smart device receives the heartbeat broadcast data sent by all hosts from time to time. If it detects that the signal reception strength RSSI value of a host exceeds the corresponding reconnection threshold, it actively initiates a connection request with the corresponding host; The heartbeat broadcast data refers to a signal that is periodically sent between the smart device and the host to maintain a connection status.
[0019] In S1, device discovery: the smart device searches for and identifies the pairable object; Authentication: Verify your identity by means of a password or PIN code; Key exchange: Generate and exchange encryption keys to ensure communication security; Connection establishment: After pairing is completed, a stable connection is established between the devices.
[0020] In S2, based on the RSSI connection status set by the host, the RSSI disconnection threshold and RSSI reconnection threshold are set. The RSSI disconnection threshold refers to the signal strength indication value received last time when the connection between the smart device and the host is disconnected; the RSSI reconnection threshold refers to the signal strength indication value received when the smart device is reconnected to the host. The connection status of the smart device and the host is determined by judging and analyzing the signal reception strength RSSI value when the smart device is connected to the host.
[0021] In S3, the received signal is filtered, and the stability of the signal reception strength is analyzed according to the fluctuation degree of the received signal reception strength RSSI value, which specifically includes: Obtain the fluctuation amplitude value of the signal reception strength, and calculate the signal amplitude abnormal fluctuation coefficient according to the fluctuation amplitude of the signal reception strength, so as to evaluate whether the fluctuation of the signal reception strength is abnormal; The signal smoothness of the signal receiving strength is obtained, and the signal smoothness abnormality coefficient is calculated according to the smoothness of the signal change, which is used to evaluate the continuity of the signal change over time; The signal amplitude abnormal fluctuation coefficient and the signal stability abnormal coefficient are normalized and calculated, the signal reception quality coefficient is calculated, and it is determined whether the signal stability abnormal coefficient is greater than or equal to a preset threshold. If so, it means that the signal reception strength is stable, if not, it means that the signal reception strength is unstable.
[0022] The process of obtaining the abnormal fluctuation coefficient of the signal amplitude is as follows: Obtain the signal reception strength sequence between the smart device and the host, and perform wavelet transform decomposition to extract the low-frequency and high-frequency components of the signal; The signal reception strength sequence is decomposed by discrete wavelet transform to obtain the approximate coefficient and detail coefficient of the signal. The calculation expression is: ; in, Indicates The approximation coefficient of the layer, express The detail factor of the layer, Indicates the number of layers of wavelet transform; Based on the detail coefficient after wavelet transform, the fluctuation amplitude of the signal amplitude fluctuation signal is calculated. The calculation expression is: ; In the formula, express The fluctuation amplitude of the layer signal, represents the number of signal samples, Represents the total number of signal samples, represents the average value of detail coefficient; By comparing the current signal fluctuation range with the expected value of the historical fluctuation range, the signal amplitude abnormal fluctuation coefficient is calculated. The calculation expression is: ; number, Indicates the abnormal fluctuation coefficient of signal amplitude, Represents the mean of historical signal amplitude fluctuations; The process of obtaining the signal stability abnormality coefficient is as follows: Acquire a signal reception strength sequence, and use empirical mode decomposition to decompose the signal into multiple intrinsic mode functions; The signal is decomposed into several intrinsic mode functions and residual terms with different frequencies. The decomposition formula is: ; in, Indicates the acquired signal, represents the number of eigenmode functions, is a positive integer greater than 0, represents the total number of eigenmode functions, Indicates The intrinsic mode functions, is the residual term, Indicates the signal acquisition time point; Calculate the fluctuation amplitude of each eigenmode function, and the calculation expression is: ; In the formula, Indicates The fluctuation amplitude of the eigenmode function, represents the sampling point, is a positive integer greater than 0, represents the total number of sampling points, Indicates The mean of the eigenmode functions, Indicates Sampling point Intrinsic mode functions; Calculate the signal's stationarity measure, the calculation expression is: ; In the formula, Represents a measure of signal stationarity; The stability measure of the current signal is calculated by comparing it with the stability measure of the historical signal to obtain the signal stability abnormality coefficient, which is recorded as , The calculation expression of the quality coefficient is: ; In the formula, represents the quality coefficient, and is the preset scale factor, and and are greater than 0, Indicates the abnormal fluctuation coefficient of signal amplitude, Indicates the abnormal coefficient of signal stability.
[0023] In S4, based on the analysis results, the signal stability of unstable host signal reception is improved, including: Receive signal strength data from unstable hosts in real time and record the signal value at each moment; Calculate the change between the current signal strength and the previous signal strength. The calculation expression is: ; In the formula, Indicates the signal acquisition time point, Indicates the amount of change, Indicates the signal strength at the current moment. Indicates the signal strength at the last moment; According to the change Compare with the preset threshold and dynamically adjust the filter coefficient ; Determine the amount of change Is it greater than the preset threshold? If so, reduce the filter coefficient. If not, increase the filter coefficient ; According to the dynamically adjusted filter coefficient , perform a first-order low-pass filter on the received signal, and the calculation expression is: ; In the formula, Indicates the signal strength after filtering at the current moment, Indicates the signal strength after filtering at the last moment; The filtered signal strength Output for subsequent signal processing.
[0024] In S5, the reconnection of smart devices is dynamically allocated, including: Determine the maximum value of the RSSI value of the signal received strength among the unconnected hosts as the first characteristic value, and use the corresponding host as the first host; Determine the minimum value of the RSSI value of the signal received by the connected hosts as the second characteristic value, and use the corresponding host as the second host; When the first characteristic value exceeds the second characteristic value, the first host is switched to be connected, and the second host is switched to be disconnected.
[0025] It should be noted that: when the smart device is in the low-power wake-up state, it receives the Star Flash and Bluetooth broadcast data sent by all hosts at irregular heartbeats. After determining that the host is a paired host, it obtains the signal reception strength RSSI values of all hosts and makes judgments based on their corresponding RSSI reconnection thresholds. The smart device determines that the host whose signal reception strength RSSI value is greater than its RSSI reconnection threshold is a connected host, actively sends a connection instruction and establishes a Star Flash or Bluetooth connection with the host; when the smart device determines that the signal reception strength RSSI values of all hosts are less than their corresponding RSSI reconnection thresholds, the smart device continues to enter the low-power wake-up state.
[0026] See also Figure 2 As shown, the star flash and Bluetooth signal stability detection and improvement device includes: A pairing management module, which enables the smart device to perform autonomous encryption pairing with the Xingshan host and the Bluetooth host; An RSSI threshold management module, which sets an RSSI disconnection threshold and an RSSI reconnection threshold based on the RSSI connection status set by the host; A signal monitoring module, which filters the received signal, analyzes the fluctuation degree of the received RSSI value, and evaluates the stability of the signal reception strength; A signal optimization module, which applies a filtering algorithm signal enhancement technology to improve signal stability for unstable host signals based on the analysis results provided by the signal monitoring module; A connection decision module, which dynamically arranges the reconnection of the smart device; A low power management module, if the low power management module detects that the signal reception strength of a host exceeds its RSSI reconnection threshold, it will actively initiate a connection request with the host to re-establish the connection.
[0027] Working principle of the present invention: The present invention enables the smart device to be compatible with two wireless communication protocols, Star Flash and Bluetooth, and to pair and connect with multiple hosts (at least one Star Flash host and one Bluetooth host) by broadcasting data packets of these two protocols at the same time. The smart device not only obtains and saves the RSSI disconnection threshold and reconnection threshold of each host, but also monitors the signal reception strength (RSSI value) of all hosts in real time while maintaining a connection with a certain host, and determines whether it is necessary to perform adaptive switching connection between hosts by analyzing these values. When the smart device detects that the signal strength of the currently connected host is weakened and there is another host with a stronger signal, it automatically disconnects from the current host and establishes a new connection with the host component with the strongest signal. In addition, in the low-power wake-up state, the smart device can also receive heartbeat broadcast data from all hosts, and decide whether to actively initiate a connection request based on the signal strength, thereby achieving seamless switching connection and improving user experience and device flexibility. This method is particularly suitable for smart electronic devices such as keyboards that need to frequently switch between different devices, and realizes efficient communication connection across protocols.
[0028] 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.
[0029] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0030] It should be understood that the term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
[0031] In addition, the character “ / ” in this article generally indicates that the previous and next associated objects are in an “or” relationship, but it may also indicate an “and / or” relationship. Please refer to the previous and next context for specific understanding.
[0032] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0033] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A method for detecting and improving the stability of star flash and Bluetooth signals, characterized in that: The following steps are involved: S1: The smart device performs autonomous encryption pairing with the Star Flash host and the Bluetooth host; S2: Based on the RSSI connection status set by the host, set the RSSI disconnection threshold and RSSI reconnection threshold; The RSSI is the signal receiving strength; S3: Filter the received signal and analyze the stability of the signal reception strength according to the fluctuation degree of the received signal reception strength RSSI value; S4: Based on the analysis results, the signal stability of the unstable host is improved; S5: Dynamically adjust the reconnection of smart devices; S6: In the low power consumption state, if it is detected that the signal reception strength of the host exceeds the reconnection threshold, a connection request with the host is actively initiated.
2. The method for detecting and improving the stability of star flash and Bluetooth signals according to claim 1, characterized in that: The smart device performs autonomous encryption pairing with the Xingshan host and the Bluetooth host, specifically including: Device discovery: Smart devices search and identify pairable objects; Authentication: Verify identity by means of a password or PIN code; Key exchange: Generate and exchange encryption keys to ensure communication security; Connection establishment: After pairing is completed, a stable connection is established between the devices.
3. The method for detecting and improving the stability of star flash and Bluetooth signals according to claim 1, characterized in that: The stability of the analysis signal reception strength specifically includes: Obtain the fluctuation amplitude value of the signal reception strength, and calculate the signal amplitude abnormal fluctuation coefficient according to the fluctuation amplitude of the signal reception strength, so as to evaluate whether the fluctuation of the signal reception strength is abnormal; The signal smoothness of the signal receiving strength is obtained, and the signal smoothness abnormality coefficient is calculated according to the smoothness of the signal change, which is used to evaluate the continuity of the signal change over time; The signal amplitude abnormal fluctuation coefficient and the signal stability abnormal coefficient are normalized and calculated, the signal reception quality coefficient is calculated, and it is determined whether the signal stability abnormal coefficient is greater than or equal to a preset threshold. If so, it means that the signal reception strength is stable, if not, it means that the signal reception strength is unstable.
4. The method for detecting and improving the stability of star flash and Bluetooth signals according to claim 3, characterized in that: The process of obtaining the abnormal fluctuation coefficient of the signal amplitude is as follows: Obtain the signal reception strength sequence between the smart device and the host, and perform wavelet transform decomposition to extract the low-frequency and high-frequency components of the signal; The signal reception strength sequence is decomposed by discrete wavelet transform to obtain the approximate coefficient and detail coefficient of the signal. The calculation expression is: ; in, Indicates The approximation coefficient of the layer, express The detail factor of the layer, Indicates the number of layers of wavelet transform; Based on the detail coefficient after wavelet transform, the fluctuation amplitude of the signal amplitude fluctuation signal is calculated. The calculation expression is: ; In the formula, express The fluctuation amplitude of the layer signal, represents the number of signal samples, Represents the total number of signal samples, represents the average value of detail coefficient; By comparing the current signal fluctuation range with the expected value of the historical fluctuation range, the signal amplitude abnormal fluctuation coefficient is calculated. The calculation expression is: ; number, Indicates the abnormal fluctuation coefficient of signal amplitude, Represents the mean of historical signal amplitude fluctuations.
5. The method for detecting and improving the stability of star flash and Bluetooth signals according to claim 3, characterized in that: The process of obtaining the signal stability abnormality coefficient is as follows: Acquire a signal reception strength sequence, and use empirical mode decomposition to decompose the signal into multiple intrinsic mode functions; The signal is decomposed into several intrinsic mode functions and residual terms with different frequencies. The decomposition formula is: ; in, Indicates the acquired signal, represents the number of eigenmode functions, is a positive integer greater than 0, represents the total number of eigenmode functions, Indicates The intrinsic mode functions, is the residual term, Indicates the signal acquisition time point; Calculate the fluctuation amplitude of each eigenmode function, and the calculation expression is: ; In the formula, Indicates The fluctuation amplitude of the eigenmode function, represents the sampling point, is a positive integer greater than 0, represents the total number of sampling points, Indicates The mean of the eigenmode functions, Indicates Sampling point Intrinsic mode functions; Calculate the signal's stationarity measure, the calculation expression is: ; In the formula, Represents a measure of signal stationarity; The stability measure of the current signal is calculated by comparing it with the stability measure of the historical signal to obtain the signal stability abnormality coefficient, which is recorded as .
6. The method for detecting and improving the stability of star flash and Bluetooth signals according to claim 1, characterized in that: Based on the analysis results, the signal stability of the unstable host is improved, specifically including: Receive signal strength data from unstable hosts in real time and record the signal value at each moment; Calculate the change between the current signal strength and the previous signal strength. The calculation expression is: ; In the formula, Indicates the signal acquisition time point, Indicates the amount of change, Indicates the signal strength at the current moment. Indicates the signal strength at the last moment; According to the change Compare with the preset threshold and dynamically adjust the filter coefficient ; Determine the amount of change Is it greater than the preset threshold? If so, reduce the filter coefficient. If not, increase the filter coefficient ; According to the dynamically adjusted filter coefficient , perform a first-order low-pass filter on the received signal, and the calculation expression is: ; In the formula, Indicates the signal strength after filtering at the current moment, Indicates the signal strength after filtering at the last moment; The filtered signal strength Output for subsequent signal processing.
7. The method for detecting and improving the stability of star flash and Bluetooth signals according to claim 1, characterized in that: The dynamic allocation of the reconnection of the smart device specifically includes: Determine the maximum value of the RSSI value of the signal received strength among the unconnected hosts as the first characteristic value, and use the corresponding host as the first host; Determine the minimum value of the RSSI value of the signal received by the connected hosts as the second characteristic value, and use the corresponding host as the second host; When the first characteristic value exceeds the second characteristic value, the first host is switched to be connected, and the second host is switched to be disconnected.
8. A device for detecting and improving the stability of star flash and Bluetooth signals, characterized in that: The method for detecting and improving the stability of star flash and Bluetooth signals according to any one of claims 1 to 7 comprises: A pairing management module, which enables the smart device to perform autonomous encryption pairing with the Xingshan host and the Bluetooth host; An RSSI threshold management module, which sets an RSSI disconnection threshold and an RSSI reconnection threshold based on the RSSI connection status set by the host; A signal monitoring module, which filters the received signal, analyzes the fluctuation degree of the received RSSI value, and evaluates the stability of the signal reception strength; A signal optimization module, which applies a filtering algorithm signal enhancement technology to improve signal stability for unstable host signals based on the analysis results provided by the signal monitoring module; A connection decision module, which dynamically arranges the reconnection of the smart device; A low power management module, if the low power management module detects that the signal reception strength of a host exceeds its RSSI reconnection threshold, it will actively initiate a connection request with the host to re-establish the connection.
Citation Information
Patent Citations
Bluetooth satellite flash protocol self-adaptive calling method, system and terminal
CN118843153A
Vehicle key anti-lost method based on Bluetooth and star flash two-in-one
CN119155377A
Equipment connection method, electronic equipment and computer readable storage medium
CN119545578A
Low-power-consumption Bluetooth device connection matching detection system and method
CN119854966A
Data processing method based on DVB, DVB device, and readable storage medium
US20250106459A1
Cited By
Adaptive anti-interference communication method and system based on star flash-Bluetooth dual mode
CN120263320A
Heterogeneous network convergence-based wifi7 communication module adaptive communication method
CN120390238A
Adaptive communication method of wifi7 communication module based on heterogeneous network fusion
CN120390238B
Wireless connection control method and system for multifunctional leather sheath keyboard
CN122120810A