A kind of mobile node positioning method based on Bluetooth technology
Technical field
The application relates to mobile communication technology field, particularly to Bluetooth technology, particularly relates to a kind of based on Bluetooth technology
Mobile node positioning method.
Background technology
Along with the progress of the development of wireless communication technology, particularly digital communication technology, the cost performance of wireless product more becomes
Rationally, so, utilize wireless technology to be monitored, follow the tracks of, position and become a reality.The most common is wireless
Track and localization equipment, it is common that based on global positioning system (GPS, Global Positioning System) or movement
The technology such as the base station auxiliary positioning of communication system (GSM, WCDMA etc.).Wherein, GPS is that current application becomes most
The location technology of merit, but the radio tracking for zonule positions, and the precision of GPS is far not by far up to the mark.And base
In the base station auxiliary positioning of mobile communication system, its positioning precision is lower than GPS.
Bluetooth technology is the radiotechnics of a kind of holding equipment short haul connection (in general 10m), is operated in the whole world
General 2.4GHz ISM (industry, science, medical science) frequency range, uses fast frequency hopping and short packet technology, supports point-to-point
And point-to-multipoint delivery, use time division duplex transmission scheme to realize full duplex transmission.The feature of Bluetooth technology can be concluded
For following some:
Global range uses;
Voice-and-data can be transmitted simultaneously;
Provisional peer to peer connection can be set up;
There is good capacity of resisting disturbance;
Bluetooth module volume is the least, in that context it may be convenient to be integrated in 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.?
New bluetooth 4.0 version is by three kinds of bluetooth core technology, low 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, it is possible to
Run simultaneously.Wherein Low-power Technology can say it is the important breakthrough of bluetooth 4.0 version, possesses extremely low operation and standby
Power consumption, bluetooth equipment one button cell of use even can work as long as the several years continuously.The most also have low cost, across
Vendor interoperability, 3 milliseconds of low latency, more than 100 meters extra long distances, many characteristics such as AES-128 encryption are permissible
For various fields such as pedometer, heart rate monitor, intelligence instrument, sensor Internet of Things, there is wide application model
Enclose.
Low-power consumption Bluetooth Solution is typically based on master/slave mechanism, and i.e. one main equipment is connected from equipment with multiple.One
Individual equipment can be main equipment or from equipment, but it can not be main equipment and from equipment.From the permission communication of equipment
Frequency, by main equipment control, only in the case of main equipment requires, just can communicate from equipment.
It addition, low-power consumption Bluetooth technology new features is exactly " broadcast " function from equipment.Can lead to from equipment
Cross this approach to announce that it has information main equipment to be sent to.
The advantage of Bluetooth technology, the actual application for its radio tracking in zonule location provides condition.Utilize
The product of Bluetooth technology, has advanced technology, the features such as volume is little, low in energy consumption, and cost is low, and, monitoring
Journey allows monitored object move within the specific limits, therefore, utilize Bluetooth technology to relevant special occasions, such as doctor
The personnel of the regional occasion such as institute, mine, workshop, prison carry out real time location tracking, and at something unexpected happened
Time, the position of personnel is positioned, to processing thunder bolt in time, takes emergency measures, reduce its extent of injury
Play very important effect.
Use the system that low-power consumption Bluetooth technology carries out positioning in order to reduce power consumption at present, be mostly to utilize Bluetooth broadcast signal
Position.Such as the patent " a kind of low-power consumption alignment system and localization method " thereof of Application No. 201410172595.9,
Carried the information field of tag ID by the tag broadcast being mounted with bluetooth module, Bluetooth base. station monitors the indigo plant of its overlay area
Tooth broadcast message, and the id information of the label ID information listened to and Bluetooth base. station self is sent to server, by
The positional information of server update label.Owing to the broadcast message of same label may be received by multiple Bluetooth base. station,
Program positioning precision is the highest.
The patent " a kind of positioner based on low-power consumption bluetooth " of Application No. 201410184058.6 and Patent No.
The patent " alignment system of indoor moving equipment and method thereof " of 201410258378.1 utilizes Bluetooth base. station to send broadcast
Signal, mobile terminal carries out determining according to broadcast signal strength or the signal power value of the multiple Bluetooth base. station received
Position, and utilize wireless network (2G, 3G, 4G or WIFI) to send positional information to server.The program is adopted
By multipoint positioning, it is possible to increase the precision of location.But, the program there is also three below problem:
By the transmission broadcast singal of Bluetooth base. station, mobile terminal is received and positions, it is meant that mobile terminal needs prison
Listen to the radio programme channel, to receive broadcast singal measure, carry out location Calculation, complexity and the power consumption to mobile terminal
Require height;
Mobile terminal will be in addition to bluetooth communication capability to be had, and 2G, 3G, 4G or WIFI to be possessed communicate energy
Power, therefore the cost of mobile terminal can be greatly increased;
Owing to the broadcast of low-power consumption bluetooth can use frequency-hopping mode to send on 3 broadcast channels, and these three
The frequency interval of broadcast channel is relatively big (as shown in Figure 1), therefore, and the multiple Bluetooth base. station received when mobile terminal
When broadcast is to send on different broadcast channels, the difference of channel condition may result in location and error occurs.
Summary of the invention
This application provides a kind of mobile node positioning method based on Bluetooth technology, can improve relative to prior art
Positioning precision, and reduce the power consumption of mobile node.
A kind of based on Bluetooth technology the mobile node positioning method that the embodiment of the present application provides, including:
A, bluetooth mobile node judge whether to meet the trigger condition sending Bluetooth broadcast message, if so, selected
Article one, broadcast channel sends Bluetooth broadcast message;
B, receive described Bluetooth broadcast message Bluetooth accessing point measure described bluetooth mobile node received signal strength
The signal intensity of instruction RSSI;
C, the Bluetooth accessing point receiving described Bluetooth broadcast message report described bluetooth mobile node to Surveillance center
Rssi measurement value and the numbering of described broadcast channel;
The rssi measurement received on the identical broadcast channel letter that D, Surveillance center report according to each Bluetooth accessing point
Breath uses certain location algorithm to calculate the positional information of bluetooth mobile node.
It is preferred that farther include before step A:
Bluetooth mobile node carries out channel measurement to the broadcast channel of more than 1;
Bluetooth mobile node selects the channel of interference minimum as broadcast channel to be used according to measurement result.
It is preferred that the trigger condition of described transmission Bluetooth broadcast message includes: whether current time is pre-set wide
Broadcast the moment sending Bluetooth broadcast message of the period defining of message.
It is preferred that the described cycle determines according to the translational speed of mobile node and the requirement of positioning precision.
If it is during it is preferred that do not have other business datums to need mutual between bluetooth mobile node and Bluetooth accessing point, described
Bluetooth broadcast message is disconnected broadcast;
If have other business datums to need mutual between bluetooth mobile node and Bluetooth accessing point, described Bluetooth broadcast disappears
Breath is for connecting broadcast.
It is preferred that the trigger condition of described transmission Bluetooth broadcast message includes: have between bluetooth mobile node and access point
Business datum needs transmission.
As can be seen from the above technical solutions, utilize that low-power consumption Bluetooth technology introduces from device broadcasts characteristic, by bluetooth
Mobile node periodically sends broadcast, Bluetooth accessing point scanning broadcast letter on some selected broadcast channel
Road and by the signal intensity of bluetooth mobile node and broadcast channel number and together with report Surveillance center, Surveillance center is comprehensive
It is positioned by the mobile node information that multiple access points report.The program can be reduced shifting relative to prior art
The power consumption of dynamic node;And, the cycle of broadcast can wanting according to the translational speed of mobile node and positioning precision
Ask and determine, the power consumption of mobile node can be reduced by arranging the rational broadcast cycle further.Due to bluetooth
The broadcast of mobile node is all to send on a selected broadcast channel, it is ensured that multiple Bluetooth accessing points are surveyed
The broadcast message of amount receives the most on the same channel, it is to avoid the position error that channel condition difference causes.
Accompanying drawing explanation
Fig. 1 is the broadcast channel frequencies schematic diagram of low-power consumption bluetooth;
Fig. 2 is low-power consumption blueteeth network topology schematic diagram;
The mobile node positioning method flow chart based on Bluetooth technology that Fig. 3 provides for the embodiment of the present application.
Detailed description of the invention
For making the know-why of technical scheme, feature and technique effect clearer, below in conjunction with concrete real
Execute example technical scheme is described in detail.
Low-power consumption Bluetooth technology is built upon on star topology, and as a example by the network topology shown in Fig. 2, application carries
The mobile node positioning method implementing procedure based on Bluetooth technology of confession is as it is shown on figure 3, comprise the steps:
Step 301: bluetooth mobile node carries out channel measurement to the broadcast channel of more than 1.Such as, bluetooth moves
The channel quality of 3 optional broadcast channels of node measurement.
Step 302: bluetooth mobile node selects the channel of interference minimum as 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 sending Bluetooth broadcast message, if so, blue
Tooth movement node sends Bluetooth broadcast message on the broadcast channel selected.
The trigger condition of described transmission Bluetooth broadcast message is: whether current time is the week of the broadcast pre-set
The moment sending Bluetooth broadcast message of phase regulation.The described cycle is according to the translational speed of mobile node and positioning precision
Require to determine.In principle, the translational speed of mobile node is the fastest, and the highest then broadcast cycle of positioning precision is the shortest, instead
It, broadcast cycle is the longest.Such as, fairly simple method is provided under different positioning precisions arranging various speed
Threshold value, determines broadcast cycle according to the velocity interval that mobile node moves, it is of course possible to design more complicated calculating public
Formula, the application is without limitation.
During additionally, there is business datum to need transmission between bluetooth mobile node and access point, also can trigger transmission bluetooth
Broadcast, but business datum has sudden, in order to ensure positioning precision, in addition it is also necessary to there is periodic broadcast
Send.
This Bluetooth broadcast message both can be disconnected broadcast, it is also possible to being to connect broadcast, Specific Principles is such as
Under:
When not having other business datums to need mutual between bluetooth mobile node and Bluetooth accessing point, send disconnected broadcast
Message;
When having other business datums to need mutual between bluetooth mobile node and Bluetooth accessing point, send and connect broadcast.
Step 304: all Bluetooth accessing points receiving the Bluetooth broadcast that bluetooth mobile node sends are both needed to measure this bluetooth
Signal intensity instruction (RSSI, Received Signal Strength Indication) signal intensity of the reception of mobile node.
Step 305: all Bluetooth accessing points of the Bluetooth broadcast that this bluetooth mobile node sends that receive are all to Surveillance center
Report the rssi measurement value of this mobile node, report the broadcast channel number that this Bluetooth accessing point uses simultaneously.
Step 306: the RSSI received on identical broadcast channel that Surveillance center reports according to each Bluetooth accessing point
Metrical information uses certain location algorithm to calculate the positional information of bluetooth mobile node.
As long as carry out the location algorithm positioned based on RSSI intensity, may be used to the application, such as three-point fix,
RSSI sequence etc. can, this is not construed as limiting by the application.
The foregoing is only the preferred embodiment of the application, not in order to limit the protection domain of the application, all
Within the spirit of technical scheme and principle, any modification, equivalent substitution and improvement etc. done, all should comprise
Within the scope of the application protects.