Intelligent positioning method, device and storage medium based on Bluetooth beacon

By monitoring the positioning error, power consumption and power status of Bluetooth beacons and building an adaptive adjustment mechanism, the problems of insufficient positioning accuracy and high power consumption of Bluetooth beacons are solved, and a high-precision, low-energy positioning system is realized.

CN120264422BActive Publication Date: 2025-09-16BEIJING ZHONGKE MEDICAL INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510611712.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-09-16
Estimated Expiration
2045-05-13

AI Technical Summary

Technical Problem

Existing Bluetooth beacon positioning technology has problems of insufficient positioning accuracy and high power consumption, and fails to effectively combine factors such as Bluetooth beacon power consumption for comprehensive analysis.

Method used

By analyzing positioning errors, power consumption, and power status within the monitoring period, an adaptive adjustment mechanism is constructed to manage the broadcast interval of Bluetooth beacons. Combined with multi-beacon collaborative positioning technology, multi-dimensional data is collected and integrated in real time to build a location calculation model and optimize energy efficiency.

Benefits of technology

It significantly improves the robustness and accuracy of positioning in complex environments, reduces equipment operating energy consumption, extends equipment service life, and realizes real-time assessment of the health status of the positioning system and early warning of potential faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120264422B_ABST
    Figure CN120264422B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of Bluetooth positioning technology, and in particular to a Bluetooth beacon-based intelligent positioning method, device, and storage medium. The method comprises: collecting Bluetooth beacon data and receiving device data; calculating the distance between the receiving device and the Bluetooth beacon; analyzing the position coordinates of the receiving device and determining the abnormality of the positioning error; analyzing the positioning error state; analyzing the power consumption state of the Bluetooth beacon; analyzing the power state of the Bluetooth beacon based on the transmission power of the Bluetooth beacon, the Bluetooth beacon setting interval, and the Bluetooth beacon battery capacity collected during a monitoring period; and managing the broadcast interval of the Bluetooth beacon in the next monitoring period based on the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon, and the power state of the Bluetooth beacon during the monitoring period. The present invention effectively reduces the power consumption of the Bluetooth beacon and improves the life of the Bluetooth beacon.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Bluetooth positioning technology, and in particular to an intelligent positioning method, device and storage medium based on Bluetooth beacons. Background Art

[0002] With the development of intelligent technology, Bluetooth beacons are widely used in indoor positioning, asset management, and smart retail due to their low power consumption, high precision, and reliability. Traditional positioning technologies rely heavily on systems like GPS, which struggle to operate reliably indoors or in complex environments. Bluetooth beacons, on the other hand, utilize short-range wireless communication to measure distance based on the signal strength between the receiving device and the beacon, achieving high-precision positioning. Furthermore, with the widespread adoption of the Internet of Things, quickly and accurately acquiring location data has become increasingly important. Therefore, developing an intelligent positioning method, device, and storage medium based on Bluetooth beacons is of great practical significance, as it not only improves positioning accuracy but also effectively manages energy consumption and device status, meeting the demands of modern applications.

[0003] Chinese Patent Publication No. CN109362031A discloses a Bluetooth beacon system and a Bluetooth positioning method, wherein the Bluetooth beacon system includes a plurality of Bluetooth beacons arranged in a target area; wherein each Bluetooth beacon is provided with a signal transmitting module and a signal receiving module; each Bluetooth beacon broadcasts reference data of the Bluetooth beacon through the signal transmitting module, and scans the signal strength of the reference data broadcast by other Bluetooth beacons through the signal receiving module; each Bluetooth beacon determines an inter-beacon reference strength based on the signal strength broadcast by other Bluetooth beacons scanned by its signal receiving module, and includes the inter-beacon reference strength in the reference data and broadcasts it outward through the signal transmitting module of the Bluetooth beacon. The advantages of the present invention are: by mutual scanning between Bluetooth beacons, the random influence of environmental factors on the strength of the Bluetooth signal can be eliminated, so that the Bluetooth signal can be used for accurate positioning; thus, it can be seen that when analyzing the positioning accuracy, the scheme does not conduct a comprehensive analysis based on factors such as Bluetooth power consumption, and there is a problem of high power consumption of Bluetooth beacons. Summary of the Invention

[0004] The object of the present invention is to provide an intelligent positioning method, device and storage medium based on Bluetooth beacons to solve at least one of the problems existing in the prior art.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] An intelligent positioning method based on Bluetooth beacons, comprising:

[0007] Analyze the positioning error status based on the analysis results of positioning error abnormalities within the monitoring period;

[0008] Analyze the power consumption status of Bluetooth beacons based on the power consumption of Bluetooth beacons collected during the monitoring period;

[0009] Analyze the power status of the Bluetooth beacon based on the Bluetooth beacon transmission power, Bluetooth beacon setting interval and Bluetooth beacon battery capacity collected during the monitoring period;

[0010] The broadcast interval of the Bluetooth beacon in the next monitoring period is managed according to the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon and the power state of the Bluetooth beacon in the monitoring period.

[0011] Optionally, collect Bluetooth beacon data and receive device data;

[0012] Calculate the distance between the receiving device and the Bluetooth beacon based on the transmit power of the Bluetooth beacon and the received signal strength of the Bluetooth beacon by the receiving device;

