CN106303949A - Zigbee localization method and location reference point choosing method thereof - Google Patents
Zigbee localization method and location reference point choosing method thereof Download PDFInfo
- Publication number
- CN106303949A CN106303949A CN201510363585.8A CN201510363585A CN106303949A CN 106303949 A CN106303949 A CN 106303949A CN 201510363585 A CN201510363585 A CN 201510363585A CN 106303949 A CN106303949 A CN 106303949A
- Authority
- CN
- China
- Prior art keywords
- reference point
- location reference
- data set
- location
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention discloses a kind of Zigbee localization method and location reference point choosing method thereof.This location reference point choosing method, comprises the following steps: set up a data set, and for preserving the information of the location reference point received, the information of each of which location reference point uniquely exists and includes a Lifetime values;Renewal and the typing of location reference point of a data set is carried out every a prefixed time interval;Step 3, when needs position, extract the location reference point having in this data set.The Zigbee localization method of the present invention and location reference point choosing method thereof can get rid of the image of the interference factors such as the unstability that is wirelessly transferred, by choosing suitable location reference point, so that positioning result is more accurate.
Description
Technical field
The present invention relates to a kind of Zigbee localization method, particularly relate to the location reference in Zigbee location
Point choosing method.
Background technology
ZigBee wireless communication technology is the two-way wireless communication net of a kind of low rate, low-power consumption, low cost
Network technology, can be widely applied to industry-by-industry monitoring, security system, sensor transmissions network, intelligence man
Occupy the fields such as control.It is operated in tri-frequency ranges of 868MHz, 915MHz and 2.4GHz, total
27 channels, communication distance from the 75 of standard meters to hundreds of rice, even km.Wherein, work in
The message transmission rate of 250kbps can be occasionally provided, it is adaptable to high-throughput, low delay during 2.4GH frequency range
Or the occasion of low duty cycle;It is provided that 20kbps, 40kbps when working in 868/915MHz frequency range
Data transmission rate, it is adaptable to low rate, high sensitivity and the occasion of big area coverage.
Measured seven layers of open system interconnection (OSI) model of Zigbee protocol stack, but only to that
The layer relating to ZigBee a bit defines.IEEE802.15.4-203 standard defines physical layer (PHY)
With M AC sublayer (MAC);ZigBee alliance provides Internet (NWK) and application
The design of layer (APL) framework.Wherein the framework of application layer includes application support sublayer (APS), Zigbee
Device object (ZDO) and the application formulated by manufacturer.Each layer of Zigbee protocol stack is it
Upper strata provides one group specifically to service: a data entity provides data transport service, a management entity
Other are provided all to service.Each service entities is that its upper strata carries by a Service Access Point (SAP)
For service structure, and every SAP provides a series of elementary instruction to complete corresponding function.
Location based on Zigbee protocol stack network is made up of three kinds of device nodes: Centroid, reference node
Point and terminal labels.Centroid is promoter and the organizer of network;Reference mode is responsible for letter in network
Cease the route of frame and the reference coordinate of anchor point is provided;Terminal labels is then the mobile individuality needing location.
It is referenced node after the signal broadcast of label receive and be converted to range information according to signal intensity.This distance
The id information of information additional reference node subsequently all feeds back to label.In cycle time, label contrast connects
The range information of each reference mode received, sends out closest reference mode information after being ranked up
To Centroid.Centroid collects the information of all labels and is delivered on background web server, root
Coordinate according to reference mode and the distance to label labelling out position in the 2D location drawing.
Apply above scheme carry out indoor or outdoors location time, cycle time internal reference node feeding back away from
From information due to the unstability being wirelessly transferred, it is possible to the ranking results of location label can be caused adjacent
Repeatedly changing in cycle, the location information displaing coordinate shown as intuitively on the figure of plan-position is jumped repeatedly
Becoming, this has badly influenced the using effect of Position location accuracy and user.
Summary of the invention
The technical problem to be solved in the present invention is fixed for existing Zigbee in order to overcome in prior art
Position technology is likely to be due to the impact of the factors such as the unstability that is wirelessly transferred when location, causes positioning result
Inaccurate defect, it is provided that Zigbee localization method and location reference point choosing method thereof.
The present invention solves above-mentioned technical problem by following technical proposals:
A kind of location reference point choosing method of Zigbee location, its feature is, comprises the following steps:
Step one, set up a data set, for preserving the information of the location reference point received, this data set
In the information of each location reference point uniquely exist, the information of each location reference point includes a life cycle
Value;
Step 2, the renewal carrying out a data set every a prefixed time interval and the record of location reference point
Enter, being wherein updated to of data set, the life cycle of all location reference point having in this data set
Value subtracts one, then rejects the information of the location reference point that Lifetime values is zero, location from this data set
The typing of reference point is, the information of the location reference point that typing receives also gives the location reference point one of typing
Default value is as Lifetime values;
Step 3, when needs position, extract the location reference point having in this data set.
It is preferred that the typing of the location reference point in this step 2, the location having in this data set is joined
When examination point is identical with the location reference point received, by the life of this identical location reference point in this data set
Life periodic quantity resets to this default value.
It is preferred that the information of each location reference point preserved in this data set is sent by a location terminal.
Present invention also offers the location reference point choosing method of another kind of Zigbee location, its feature exists
In, comprise the following steps:
Step one, set up a data set, for preserving the information of the location reference point received, this data set
In the information of each location reference point uniquely exist, the information of each location reference point includes a life cycle
Value;
Step 2, the renewal carrying out data set when receiving the information of location reference point and location reference point
Typing, wherein being updated to of data set, the Life Cycle of all location reference point having in this data set
Time value subtracts one, then rejects the information of the location reference point that Lifetime values is zero from this data set, fixed
The typing of potential reference point is, the information of the location reference point that typing receives also gives the location reference point of typing
One default value is as Lifetime values;
Step 3, when needs position, extract the location reference point having in this data set.
It is preferred that the typing of the location reference point in this step 2, the location having in this data set is joined
When examination point is identical with the location reference point received, by the life of this identical location reference point in this data set
Life periodic quantity resets to this default value.
It is preferred that the information of each location reference point preserved in this data set is sent by a location terminal.
Present invention also offers a kind of Zigbee localization method, its feature is, it is as above fixed to use
Potential reference point choosing method chooses location reference point, using the location reference point chosen as needed for location Calculation
Reference mode.
On the basis of meeting common sense in the field, above-mentioned each optimum condition, can combination in any, i.e. get Ben Fa
Bright each preferred embodiments.
The most progressive effect of the present invention is: the Zigbee localization method of the present invention and location reference point thereof
Choosing method can get rid of the image of the interference factors such as the unstability that is wirelessly transferred, suitable by choosing
Location reference point, so that positioning result is more accurate.
Accompanying drawing explanation
Fig. 1 is the stream of the location reference point choosing method in the Zigbee localization method of the embodiment of the present invention 1
Cheng Tu.
Detailed description of the invention
Further illustrate the present invention below by the mode of embodiment, but the most therefore limit the present invention to
Among described scope of embodiments.
Embodiment 1
The Zigbee localization method of the present embodiment, uses following location reference point choosing method to choose location ginseng
Examination point, using the location reference point chosen as the reference mode needed for location Calculation.
Wherein, as it is shown in figure 1, this location reference point choosing method comprises the following steps:
Step one, set up a data set, for preserving the information of the location reference point received, this data set
In the information of each location reference point uniquely exist, the information of each location reference point includes a life cycle
Value, the information of each location reference point is sent by a location terminal;
Step 2, the renewal carrying out a data set every a prefixed time interval and the record of location reference point
Enter, being wherein updated to of data set, the life cycle of all location reference point having in this data set
Value subtracts one, then rejects the information of the location reference point that Lifetime values is zero, location from this data set
The typing of reference point is, the information of the location reference point that typing receives also gives the location reference point one of typing
Default value is as Lifetime values;
Step 3, when needs position, extract the location reference point having in this data set.
Wherein, the typing of the location reference point in this step 2, the location reference having in this data set
When point is identical with the location reference point received, by the life of this identical location reference point in this data set
Periodic quantity resets to this default value.
Hereinafter, for an application example the implementation process of the Zigbee localization method of the present embodiment is said
Bright.
First, implement existing Zigbee localization method time flow process approximately as:
1. location label sends broadcast message (mainly including the information of self) in a cycle period (t).
2. converse distance according to wireless signal strength after each reference mode receives broadcast message, then add
The information of upper reference mode self feeds back to position label.
3. receive feedback data in label certain period of time after sending broadcast, then according to range data
Being ranked up, and be sent to Centroid, Centroid is forwarded to background server, and unified display is at screen
Position on Mu.
Owing to, within each process cycle, the time of each reference mode feedback data to location label is not solid
Fixed, the location data fluctuations received in resulting in location label each cycle is big.
" every a prefixed time interval " in the Zigbee localization method of the present embodiment, in this step 2
Generally can be understood as the periodicity in position fixing process, this process will be divided into multiple cycle.Under
The application example in face is based on 4 location reference point A, the enforcement of the location in four cycles of B, C, D
Journey is illustrated.
1. the feedback data time-out of first cycle inner position reference point B, the feedback of other location reference point
Data all can normal process, therefore in addition to location reference point B, the range data of other each reference points all can
Participate in sequence, on the location drawing of backstage, then show the position of location label according to ranking results.Location ginseng
It is then 0 that examination point A, the Lifetime values of C, D are endowed as preset value vLife=3, B.
2., in second period, first each location reference point data Lifetime values is all subtracted 1 and (be
VLife-1), it is 0 do not process for original value.In this cycle, location reference point A does not has instead
Feedback data, but its Lifetime values (vLife-1) is still greater than 0, therefore or participate in sequence flow process.Location
Reference point B has normal feedback data, therefore participates in sequence by its data, and the Lifetime values of B is
vLife.Location reference point C, D all Normal Feedback, its Lifetime values all resets to preset value vLife.
3., in the 3rd cycle, first each location reference point data Lifetime values is all subtracted 1.Location ginseng
Examination point A still feedback-less data, but owing to its Lifetime values (vLife-2) is more than 0, therefore or by it
Data join in sequence flow process.Location reference point C feedback data time-out, verifies its Lifetime values
(vLife-1) more than 0, therefore its data participate in sequence flow process.Location reference point B, D Normal Feedback,
Its Lifetime values all resets to preset value vLife.
4., in the 4th cycle, first each location reference point data Lifetime values is all subtracted 1.If location
Reference point A has normal feedback data, then reset its Lifetime values and be vLife and participate in the flow process that sorts,
If without Normal Feedback, then it is not more than 0 due to (vLife-3), is not involved in sequence, until week later
Interim location reference point A again can Normal Feedback.Other each location reference point feedback data are the most just
Often, its Lifetime values all resets to vLife and is ranked up.
Can be seen that from above-mentioned flow process, although in position fixing process, each location reference point there will be feedback coefficient
According to abnormal situation, but the position positioning label when positioning after choosing still can be stable, no
Saltus step can be produced along with the erratic fluctuation of feedback data.
Embodiment 2
Compared to embodiment 1, differing only in of the Zigbee localization method of the present embodiment, in this step
In two, carry out the renewal of data set and the typing of location reference point when receiving the information of location reference point,
Rather than renewal and the location ginseng of a data set is carried out in a periodic manner every a prefixed time interval
The typing of examination point.
Although the foregoing describing the detailed description of the invention of the present invention, but those skilled in the art should managing
Solving, these are merely illustrative of, and protection scope of the present invention is defined by the appended claims.This
The technical staff in field, can be to these embodiment party on the premise of without departing substantially from the principle of the present invention and essence
Formula makes various changes or modifications, but these changes and amendment each fall within protection scope of the present invention.
Claims (7)
1. the location reference point choosing method of a Zigbee location, it is characterised in that include following step
Rapid:
Step one, set up a data set, for preserving the information of the location reference point received, this data set
In the information of each location reference point uniquely exist, the information of each location reference point includes a life cycle
Value;
Step 2, the renewal carrying out a data set every a prefixed time interval and the record of location reference point
Enter, being wherein updated to of data set, the life cycle of all location reference point having in this data set
Value subtracts one, then rejects the information of the location reference point that Lifetime values is zero, location from this data set
The typing of reference point is, the information of the location reference point that typing receives also gives the location reference point one of typing
Default value is as Lifetime values;
Step 3, when needs position, extract the location reference point having in this data set.
2. location reference point choosing method as claimed in claim 1, it is characterised in that this step 2
In the typing of location reference point, the location reference point having in this data set and the location reference received
When point is identical, the Lifetime values of this identical location reference point in this data set is reset to this and presets
Numerical value.
3. location reference point choosing method as claimed in claim 1, it is characterised in that this data set
The information of each location reference point of middle preservation is sent by a location terminal.
4. the location reference point choosing method of a Zigbee location, it is characterised in that include following step
Rapid:
Step one, set up a data set, for preserving the information of the location reference point received, this data set
In the information of each location reference point uniquely exist, the information of each location reference point includes a life cycle
Value;
Step 2, the renewal carrying out data set when receiving the information of location reference point and location reference point
Typing, wherein being updated to of data set, the Life Cycle of all location reference point having in this data set
Time value subtracts one, then rejects the information of the location reference point that Lifetime values is zero from this data set, fixed
The typing of potential reference point is, the information of the location reference point that typing receives also gives the location reference point of typing
One default value is as Lifetime values;
Step 3, when needs position, extract the location reference point having in this data set.
5. location reference point choosing method as claimed in claim 4, it is characterised in that this step 2
In the typing of location reference point, the location reference point having in this data set and the location reference received
When point is identical, the Lifetime values of this identical location reference point in this data set is reset to this and presets
Numerical value.
6. location reference point choosing method as claimed in claim 4, it is characterised in that this data set
The information of each location reference point of middle preservation is sent by a location terminal.
7. a Zigbee localization method, it is characterised in that use as any one in claim 1-6
Location reference point choosing method described in Xiang chooses location reference point, using the location reference point chosen as determining
Reference mode needed for the calculating of position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510363585.8A CN106303949B (en) | 2015-06-26 | 2015-06-26 | Zigbee localization method and its location reference point choosing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510363585.8A CN106303949B (en) | 2015-06-26 | 2015-06-26 | Zigbee localization method and its location reference point choosing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106303949A true CN106303949A (en) | 2017-01-04 |
CN106303949B CN106303949B (en) | 2019-07-05 |
Family
ID=57650261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510363585.8A Active CN106303949B (en) | 2015-06-26 | 2015-06-26 | Zigbee localization method and its location reference point choosing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303949B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088717A (en) * | 2009-12-03 | 2011-06-08 | 北京时代凌宇科技有限公司 | Method, device and system for screening data |
CN103220781A (en) * | 2013-04-24 | 2013-07-24 | 哈尔滨工业大学深圳研究生院 | Method and system of locating wireless sensor network static target |
-
2015
- 2015-06-26 CN CN201510363585.8A patent/CN106303949B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088717A (en) * | 2009-12-03 | 2011-06-08 | 北京时代凌宇科技有限公司 | Method, device and system for screening data |
CN103220781A (en) * | 2013-04-24 | 2013-07-24 | 哈尔滨工业大学深圳研究生院 | Method and system of locating wireless sensor network static target |
Also Published As
Publication number | Publication date |
---|---|
CN106303949B (en) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Han et al. | A grid-based joint routing and charging algorithm for industrial wireless rechargeable sensor networks | |
Tang et al. | Extending Network Lifetime for Precision-Constrained Data Aggregation in Wireless Sensor Networks. | |
US8026814B1 (en) | Wireless mesh network for an asset tracking system | |
CN102165811B (en) | Wireless mesh network with pinch point and method for identifying pinch point in wireless mesh network | |
Anisi et al. | An overview of data routing approaches for wireless sensor networks | |
CN102457877B (en) | In conjunction with network, the method processing WSN terminal processes data and WSN gateway | |
CN101835237A (en) | Data aggregation method in wireless sensor network | |
CN103607763B (en) | The method and system of object location aware in a kind of wireless sensor network | |
Zhang | Real-time detection of energy consumption of IoT network nodes based on artificial intelligence | |
CN102196556A (en) | System and method for determining position and coverage radium of APs (access points) of WIFI (wireless fidelity) network | |
CN205015914U (en) | Thing networking assets management system based on accurate positioning | |
CN105722117B (en) | A kind of method for channel allocation and router of network communication of wireless sensor | |
CN108289317B (en) | Wireless sensor network routing method and device based on big data analysis | |
Bhandari et al. | An energy efficient routing approach for cloud-assisted green industrial IoT networks | |
CN102288836B (en) | Electromagnetic signal monitoring method based on wireless sensor network | |
CN108981807A (en) | A kind of civil engineering work intelligent monitor system | |
CN105510610A (en) | Long-range water quality monitoring system based on wireless sensor network and control method | |
Gupta et al. | Clustering in Lora networks, an energy-conserving perspective | |
Zhao et al. | Artificial intelligence monitoring system using ZigBee wireless network technology in warehousing and logistics innovation and economic cost management | |
CN203561382U (en) | An urban forest health care monitoring system based on a WSN | |
Wan | Research on the model for crop water requirements in wireless sensor networks | |
EP2835663A1 (en) | Apparatuses and method for determining communication activities of a network node in different spatial directions | |
CN106303949A (en) | Zigbee localization method and location reference point choosing method thereof | |
CN106937254A (en) | Zigbee positions networking equipment timer-controlled self-inspection system and method | |
Zhang et al. | Energy-efficient architecture and technologies for device to device (D2D) based proximity service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220407 Address after: 518126 No. 1, floor 2, unit 1, kangtuochang 1, Difu road section, Gushu community, Xixiang street, Bao'an District, Shenzhen, Guangdong Patentee after: Shenzhen Siqin Technology Co.,Ltd. Address before: 200335 Shanghai city Changning District Admiralty Road No. 633 Patentee before: SHANGHAI SIMCOM Ltd. |