CN114745678A - Positioning data acquisition method, positioning method and related equipment - Google Patents

Positioning data acquisition method, positioning method and related equipment Download PDF

Info

Publication number
CN114745678A
CN114745678A CN202210142013.7A CN202210142013A CN114745678A CN 114745678 A CN114745678 A CN 114745678A CN 202210142013 A CN202210142013 A CN 202210142013A CN 114745678 A CN114745678 A CN 114745678A
Authority
CN
China
Prior art keywords
positioning
beacon
data
bluetooth
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210142013.7A
Other languages
Chinese (zh)
Inventor
谭晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lanke Xuntong Technology Co ltd
Original Assignee
Shenzhen Lanke Xuntong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lanke Xuntong Technology Co ltd filed Critical Shenzhen Lanke Xuntong Technology Co ltd
Priority to CN202210142013.7A priority Critical patent/CN114745678A/en
Publication of CN114745678A publication Critical patent/CN114745678A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C5/00Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels
    • G01C5/06Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels by using barometric means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a positioning data acquisition method, a positioning method and related equipment, wherein the method is applied to a low-power-consumption Bluetooth beacon provided with a Bluetooth positioning circuit and a height positioning circuit, height information of the position of the low-power-consumption Bluetooth beacon is acquired through the height positioning circuit, the height information is packaged by the Bluetooth positioning circuit according to a predefined data storage format to obtain positioning data, and the positioning data is added into a broadcast data packet to broadcast the positioning data packet. The bluetooth positioning circuit and the height positioning circuit in the bluetooth beacon with low power consumption are used for acquiring positioning data in two dimensions, and then the positioning data based on the two dimensions can be used for acquiring specific positioning data, so that the positioning accuracy and the user experience are greatly improved compared with the existing single-dimension positioning.

Description