[0013] The position coordinates of the receiving device are analyzed based on the analysis result of the distance between the receiving device and the Bluetooth beacon, and the abnormality of the positioning error is determined according to the position coordinates of the receiving device and the actual position coordinates of the receiving device.

[0014] Optionally, the distance Li between the receiving device and the i-th Bluetooth beacon is calculated based on the collected transmission power ri of the i-th Bluetooth beacon and the received signal strength si of the receiving device for the i-th Bluetooth beacon, the distances between the receiving device and the Bluetooth beacon are sorted in ascending order, and the Bluetooth beacons corresponding to the first three distances between the receiving device and the Bluetooth beacon are used as target beacons, and the position coordinates (xj, yj, zj) of the receiving device are calculated based on the distances between the receiving device and the target beacon;

[0015] The positioning error ws is calculated based on the analysis results of the receiving device's position coordinates and the actual position coordinates (xs, ys, zs) of the receiving device. The positioning error ws is compared with the preset error ws0, and the abnormality of the positioning error is analyzed based on the comparison results. If ws≤ws0, the positioning error is judged to be normal. Otherwise, the positioning error is judged to be abnormal.

[0016] Optionally, when the ratio of the number of positioning error anomalies cy within the monitoring period to the number of receiving device positioning times c0 within the monitoring period is less than or equal to the preset abnormality ratio α, the positioning error state of the current monitoring period is determined to be a normal state; otherwise, the positioning error state of the current monitoring period is determined to be an abnormal state.

[0017] Optionally, the average power consumption hp of the Bluetooth beacon is calculated based on the power consumption of the Bluetooth beacon collected during the monitoring period, and the fluctuation coefficient be of the Bluetooth beacon is calculated based on the power consumption of the Bluetooth beacon collected during the monitoring period; the power consumption coefficient gh of the Bluetooth beacon is constructed based on the average power consumption bp of the Bluetooth beacon and the fluctuation coefficient be of the Bluetooth beacon, and gh is set to w1×lg(bp / YB+1)+w2×(be / BD)2 ;

[0018] The power consumption coefficient gh of the Bluetooth beacon is compared with the preset power consumption coefficient threshold Hg. If gh≤Hg, the power consumption state of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power consumption index is set to 0; otherwise, the power consumption state of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power consumption index is set to ln[3×(gh-Hg)+1] / ln4; where YB is the preset power consumption, BD is the preset fluctuation coefficient, w1 is the first weight, w2 is the second weight, and w1+w2=1.

[0019] Optionally, the abnormality of the transmission power of the Bluetooth beacon is determined based on the transmission power of the Bluetooth beacon collected during the monitoring period, and a power abnormality coefficient is constructed. When the transmission power fp0 of the Bluetooth beacon is less than or equal to the preset power threshold fp1, it is determined that the transmission power of the Bluetooth beacon in the current monitoring period is normal, and the power abnormality coefficient is set to 0; otherwise, it is determined that the transmission power of the Bluetooth beacon in the current monitoring period is abnormal, and the power abnormality coefficient is set to (fp0-fp1) / fp1;

[0020] Determine the abnormality of the Bluetooth beacon battery capacity based on the collected Bluetooth beacon battery capacity and construct a capacity abnormality coefficient. If the Bluetooth beacon battery capacity dc is less than or equal to the preset capacity dc0, determine that the Bluetooth beacon battery capacity is abnormal and set the capacity abnormality coefficient to exp[3×(dc0-dc) / dc0-3]. Otherwise, determine that the Bluetooth beacon battery capacity is normal and set the capacity abnormality coefficient to 0.

[0021] When the battery capacity of the Bluetooth beacon is abnormal, the analysis process of the Bluetooth beacon power abnormality is processed, and the preset power threshold after processing is set as fp1', and fp1'=fp1×exp{-GY2} is set;

[0022] The power index GZ of the Bluetooth beacon is constructed based on the analysis results of the abnormality of the Bluetooth beacon's transmission power and the abnormality of the Bluetooth beacon's battery capacity. GZ is set as L1 × power abnormality coefficient + L2 × capacity abnormality coefficient, where L1 is the power abnormality weight, L2 is the capacity abnormality weight, and L1 + L2 = 1.

[0023] Compare the power index GZ with the preset power state threshold GZ0. If GZ≤GZ0, the power state of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power state abnormality index is set to 0; otherwise, the power state of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power state abnormality index is set to (GZ-GZ0).

[0024] Optionally, according to the Bluetooth beacon setting interval collected during the monitoring period, the power state of the Bluetooth beacon is analyzed, and the Bluetooth beacon setting interval jg is compared with the preset interval jg0. If jg≤jg0, it is determined that the Bluetooth beacon interval state of the current monitoring period is a small interval; if jg>jg0, it is determined that the Bluetooth beacon interval state of the current monitoring period is a normal interval;

[0025] When the Bluetooth beacon interval state is a small interval, the preset power state threshold is set to GZ1 to process the analysis process of the power state of the Bluetooth beacon.

[0026] Optionally, when the positioning error state is normal, if w1×power consumption index+w2×power state abnormality index≤u0, the broadcast interval of the Bluetooth beacon in the next monitoring cycle is set to T1; if w1×power consumption index+w2×power state abnormality index>u0, the broadcast interval of the Bluetooth beacon in the next monitoring cycle is set to T2;

[0027] When the positioning error state is abnormal, if w1×power consumption index+w2×power state abnormality index≤u0, the broadcast interval of Bluetooth beacons in the next monitoring cycle is set to T3; if w1×power consumption index+w2×power state abnormality index>u0, the broadcast interval of Bluetooth beacons in the next monitoring cycle is set to T4;

[0028] Among them, w1 is the power consumption weight, w2 is the power weight, w1+w2=1, and u0 is the preset state judgment threshold.

[0029] According to another aspect of the present application, there is provided an intelligent positioning device based on Bluetooth beacons, comprising:

[0030] Data acquisition module, collecting Bluetooth beacon data and receiving device data;

[0031] The distance analysis module calculates the distance between the receiving device and the Bluetooth beacon based on the transmission power of the Bluetooth beacon and the receiving signal strength of the Bluetooth beacon received by the receiving device;

[0032] A positioning analysis module, which analyzes the position coordinates of the receiving device based on the analysis results of the distance between the receiving device and the Bluetooth beacon, and determines the abnormality of the positioning error according to the position coordinates of the receiving device and the actual position coordinates of the receiving device;

[0033] Error analysis module, which analyzes the positioning error status based on the analysis results of positioning error abnormalities within the monitoring period;

[0034] The power consumption analysis module analyzes the power consumption status of the Bluetooth beacon based on the power consumption of the Bluetooth beacon collected during the monitoring period;

[0035] The power analysis module analyzes the power status of the Bluetooth beacon based on the Bluetooth beacon transmission power, Bluetooth beacon setting interval and Bluetooth beacon battery capacity collected during the monitoring period;

[0036] The management module manages the broadcast interval of the Bluetooth beacon in the next monitoring period according to the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon and the power state of the Bluetooth beacon in the monitoring period.

[0037] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to control the electronic device where the computer-readable storage medium is located to execute the Bluetooth beacon-based intelligent positioning method during operation.

[0038] The beneficial effects of the present invention are as follows: by real-time collection and fusion of multi-dimensional data of Bluetooth beacons, combined with intelligent algorithms to build a position calculation model, the robustness of positioning in complex environments is significantly enhanced. The use of multi-beacon collaborative positioning technology effectively suppresses the error diffusion caused by single-point signal interference and improves positioning accuracy. The introduction of an adaptive adjustment mechanism achieves energy efficiency optimization through power consumption anomaly detection and power state analysis, reducing the energy consumption of equipment operation. The system can autonomously adjust the operating parameters according to the positioning error fluctuation characteristics and the working status of the equipment, while ensuring the reliability of positioning, it effectively extends the service life of the equipment. A multi-dimensional anomaly monitoring framework is adopted to realize real-time evaluation of the health status of the positioning system and early warning of potential faults. This intelligent collaborative management mechanism takes into account the balance between positioning accuracy and energy efficiency, and provides a high-reliability, low-energy solution for indoor positioning services. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 Flowchart of the intelligent positioning method based on Bluetooth beacons in this embodiment.

[0041] Figure 2 Flowchart of the method for analyzing positioning error abnormality in this embodiment.

[0042] Figure 3 FIG. 4 is a flow chart of the power state analysis method of this embodiment.

[0043] Figure 4 Schematic diagram of the structure of the intelligent positioning device based on Bluetooth beacons in this embodiment. DETAILED DESCRIPTION

[0044] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the following detailed description is illustrative rather than restrictive and should not be used to limit the scope of protection of the present invention.

[0045] It should be noted that, although the terms "first," "second," and "third" may be used to describe the embodiments of the present application, the description should not be limited to these terms. These terms are merely used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, "first" may also be referred to as "second," and similarly, "second" may also be referred to as "first."

[0046] See also Figure 1 As shown in FIG, it is a flow chart of the intelligent positioning method based on Bluetooth beacons in this embodiment, including:

[0047] Step S101, collect Bluetooth beacon data and receiving device data, the Bluetooth beacon data includes the power consumption, transmission power, signal strength value, Bluetooth beacon broadcast interval, Bluetooth beacon setting interval and Bluetooth beacon battery capacity of the Bluetooth beacon, the receiving device data is the receiving signal strength of the Bluetooth beacon by the receiving device, and the Bluetooth beacon setting interval is the distance between adjacent Bluetooth beacons; in this embodiment, no specific limitation is made on the collection method of Bluetooth beacon data and receiving device data, and those skilled in the art can set it freely, as long as the collection requirements of Bluetooth beacon data and receiving device data are met, wherein the Bluetooth beacon data and receiving device data can be collected through the Bluetooth beacon and the built-in smart sensor of the receiving device, and the Bluetooth beacon broadcast interval can be collected through interaction; the receiving device described in this embodiment is a device that can receive Bluetooth beacon broadcast signals.

[0048] Please continue reading Figure 1 As shown, the intelligent positioning method based on Bluetooth beacons also includes:

[0049] Step S102 : Calculate the distance between the receiving device and the Bluetooth beacon based on the transmit power of the Bluetooth beacon and the signal strength of the Bluetooth beacon received by the receiving device.

[0050] Specifically, the distance Li between the receiving device and the i-th Bluetooth beacon is analyzed based on the collected transmission power ri of the i-th Bluetooth beacon and the received signal strength si of the receiving device to the i-th Bluetooth beacon, and set: Li = 10 (si-ri) / (-10n) ×m, where n is the preset loss factor, 2≤n≤4, and m is the distance factor.

[0051] Specifically, by calculating the distance based on the transmission power and the received signal strength, the real-time positioning of the receiving device and the beacon is achieved, thereby improving the positioning accuracy.

[0052] It can be understood that the value of the distance factor described in this embodiment is 1 meter. In this embodiment, there is no specific limitation on the setting of the preset loss factor. Those skilled in the art can set it freely as long as the setting requirements of the preset loss factor are met. Among them, the optimal value of n is 2.4.

[0053] Please continue reading Figure 1 As shown, the intelligent positioning method based on Bluetooth beacons also includes:

[0054] Step S103 : analyzing the position coordinates of the receiving device based on the analysis result of the distance between the receiving device and the Bluetooth beacon, and determining the abnormality of the positioning error according to the position coordinates of the receiving device and the actual position coordinates of the receiving device.

[0055] Specifically, in this implementation, the position of any Bluetooth beacon is used as the coordinate origin, the horizontal axis of the building design drawing is used as the X-axis, the vertical axis of the building design drawing is used as the Y-axis, and the direction perpendicular to the X and Y planes is used as the Z-axis to establish a spatial rectangular coordinate system.

[0056] See also Figure 2 As shown, the analysis method of the positioning error abnormality includes:

[0057] In step S201 , the distances between the receiving device and the Bluetooth beacons are sorted in ascending order, and the Bluetooth beacons corresponding to the first three distances between the receiving device and the Bluetooth beacon are used as target beacons. The position coordinates of the receiving device are calculated based on the distances between the receiving device and the target beacon.

[0058] Specifically, the position coordinates of the receiving device are set to (xj, yj, zj), the position coordinates of the first target beacon are set to (xb1, yb1, zb1), the position coordinates of the second target beacon are set to (xb2, yb2, zb2), and the position coordinates of the third target beacon are set to (xb3, yb3, zb3). The calculation process of the position coordinates (xj, yj, zj) of the receiving device is as follows:

[0059] (xb1-xj) 2 +(yb1-yj) 2 +(zb1-yj) 2 =d1 2 ;

[0060] (xb2-xj) 2 +(yb2-yj) 2 +(zb2-yj) 2 =d2 2 ;

[0061] (xb3-xj) 2 +(yb3-yj) 2 +(zb3-yj) 2 =d3 2 ;

[0062] Wherein, d1 is the distance between the first target beacon and the receiving device, d2 is the distance between the second target device and the receiving device, and d3 is the distance between the third target device and the receiving device.

[0063] Specifically, by using multiple beacon information for position calculation, positioning errors caused by poor signals from individual beacons are reduced, thereby improving the robustness of positioning.

[0064] Please continue reading Figure 2 As shown, the analysis method of positioning error abnormality also includes:

[0065] Step S202 : calculating the positioning error based on the analysis result of the receiving device's position coordinates and the actual position coordinates of the receiving device, and analyzing the abnormality of the positioning error.

[0066] Specifically, the positioning error ws is calculated based on the analysis results of the receiving device's position coordinates and the actual position coordinates (xs, ys, zs) of the receiving device, and is set as follows:

[0067]

[0068] The positioning error ws is compared with the preset error ws0, and the abnormality of the positioning error is analyzed based on the comparison result. If ws≤ws0, the positioning error is judged to be normal; otherwise, the positioning error is judged to be abnormal.

[0069] Specifically, by performing real-time monitoring and analysis on the positioning error, the accuracy of the positioning error state analysis is improved, thereby improving the accuracy of the broadcast interval analysis in the next monitoring cycle.

[0070] It is understandable that the present embodiment does not specifically limit the method for obtaining the actual coordinates of the receiving device, and those skilled in the art can freely set it as long as the requirements for obtaining the actual coordinates of the receiving device are met, wherein the actual coordinates can be obtained through a laser rangefinder.

[0071] It is understandable that the present embodiment does not specifically limit the setting of the preset error, and those skilled in the art can freely set it as long as the setting requirements of the preset error are met, wherein the preset error can be set to 0.1 meters.

[0072] Please continue reading Figure 1 As shown, the intelligent positioning method based on Bluetooth beacons also includes:

[0073] Step S104: analyzing the positioning error state according to the analysis result of the positioning error abnormality within the monitoring period.

[0074] Specifically, when the ratio of the number of positioning error anomalies cy within the monitoring period to the number of receiving device positioning times c0 within the monitoring period is less than or equal to the preset abnormality ratio α, the positioning error state of the current monitoring period is determined to be normal; otherwise, the positioning error state of the current monitoring period is determined to be abnormal.

[0075] Specifically, by setting a preset abnormality ratio to improve the accuracy of positioning error state analysis, the accuracy of Bluetooth beacon broadcast interval management in the next monitoring period is improved, thereby reducing the power consumption of Bluetooth beacons.

[0076] It is understandable that the present embodiment does not impose any specific limitation on the setting of the monitoring period, and those skilled in the art may freely set it as long as the setting requirement of the preset abnormality ratio is met, wherein the optimal value of α is 0.05.

[0077] Please continue reading Figure 1 As shown, the intelligent positioning method based on Bluetooth beacons also includes:

[0078] Step S105 , analyzing the power consumption status of the Bluetooth beacon according to the power consumption of the Bluetooth beacon collected during the monitoring period.

[0079] Specifically, the average power consumption hp of the Bluetooth beacon is calculated based on the power consumption of the Bluetooth beacon collected during the monitoring period, and the hk is the power consumption of the kth Bluetooth beacon collected during the monitoring period, and N is the number of Bluetooth beacons;

[0080] The fluctuation coefficient be of the Bluetooth beacon is calculated based on the power consumption of the Bluetooth beacon collected during the monitoring period and set as:

[0081]

[0082] According to the average power consumption bp of the Bluetooth beacon and the fluctuation coefficient be of the Bluetooth beacon, the power consumption coefficient gh of the Bluetooth beacon is analyzed, and gh is set to w1×lg(bp / YB+1)+w2×(be / BD) 2 ;

[0083] The power consumption coefficient gh of the Bluetooth beacon is compared with the preset power consumption coefficient threshold Hg. If gh≤Hg, the power consumption state of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power consumption index is set to 0; otherwise, the power consumption state of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power consumption index is set to ln[3×(gh-Hg)+1] / ln4; where YB is the preset power consumption, BD is the preset fluctuation coefficient, w1 is the first weight, w2 is the second weight, and w1+w2=1.

[0084] Specifically, by calculating the average power consumption and fluctuation coefficient, data support is provided for the power consumption status of Bluetooth beacons, thereby improving the accuracy of Bluetooth beacon power consumption status analysis; a power consumption index is constructed based on the average power consumption and fluctuation coefficient to accurately identify beacon power consumption anomalies, while improving the intelligence level of the system. By using the power consumption status as the basis for decision-making, the beacon usage strategy is optimized.

[0085] It can be understood that in this embodiment, there is no specific limitation on the setting of the preset power consumption, preset fluctuation coefficient, preset power consumption coefficient threshold and each weight. Those skilled in the art can set them freely, and they only need to meet the setting requirements of the preset power consumption, preset fluctuation coefficient, preset power consumption coefficient threshold and each weight. Among them, the optimal value of YB is 10mW, the optimal value of BD is 0.15, the optimal value of w1 is 0.7, the optimal value of w2 is 0.3, and the optimal value of Hg is 1.

[0086] Please continue reading Figure 1 As shown, the intelligent positioning method based on Bluetooth beacons also includes:

[0087] Step S106 , analyzing the power status of the Bluetooth beacon according to the Bluetooth beacon transmission power, the Bluetooth beacon setting interval, and the Bluetooth beacon battery capacity collected during the monitoring period.

[0088] See also Figure 3 As shown, the power state analysis method includes:

[0089] Step S301: determining the abnormality of the transmission power of the Bluetooth beacon according to the transmission power of the Bluetooth beacon collected during the monitoring period, and constructing a power abnormality coefficient.

[0090] Specifically, when the transmission power fp0 of the Bluetooth beacon is less than or equal to the preset power threshold fp1, the transmission power of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power abnormality coefficient is set to 0; otherwise, the transmission power of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power abnormality coefficient is set to (fp0-fp1) / fp1.

[0091] Specifically, the accuracy of the abnormality analysis of the Bluetooth beacon's transmission power is improved by monitoring the transmission power, and the degree of Bluetooth beacon power abnormality is quantified by constructing a power abnormality coefficient.

[0092] It is understandable that the present embodiment does not impose any specific limitation on the setting of the preset power threshold, and those skilled in the art may freely set it as long as the setting requirements of the preset power threshold are met. The optimal value of fp1 is 5dBm.

[0093] Please continue reading Figure 4 As shown, the power state analysis method also includes:

[0094] Step S302: determining abnormality of the Bluetooth beacon battery capacity according to the collected Bluetooth beacon battery capacity, and constructing a capacity abnormality coefficient.

[0095] Specifically, if the Bluetooth beacon battery capacity dc is less than or equal to the preset capacity dc0, the Bluetooth beacon battery capacity is determined to be abnormal, and the capacity abnormality coefficient is set to exp[3×(dc0-dc) / dc0-3]; otherwise, the Bluetooth beacon battery capacity is determined to be normal, and the capacity abnormality coefficient is set to 0;

[0096] When the battery capacity of the Bluetooth beacon is abnormal, the analysis process of the Bluetooth beacon power abnormality is processed, and the preset power threshold after processing is set as fp1', and fp1'=fp1×exp{-GY2} is set;

[0097] The power index GZ of the Bluetooth beacon is constructed based on the analysis results of the abnormality of the Bluetooth beacon's transmission power and the abnormality of the Bluetooth beacon's battery capacity. GZ is set as L1 × power abnormality coefficient + L2 × capacity abnormality coefficient, where L1 is the power abnormality weight, L2 is the capacity abnormality weight, and L1 + L2 = 1.

[0098] Compare the power index GZ with the preset power state threshold GZ0. If GZ≤GZ0, the power state of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power state abnormality index is set to 0; otherwise, the power state of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power state abnormality index is set to (GZ-GZ0).

[0099] Specifically, by constructing a capacity abnormality coefficient to quantify the degree of battery capacity abnormality, and processing the power abnormality coefficient according to the degree of battery capacity abnormality, the impact of battery capacity abnormality on the analysis of energy supply power abnormality can be reduced. At the same time, the power status of the Bluetooth beacon is analyzed based on the comprehensive Bluetooth beacon battery capacity and transmission power, thereby improving the accuracy of power status analysis.

[0100] It can be understood that, in this embodiment, there is no specific limitation on the setting of the preset capacity, the preset power state threshold and each weight. Those skilled in the art can set them freely, as long as the setting requirements of the preset capacity, the preset power state threshold and each weight are met. Among them, the optimal value of dc0 is 500mAh, the optimal value of GZ0 is 0.2, the optimal value of L1 is 0.75, and the optimal value of L2 is 0.25.

[0101] Please continue reading Figure 4 As shown, the power state analysis method further includes:

[0102] Step S303: setting an interval for analyzing the power status of the Bluetooth beacon according to the Bluetooth beacons collected during the monitoring period.

[0103] Specifically, the Bluetooth beacon setting interval jg is compared with the preset interval jg0. If jg≤jg0, it is determined that the Bluetooth beacon interval state of the current monitoring period is a small interval; if jg>jg0, it is determined that the Bluetooth beacon interval state of the current monitoring period is a normal interval;

[0104] When the Bluetooth beacon interval state is a small interval, the analysis process of the power state of the Bluetooth beacon is processed, and the preset power state threshold after processing is set to GZ1, and GZ1 is set to GZ0×ln[e+5×(jg0-jg) / jg0+1] / ln6, where e is the natural logarithm.

[0105] Specifically, by performing status analysis on the broadcast interval of the Bluetooth beacon, the influence of the device setting interval on the power status analysis is reduced, thereby improving the accuracy of the power status analysis.

[0106] It is understandable that the setting of the preset interval is not specifically limited in this embodiment, and those skilled in the art can freely set it as long as the setting requirements of the preset interval are met. Among them, the optimal value of jg0 is 5 meters.

[0107] Please continue reading Figure 1 As shown, the intelligent positioning method based on Bluetooth beacons also includes:

[0108] Step S107 : managing the broadcast interval of the Bluetooth beacon in the next monitoring period according to the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon, and the power state of the Bluetooth beacon during the monitoring period.

[0109] Specifically, when the positioning error state is normal, if w1×power consumption index+w2×power state abnormality index≤u0, the broadcast interval of the Bluetooth beacon in the next monitoring cycle is set to T1, and T1=T0; if w1×power consumption index+w2×power state abnormality index>u0, the broadcast interval of the Bluetooth beacon in the next monitoring cycle is set to T2, and T2=T0×{1+lg[4×(w1×power consumption index+w2×power state abnormality index-u0)] / lg5};

[0110] When the positioning error state is abnormal, if w1×power consumption index+w2×power state abnormality index≤u0, the broadcast interval of the Bluetooth beacon in the next monitoring period is set to T3, and T3 is set to T0×[1-(cy / c0-α)]; if w1×power consumption index+w2×power state abnormality index>u0, the broadcast interval of the Bluetooth beacon in the next monitoring period is set to T4, and T4 is set to T0×{1+lg[4×(w1×power consumption index+w2×power state abnormality index-u0)] / lg5-(cy / c0-α)};

[0111] Wherein, T0 is the broadcast interval of the Bluetooth beacon in the current monitoring period, w1 is the power consumption weight, w2 is the power weight, w1+w2=1, and u0 is the preset state judgment threshold.

[0112] Specifically, based on the comprehensive analysis of multiple states, the broadcast interval of the next monitoring cycle can be intelligently adjusted to improve the system's adaptability, while reducing the energy consumption of Bluetooth beacons and increasing their service life.

[0113] It can be understood that the present embodiment does not impose specific limitations on the settings of the weights and the preset state judgment thresholds, and those skilled in the art can freely set them as long as the setting requirements of the weights and the preset state judgment thresholds are met. Among them, the optimal value of w1 is 0.6, the optimal value of w2 is 0.4, and the optimal value of u0 is 0.18.

[0114] Specifically, the system described in this embodiment is applied to indoor positioning, collecting signal data of beacons and receiving devices, accurately calculating the position of the receiving device, and monitoring and analyzing positioning errors, power consumption and transmission power status in real time. Through abnormal analysis and feedback mechanism, the broadcast interval of beacons is dynamically adjusted to ensure stable and reliable positioning services while optimizing equipment energy consumption.

[0115] See also Figure 4 As shown, the intelligent positioning device based on Bluetooth beacon includes:

[0116] Data acquisition module, collecting Bluetooth beacon data and receiving device data;

[0117] The distance analysis module calculates the distance between the receiving device and the Bluetooth beacon based on the transmission power of the Bluetooth beacon and the receiving signal strength of the Bluetooth beacon received by the receiving device;

[0118] A positioning analysis module, which analyzes the position coordinates of the receiving device based on the analysis results of the distance between the receiving device and the Bluetooth beacon, and determines the abnormality of the positioning error according to the position coordinates of the receiving device and the actual position coordinates of the receiving device;

[0119] Error analysis module, which analyzes the positioning error status based on the analysis results of positioning error abnormalities within the monitoring period;

[0120] The power consumption analysis module analyzes the power consumption status of the Bluetooth beacon based on the power consumption of the Bluetooth beacon collected during the monitoring period;

[0121] The power analysis module analyzes the power status of the Bluetooth beacon based on the Bluetooth beacon transmission power, Bluetooth beacon setting interval and Bluetooth beacon battery capacity collected during the monitoring period;

[0122] The management module manages the broadcast interval of the Bluetooth beacon in the next monitoring period according to the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon and the power state of the Bluetooth beacon in the monitoring period.

[0123] The intelligent positioning device based on Bluetooth beacons described in the embodiments of the present application can execute the intelligent positioning method based on Bluetooth beacons provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0124] The present application also provides a computer-readable storage medium, which is a tangible physical storage medium that can store the above-mentioned computer program and various types of data used in the program; the physical storage medium includes but is not limited to existing physical storage media such as random access memory, read-only memory, optical disk, hard disk, or a combination of media.

[0125] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as a computer-readable program, a data structure, a program module, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable programs, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0126] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the implementation methods of the present invention. For ordinary technicians in this field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.

Claims

1. An intelligent positioning method based on Bluetooth beacons, characterized in that: include: Analyze the positioning error status based on the analysis results of positioning error abnormalities within the monitoring period; Analyze the power consumption status of Bluetooth beacons based on the power consumption of Bluetooth beacons collected during the monitoring period; Analyze the power status of the Bluetooth beacon based on the Bluetooth beacon transmission power, Bluetooth beacon setting interval and Bluetooth beacon battery capacity collected during the monitoring period; The broadcast interval of the Bluetooth beacon in the next monitoring period is managed according to the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon and the power state of the Bluetooth beacon in the monitoring period.

2. The intelligent positioning method based on Bluetooth beacons according to claim 1, characterized in that: Collect Bluetooth beacon data and receive device data; Calculate the distance between the receiving device and the Bluetooth beacon based on the transmit power of the Bluetooth beacon and the received signal strength of the Bluetooth beacon by the receiving device; The position coordinates of the receiving device are analyzed based on the analysis result of the distance between the receiving device and the Bluetooth beacon, and the abnormality of the positioning error is determined according to the position coordinates of the receiving device and the actual position coordinates of the receiving device.

3. The intelligent positioning method based on Bluetooth beacons according to claim 2, characterized in that: Calculate the distance Li between the receiving device and the i-th Bluetooth beacon based on the collected transmit power ri of the i-th Bluetooth beacon and the received signal strength si of the receiving device for the i-th Bluetooth beacon. Sort the distances between the receiving device and the Bluetooth beacon in ascending order, and use the Bluetooth beacons corresponding to the first three distances between the receiving device and the Bluetooth beacon as the target beacon. Calculate the position coordinates (xj, yj, zj) of the receiving device based on the distance between the receiving device and the target beacon. The positioning error ws is calculated based on the analysis results of the receiving device's position coordinates and the actual position coordinates (xs, ys, zs) of the receiving device. The positioning error ws is compared with the preset error ws0, and the abnormality of the positioning error is analyzed based on the comparison results. If ws≤ws0, the positioning error is judged to be normal. Otherwise, the positioning error is judged to be abnormal.

4. The intelligent positioning method based on Bluetooth beacons according to claim 3, characterized in that: When the ratio of the number of positioning error anomalies cy within the monitoring period to the number of positioning times c0 of the receiving device within the monitoring period is less than or equal to the preset abnormality ratio α, the positioning error state of the current monitoring period is determined to be normal; otherwise, the positioning error state of the current monitoring period is determined to be abnormal.

5. The intelligent positioning method based on Bluetooth beacons according to claim 4, characterized in that: The average power consumption hp of the Bluetooth beacon is calculated based on the power consumption of the Bluetooth beacon collected during the monitoring period, and the fluctuation coefficient be of the Bluetooth beacon is calculated based on the power consumption of the Bluetooth beacon collected during the monitoring period; the power consumption coefficient gh of the Bluetooth beacon is constructed based on the average power consumption bp of the Bluetooth beacon and the fluctuation coefficient be of the Bluetooth beacon, and gh is set to w1×lg(bp / YB+1)+w2×(be / BD) 2 ; The power consumption coefficient gh of the Bluetooth beacon is compared with the preset power consumption coefficient threshold Hg. If gh≤Hg, the power consumption state of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power consumption index is set to 0; otherwise, the power consumption state of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power consumption index is set to ln[3×(gh-Hg)+1] / ln4; where YB is the preset power consumption, BD is the preset fluctuation coefficient, w1 is the first weight, w2 is the second weight, and w1+w2=1.

6. The intelligent positioning method based on Bluetooth beacons according to claim 5, characterized in that: The abnormality of the Bluetooth beacon's transmission power is determined based on the transmission power of the Bluetooth beacon collected during the monitoring period, and a power abnormality coefficient is constructed. When the Bluetooth beacon's transmission power fp0 is less than or equal to the preset power threshold fp1, the Bluetooth beacon's transmission power in the current monitoring period is determined to be normal, and the power abnormality coefficient is set to 0; otherwise, the Bluetooth beacon's transmission power in the current monitoring period is determined to be abnormal, and the power abnormality coefficient is set to (fp0-fp1) / fp1; Determine the abnormality of the Bluetooth beacon battery capacity based on the collected Bluetooth beacon battery capacity and construct a capacity abnormality coefficient. If the Bluetooth beacon battery capacity dc is less than or equal to the preset capacity dc0, determine that the Bluetooth beacon battery capacity is abnormal and set the capacity abnormality coefficient to exp[3×(dc0-dc) / dc0-3]. Otherwise, determine that the Bluetooth beacon battery capacity is normal and set the capacity abnormality coefficient to 0. When the battery capacity of the Bluetooth beacon is abnormal, the preset power threshold is adjusted to handle the analysis process of the abnormality of the power of the Bluetooth beacon; The power index GZ of the Bluetooth beacon is constructed based on the analysis results of the abnormality of the Bluetooth beacon's transmission power and the abnormality of the Bluetooth beacon's battery capacity. GZ is set as L1 × power abnormality coefficient + L2 × capacity abnormality coefficient, where L1 is the power abnormality weight, L2 is the capacity abnormality weight, and L1 + L2 = 1. Compare the power index GZ with the preset power state threshold GZ0. If GZ≤GZ0, the power state of the Bluetooth beacon in the current monitoring period is determined to be normal, and the power state abnormality index is set to 0; otherwise, the power state of the Bluetooth beacon in the current monitoring period is determined to be abnormal, and the power state abnormality index is set to (GZ-GZ0).

7. The intelligent positioning method based on Bluetooth beacons according to claim 6, characterized in that: According to the Bluetooth beacon setting interval collected during the monitoring period, the power state of the Bluetooth beacon is analyzed, and the Bluetooth beacon setting interval jg is compared with the preset interval jg0. If jg≤jg0, the Bluetooth beacon interval state of the current monitoring period is determined to be a small interval; if jg>jg0, the Bluetooth beacon interval state of the current monitoring period is determined to be a normal interval; When the Bluetooth beacon interval state is a small interval, the preset power state threshold is set to GZ1 to process the analysis process of the power state of the Bluetooth beacon.

8. The intelligent positioning method based on Bluetooth beacons according to claim 7, characterized in that: When the positioning error state is normal, if w1×power consumption index+w2×power state abnormality index≤u0, the broadcast interval of Bluetooth beacons in the next monitoring cycle is set to T1; if w1×power consumption index+w2×power state abnormality index>u0, the broadcast interval of Bluetooth beacons in the next monitoring cycle is set to T2; When the positioning error state is abnormal, if w1×power consumption index+w2×power state abnormality index≤u0, the broadcast interval of Bluetooth beacons in the next monitoring cycle is set to T3; if w1×power consumption index+w2×power state abnormality index>u0, the broadcast interval of Bluetooth beacons in the next monitoring cycle is set to T4; Among them, w1 is the power consumption weight, w2 is the power weight, w1+w2=1, and u0 is the preset state judgment threshold.

9. An intelligent positioning device based on Bluetooth beacons, characterized in that: include: Data acquisition module, collecting Bluetooth beacon data and receiving device data; The distance analysis module calculates the distance between the receiving device and the Bluetooth beacon based on the transmission power of the Bluetooth beacon and the receiving signal strength of the Bluetooth beacon received by the receiving device; A positioning analysis module, which analyzes the position coordinates of the receiving device based on the analysis results of the distance between the receiving device and the Bluetooth beacon, and determines the abnormality of the positioning error according to the position coordinates of the receiving device and the actual position coordinates of the receiving device; Error analysis module, which analyzes the positioning error status based on the analysis results of positioning error abnormalities within the monitoring period; The power consumption analysis module analyzes the power consumption status of the Bluetooth beacon based on the power consumption of the Bluetooth beacon collected during the monitoring period; The power analysis module analyzes the power status of the Bluetooth beacon based on the Bluetooth beacon transmission power, Bluetooth beacon setting interval and Bluetooth beacon battery capacity collected during the monitoring period; The management module manages the broadcast interval of the Bluetooth beacon in the next monitoring period according to the analysis results of the positioning error state, the power consumption state of the Bluetooth beacon and the power state of the Bluetooth beacon in the monitoring period.

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 where the computer-readable storage medium is located to execute the intelligent positioning method based on Bluetooth beacons according to any one of claims 1 to 8 during operation.

Citation Information

Patent Citations

  • Bluetooth beacon system and Bluetooth positioning method

    CN109362031A

  • Bluetooth device and broadcast period adjustment method thereof, and computer storage medium

    CN108289295A

  • Indoor positioning method and device, equipment and storage medium

    CN113573240A