Method and device for detecting operation of a bluetooth positioning beacon, and storage medium

CN122994825APending Publication Date: 2026-10-27BEIJING ZHONGKE MEDICAL INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611082904.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-21
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0005]本发明的目的在于提供一种蓝牙定位信标的运行检测方法、装置及存储介质,以解决现有技术存在的检测维度单一、无法全面、准确地评估信标运行健康状态的问题

Benefits of technology

[0069]本发明的有益效果如下:本发明不在依赖单一指标进行异常判定的局限,从信号一致性分量、广播稳定性分量和供电充足性分量三个维度综合评估信标的运行健康度,三个分量在物理失效模式上相互独立、互为补充,任一维度的异常均可被有效捕获,避免了单一维度检测的漏判和误判,实现了对信标运行健康度的全面、精准量化。通过蓝牙网关在各信道采样获取底噪强度值和同频干扰信号数量,构建了双维度的环境干扰系数,并据此对信标-网关空间信号矩阵中的接收信号强度指示值进行修正。这一机制有效消除了室内复杂电磁环境中不同网关部署位置因Wi-Fi、蓝牙设备等2.4GHz同频干扰源导致的接收信号强度指示值测量偏差,使健康度评估聚焦于信标自身状态变化,避免了环境噪声对检测结果的误导。本发明将运行健康度初始值、趋势一致性指标和可解码性指数融合为统一的健康衰减预警指数,并通过第一预警阈值和第二预警阈值将连续风险评分转化为三级预警等级。三级预警机制有效平衡了告警的及时性与误报率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122994825A_ABST
    Figure CN122994825A_ABST
Patent Text Reader

Abstract

The present application relates to beacon positioning technology field, especially to a kind of blue tooth positioning beacon's operation detection method, device and storage medium, the method includes: based on the received signal strength indication value of each blue tooth gateway constructs beacon-gateway space signal matrix;According to the received signal strength indication value of each beacon theory received signal strength indication value and constructs signal consistency deviation index;Based on environmental interference coefficient, beacon-gateway space signal matrix is corrected to environment;According to the time series of the initial value of operation health degree constructed by the broadcast interval and battery power report value in the beacon-gateway space signal matrix after correction;Based on decodability index, signal consistency component is corrected;Based on operation health degree initial value, trend consistency index and decodability index, construct health attenuation early warning index, and carry out hierarchical early warning.The present application effectively improves the accuracy of detecting beacon health state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of beacon positioning technology, and in particular to a method, apparatus and storage medium for detecting the operation of a Bluetooth positioning beacon. Background Technology

[0002] Bluetooth beacons, as a low-power, low-cost location service infrastructure, have been widely used in scenarios such as indoor navigation, asset tracking, smart retail, medical monitoring, and industrial inspection. By deploying Bluetooth beacons in a target area and cooperating with Bluetooth gateways or mobile terminals to scan their broadcast signals, meter-level to sub-meter-level indoor positioning services can be achieved based on the received signal strength indication value. With the advancement of the Internet of Things and smart city construction, the number of Bluetooth beacons deployed in large indoor venues often reaches hundreds or thousands. These beacons operate unattended for extended periods, and their operational health directly affects the availability and accuracy of positioning services.

[0003] Several solutions have been proposed for monitoring the operational status of Bluetooth beacons. For example, one approach involves using a Bluetooth beacon gateway to confirm the beacon's broadcast counting cycle and querying and configuring it when the beacon is in a silent state, thus monitoring its operational status. Another approach is to receive the Bluetooth beacon's broadcast signal in real time and calculate link loss, performing targeted detection when the link loss calculation times out. However, existing technologies suffer from several shortcomings. They rely on a single detection dimension, failing to comprehensively consider multiple health indicators such as signal strength consistency, broadcast interval stability, and battery adequacy, making it difficult to comprehensively and accurately assess the beacon's operational health. Furthermore, they do not consider the impact of environmental interference. Indoor environments contain co-channel interference sources in the 2.4GHz band, such as Wi-Fi signals, other Bluetooth devices, and microwave ovens, and the electromagnetic environment varies significantly depending on the location of the Bluetooth gateway.

[0004] To address the aforementioned issues, this invention provides a method, apparatus, and storage medium for detecting the operation of Bluetooth positioning beacons. It collects multi-dimensional data, including received signal strength indications, broadcast intervals, battery power, and ambient noise levels, through multi-gateway collaborative acquisition. A beacon-gateway spatial signal matrix is ​​constructed, and missing values ​​are filled in and environmental corrections are applied. An operational health scoring system is established by integrating three components: signal consistency, broadcast stability, and power supply adequacy. This system is then corrected by considering the initial health value sequence trend and decodeability index. Finally, a health attenuation warning index is constructed, enabling tiered warnings. This achieves comprehensive, accurate, and real-time detection and warning of the operational health of Bluetooth positioning beacons. Summary of the Invention

[0005] The purpose of this invention is to provide a method, device, and storage medium for detecting the operation of Bluetooth positioning beacons, so as to solve the problem that the existing technology has a single detection dimension and cannot comprehensively and accurately assess the operational health status of the beacons.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A method for detecting the operation of a Bluetooth positioning beacon, comprising:

[0008] The Euclidean distance from the beacon to each Bluetooth gateway is obtained based on the beacon-gateway spatial signal matrix, and a signal consistency deviation index is constructed based on the theoretical received signal strength indication value and the received signal strength indication value of each beacon.

[0009] Based on the noise floor intensity value and the number of co-frequency interference signals, the environmental interference coefficient of each Bluetooth gateway is constructed, and the environmental correction of the beacon-gateway spatial signal matrix is ​​performed using the environmental interference coefficient corresponding to each beacon when it is received by each Bluetooth gateway.

[0010] Based on the corrected beacon-gateway spatial signal matrix, and combined with the time series of the initial values ​​of operational health constructed from the broadcast intervals and battery power reports of each beacon, the health change trend characteristics of each beacon are obtained. The health change trend characteristics include short-term trends and long-term trends.

[0011] A signal decodeability index is constructed based on the success rate of broadcast data parsing, and then the signal consistency components are corrected.

[0012] A health decline early warning index is constructed based on the initial value of operational health, trend consistency indicators, and decodability index, and graded early warnings are issued according to the health decline early warning index.

[0013] Optionally, the construction process of the beacon-gateway spatial signal matrix is ​​as follows:

[0014] The received signal strength indication values ​​of M Bluetooth gateways to N beacons within the target area are organized into an M×N original signal matrix, which contains matrix elements;