Positioning data acquisition method, positioning method and related equipment
Technical Field
The invention relates to the technical field of positioning of near field communication, in particular to a positioning data acquisition method, a positioning method and related equipment.
Background
With the development and popularization of the internet of things, various information is connected through a wireless communication technology, and connection interaction between people and objects and connection interaction between objects and objects are achieved. Especially, bluetooth low energy beacons based on bluetooth technology are also increasingly applied in the scene of internet of things. Bluetooth low energy beacons are mainly used for indoor positioning, and can be used for providing services by using the position information in shopping malls, airports, offices and museums.
However, the existing bluetooth low energy beacon has a single function, can only realize position location on a two-dimensional plane, and for a scene with a height difference, for example, in a multi-layer building, the beacon is mounted on a movable person/object, and can only perform two-dimensional location, that is, the finally obtained location data is coordinate information on the plane, and the coordinate information has a difference from an actual position, so that the problem of inaccurate location exists, and if the height location needs to be realized, more accurate location information can be provided only by means of other sensor devices. Therefore, the ordinary bluetooth low energy beacon is not friendly to some applications that want to be used in a mobile scene and have high positioning accuracy, but do not want to increase the cost of the device too much.
Disclosure of Invention
The invention mainly aims to provide a positioning data acquisition method, a positioning method and related equipment, so as to solve the problem that the existing low-power-consumption Bluetooth beacon is not accurate in positioning.
The invention provides a positioning data acquisition method, which is applied to a low-power-consumption Bluetooth beacon, wherein the low-power-consumption Bluetooth beacon at least comprises a Bluetooth positioning circuit and an altitude positioning circuit, and the positioning data acquisition method comprises the following steps:
acquiring height information of the position of the low-power-consumption Bluetooth beacon through the height positioning circuit;
and packaging the height information by using the Bluetooth positioning circuit according to a predefined data storage format to obtain positioning data, and adding the positioning data into a broadcast data packet to broadcast the positioning data packet.
Optionally, the collecting, by the altitude localization circuit, altitude information of a location where the bluetooth low energy beacon is located includes:
measuring gas data of the position of the low-power-consumption Bluetooth beacon through the height positioning circuit, and calculating gas pressure of the position of the low-power-consumption Bluetooth beacon based on the gas data;
and calculating height information of the position based on the gas pressure.
Optionally, the calculating height information of the position based on the gas pressure includes:
comparing the electric signal corresponding to the absolute pressure of the gas at the position based on the change rule of the electric signal of the gas pressure at different heights to obtain a comparison result;
and determining the height information of the position based on the comparison result.
Optionally, the positioning data acquiring method further includes: defining the data storage format by:
determining a maximum byte length of valid broadcast data based on a Bluetooth Low energy specification definition in the Bluetooth Low energy beacon;
and selecting N bytes from the maximum byte length to define the N bytes as height information storage bytes, and defining other bytes as storage bytes of plane coordinates and beacon IDs to obtain the data storage format.
Optionally, the step of packaging the altitude information by using the bluetooth positioning circuit according to a predefined data storage format to obtain positioning data, and adding the positioning data into a broadcast data packet to obtain a broadcast positioning data packet includes:
extracting manufacturer information of the low-power-consumption Bluetooth beacon and determining a beacon ID;
the beacon ID and the height information are sequentially written into storage bytes and height storage bytes in the data storage format by utilizing the Bluetooth positioning circuit to obtain positioning data;
and embedding the positioning data into a broadcast data packet to obtain a broadcast positioning data packet.
The second aspect of the present invention provides a positioning method based on a bluetooth low energy beacon, where the bluetooth low energy beacon at least includes a bluetooth positioning circuit and an altitude positioning circuit, and the positioning method includes:
acquiring broadcast positioning data packets transmitted by low-power-consumption Bluetooth beacons carried by users in a specified communication range in a real-time scanning working mode;
analyzing the beacon ID and the altitude information in the broadcast positioning data packet by using the data storage format of the positioning data in the low-power-consumption Bluetooth beacon, and calculating a corresponding plane coordinate based on the beacon ID;
and calling a preset positioning algorithm to perform positioning calculation on the plane coordinates and the height information to obtain specific positioning information of the user.
Optionally, the invoking a preset positioning algorithm to perform positioning calculation on the plane coordinate and the height information to obtain specific positioning information of the user includes:
determining a position area where the user is located according to the plane coordinates, and judging whether the position area is an indoor scene;
if so, acquiring scene design data corresponding to the position area;
calculating corresponding floor information according to the scene design data and the height information;
and calling a preset positioning algorithm, and performing fusion calculation on the floor information and the plane coordinates to obtain specific positioning information of the user.
A third aspect of the present invention provides a bluetooth low energy beacon, comprising:
the height positioning module is used for acquiring height information of the position of the low-power-consumption Bluetooth beacon;
the Bluetooth positioning module is used for packaging the height information according to a predefined data storage format to obtain positioning data, and adding the positioning data into a broadcast data packet to obtain a broadcast positioning data packet;
and the radio frequency transmitting module is used for transmitting the broadcast positioning data packet to positioning equipment.
Optionally, the height positioning module includes:
the measuring unit is used for measuring gas data of the position of the low-power-consumption Bluetooth beacon;
the first calculation unit is used for calculating the gas pressure at the position based on the gas data;
and the second calculating unit is used for calculating height information of the position of the gas pressure on the basis of the gas pressure.
Optionally, the second computing unit is specifically configured to:
comparing the electric signal corresponding to the absolute pressure of the gas at the position based on the change rule of the electric signal of the gas pressure at different heights to obtain a comparison result;
and determining the height information of the position based on the comparison result.
Optionally, the bluetooth low energy beacon further includes a format definition module, which is specifically configured to:
determining a maximum byte length of valid broadcast data based on a Bluetooth Low energy specification definition in the Bluetooth Low energy beacon;
and selecting N bytes from the maximum byte length to define the N bytes as height information storage bytes, and defining other bytes as storage bytes of plane coordinates and beacon IDs to obtain the data storage format.
Optionally, the bluetooth positioning module includes:
the analysis unit is used for extracting the manufacturer information of the low-power-consumption Bluetooth beacon and determining the ID of the beacon;
the first writing unit is used for sequentially writing the beacon ID and the height information into a storage byte and a height storage byte in the data storage format to obtain positioning data;
and the data packet generating unit is used for embedding the positioning data into a broadcast data packet to obtain the broadcast positioning data packet.
A fourth aspect of the present invention provides a positioning system comprising: at least one bluetooth low energy beacon and server as described above; wherein, the server is connected with the at least one low-power Bluetooth beacon in a wireless way.
A fifth aspect of the present invention provides a computer storage medium having stored thereon instructions which, when executed by a processor, carry out the steps of the positioning data acquisition method as described above;
alternatively, the first and second electrodes may be,
the instructions, when executed by the processor, implement the steps of the bluetooth low energy beacon based positioning method as described above.
Has the beneficial effects that:
according to the technical scheme, the method uses the low-power-consumption Bluetooth beacon provided with the height positioning circuit and the Bluetooth positioning circuit to obtain the height information, the height information is packaged according to a predefined data storage format to obtain the positioning data, the positioning data is added into the broadcast data packet and is broadcast by the Bluetooth positioning circuit, and the low-power-consumption Bluetooth beacon added with the height positioning circuit is used to obtain the height information, and the height information is used for assisting the plane coordinates of the low-power-consumption Bluetooth beacon to position, so that the positioning data is more accurate, the low-power-consumption Bluetooth beacon is more convenient to position and monitor, and the user experience is greatly improved.
Drawings
Fig. 1 is a structural framework diagram of a bluetooth low energy beacon provided by the present invention;
FIG. 2 is a flowchart of a method for acquiring positioning data according to the present invention;
FIG. 3 is another flow chart of a method for obtaining positioning data according to the present invention;
FIG. 4 is a flowchart of a positioning method based on a Bluetooth low energy beacon according to the present invention;
FIG. 5 is a block diagram of a Bluetooth Low energy beacon according to the present invention;
FIG. 6 is a schematic diagram of another exemplary embodiment of a Bluetooth Low energy beacon;
fig. 7 is a schematic structural diagram of a positioning system provided in the present invention.
Detailed Description
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides a positioning data acquisition method, a positioning method and related equipment based on a multi-dimensional low-power-consumption Bluetooth beacon, aiming at the problem that the positioning in a plane dimension can only be realized when the existing single-function low-power-consumption Bluetooth beacon is used for positioning, and the positioning cannot be accurately positioned when the existing single-function low-power-consumption Bluetooth beacon is applied to a multi-dimensional scene.
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
Referring to fig. 1 and 2, a flowchart of a positioning data obtaining method according to an embodiment of the present invention is provided based on a bluetooth low energy beacon having a height positioning circuit and a bluetooth positioning circuit, where the bluetooth positioning circuit is mainly used for collecting planar positioning information, i.e., positioning information on a horizontal plane, and the height positioning circuit is used for collecting positioning information in vertical and horizontal directions. The positioning data acquisition method comprises the following steps:
s201, acquiring height information of a position where a low-power-consumption Bluetooth beacon is located through a height positioning circuit;
in the step, the height positioning circuit is specifically realized by adopting an air pressure sensor, the air pressure sensor acquires the air pressure of the position where the low-power-consumption bluetooth beacon is located, the air pressure sensor monitors the position change of the low-power-consumption bluetooth beacon in real time, acquires air pressure change data after monitoring the position change, and converts the air pressure change data into height data to obtain height information, wherein the height information can be understood as height data acquired by the air pressure sensor, such as an electric signal generated by the air pressure sensor, and then is output to the bluetooth positioning circuit.
S202, packaging the height information by using a Bluetooth positioning circuit according to a predefined data storage format to obtain positioning data;
in the step, the data storage format is a data format of broadcast data, after the plane coordinate and the altitude information are obtained, the plane coordinate and the altitude information are written into corresponding bytes based on the definition of each byte in the data storage format to obtain a positioning information character string, and the positioning information character string is converted into the broadcast data according to a broadcast protocol, so that the positioning data is obtained.
S203, the positioning data is added into the broadcast data packet, and the positioning data packet is broadcast.
In this step, the broadcast data packet refers to a communication data frame of the low power consumption bluetooth beacon, and the communication data frame may be a blank data frame used for maintaining communication connection between the beacon and the server, and when data transmission is required, the data to be transmitted is added to the communication data frame, so as to obtain the broadcast positioning data packet.
In practical applications, in order to more accurately calculate the specific position of the bluetooth low energy beacon to be located, the broadcast positioning data packet not only includes the positioning data, but also includes the beacon ID of the bluetooth low energy beacon.
In this embodiment, after the height information is obtained, the method may further include obtaining the plane coordinate where the beacon is located by using a bluetooth positioning circuit, specifically, scanning a bluetooth signal of the beacon at regular time by using a host in a communication relationship with the bluetooth beacon, analyzing the bluetooth signal (that is, a broadcast positioning data packet) to obtain a signal strength and a beacon ID, determining the plane coordinate based on the signal strength and the beacon ID, and feeding back the plane coordinate to the beacon, thereby obtaining the plane coordinate.
Furthermore, after the beacon obtains the plane coordinate, the plane coordinate can be written into a storage byte of a data storage format to obtain more complete positioning data, so that the positioning calculation of the host can be reduced. This approach may be suitable for use when the beacon is in a fixed location. For a mobile scene, the plane coordinates are positioned in real time by adopting broadcast positioning data packet signals.
When the broadcast positioning data packet is subsequently utilized for positioning service or monitoring, after the host device receives the broadcast positioning data packets of a plurality of beacons in the area, the direction vector of the target low-power-consumption Bluetooth beacon can be determined according to the beacon ID in each broadcast positioning data packet and the preset position relation of the host device, the two-dimensional coordinate or the position vector relative to the host device is calculated according to the signal intensity of the broadcast positioning data packet of the target low-power-consumption Bluetooth beacon, and then the positioning algorithm is called to calculate specific three-dimensional coordinate information by combining with altitude information.
To sum up, gather the altitude information through the bluetooth low energy beacon that uses to be provided with high positioning circuit, utilize the altitude data assistance-localization real-time, combine the plane location data of itself again, utilize predetermined positioning algorithm to calculate three-dimensional locating information based on two locating information for the location is more accurate.
Referring to fig. 1 and 3, a second flowchart of a positioning data obtaining method according to an embodiment of the present invention is shown, where the method also obtains positioning data based on a bluetooth low energy beacon with an altitude positioning circuit, where the bluetooth low energy beacon is a new bluetooth low energy beacon obtained by adding an air pressure sensor based on an existing bluetooth low energy beacon, and based on this, the positioning data obtaining method specifically includes the following steps:
s301, measuring gas data of the position of the low-power-consumption Bluetooth beacon through a gas pressure sensor;
s302, calculating the gas pressure at the position of the gas pressure sensor based on the gas data;
in this embodiment, specifically, the absolute pressure of the gas at the position of the low power consumption bluetooth beacon is calculated based on the corresponding relationship between the gas data and the pressure;
s303, calculating height information of the position of the gas pressure sensor based on the gas pressure;
in the embodiment, height information of the position is calculated based on the corresponding relation between the pressure intensity and the height; the main sensing element of the air pressure sensor is a pressure sensitive membrane, which is connected with a flexible resistor. The resistance value of the device can change along with the change of the air pressure, when the height of the low-power-consumption Bluetooth beacon changes, the pressure of the air at the height position where the low-power-consumption Bluetooth beacon is located changes, the thin film on the air pressure sensor deforms, and the resistance value of the resistor can change. The resistance value of the resistor changes. The signal voltage of 0-5V is taken from the sensing element, received by the data collector through A/D conversion, and the data collector then generates height information in a suitable form.
In the step, when the acquired gas data causes deformation in the thin film to increase, the pressure is increased, a specific resistance value is calculated, and then the specific resistance value is matched with a preset pressure height curve or a height value is calculated according to a linear function of the pressure and the height, so that the height of the position of the low-power-consumption Bluetooth beacon is obtained.
S304, extracting manufacturer information of the low-power-consumption Bluetooth beacon and determining a beacon ID;
s305, utilizing a Bluetooth positioning circuit to sequentially write the beacon ID and the height information into a storage byte and a height storage byte in a data storage format to obtain positioning data;
in the step, analyzing beacon ID and storage bytes of height information in a data storage format and byte positions of the storage bytes in the data storage format by a Bluetooth positioning circuit; writing the height information into the corresponding storage byte according to the byte position; and extracting manufacturer information of the low-power-consumption Bluetooth beacon, determining the ID of the beacon, and writing the ID into a storage byte of the ID of the beacon to obtain positioning data.
In this embodiment, after the height information is acquired, the method may further include acquiring the plane coordinate where the beacon is located by using a bluetooth positioning circuit, specifically, scanning the bluetooth signal of the beacon at a fixed time by using a host having a communication relationship with the bluetooth beacon which has been finalized, analyzing the bluetooth signal (that is, broadcasting the positioning data packet) to obtain the signal strength and the beacon ID, determining the plane coordinate based on the signal strength and the beacon ID, and feeding back the plane coordinate to the beacon to obtain the plane coordinate.
Furthermore, after the beacon obtains the plane coordinate, the plane coordinate can be written into a storage byte of a data storage format to obtain more complete positioning data, so that the positioning calculation of the host can be reduced. This approach may be suitable for use when the beacon is in a fixed location.
In this embodiment, the data storage format is a self-defined broadcast data format including storage plane positioning information and height positioning information, specifically:
extracting a Bluetooth low energy specification definition in the Bluetooth low energy beacon;
determining a maximum byte length of valid broadcast data based on the Bluetooth Low energy specification definition;
and selecting N bytes from the maximum byte length to define the N bytes as height information storage bytes, and defining other bytes as plane coordinates and beacon ID storage bytes to obtain the data storage format.
In practical application, the data storage format is defined according to the bluetooth low energy specification, the maximum length of the effective broadcast data is a broadcast packet of 31 bytes, which contains the broadcast packet of user-defined information such as device ID, vendor data, and the like and the plane positioning information, and then 2 bytes are defined in the broadcast packet for representing the acquired height data.
In practical application, if the first 29 bytes in the data storage format are defined as the device ID, the manufacturer data and the plane positioning information, the beacon ID and the plane coordinates are written into the 29 bytes, then the height information is written into the last two bytes to obtain a data character string, and the data character string is converted into a broadcast data packet according to a broadcast protocol to obtain the positioning data.
S306, embedding the positioning data into the broadcast data packet to obtain the broadcast positioning data packet.
In this step, the broadcast data packet refers to a communication data frame of the low power consumption bluetooth beacon, and the communication data frame may be a blank data frame used for maintaining communication connection between the beacon and the server, and when data transmission is required, the data to be transmitted is added to the communication data frame, so as to obtain the broadcast positioning data packet.
Through the implementation of the method, the height information is acquired by using the low-power-consumption Bluetooth beacon added with the height positioning circuit, the height information is utilized to assist the plane positioning information of the low-power-consumption Bluetooth beacon to perform positioning, and the positioning data containing the height dimension is obtained, so that the positioning accuracy is improved, meanwhile, the method is compatible with different scenes, and the positioning monitoring deployment and the user experience are greatly improved.
Referring to fig. 4, a positioning method based on a bluetooth low energy beacon provided in an embodiment of the present invention is applied to a server, where the bluetooth low energy beacon at least includes a bluetooth positioning circuit and a height positioning circuit, and the bluetooth low energy beacon is in communication connection with the server through a radio frequency signal, and based on this, the positioning method is proposed, which specifically includes the following steps:
s401, acquiring broadcast positioning data packets transmitted by low-power-consumption Bluetooth beacons carried by users in a specified communication range in a real-time scanning working mode;
in this step, the broadcast positioning data packet is obtained by the server through the broadcast signal in the communication range where the transmitting and receiving unit timing scanner is located.
Specifically, a broadcast positioning data packet transmitted by a low-power-consumption Bluetooth beacon carried by each user in a specified communication range is acquired through a real-time scanning working mode; analyzing the beacon ID and the altitude information in the broadcast positioning data packet by using the data storage format of the positioning data in the low-power-consumption Bluetooth beacon; and calling a preset positioning algorithm to perform positioning calculation on the height information to obtain specific positioning information of the user.
In practical applications, the host device 502 may be implemented by a server, and when implemented by the server, the broadcast positioning data packet is obtained by the server scanning the broadcast signal in the communication range in a timing manner by the transmitting and receiving unit.
In practical applications, the broadcast positioning data packet may include only broadcast information of altitude information, and the plane positioning information (i.e. plane coordinates) is calculated by scanning the signal strength of the bluetooth low energy beacon from a host device installed at a known location.
S402, analyzing a beacon ID and height information in the broadcast positioning data packet by using a data storage format of the positioning data in the low-power-consumption Bluetooth beacon, and calculating a corresponding plane coordinate based on the beacon ID;
in this step, the data storage format is defined according to the bluetooth low energy specification, the maximum length of the effective broadcast data is a broadcast packet of 31 bytes, which includes a broadcast packet of user-defined information such as device ID, vendor data, and the like, and then 2 bytes for representing the acquired height data are defined in the broadcast packet.
The stored beacon ID and altitude information are parsed based on the byte definition structure described above.
In practical application, in the parsing process, since there is also a distinction of usage scenarios, the method further includes converting the altitude information into corresponding altitude values indoors and outdoors according to the scenario in which the beacon is located.
And S403, calling a preset positioning algorithm to perform positioning calculation on the plane coordinate and the height information to obtain specific positioning information of the user.
Specifically, the step may determine a location area where the user is located according to the plane coordinates, and determine whether the location area is an indoor scene;
if so, acquiring scene design data corresponding to the position area;
calculating corresponding floor information according to the scene design data and the height information;
and calling a preset positioning algorithm, and performing fusion calculation on the floor information and the plane coordinates to obtain specific positioning information of the user.
In practical application, if the bluetooth low energy beacon is worn on an indoor worker, the server scans broadcast information of the bluetooth low energy beacon around, plane positioning data and height information of a moving person/object are obtained from the broadcast information, the plane positioning data of the beacon is combined with the height information, the server uses a built-in positioning algorithm to calculate the specific position of the person, accurate positioning of the person is achieved, for example, in a use scene of a multi-layer building, the height information is converted into a corresponding floor, and even room information is available.
The method realizes positioning, height information and plane coordinates are acquired based on the low-power-consumption Bluetooth beacon added with the air pressure sensor, positioning information of two dimensions can be acquired simultaneously after broadcast information is sent by the server acquirer, and positioning is realized in such a way, compared with the prior art, the method not only simplifies the acquisition of positioning data, but also greatly simplifies the conversion flow of the positioning information because the positioning data are acquired and sent based on the same beacon, improves the positioning calculation accuracy under the same standard, simplifies the deployment on hardware, reduces the cost and improves the user experience.
Fig. 5 is a low power consumption bluetooth beacon according to an embodiment of the present invention, where the low power consumption bluetooth beacon includes a height location module 501, a bluetooth location module 502, and a radio frequency transmission module 503, where the height location module 501 and the bluetooth location module 502 are electrically connected through a communication interface, and the radio frequency transmission module 503 is disposed at an output end of the bluetooth location module 502.
The height positioning module 501 is configured to acquire height information of a position where the bluetooth low energy beacon is located;
the bluetooth positioning module 502 is configured to perform packing processing on the altitude information according to a predefined data storage format to obtain positioning data, and add the positioning data to a broadcast data packet to obtain a broadcast positioning data packet;
and a radio frequency transmitting module 503, configured to send the broadcast positioning data packet to a positioning device.
In practical application, the bluetooth positioning module 502 is designed by using a bluetooth low energy SOC, the altitude positioning module 501 is realized by using an air pressure sensor, and the bluetooth low energy SOC and the air pressure sensor are connected through a hardware interface.
The air pressure sensor measures the absolute pressure of air, and its working principle is that the detected information is passed through conversion and data acquisition device according to a certain regular electric signal, etc. and is transferred out according to a proper form so as to obtain the data of height.
When the formed broadcast positioning data packet is sent out through the radio frequency transmitting module 503, the low power consumption bluetooth beacon defaults to a working mode of sending the broadcast data packet at regular time after leaving the factory.
When the air pressure sensor collects height information, the height information is converted into height data after the air pressure change data is collected, the height data is output to the low-power-consumption Bluetooth SOC, and the low-power-consumption Bluetooth SOC serves as a data processing chip and loads the height data into broadcast data to be sent at regular time.
When the beacon is fixed to an object that can be moved, the height information will vary as the object is moved. Through height data assistance-localization real-time, the positioning data of itself is combined again, and the location is more accurate, through software design application logic, realizes accurate judgement, provides effectual foundation for the expansion of using.
As shown in fig. 6, the height positioning module 501 includes:
a measuring unit 5011, configured to measure gas data of a location where the bluetooth low energy beacon is located;
the first calculation unit 5012 is used for calculating the gas pressure at the position based on the gas data;
the second calculation unit 5013 calculates height information of the position based on the gas pressure.
In this embodiment, the second computing unit 5013 is specifically configured to:
comparing the electric signal corresponding to the absolute pressure of the gas at the position based on the change rule of the electric signal of the gas pressure at different heights to obtain a comparison result;
and determining the height information of the position based on the comparison result.
In this embodiment, the bluetooth low energy beacon further includes a format definition module 504, which is specifically configured to:
determining a maximum byte length of valid broadcast data based on a Bluetooth Low energy specification definition in the Bluetooth Low energy beacon;
and selecting N bytes from the maximum byte length to define the N bytes as height information storage bytes, and defining other bytes as storage bytes of plane coordinates and beacon IDs to obtain the data storage format.
In this embodiment, the bluetooth positioning module 502 includes:
the parsing unit 5021 is used for extracting manufacturer information of the low-power-consumption Bluetooth beacon and determining a beacon ID;
a first writing unit 5022, configured to sequentially write the beacon ID and the altitude information into a storage byte and an altitude storage byte in the data storage format to obtain positioning data;
a data packet generating unit 5023, configured to embed the positioning data into a broadcast data packet to obtain a broadcast positioning data packet.
Through utilizing the bluetooth low energy beacon collection positioning data that above-mentioned provided, owing to set up high positioning module, after obtaining high information, pack high information and the plane coordinate of itself, form broadcast positioning data package, make the positioning information through two dimensions that have contained same beacon among the broadcast information, its positioning information is more accurate, compare in prior art, not only simplified the collection of positioning data, because the positioning data is based on same beacon collection is sent, positioning information's conversion flow has been simplified greatly, under the same standard, the precision of location calculation has been improved, also simplified the deployment on hardware simultaneously, therefore, the product cost is reduced, and user experience is improved.
On the basis of the bluetooth low energy beacon, the present invention further provides a positioning system, as shown in fig. 7, the positioning system includes at least one bluetooth low energy beacon 701 provided in the above embodiment and a server 702; wherein, the server 702 is wirelessly connected with the at least one bluetooth low energy beacon 701.
In practical application, the server 702 is specifically implemented by a host, and the host scans a broadcast positioning data packet sent by a surrounding bluetooth low energy beacon 701, and analyzes the signal strength of the broadcast positioning data packet and positioning data carried in the broadcast positioning data packet, thereby calculating an actual positioning position of the beacon.
Similarly, the positioning device uses the low-power-consumption Bluetooth beacon for positioning, so that the height information and the plane coordinate of the height information are packaged to form a broadcast positioning data packet after the height information is acquired, and the positioning information is more accurate through the positioning information of two dimensions containing the same beacon in the broadcast information.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the instructions cause the computer to execute the positioning data obtaining method or the positioning method steps.
In summary, the implementation of the invention has at least the following beneficial effects:
the invention provides a positioning data acquisition method, a positioning method and related equipment, wherein a low-power-consumption Bluetooth beacon provided with a height positioning circuit and a Bluetooth positioning circuit is used for acquiring height information and a plane coordinate, the height information and the plane coordinate are packaged according to a predefined data storage format to obtain positioning data, and then the positioning data is added into a broadcast data packet.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A positioning data acquisition method is applied to a Bluetooth low energy beacon, and is characterized in that the Bluetooth low energy beacon at least comprises a Bluetooth positioning circuit and an altitude positioning circuit, and the positioning data acquisition method comprises the following steps:
acquiring height information of the position of the low-power-consumption Bluetooth beacon through the height positioning circuit;
and packaging the height information by using the Bluetooth positioning circuit according to a predefined data storage format to obtain positioning data, and adding the positioning data into a broadcast data packet to broadcast the positioning data packet.
2. The method for acquiring positioning data according to claim 1, wherein the acquiring, by the altitude positioning circuit, altitude information of the location where the bluetooth low energy beacon is located includes:
measuring gas data of the position of the low-power-consumption Bluetooth beacon through the height positioning circuit, and calculating gas pressure of the position of the low-power-consumption Bluetooth beacon based on the gas data;
and calculating height information of the position based on the gas pressure.
3. The method for acquiring positioning data according to claim 2, wherein said calculating altitude information of the location based on the gas pressure includes:
comparing the electric signal corresponding to the absolute pressure of the gas at the position based on the change rule of the electric signal of the gas pressure at different heights to obtain a comparison result;
and determining the height information of the position based on the comparison result.
4. The method for acquiring positioning data according to claim 1, characterized in that said method for acquiring positioning data further comprises: defining the data storage format by:
determining a maximum byte length of valid broadcast data based on a Bluetooth Low energy specification definition in the Bluetooth Low energy beacon;
and selecting N bytes from the maximum byte length to define the N bytes as height information storage bytes, and defining other bytes as storage bytes of plane coordinates and beacon IDs to obtain the data storage format.
5. The method for acquiring positioning data according to claim 4, wherein the step of packaging the altitude information by using the bluetooth positioning circuit according to a predefined data storage format to obtain positioning data, and adding the positioning data to a broadcast data packet to obtain a broadcast positioning data packet comprises:
extracting manufacturer information of the low-power Bluetooth beacon and determining a beacon ID;
utilizing the Bluetooth positioning circuit to sequentially write the beacon ID and the altitude information into a storage byte and an altitude storage byte in the data storage format to obtain positioning data;
and embedding the positioning data into a broadcast data packet to obtain a broadcast positioning data packet.
6. A positioning method based on a Bluetooth low energy beacon, wherein the Bluetooth low energy beacon at least comprises a Bluetooth positioning circuit and an altitude positioning circuit, and the positioning method comprises the following steps:
acquiring broadcast positioning data packets transmitted by low-power-consumption Bluetooth beacons carried by users in a specified communication range in a real-time scanning working mode;
analyzing the beacon ID and the altitude information in the broadcast positioning data packet by using the data storage format of the positioning data in the low-power-consumption Bluetooth beacon, and calculating a corresponding plane coordinate based on the beacon ID;
and calling a preset positioning algorithm to perform positioning calculation on the plane coordinate and the height information to obtain specific positioning information of the user.
7. The positioning method based on bluetooth low energy beacon according to claim 6, wherein the invoking a preset positioning algorithm to perform positioning calculation on the plane coordinates and the altitude information to obtain specific positioning information of the user comprises:
determining a position area where the user is located according to the plane coordinates, and judging whether the position area is an indoor scene;
if so, acquiring scene design data corresponding to the position area;
calculating corresponding floor information according to the scene design data and the height information;
and calling a preset positioning algorithm, and performing fusion calculation on the floor information and the plane coordinates to obtain specific positioning information of the user.
8. A bluetooth low energy beacon, wherein the bluetooth low energy beacon comprises:
the height positioning module is used for acquiring height information of the position of the low-power-consumption Bluetooth beacon;
the Bluetooth positioning module is used for packaging the height information according to a predefined data storage format to obtain positioning data, and adding the positioning data into a broadcast data packet to obtain a broadcast positioning data packet;
and the radio frequency transmitting module is used for transmitting the broadcast positioning data packet to positioning equipment.
9. A positioning system, characterized in that the positioning system comprises: at least one bluetooth low energy beacon and server as recited in claim 8; wherein, the server is connected with the at least one low-power Bluetooth beacon in a wireless way.
10. A computer storage medium having instructions stored thereon, the instructions when executed by a processor implementing the steps of the positioning data acquisition method according to any of claims 1-5;
alternatively, the first and second electrodes may be,
the instructions when executed by a processor implement the steps of the bluetooth low energy beacon based positioning method of claim 6 or 7.
CN202210142013.7A 2022-02-16 2022-02-16 Positioning data acquisition method, positioning method and related equipment Pending CN114745678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210142013.7A CN114745678A (en) 2022-02-16 2022-02-16 Positioning data acquisition method, positioning method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210142013.7A CN114745678A (en) 2022-02-16 2022-02-16 Positioning data acquisition method, positioning method and related equipment

