A kind of mobile node positioning method based on Bluetooth technology
Technical field
This application involves mobile communication technology fields, in particular to Bluetooth technology, more particularly to one kind to be based on Bluetooth technology
Mobile node positioning method.
Background technique
With the progress of the development of wireless communication technique, especially digital communication technology, the cost performance of wireless product more becomes
Rationally, it so, is monitored, tracked using wireless technology, positioned and become a reality.Common radio tracking positioning currently on the market
Equipment is normally based on global positioning system (GPS, Global Positioning System) or mobile communication system
The technologies such as the base station auxiliary positioning of (GSM, WCDMA etc.).Wherein, GPS be at present using most successful location technology, but for
The radio tracking of zonule positions, and the precision of GPS is far from the requirment.And the base station auxiliary based on mobile communication system is fixed
Position, positioning accuracy ratio GPS are lower.
Bluetooth technology is a kind of radio technology of holding equipment short haul connection (in general 10m), is worked in Global Link
2.4GHz ISM (industry, science, medicine) frequency range supports point-to-point and point-to-multipoint using fast frequency hopping and short packet technology
Communication realizes full duplex transmission using time division duplex transmission scheme.The characteristics of Bluetooth technology, can be summarized as the following:
Global range uses;
It can simultaneous transmission voice-and-data;
It can establish provisional peer to peer connection;
With good anti-interference ability;
Bluetooth module volume very little, it may be convenient to be integrated into various equipment;
Low-power consumption;
Open interface standard.
Up to now, Bluetooth protocol released altogether six versions: Bluetooth V1.1/1.2/2.0/2.1/3.0/
4.0.Newest 4.0 version of bluetooth is low by three kinds of bluetooth core technologies, including traditional bluetooth technology, blue teeth high speed technology and bluetooth
Power consumption (Bluetooth Low Energy, BLE) technology integrates.Three kinds of technical specifications can be used alone, can also same luck
Row.Wherein Low-power Technology can say be 4.0 version of bluetooth important breakthrough, have extremely low operation and stand-by power consumption, bluetooth is set
It is standby even can continuous work as long as the several years using a button cell.Also possess low cost simultaneously, across vendor interoperability, 3 millis
Second low latency, 100 meters or more extra long distances, many characteristics such as AES-128 encryption can be used for pedometer, heart rate monitor, intelligence
The various fields such as energy instrument, sensor Internet of Things, have wide application range.
Low-power consumption bluetooth solution is typically based on master/slave mechanism, i.e. a main equipment is connected with multiple from equipment.One
A equipment can be main equipment or from equipment, but it cannot be both main equipment and from equipment.Allow to communicate frequency from equipment
Rate is controlled by main equipment, only in the case where main equipment requires, can just be communicated from equipment.
In addition, a new features of bluetooth technology with low power consumption are exactly " broadcast " function from equipment.It can pass through from equipment
This approach announces that it has information to send main equipment to.
The practical application for the radio tracking positioning that the advantage of Bluetooth technology is it in zonule provides condition.It utilizes
The product of Bluetooth technology, have it is technologically advanced, it is small in size, it is low in energy consumption, the features such as low cost, moreover, allowing during monitoring
Monitored object moves in a certain range, therefore, using Bluetooth technology to related special occasions, as hospital, mine, workshop,
The personnel of the regionality occasion such as prison carry out real time location tracking, and in something unexpected happened, carry out to the position of personnel
Positioning takes emergency measures to timely processing accident, reduce its extent of injury play the role of it is very important.
The system for using bluetooth technology with low power consumption to be positioned at present is mostly to utilize Bluetooth broadcast signal in order to reduce power consumption
It is positioned.Such as application No. is 201410172595.9 patent " a kind of low-power consumption positioning system and its localization method ", by filling
The tag broadcast for being loaded with bluetooth module carries the information field of tag ID, and Bluetooth base. station monitors the Bluetooth broadcast letter of its overlay area
Breath, and the id information of the label ID information listened to and Bluetooth base. station itself is sent to server, by server update label
Location information.Since the broadcast message of the same label may be received by multiple Bluetooth base. stations, program positioning accuracy is not
It is high.
Application No. is 201410184058.6 patent " a kind of positioning device based on low-power consumption bluetooth " and Patent No.
201410258378.1 patent " positioning system and its method of indoor moving equipment " sends broadcast singal using Bluetooth base. station,
Mobile terminal is positioned according to the broadcast signal strength of the multiple Bluetooth base. stations received or signal power value, and is utilized
Location information is sent to server by wireless network (2G, 3G, 4G or WIFI).The program uses multipoint positioning, Neng Gouti
The precision of height positioning.However, there is also following three problems for the program:
By the transmission broadcast singal of Bluetooth base. station, mobile terminal is received and is positioned, it is meant that mobile terminal needs to supervise
Listen to the radio programme channel, measure, carry out location Calculation to receiving broadcast singal, to the complexity and power consumption requirements of mobile terminal
It is high;
Mobile terminal will will also have 2G, 3G, 4G or WIFI communication capacity other than bluetooth communication capability to be had, because
The cost of this mobile terminal can greatly increase;
Since the broadcast message of low-power consumption bluetooth can be sent on 3 broadcast channels using frequency-hopping mode, and this three
The frequency interval of broadcast channel is larger (as shown in Figure 1), therefore, when the broadcast for multiple Bluetooth base. stations that mobile terminal receives disappears
Breath is when sending on different broadcast channels, and the difference of channel condition may result in positioning and error occurs.
Summary of the invention
This application provides a kind of mobile node positioning methods based on Bluetooth technology, can be improved compared with the existing technology
Positioning accuracy, and reduce the power consumption of mobile node.
A kind of mobile node positioning method based on Bluetooth technology provided by the embodiments of the present application, comprising:
A, bluetooth mobile node judges whether to meet the trigger condition for sending Bluetooth broadcast message, if so, selected one
Bluetooth broadcast message is sent on broadcast channel;
B, the Bluetooth accessing point measurement for receiving the Bluetooth broadcast message obtains the reception signal of the bluetooth mobile node
Intensity indicates RSSI;
C, the Bluetooth accessing point for receiving the Bluetooth broadcast message reports the bluetooth mobile node to monitoring center
The number of rssi measurement value and the broadcast channel;
D, monitoring center is believed according to the rssi measurement received on identical broadcast channel that each Bluetooth accessing point reports
Breath calculates the location information of bluetooth mobile node using certain location algorithm.
Preferably, further comprising before step A:
Bluetooth mobile node carries out channel measurement to 1 or more broadcast channel;
Bluetooth mobile node selects the smallest channel of interference as institute's broadcast channel to be used according to measurement result.
Preferably, the trigger condition for sending Bluetooth broadcast message includes: whether current time is pre-set wide
At the time of broadcasting the transmission Bluetooth broadcast message of the period defining of message.
Preferably, the period determines according to the requirement of the movement speed of mobile node and positioning accuracy.
Preferably, if when there is no other business datums to need to interact between bluetooth mobile node and Bluetooth accessing point, it is described
Bluetooth broadcast message is disconnected broadcast message;
If have other business datums to need to interact between bluetooth mobile node and Bluetooth accessing point, the Bluetooth broadcast disappears
Breath is connection broadcast message.
Preferably, the trigger condition for sending Bluetooth broadcast message includes: to have between bluetooth mobile node and access point
Business datum needs to transmit.
As can be seen from the above technical solutions, the slave device broadcasts characteristic introduced using bluetooth technology with low power consumption, by bluetooth
Mobile node periodically sends broadcast message on some selected broadcast channel, and Bluetooth accessing point scans broadcast channel simultaneously
It is reported to monitoring center, the comprehensive multiple accesses of monitoring center by the signal strength of bluetooth mobile node and broadcast channel number and together
The mobile node information that point reports positions it.The program can be reduced the function of mobile node compared with the existing technology
Consumption;Moreover, the period of broadcast message can determine according to the requirement of the movement speed of mobile node and positioning accuracy, by setting
The power consumption of mobile node can be further decreased by setting the reasonable broadcast message period.Due to bluetooth mobile node broadcast message all
It is to be sent on a selected broadcast channel, ensure that the broadcast message of multiple Bluetooth accessing point measurements is all identical
It is received on channel, avoids position error caused by channel condition difference.
Detailed description of the invention
Fig. 1 is the broadcast channel frequencies schematic diagram of low-power consumption bluetooth;
Fig. 2 is low-power consumption bluetooth network topology schematic diagram;
Fig. 3 is the mobile node positioning method flow chart provided by the embodiments of the present application based on Bluetooth technology.
Specific embodiment
To keep the technical principle, feature and technical effect of technical scheme clearer, below in conjunction with specific reality
Example is applied technical scheme is described in detail.
Bluetooth technology with low power consumption is built upon on star topology, and by taking network topology shown in Fig. 2 as an example, application is provided
The mobile node positioning method implementing procedure based on Bluetooth technology as shown in figure 3, including the following steps:
Step 301: bluetooth mobile node carries out channel measurement to 1 or more broadcast channel.For example, bluetooth mobile node
Measure the channel quality of 3 optional broadcast channels.
Step 302: bluetooth mobile node selects the smallest channel of interference as institute's broadcast to be used according to measurement result
Channel.
Step 301 to step 302 is optional step.
Step 303: bluetooth mobile node judges whether to meet the trigger condition for sending Bluetooth broadcast message, if so, bluetooth
Mobile node sends Bluetooth broadcast message on the broadcast channel of selection.
It is described send Bluetooth broadcast message trigger condition are as follows: current time whether be pre-set broadcast message week
At the time of sending Bluetooth broadcast message as defined in phase.The period is according to the requirement of the movement speed and positioning accuracy of mobile node
To determine.In principle, the movement speed of mobile node is faster, and the more high then broadcast cycle of positioning accuracy is shorter, conversely, broadcast cycle
It is longer.For example, fairly simple method is to be arranged under different positioning accuracy that various threshold speeds are arranged, according to mobile node
Mobile velocity interval determines broadcast cycle, it is of course possible to design more complicated calculation formula, the application is without limitation.
In addition, can also trigger transmission bluetooth when thering is business datum to need to transmit between bluetooth mobile node and access point
Broadcast message, but business datum have it is sudden, in order to guarantee positioning accuracy, it is also necessary to have periodically broadcast message send.
The Bluetooth broadcast message is also possible to connection broadcast message, Specific Principles are such as either disconnected broadcast message
Under:
When there is no other business datums to need to interact between bluetooth mobile node and Bluetooth accessing point, disconnected broadcast is sent
Message;
When there are other business datums to need to interact between bluetooth mobile node and Bluetooth accessing point, sends connection broadcast and disappear
Breath.
Step 304: the Bluetooth accessing point of all Bluetooth broadcasts for receiving the sending of bluetooth mobile node is both needed to measurement and is somebody's turn to do
The received signal intensity of bluetooth mobile node indicates (RSSI, Received Signal Strength Indication).
Step 305: the Bluetooth accessing point of all Bluetooth broadcasts for receiving bluetooth mobile node sending is to monitoring center
Report the rssi measurement value of the mobile node, while the broadcast channel number for reporting the Bluetooth accessing point to use.
Step 306: the RSSI received on identical broadcast channel that monitoring center is reported according to each Bluetooth accessing point
Metrical information calculates the location information of bluetooth mobile node using certain location algorithm.
As long as the application may be used to based on the location algorithm that RSSI intensity is positioned, such as three-point fix,
RSSI sequence etc. is ok, and the application is not construed as limiting this.
The foregoing is merely the preferred embodiments of the application, not to limit the protection scope of the application, it is all
Within the spirit and principle of technical scheme, any modification, equivalent substitution, improvement and etc. done should be included in this Shen
Within the scope of please protecting.