[0015] If any Bluetooth gateway fails to capture the received signal strength indicator value within any time window, the corresponding matrix element will be marked as a missing value and then filled in.

[0016] The missing value completion method is as follows: for matrix elements marked as missing values, the Bluetooth gateways adjacent to the beacon will take the average value of the beacon's received signal strength indication value within the current time window to complete the missing value.

[0017] If there is no adjacent Bluetooth gateway, the signal strength indication value of the beacon captured by the same Bluetooth gateway in the previous time window is used to make up the difference with the attenuation coefficient.

[0018] Optionally, the process for constructing the theoretical received signal strength indication value is as follows:

[0019] From the beacon-gateway spatial signal matrix, extract the column vector corresponding to the beacon, which is the received signal strength indication value of all Bluetooth gateways for that beacon. Retain Bluetooth gateways whose received signal strength indication value is greater than the signal strength threshold and form a valid Bluetooth gateway set. For each Bluetooth gateway in the valid Bluetooth gateway set, its received signal strength indication value is converted into a linear power domain weight value according to the conversion formula. Based on the known deployment coordinates of the valid Bluetooth gateway set and their respective weights, the current estimated coordinates of the beacon are obtained by weighted averaging.

[0020] Based on the known deployment coordinates of each Bluetooth gateway in the target area and the current estimated coordinates of the beacon, calculate the Euclidean distance from the beacon to each Bluetooth gateway;

[0021] Based on the logarithmic distance path loss model, the theoretical received signal strength indication value of beacon j at the i-th Bluetooth gateway is determined. The theoretical received signal strength indication value is negatively correlated with the Euclidean distance from the beacon to each Bluetooth gateway.

[0022] The process of constructing the signal consistency deviation index is as follows:

[0023] The theoretical received signal strength indication value at each gateway is compared with the received signal strength indication value to calculate the signal consistency deviation index of the beacon. The signal consistency deviation index is the absolute value of the difference between the theoretical received signal strength indication value and the received signal strength indication value and is positively correlated with it.

[0024] Optionally, the process for constructing the environmental interference coefficient is as follows:

[0025] Ten received signal strength indication values ​​are obtained by continuously sampling each channel of the Bluetooth gateway ten times, and the average value of the received signal strength indication values ​​of the channel is taken as the noise intensity of the channel.

[0026] The noise floor intensity value is determined based on the noise intensity of the channel, and the noise floor intensity value is positively correlated with the noise intensity of the channel;

[0027] Interference signal events are determined based on the noise intensity of the channel and the interference determination threshold;

[0028] If the noise intensity of the channel exceeds the interference determination threshold, it is marked as an interference signal event;

[0029] Iterate through all channels to count the number of all interference signal events and use this count as the number of co-channel interference signals.

[0030] The environmental interference coefficient is determined based on the noise floor intensity value and the number of co-frequency interference signals, and the environmental interference coefficient is positively correlated with the noise floor intensity value and the number of co-frequency interference signals.

[0031] The process for constructing the modified beacon-gateway spatial signal matrix is ​​as follows:

[0032] For each matrix element in the beacon-gateway spatial signal matrix, if the environmental interference coefficient of the Bluetooth gateway corresponding to the matrix element is greater than the preset interference threshold, the received signal strength indication value of the matrix element is corrected. The corrected received signal strength indication value is positively correlated with the environmental interference coefficient.

[0033] Optionally, the process for constructing the signal consistency components is as follows:

[0034] The signal consistency component is determined based on the signal consistency deviation index, and the signal consistency component is negatively correlated with the signal consistency deviation index.

[0035] The process of constructing the broadcast stability component is as follows:

[0036] The broadcast stability component is determined based on the deviation between the beacon broadcast interval and the nominal value of the broadcast interval;

[0037] In the beacon broadcast data reported by each Bluetooth gateway in advance, 20 consecutive broadcast intervals are used to determine the absolute value of the relative deviation between each broadcast interval and the nominal value of the broadcast interval. The average value of the absolute values ​​of the relative deviations is used as the broadcast interval deviation rate. The broadcast stability component is negatively correlated with the broadcast interval deviation rate.

[0038] The process of constructing the power supply adequacy component is as follows:

[0039] The power adequacy component H3 is determined based on the battery power reported by the beacon, and the power adequacy component is negatively correlated with the battery power reported value.

[0040] The process of constructing the trend consistency indicator is as follows:

[0041] The initial value of operational health is determined by weighted fusion of signal consistency component, broadcast stability component and power supply adequacy component.

[0042] Optionally, the process of constructing the initial health value sequence is as follows:

[0043] For each beacon, the initial health values ​​within the past five time windows are extracted, and the initial health values ​​are sorted according to the time window sequence to determine the short-term initial health value sequence; the initial health values ​​within the past fifty time windows are extracted, and the initial health values ​​are sorted according to the time window sequence to determine the long-term initial health value sequence.

[0044] The short-term and long-term initial values ​​of operational health were linearly fitted using the least squares method to obtain the short-term trend slope and the long-term trend slope, respectively.

[0045] The process of constructing the trend consistency indicator is as follows:

[0046] The trend consistency index is determined based on the slope of the short-term trend and the slope of the long-term trend.

[0047] If both the short-term trend slope and the long-term trend slope are negative, the trend consistency index is 1.

[0048] If both the short-term trend slope and the long-term trend slope are positive, then the trend consistency index is 0.

[0049] If the short-term trend slope and the long-term trend slope are opposite in nature, the trend consistency index is 0.5.

[0050] Optionally, during the scanning process of the Bluetooth gateway, if the broadcast data device address matches and the received signal strength indication value exceeds the valid signal threshold, it is marked as an radio frequency event;

[0051] The total number of radio frequency events is obtained by counting radio frequency events within the time window. Radio frequency events that successfully pass CRC check and have complete data fields are taken as actual radio frequency events from the total number of radio frequency events.

[0052] The resolution success rate is determined based on the total number of radio frequency events and the actual number of radio frequency events. The ratio of the actual number of radio frequency events to the total number of radio frequency events is used as the resolution success rate.

[0053] The average of the resolution success rate signals of all gateway pairs of the beacon pair is used as the decodeability index;

[0054] The signal consistency component is corrected based on the decodability index, and the corrected signal consistency component is positively correlated with the decodability index.

[0055] Optionally, the construction process of the health decline early warning index is as follows:

[0056] The health decline early warning index is determined by weighted fusion of the initial value of operational health, trend consistency index, and decodability index.

[0057] The warning level is determined by comparing the health decline warning index with the warning threshold.

[0058] If the health decline warning index is greater than the first warning threshold, a level one warning is triggered;

[0059] If the health decline warning index is greater than or equal to the second warning threshold and less than or equal to the first warning threshold, then a level two warning is triggered;

[0060] If the health decline warning index is less than the second warning threshold, a level three warning will be triggered.

[0061] According to another aspect of this application, a Bluetooth positioning beacon operation detection device is provided, comprising:

[0062] The matrix construction unit is used to construct a beacon-gateway spatial signal matrix based on the received signal strength indication values ​​of each Bluetooth gateway, and to fill in missing values ​​in the beacon-gateway spatial signal matrix.

[0063] The evaluation unit is used to obtain the Euclidean distance from the beacon to each Bluetooth gateway based on the beacon-gateway spatial signal matrix, and to construct a signal consistency deviation index based on the theoretical received signal strength indication value and the received signal strength indication value of each beacon.

[0064] The environment correction unit is used to construct the environment interference coefficient of each Bluetooth gateway based on the noise floor intensity value and the number of co-channel interference signals, and to perform environment correction on the beacon-gateway spatial signal matrix using the environment interference coefficient corresponding to each beacon when it is received by each Bluetooth gateway.

[0065] The trend analysis unit is used to obtain the health trend characteristics of each beacon based on the time series of the initial health values ​​constructed by combining the broadcast interval and battery power reporting value of each beacon with the modified beacon-gateway spatial signal matrix.

[0066] The index correction unit is used to construct a signal decodeability index based on the broadcast data parsing success rate, and then correct the signal consistency components.

[0067] The early warning unit is used to construct a health decline early warning index based on the initial value of operational health, trend consistency indicators, and decodability index, and to conduct graded early warnings based on the health decline early warning index.

[0068] According to one aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium storing a computer program, wherein the computer program is used to control the electronic device in which the computer-readable storage medium is located to perform the Bluetooth positioning beacon operation detection method during runtime.

[0069] The beneficial effects of this invention are as follows: This invention overcomes the limitations of relying on a single indicator for anomaly judgment. It comprehensively evaluates the beacon's operational health from three dimensions: signal consistency, broadcast stability, and power supply adequacy. These three components are independent and complementary in terms of physical failure modes, and anomalies in any dimension can be effectively captured, avoiding missed or false judgments from single-dimensional detection. This achieves comprehensive and accurate quantification of the beacon's operational health. By sampling the noise floor intensity and the number of co-channel interference signals at each channel through a Bluetooth gateway, a two-dimensional environmental interference coefficient is constructed, which is used to correct the received signal strength indication value in the beacon-gateway spatial signal matrix. This mechanism effectively eliminates the measurement deviation of the received signal strength indication value caused by 2.4GHz co-channel interference sources such as Wi-Fi and Bluetooth devices at different gateway deployment locations in complex indoor electromagnetic environments. This allows the health assessment to focus on changes in the beacon's own state, avoiding the misleading influence of environmental noise on the detection results. This invention integrates the initial value of operational health, trend consistency index, and decodeability index into a unified health attenuation warning index, and converts the continuous risk score into a three-level warning level through a first and second warning threshold. The three-tiered early warning mechanism effectively balances the timeliness of alerts with the false alarm rate. Attached Figure Description

[0070] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0071] Figure 1 This is a flowchart illustrating the operation detection method of the Bluetooth positioning beacon in this embodiment.

[0072] Figure 2 This is a schematic diagram of the operation detection device for the Bluetooth positioning beacon in this embodiment.

[0073] Figure 3 This is a schematic diagram of the structure of a computer system suitable for implementing embodiments of the present disclosure. Detailed Implementation

[0074] To more clearly illustrate the present invention, the following description, in conjunction with preferred embodiments and accompanying drawings, further explains the invention. Similar components in the drawings are indicated by the same reference numerals. Those skilled in the art should understand that the specific description below is illustrative rather than restrictive and should not be construed as limiting the scope of protection of the present invention.

[0075] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0076] Specifically, this embodiment is applied to indoor spaces where Bluetooth positioning beacons are deployed. It uses multiple Bluetooth gateways to collect signal strength indicators, broadcast intervals, battery levels, and ambient noise levels to monitor and provide early warnings of the beacon's operational health in real time.

[0077] This invention collects beacon broadcast data in real time within a time window by deploying multiple Bluetooth gateways within a target area;

[0078] The broadcast data of the beacon includes: the received signal strength indication value of the same beacon received by each Bluetooth gateway, the broadcast interval of the beacon, the transmission power of the beacon, and the reported battery level of the beacon;

[0079] In this invention, the target area is an indoor space where Bluetooth gateways and beacons are deployed, with the Bluetooth gateways arranged in a grid pattern within the target area.

[0080] In this embodiment, a regular grid pattern is laid out in the target area with a basically fixed geometric spacing (8-15 meters).

[0081] To apply the above-mentioned application scenarios, this embodiment provides a method for detecting the operation of Bluetooth positioning beacons. (See attached document.) Figure 1 As shown, the method includes:

[0082] Step S1: Construct a beacon-gateway spatial signal matrix based on the received signal strength indication values ​​of each Bluetooth gateway, and fill in missing values ​​in the beacon-gateway spatial signal matrix.

[0083] Specifically, the construction process of the beacon-gateway spatial signal matrix is ​​as follows:

[0084] The received signal strength indication values ​​r of M Bluetooth gateways to N beacons within the target area are organized into an M×N original signal matrix R, where the matrix element r(i,j) represents the received signal strength indication value of the i-th Bluetooth gateway to the j-th beacon within the time window.

[0085] If any Bluetooth gateway fails to capture the received signal strength indicator value within any time window, the corresponding matrix element will be marked as a missing value and then filled in.

[0086] The missing value completion method is as follows: For matrix elements marked as missing values, the average value of the received signal strength indication value of the beacon from the Bluetooth gateways adjacent to the beacon within the current time window is used to complete the missing value; the adjacent Bluetooth gateways are those Bluetooth gateways that are adjacent to i and whose distance from the beacon is less than 20 meters.

[0087] If there is no adjacent Bluetooth gateway, the signal strength indication value of the beacon captured by the same Bluetooth gateway in the previous time window is used to make up the difference with the attenuation coefficient.

[0088] Preferably, in this embodiment, the time window is 5 minutes. The 5-minute time window ensures a sufficient number of samples to support statistical validity, while also taking into account the timeliness and smoothness of trend analysis. It can respond promptly to the slow evolution of the beacon's operating status and sudden anomalies. The attenuation coefficient is 0.85, which is a moderately conservative value. It acknowledges that the signal strength at the previous moment still has reference significance for the current moment and applies a 15% attenuation penalty.

[0089] Specifically, the isolated received signal strength indicators that were originally scattered in various Bluetooth gateways are integrated into a data structure with a clear spatial index relationship. This makes it easy for subsequent steps to perform gateway-level anomaly detection in the row direction and track the overall signal received by a single beacon by all gateways in the column direction, providing a unified data entry point for the future.

[0090] Step S2: Obtain the Euclidean distance from the beacon to each Bluetooth gateway based on the beacon-gateway spatial signal matrix, and construct the signal consistency deviation index based on the theoretical received signal strength indication value and the received signal strength indication value of each beacon.

[0091] In some optional embodiments of the present invention, step S2 may include:

[0092] Step S21: Based on the known deployment coordinates of each Bluetooth gateway in the target area, calculate the Euclidean distance from the beacon to each Bluetooth gateway, and then construct the theoretical received signal strength indication value according to the logarithmic distance path loss model.

[0093] Step S22: Compare the theoretical received signal strength indication value with the received signal strength indication value at each Bluetooth gateway to obtain the signal consistency deviation index of the beacon;

[0094] In this embodiment of the invention, the process of constructing the theoretical received signal strength indication value is as follows:

[0095] From the beacon-gateway spatial signal matrix, extract the column vector corresponding to the beacon, which represents the received signal strength indication (RSI) values ​​of all Bluetooth gateways for that beacon. Retain Bluetooth gateways whose RSI values ​​are greater than a signal strength threshold, and form a valid set of Bluetooth gateways. For each Bluetooth gateway in this set, its received RSI value is converted into a linear power domain weight value using the following formula: weight value = 10. 10 / r Based on the known deployment coordinates and weight values ​​of the valid Bluetooth gateway set, the current estimated coordinates of the beacon are obtained by weighted averaging.

[0096] Based on the known deployment coordinates of each Bluetooth gateway in the target area and the current estimated coordinates of the beacon, the Euclidean distance d1 from the beacon to each Bluetooth gateway is calculated; the known deployment coordinates are from the engineering calibration at the time of deployment and are static reference data that is manually entered once.

[0097] Based on the logarithmic distance path loss model, the theoretical received signal strength indication value R1 of beacon j at the i-th Bluetooth gateway is determined. The expression for the theoretical received signal strength indication value is: R1 = P1 - P2 - 10 × n × log 10 (d1 / d2); where P1 is the nominal transmit power of the beacon; P2 is the difference between the reference power at 1 meter calibrated at the factory and the theoretical received signal strength indication at 1 meter, where the reference power is the signal strength received at a distance of 1 meter from the beacon under conditions of no transmission and no interference; d2 is the reference distance; and n is the path loss index.

[0098] Preferably, in this embodiment, the signal strength threshold is -85dBm. This value ensures that each beacon can be covered by a sufficient number of high-quality gateways under grid-like deployment conditions, while also eliminating the interference of measurement noise introduced by weak signal gateways on positioning accuracy. The nominal transmit power of the beacon is 0dBm, which is a typical value widely used in the Bluetooth positioning beacon industry. The reference distance is 1 meter, which is a common calibration distance in the wireless communication industry. It is in a stable far-field region, minimizes environmental reflection interference, and can directly adapt to the factory data of various manufacturers. The path loss index is 2.8, ensuring that the signal consistency deviation index of normal beacons remains stable within a reasonably identifiable range, providing a clear dividing line for fault detection.

[0099] In this embodiment of the invention, the process of constructing the signal consistency deviation index is as follows:

[0100] The theoretical received signal strength indication value at each gateway is compared with the received signal strength indication value to calculate the signal consistency deviation index Δm of the beacon. The expression of the signal consistency deviation index is: Δm=(1 / M)×Σ(i=1,M)|r-R1| / σ; where σ is the reference deviation.

[0101] Preferably, in this embodiment, the reference deviation is 6dBm, and the value of the reference deviation is set according to the typical fluctuation range of Bluetooth signal in an indoor environment caused by multipath effect and human body obstruction.

[0102] Specifically, by extracting the column vectors corresponding to the beacons from the beacon-gateway spatial signal matrix, the effective set of gateways with received signal strength indicators higher than the signal strength threshold is selected, and the known coordinates of the Bluetooth gateways are weighted by using the linear power domain weights obtained from the received signal strength indicators. This enables real-time estimation of the current position of the beacons, eliminating the tedious process of manually mapping the coordinates of each beacon and allowing the solution to adapt to actual deployment scenarios where the beacon positions may change.

[0103] Step S3: Based on the noise floor intensity value and the number of co-channel interference signals, construct the environmental interference coefficient of each Bluetooth gateway, and perform environmental correction on the beacon-gateway spatial signal matrix using the environmental interference coefficient corresponding to each beacon being received by each Bluetooth gateway.

[0104] Specifically, the process of constructing the environmental interference coefficient is as follows:

[0105] The Bluetooth gateway has 40 channels in the 2.4GHz band. Ten received signal strength indication values ​​are obtained by sampling each channel ten times. The average value of the received signal strength indication values ​​of the channel is taken as the noise intensity N1 of that channel.

[0106] The noise floor strength value N is determined based on the noise intensity of the channel. The expression for the noise floor strength value is: N = 10 × lg(1 / 40Σ(b=0,39)10 N1 / 10 ); where b is the channel number.

[0107] Interference signal events are determined based on the noise intensity of the channel and the interference determination threshold;

[0108] If the noise intensity of the channel exceeds the interference determination threshold, it is marked as an interference signal event;

[0109] Iterate through all channels to count the number of all interference signal events and use this count as the number of co-channel interference signals.

[0110] Preferably, in this embodiment, the interference judgment threshold is -85dBm. If the interference judgment threshold is too low, the normal fluctuation of the noise floor may frequently trigger misjudgment of interference events. If the interference judgment threshold is too high, a large number of medium-intensity interference sources will be missed, resulting in the environmental interference coefficient failing to sensitively reflect the severity of the real environment.

[0111] The environmental interference coefficient E is determined based on the noise floor intensity value and the number of co-frequency interference signals. The expression for the environmental interference coefficient is: E=min(1, (N / n)+(C / c)); where C is the number of co-frequency interference signals, n is the reference noise floor intensity value, and c is the reference interference signal number.

[0112] Preferably, in this embodiment, the reference noise floor value is -95dBm. The reference noise floor value enables the environmental interference coefficient to scientifically and stably reflect the relative severity of the environment at different gateway deployment locations. The number of reference interference signals is 5. The setting of the number of reference interference signals can effectively distinguish between quiet and noisy environments, so that the environmental interference coefficient has good distinguishability.

[0113] The process for constructing the modified beacon-gateway spatial signal matrix is ​​as follows:

[0114] For each matrix element in the beacon-gateway spatial signal matrix R, if the environmental interference coefficient of the Bluetooth gateway corresponding to the matrix element is greater than the preset interference threshold, the received signal strength indication value of the matrix element is corrected. The corrected received signal strength indication value is: r'=r+E×δ; where δ is the interference compensation amount.

[0115] If the environmental interference coefficient of the Bluetooth gateway corresponding to the matrix element is less than or equal to the preset interference threshold, the received signal strength indication value will not be corrected.

[0116] Preferably, in this embodiment, the preset interference threshold is 0.6. 0.6 marks a judgment line for the existence of significant interference. If it is higher than this line, it means that the environment of the Bluetooth gateway has deteriorated to the point that it can produce an observable increase in the received signal strength indication value, and intervention is necessary to correct it. If it is lower than this line, it is considered that the environment is relatively clean, and the influence of background noise and interference on the received signal strength indication value is within an acceptable fluctuation range. No correction is made to avoid over-processing. The interference compensation amount is 3dBm. In the extreme case of the strongest interference, the increase in the received signal strength indication value due to environmental noise is about 3dB. Therefore, 3dBm as the interference compensation amount corresponds to the theoretical upper limit of the increase under extreme interference scenarios, which is a physically reasonable cap.

[0117] Specifically, a mechanism was constructed to quantify the severity of the gateway's electromagnetic environment from two dimensions: the noise floor intensity value and the number of co-frequency interference signals. Based on this, the beacon-gateway spatial signal matrix was adaptively corrected. This effectively solved the problem of significant differences in the electromagnetic environment at different gateway deployment locations in complex indoor environments. Based on the corrected beacon-gateway spatial signal matrix, a clean data foundation stripped of environmental noise interference was provided for the accurate calculation of the signal consistency component in step S4 and the reliable assessment of the initial value of the beacon's operational health. This allows the subsequent health determination to truly focus on the changes in the beacon's own state, rather than being misled by the spatiotemporal differences in the electromagnetic environment.

[0118] Step S4: Based on the corrected beacon-gateway spatial signal matrix, and combined with the time series of the initial values ​​of operational health constructed from the broadcast intervals and battery power reports of each beacon, the health change trend characteristics of each beacon are obtained. The health change trend characteristics include short-term trends and long-term trends.

[0119] In some optional embodiments of the present invention, step S4 may include:

[0120] Step S41: Construct a signal consistency component based on the signal consistency deviation index, determine a broadcast stability component based on the deviation between the beacon's broadcast interval and the nominal value of the broadcast interval, and determine a power supply adequacy component based on the beacon's battery power reporting value.

[0121] Step S42: Determine the initial value of operational health based on the signal consistency component, broadcast stability component, and power adequacy component, and determine the sequence of initial values ​​of operational health based on the beacon time window;

[0122] Step S43: Determine the short-term trend slope and long-term trend slope based on the initial value sequence of operational health, and determine the trend consistency index based on the short-term trend slope and long-term trend slope;

[0123] In this embodiment of the invention, the process of constructing the signal consistency component is as follows:

[0124] The signal consistency component H1 is determined based on the signal consistency deviation index Δm. The expression for the signal consistency component is: H1 = max(0, 1 - Δm / Δth); where Δth is the consistency deviation tolerance threshold.

[0125] Preferably, in this embodiment, the consistency deviation tolerance threshold is 3, which is exactly at twice the safety margin between the upper limit of the normal beacon and the lower limit of the obviously faulty beacon.

[0126] In this embodiment of the invention, the process of constructing the broadcast stability component is as follows:

[0127] The broadcast stability component is determined based on the deviation between the beacon broadcast interval and the nominal value of the broadcast interval;

[0128] In the beacon broadcast data reported by each Bluetooth gateway in advance, 20 consecutive broadcast intervals are used to determine the absolute value of the relative deviation between each broadcast interval and the nominal value of the broadcast interval. The average value of the absolute values ​​of the relative deviations is taken as the broadcast interval deviation rate ρ. The expression of the broadcast stability component is: H2=max(0,1-ρ / ρth); where ρth is the broadcast interval deviation tolerance threshold.

[0129] Preferably, in this embodiment, the nominal broadcast interval is 500ms, which is consistent with the factory configuration of most indoor positioning beacons; the broadcast interval deviation tolerance threshold is 0.15. When the crystal oscillator is working normally, this broadcast interval deviation rate usually falls within the range of 1%-5%. Setting the tolerance threshold at 0.15 is equivalent to leaving about 3 times the safety margin above the upper limit of normal crystal oscillator error, which is an engineering boundary that can accommodate normal physical fluctuations while intercepting real hardware anomalies.

[0130] In this embodiment of the invention, the process of constructing the power supply adequacy component is as follows:

[0131] The power adequacy component H3 is determined based on the beacon's reported battery level. The expression for the power adequacy component is: H3 = min(1, B / b); where B is the beacon's reported battery level and b is the low battery level threshold.

[0132] Preferably, in this embodiment, the low battery power threshold is 20%. If the low battery power threshold is higher than 20%, the battery internal resistance is low, the voltage is stable, and the radio frequency transmission power remains constant. If the low battery power threshold is lower than 20%, the internal resistance increases, the voltage drops rapidly, and the transmission power begins to show measurable attenuation and instability.

[0133] In this embodiment of the invention, the process of constructing the trend consistency index is as follows:

[0134] The initial value H of the operational health is determined based on the signal consistency component, the broadcast stability component, and the power supply adequacy component. The expression for the initial value of the operational health is: H = h1 × H1 + h2 × H2 + h3 × H3; where h1 is the weight of the signal consistency component, h2 is the weight of the broadcast stability component, h3 is the weight of the power supply adequacy component, and h1 + h2 + h3 = 1.

[0135] Preferably, in this embodiment, the signal consistency component has a weight of 0.5, which directly reflects the core radio frequency function. After double correction, it has the widest coverage and is the most robust and reliable main indicator. The broadcast stability component has a weight of 0.25, and the power supply adequacy component has a weight of 0.25. When any type of fault occurs, the total score will drop significantly enough to trigger trend analysis and early warning. At the same time, since each component has a certain degree of physical independence in fault mode, the weight setting avoids scoring distortion caused by excessive amplification or mutual cancellation of a single fault mode.

[0136] In this embodiment of the invention, the process of constructing the initial health value sequence is as follows:

[0137] For each beacon, the initial health values ​​within the past five time windows are extracted, and the initial health values ​​are sorted according to the time window sequence to determine the short-term initial health value sequence; the initial health values ​​within the past fifty time windows are extracted, and the initial health values ​​are sorted according to the time window sequence to determine the long-term initial health value sequence.

[0138] The short-term and long-term initial values ​​of operational health were linearly fitted using the least squares method to obtain the short-term trend slope and the long-term trend slope, respectively.

[0139] In this embodiment of the invention, the construction process of the trend consistency index is as follows:

[0140] The trend consistency index K is determined based on the slope of the short-term trend and the slope of the long-term trend.

[0141] If both the short-term trend slope and the long-term trend slope are negative, the trend consistency index is 1.

[0142] If both the short-term trend slope and the long-term trend slope are positive, then the trend consistency index is 0.

[0143] If the short-term trend slope and the long-term trend slope are opposite in nature, the trend consistency index is 0.5.

[0144] Specifically, the assessment of beacon operational status is upgraded from relying on static indicators at a single moment to a multi-dimensional dynamic health scoring system, and trend analysis of the initial value sequence of operational health is introduced to capture the evolution direction and the certainty of deterioration of beacon status.

[0145] Step S5: Construct a signal decodeability index based on the broadcast data parsing success rate, and then correct the signal consistency components.

[0146] Specifically, during the scanning process of the Bluetooth gateway, if the broadcast data device address matches and the received signal strength indicator value exceeds the effective signal threshold, it is marked as a radio frequency event. The device address matching is achieved by comparing the device address extracted from the broadcast data with the device addresses of known beacons pre-stored in the Bluetooth gateway one by one. If all bytes are consistent, the device address is determined to be matched.

[0147] Preferably, in this embodiment, the effective signal threshold is -85dBm. Using -85dBm as the effective signal threshold ensures that all counted radio frequency events occur under conditions where the signal strength is sufficient to support stable communication.

[0148] The total number of radio frequency events is obtained within the statistical time window. Radio frequency events that successfully pass CRC verification and have complete data fields are taken as actual radio frequency events. The CRC verification is automatically calculated and compared by the Bluetooth gateway. The data field integrity is determined by the protocol stack verifying the PDU length, type, AdvA and AdvData structures according to the BLE specification when processing broadcast data. If the above conditions are met, the data field is considered complete.

[0149] The resolution success rate is determined based on the total number of radio frequency events and the actual number of radio frequency events. The ratio of the actual number of radio frequency events to the total number of radio frequency events is used as the resolution success rate.

[0150] The average of the resolution success rate signals of all gateway pairs of the beacon pair is used as the decodeability index Q;

[0151] The signal consistency component is corrected according to the decodability index, and the expression of the corrected signal consistency component is: H1'=H1×(0.5+0.5×Q).

[0152] Specifically, by introducing the success rate of broadcast data parsing and constructing a decodeability index, the traditional assessment method that relies solely on signal strength is significantly supplemented and corrected from the perspective of whether the data is truly interpreted correctly. This correction mechanism significantly improves the accuracy of beacon operation status detection and early warning capabilities.

[0153] Step S6: Construct a health decline early warning index based on the initial value of operational health, trend consistency index, and decodability index, and conduct graded early warnings based on the health decline early warning index.

[0154] Specifically, the construction process of the health decline early warning index is as follows:

[0155] The health decline warning index V is determined based on the initial value of operational health, the trend consistency index, and the decodability index. The expression for the health decline warning index is: V = v1 × (1-H) + v2 × K + v3 × (1-Q); where v1 is the weight of the initial value of operational health, v2 is the weight of the trend consistency index, v3 is the weight of the decodability index, and v1 + v2 + v3 = 1.

[0156] Preferably, in this embodiment, the initial weight of the operational health index is 0.6, the weight of the trend consistency index is 0.27, and the weight of the decodeability index is 0.23. This ensures that a beacon with extremely low immediate health will be alerted quickly, regardless of its trend or resolution; a beacon with acceptable health but a clearly deteriorating trend and poor resolution quality will also receive an early warning; while a beacon with high health, a stable trend, and perfect resolution remains safe. The synergy of these three weights makes the alerts both agile and reliable, avoiding false alarms and missed alarms caused by anomalies in a single dimension.

[0157] The warning level is determined by comparing the health decline warning index with the warning threshold. The warning levels include: Level 1 warning, Level 2 warning and Level 3 warning.

[0158] If the health decline warning index is greater than the first warning threshold, a level one warning is triggered;

[0159] If the health decline warning index is greater than or equal to the second warning threshold and less than or equal to the first warning threshold, then a level two warning is triggered;

[0160] If the health decline warning index is less than the second warning threshold, a level three warning will be triggered.

[0161] Preferably, in this embodiment, the first warning threshold is 0.55. 0.55 is located slightly above the midpoint of the entire dynamic range, which is equivalent to drawing a warning line. This means that the highest level of response is triggered only when the risk accumulates to a high level, avoiding the overuse of first-level warnings due to an excessively low threshold. The second warning threshold is 0.35. 0.35 is located at a balance point, which can not only capture early signals of a confirmed deterioration in the trend or a slight decline in health, but also avoids frequent alarm triggering due to normal fluctuations in health or momentary interference.

[0162] Specifically, the initial value of operational health, trend consistency indicators, and decodability index are integrated into a unified health decline early warning index, and a three-level hierarchical early warning system is constructed based on this. This enables the entire detection method to move from index calculation to a closed loop of action decision-making. By introducing a first and a second early warning threshold, the continuous risk score is transformed into a discrete three-level early warning level that can directly guide operation and maintenance actions. This hierarchical early warning mechanism effectively balances the timeliness of alarms with the false alarm rate, realizes the tiered scheduling of operation and maintenance resources, and resolves most minor anomalies through routine inspections. Only truly critical beacons trigger interrupted emergency responses.

[0163] Please see Figure 2 As shown, this is a schematic diagram of the operation detection device for the Bluetooth positioning beacon in this embodiment, including:

[0164] The matrix construction unit is used to construct a beacon-gateway spatial signal matrix based on the received signal strength indication values ​​of each Bluetooth gateway, and to fill in missing values ​​in the beacon-gateway spatial signal matrix.

[0165] The evaluation unit is used to obtain the Euclidean distance from the beacon to each Bluetooth gateway based on the beacon-gateway spatial signal matrix, and to construct a signal consistency deviation index based on the theoretical received signal strength indication value and the received signal strength indication value of each beacon.

[0166] The environment correction unit is used to construct the environment interference coefficient of each Bluetooth gateway based on the noise floor intensity value and the number of co-channel interference signals, and to perform environment correction on the beacon-gateway spatial signal matrix using the environment interference coefficient corresponding to each beacon when it is received by each Bluetooth gateway.

[0167] The trend analysis unit is used to obtain the health trend characteristics of each beacon based on the time series of the initial health values ​​constructed by combining the broadcast interval and battery power reporting value of each beacon with the modified beacon-gateway spatial signal matrix.

[0168] The index correction unit is used to construct a signal decodeability index based on the broadcast data parsing success rate, and then correct the signal consistency components.

[0169] The early warning unit is used to construct a health decline early warning index based on the initial value of operational health, trend consistency indicators, and decodability index, and to conduct graded early warnings based on the health decline early warning index.

[0170] The Bluetooth positioning beacon operation detection device provided in this application embodiment can execute the Bluetooth positioning beacon operation detection method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the execution method.

[0171] like Figure 3As shown, a computer system suitable for implementing the Bluetooth positioning beacon operation detection method provided in the above embodiments includes a central processing module (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM). The RAM also stores various programs and data required for the operation of the computer system. The CPU, ROM, and RAM are connected via a bus. An input / output (I / O) interface is also connected to the bus.

[0172] The following components are connected to the I / O interface: input sections including keyboards, mice, etc.; output sections including liquid crystal displays (LCDs) and speakers, etc.; storage sections including hard disks, etc.; and communication sections including network interface cards such as LAN cards and modems. The communication sections perform communication processing via networks such as the Internet. Drives are also connected to the I / O interface as needed. Removable media, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive as needed so that computer programs read from them can be installed into the storage section as required.

[0173] Specifically, according to this embodiment, the process described in the flowchart above can be implemented as a computer software program. For example, this embodiment includes a computer program product comprising a computer program tangibly embodied on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium.

[0174] The flowcharts and schematic diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of the system, method, and computer program product of this embodiment. In this regard, each block in the flowchart or schematic diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the schematic diagram and / or flowchart, and combinations of blocks in the schematic diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0175] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. For those skilled in the art, other variations or modifications can be made based on the above description. It is impossible to exhaustively list all the implementation methods here. All obvious variations or modifications derived from the technical solutions of the present invention are still within the protection scope of the present invention.

Claims

1. A method for detecting the operation of a Bluetooth positioning beacon, characterized in that, include: The Euclidean distance from the beacon to each Bluetooth gateway is obtained based on the beacon-gateway spatial signal matrix, and a signal consistency deviation index is constructed based on the theoretical received signal strength indication value and the received signal strength indication value of each beacon. Based on the noise floor intensity value and the number of co-frequency interference signals, the environmental interference coefficient of each Bluetooth gateway is constructed, and the environmental correction of the beacon-gateway spatial signal matrix is ​​performed using the environmental interference coefficient corresponding to each beacon when it is received by each Bluetooth gateway. Based on the corrected beacon-gateway spatial signal matrix, and combined with the time series of the initial values ​​of operational health constructed from the broadcast intervals and battery power reports of each beacon, the health change trend characteristics of each beacon are obtained. The health change trend characteristics include short-term trends and long-term trends. A signal decodeability index is constructed based on the success rate of broadcast data parsing, and then the signal consistency components are corrected. A health decline early warning index is constructed based on the initial value of operational health, trend consistency indicators, and decodability index, and graded early warnings are issued according to the health decline early warning index.

2. The method for detecting the operation of a Bluetooth positioning beacon according to claim 1, characterized in that: The construction process of the beacon-gateway spatial signal matrix is ​​as follows: The received signal strength indication values ​​of M Bluetooth gateways to N beacons within the target area are organized into an M×N original signal matrix, which contains matrix elements; If any Bluetooth gateway fails to capture the received signal strength indicator value within any time window, the corresponding matrix element will be marked as a missing value and then filled in. The missing value completion method is as follows: for matrix elements marked as missing values, the average value of the received signal strength indication value of the beacon is taken from the Bluetooth gateways adjacent to the beacon within the current time window to complete the missing value. If there is no adjacent Bluetooth gateway, the signal strength indication value of the beacon captured by the same Bluetooth gateway in the previous time window is used to make up the difference with the attenuation coefficient.

3. The method for detecting the operation of a Bluetooth positioning beacon according to claim 2, characterized in that: The process for constructing the theoretical received signal strength indication value is as follows: From the beacon-gateway spatial signal matrix, extract the column vector corresponding to the beacon, which is the received signal strength indication value of all Bluetooth gateways for that beacon. Retain Bluetooth gateways whose received signal strength indication value is greater than the signal strength threshold and form a valid Bluetooth gateway set. For each Bluetooth gateway in the valid Bluetooth gateway set, its received signal strength indication value is converted into a linear power domain weight value according to the conversion formula. Based on the known deployment coordinates of the valid Bluetooth gateway set and their respective weights, the current estimated coordinates of the beacon are obtained by weighted averaging. Based on the known deployment coordinates of each Bluetooth gateway in the target area and the current estimated coordinates of the beacon, calculate the Euclidean distance from the beacon to each Bluetooth gateway; Based on the logarithmic distance path loss model, the theoretical received signal strength indication value of beacon j at the i-th Bluetooth gateway is determined. The theoretical received signal strength indication value is negatively correlated with the Euclidean distance from the beacon to each Bluetooth gateway. The process of constructing the signal consistency deviation index is as follows: The theoretical received signal strength indication value at each gateway is compared with the received signal strength indication value to calculate the signal consistency deviation index of the beacon. The signal consistency deviation index is the absolute value of the difference between the theoretical received signal strength indication value and the received signal strength indication value and is positively correlated with it.

4. The method for detecting the operation of a Bluetooth positioning beacon according to claim 3, characterized in that: The process of constructing the environmental interference coefficient is as follows: Ten received signal strength indication values ​​are obtained by continuously sampling each channel of the Bluetooth gateway ten times, and the average value of the received signal strength indication values ​​of the channel is taken as the noise intensity of the channel. The noise floor intensity value is determined based on the noise intensity of the channel, and the noise floor intensity value is positively correlated with the noise intensity of the channel; Interference signal events are determined based on the noise intensity of the channel and the interference determination threshold; If the noise intensity of the channel exceeds the interference determination threshold, it is marked as an interference signal event; Iterate through all channels to count the number of all interference signal events and use this count as the number of co-channel interference signals. The environmental interference coefficient is determined based on the noise floor intensity value and the number of co-frequency interference signals, and the environmental interference coefficient is positively correlated with the noise floor intensity value and the number of co-frequency interference signals. The process for constructing the modified beacon-gateway spatial signal matrix is ​​as follows: For each matrix element in the beacon-gateway spatial signal matrix, if the environmental interference coefficient of the Bluetooth gateway corresponding to the matrix element is greater than the preset interference threshold, the received signal strength indication value of the matrix element is corrected. The corrected received signal strength indication value is positively correlated with the environmental interference coefficient.

5. The method for detecting the operation of a Bluetooth positioning beacon according to claim 4, characterized in that: The process of constructing the signal consistency components is as follows: The signal consistency component is determined based on the signal consistency deviation index, and the signal consistency component is negatively correlated with the signal consistency deviation index. The process of constructing the broadcast stability component is as follows: The broadcast stability component is determined based on the deviation between the beacon broadcast interval and the nominal value of the broadcast interval; In the beacon broadcast data reported by each Bluetooth gateway in advance, 20 consecutive broadcast intervals are used to determine the absolute value of the relative deviation between each broadcast interval and the nominal value of the broadcast interval. The average value of the absolute values ​​of the relative deviations is used as the broadcast interval deviation rate. The broadcast stability component is negatively correlated with the broadcast interval deviation rate. The process of constructing the power supply adequacy component is as follows: The power adequacy component H3 is determined based on the battery power reported by the beacon, and the power adequacy component is negatively correlated with the battery power reported value. The process of constructing the trend consistency indicator is as follows: The initial value of operational health is determined by weighted fusion of signal consistency component, broadcast stability component and power supply adequacy component.

6. The method for detecting the operation of a Bluetooth positioning beacon according to claim 5, characterized in that: The process of constructing the initial health value sequence is as follows: For each beacon, the initial values ​​of operational health within the past five time windows are extracted, and the initial values ​​of operational health are sorted according to the order of the time windows to determine the short-term operational health initial value sequence. Extract the initial values ​​of operational health from the past fifty time windows, and sort the initial values ​​of operational health according to the chronological order of the time windows to determine the long-term operational health initial value sequence; The short-term and long-term initial values ​​of operational health were linearly fitted using the least squares method to obtain the short-term trend slope and the long-term trend slope, respectively. The process of constructing the trend consistency indicator is as follows: The trend consistency index is determined based on the slope of the short-term trend and the slope of the long-term trend. If both the short-term trend slope and the long-term trend slope are negative, the trend consistency index is 1. If both the short-term trend slope and the long-term trend slope are positive, then the trend consistency index is 0. If the short-term trend slope and the long-term trend slope are opposite in nature, the trend consistency index is 0.

5.

7. The method for detecting the operation of a Bluetooth positioning beacon according to claim 6, characterized in that: During the scanning process of the Bluetooth gateway, if the broadcast data device address matches and the received signal strength indicator value exceeds the valid signal threshold, it is marked as an radio frequency event. The total number of radio frequency events is obtained by counting radio frequency events within the time window. Radio frequency events that successfully pass CRC check and have complete data fields are taken as actual radio frequency events from the total number of radio frequency events. The resolution success rate is determined based on the total number of radio frequency events and the actual number of radio frequency events. The ratio of the actual number of radio frequency events to the total number of radio frequency events is used as the resolution success rate. The average of the resolution success rate signals of all gateway pairs of the beacon pair is used as the decodeability index; The signal consistency component is corrected based on the decodability index, and the corrected signal consistency component is positively correlated with the decodability index.

8. The method for detecting the operation of a Bluetooth positioning beacon according to claim 7, characterized in that: The process of constructing the health decline early warning index is as follows: The health decline early warning index is determined by weighted fusion of the initial value of operational health, trend consistency index, and decodability index. The warning level is determined by comparing the health decline warning index with the warning threshold. If the health decline warning index is greater than the first warning threshold, a level one warning is triggered; If the health decline warning index is greater than or equal to the second warning threshold and less than or equal to the first warning threshold, then a level two warning is triggered; If the health decline warning index is less than the second warning threshold, a level three warning will be triggered.

9. A Bluetooth positioning beacon operation detection device, applied to the Bluetooth positioning beacon operation detection method as described in any one of claims 1-8, characterized in that, include: The matrix construction unit is used to construct a beacon-gateway spatial signal matrix based on the received signal strength indication values ​​of each Bluetooth gateway, and to fill in missing values ​​in the beacon-gateway spatial signal matrix. The evaluation unit is used to obtain the Euclidean distance from the beacon to each Bluetooth gateway based on the beacon-gateway spatial signal matrix, and to construct a signal consistency deviation index based on the theoretical received signal strength indication value and the received signal strength indication value of each beacon. The environment correction unit is used to construct the environment interference coefficient of each Bluetooth gateway based on the noise floor intensity value and the number of co-channel interference signals, and to perform environment correction on the beacon-gateway spatial signal matrix using the environment interference coefficient corresponding to each beacon when it is received by each Bluetooth gateway. The trend analysis unit is used to obtain the health trend characteristics of each beacon based on the time series of the initial values ​​of the operational health constructed by combining the broadcast interval and battery power reporting value of each beacon with the modified beacon-gateway spatial signal matrix. The index correction unit is used to construct a signal decodeability index based on the broadcast data parsing success rate, and then correct the signal consistency components. The early warning unit is used to construct a health decline early warning index based on the initial value of operational health, trend consistency indicators, and decodability index, and to conduct graded early warnings based on the health decline early warning index.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is used to control the electronic device on which the computer-readable storage medium is located to perform the Bluetooth positioning beacon operation detection method according to any one of claims 1-8 during runtime.