Publications (1)

Publication Number Publication Date
CN114745678A true CN114745678A (en) 2022-07-12

Family

ID=82274912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210142013.7A Pending CN114745678A (en) 2022-02-16 2022-02-16 Positioning data acquisition method, positioning method and related equipment

Country Status (1)

Country Link
CN (1) CN114745678A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163386A (en) * 2015-09-23 2015-12-16 北京招通致晟科技有限公司 Indoor positioning system and method based on wireless beacon
CN105205986A (en) * 2015-07-30 2015-12-30 浙江万里学院 Fire scene firefighter three-dimensional positioning emergency rescue system
CN105516904A (en) * 2015-12-24 2016-04-20 三维通信股份有限公司 Small base station and Bluetooth-based indoor mixed positioning method and system
CN106131793A (en) * 2016-08-29 2016-11-16 北斗羲和科技发展(北京)有限公司 A kind of indoor orientation method, device and terminal unit
CN106412816A (en) * 2016-12-19 2017-02-15 东软集团股份有限公司 Positioning method, apparatus and server
CN108616854A (en) * 2017-03-28 2018-10-02 集速智能标签(上海)有限公司 A kind of method and system of indoor positioning
CN112312540A (en) * 2020-09-30 2021-02-02 音数汇元(上海)智能科技有限公司 Service person positioning method, service person positioning device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205986A (en) * 2015-07-30 2015-12-30 浙江万里学院 Fire scene firefighter three-dimensional positioning emergency rescue system
CN105163386A (en) * 2015-09-23 2015-12-16 北京招通致晟科技有限公司 Indoor positioning system and method based on wireless beacon
CN105516904A (en) * 2015-12-24 2016-04-20 三维通信股份有限公司 Small base station and Bluetooth-based indoor mixed positioning method and system
CN106131793A (en) * 2016-08-29 2016-11-16 北斗羲和科技发展(北京)有限公司 A kind of indoor orientation method, device and terminal unit
CN106412816A (en) * 2016-12-19 2017-02-15 东软集团股份有限公司 Positioning method, apparatus and server
CN108616854A (en) * 2017-03-28 2018-10-02 集速智能标签(上海)有限公司 A kind of method and system of indoor positioning
CN112312540A (en) * 2020-09-30 2021-02-02 音数汇元(上海)智能科技有限公司 Service person positioning method, service person positioning device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9429434B2 (en) System and method for mapping an indoor environment
US7991194B2 (en) Apparatus and method for recognizing position using camera
EP2578033B1 (en) Hybrid mobile phone geopositioning
US20170336210A1 (en) Electronic apparatus providing indoor navigation and method thereof
KR20180063263A (en) Three-dimensional space detection system, positioning method and system
WO2015117477A1 (en) Indoor positioning method and device, and computer storage medium
CN109165606B (en) Vehicle information acquisition method and device and storage medium
KR20120124414A (en) Locating electromagnetic signal sources
EP2643794A1 (en) Radio frequency identification system and related operating methods
KR102028456B1 (en) Facility Inspection System using Augmented Reality based on IoT
CN111684293A (en) Apparatus and method for tracking movement of electronic device
CN108917766B (en) Navigation method and mobile terminal
EP3281037A1 (en) Method and apparatus for installing antenna devices and guiding installation
US11156694B2 (en) Supporting a selection of a floor
KR20160090199A (en) Apparatus and method for measuring indoor position using wireless signal
US20170374526A1 (en) Position calculation using bluetooth low energy
KR102144431B1 (en) System of indoor positioning based on AI by using PCP
US8774459B2 (en) Indoor user positioning method using motion recognition unit
CN114745678A (en) Positioning data acquisition method, positioning method and related equipment
CN115866751B (en) Positioning method and device based on fixed beacons and indoor map
CN108605310A (en) A kind of method and device of adjustment locating periodically
TW201140123A (en) Locating electromagnetic signal sources
CN103245343A (en) Relative positioning method and device
KR20120139507A (en) Interior of the wireless networks installed in the multi-ap (access point) through the recognition of the exact position of objects
Retscher et al. Trilateration approaches for seamless out-/indoor GNSS and Wi-Fi smartphone positioning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination