CN106303949B - Zigbee localization method and its location reference point choosing method - Google Patents

Zigbee localization method and its location reference point choosing method Download PDF

Info

Publication number
CN106303949B
CN106303949B CN201510363585.8A CN201510363585A CN106303949B CN 106303949 B CN106303949 B CN 106303949B CN 201510363585 A CN201510363585 A CN 201510363585A CN 106303949 B CN106303949 B CN 106303949B
Authority
CN
China
Prior art keywords
reference point
location reference
data set
information
location
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.)
Active
Application number
CN201510363585.8A
Other languages
Chinese (zh)
Other versions
CN106303949A (en
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 Siqin Technology Co.,Ltd.
Original Assignee
Shanghai Simcom 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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201510363585.8A priority Critical patent/CN106303949B/en
Publication of CN106303949A publication Critical patent/CN106303949A/en
Application granted granted Critical
Publication of CN106303949B publication Critical patent/CN106303949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-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 its location reference point choosing methods.The location reference point choosing method a, comprising the following steps: data set is established, for saving the information of the location reference point received, wherein the information of each location reference point uniquely exists and including a Lifetime values;The update an of data set and the typing of location reference point are carried out every a prefixed time interval;Step 3: extracting the location reference point having in the data set when being positioned.Zigbee localization method and its location reference point choosing method of the invention can exclude the image of the disturbing factors such as the unstability of wireless transmission, by choosing location reference point appropriate, so that positioning result is more acurrate.

Description

Zigbee localization method and its location reference point choosing method
Technical field
The present invention relates to the location reference point selection sides in a kind of Zigbee localization method more particularly to Zigbee positioning Method.
Background technique
ZigBee wireless communication technique is the two-way wireless communication network technology of a kind of low rate, low-power consumption, low cost, can It is widely used in the fields such as various industries monitoring, security system, sensor transmissions network, Intelligent housing.It works In tri- frequency ranges of 868MHz, 915MHz and 2.4GHz, share 27 channels, communication distance from 75 meters of standard to several hundred rice, very Supreme km.Wherein, the message transmission rate of 250kbps can be occasionally provided when working in 2.4GH frequency range, be suitable for high-throughput, The occasion of low delay or low duty cycle;The data transmission of 20kbps, 40kbps can be provided when working in 868/915MHz frequency range Rate, suitable for low rate, the occasion of high sensitivity and big area coverage.
Measured seven layers of open system interconnection (OSI) model of Zigbee protocol stack, but only those are related to The layer of ZigBee, which is given, to be defined.IEEE802.15.4-203 standard defines physical layer (PHY) and M AC sublayer (MAC);ZigBee alliance provides the design of network layer (NWK) and application layer (APL) frame.Wherein the frame of application layer includes Application support sublayer (APS), Zigbee device object (ZDO) and the application formulated by manufacturer.Zigbee protocol stack Each layer provides one group for its upper layer and specifically services: a data entity provides data transport service, and a management entity mentions It is all serviced for other.Each service entities provide service structure by a Service Access Point (SAP) for its upper layer, and every SAP provides a series of elementary instruction to complete corresponding function.
It is made of based on the positioning network of Zigbee protocol stack three kinds of device nodes: central node, reference mode and terminal Label.Central node is the promoter and organizer of network;Reference mode is responsible for the routing of information frame in network and provides positioning The reference coordinate of point;Terminal labels are then the mobile individuals for needing to position.Node is referenced after the signal broadcast of label to receive simultaneously Range information is converted to according to signal strength.The id information of the subsequent additional reference node of the range information is all fed back to label.Week In time phase, the range information for each reference mode that label comparison receives will be apart from nearest reference node after being ranked up Point information is dealt into central node.Central node summarizes the information of all labels and is transmitted on background web server, according to reference The coordinate of node and out position is marked in the 2D location drawing to the distance of label.
When application above scheme carries out indoor or outdoors positioning, the range information of cycle time internal reference node feeding back by In the unstability of wireless transmission, it is possible to which the ranking results that will cause positioning label change repeatedly in adjacent periods, intuitively Ground shows as the location information displaing coordinate on the figure of plan-position and jumps repeatedly, this seriously affects positioning accuracy and use The using effect at family.
Summary of the invention
The technical problem to be solved by the present invention is to exist in the prior art for existing Zigbee location technology to overcome It may cause the defect of positioning result inaccuracy due to the influence of the factors such as the unstability of wireless transmission when positioning, provide Zigbee localization method and its location reference point choosing method.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of location reference point choosing method of Zigbee positioning, it is characterized in that, comprising the following steps:
Step 1: a data set is established in positioning terminal, and for saving the information of the location reference point received, the data The information of each location reference point is concentrated uniquely to exist, the information of each location reference point includes all one's life life periodic quantity;
Step 2: the update an of data set and the typing of location reference point are carried out every a prefixed time interval, wherein Data set is updated to, and subtracts one for the Lifetime values for all location reference points having in the data set, then from the data The information for rejecting the location reference point that Lifetime values are zero is concentrated, the typing of location reference point is the positioning ginseng that typing receives The information of examination point simultaneously assigns one default value of location reference point of typing as Lifetime values;
Step 3: extracting the location reference point having in the data set when being positioned.
Preferably, the typing of the location reference point in the step 2, the location reference point and receipts having in the data set When the location reference point arrived is identical, the Lifetime values of the identical location reference point in the data set are reset to this and are preset Numerical value.
Preferably, the information of each location reference point saved in the data set is issued by a location reference point.
The present invention also provides the location reference point choosing methods of another Zigbee positioning, it is characterized in that, including with Lower step:
Step 1: a data set is established in positioning terminal, and for saving the information of the location reference point received, the data The information of each location reference point is concentrated uniquely to exist, the information of each location reference point includes all one's life life periodic quantity;
Step 2: the update of data set and the typing of location reference point are carried out in the information for receiving location reference point, Middle data set is updated to, and subtracts one for the Lifetime values for all location reference points having in the data set, then from the number According to the information for rejecting the location reference point that Lifetime values are zero is concentrated, the typing of location reference point is the positioning that typing receives The information of reference point simultaneously assigns one default value of location reference point of typing as Lifetime values;
Step 3: extracting the location reference point having in the data set when being positioned.
Preferably, the typing of the location reference point in the step 2, the location reference point and receipts having in the data set When the location reference point arrived is identical, the Lifetime values of the identical location reference point in the data set are reset to this and are preset Numerical value.
Preferably, the information of each location reference point saved in the data set is issued by a location reference point.
The present invention also provides a kind of Zigbee localization methods, it is characterized in that, using location reference point as described above Choosing method chooses location reference point, using the location reference point of selection as reference mode needed for location Calculation.
On the basis of common knowledge of the art, above-mentioned each optimum condition, can any combination to get each preferable reality of the present invention Example.
The positive effect of the present invention is that: Zigbee localization method and its location reference point choosing method of the invention The image that can exclude the disturbing factors such as the unstability of wireless transmission, by choosing location reference point appropriate, so that Positioning result is more acurrate.
Detailed description of the invention
Fig. 1 is the flow chart of the location reference point choosing method in the Zigbee localization method of the embodiment of the present invention 1.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality It applies among a range.
Embodiment 1
The Zigbee localization method of the present embodiment chooses location reference point using following location reference point choosing method, will The location reference point of selection is as reference mode needed for location Calculation.
Wherein, as shown in Figure 1, the location reference point choosing method the following steps are included:
Step 1: a data set is established in positioning terminal, and for saving the information of the location reference point received, the data The information of each location reference point is concentrated uniquely to exist, the information of each location reference point includes all one's life life periodic quantity, per certain The information of potential reference point is issued by a location reference point;
Step 2: the update an of data set and the typing of location reference point are carried out every a prefixed time interval, wherein Data set is updated to, and subtracts one for the Lifetime values for all location reference points having in the data set, then from the data The information for rejecting the location reference point that Lifetime values are zero is concentrated, the typing of location reference point is the positioning ginseng that typing receives The information of examination point simultaneously assigns one default value of location reference point of typing as Lifetime values;
Step 3: extracting the location reference point having in the data set when being positioned.
Wherein, the typing of the location reference point in the step 2, the location reference point having in the data set with receive Location reference point it is identical when, the Lifetime values of the identical location reference point in the data set are reset into the present count Value.
Hereinafter, being illustrated for an application example to the implementation process of the Zigbee localization method of the present embodiment.
Firstly, process when implementing existing Zigbee localization method approximately as:
1. position label sends broadcast message (mainly including the information of itself) in a cycle period (t).
2. each reference mode receives and converses distance according to wireless signal strength after broadcast message, reference node is added The information of point itself feeds back to positioning label.
3. label receives feedback data in the certain period of time after sending broadcast, then arranged according to range data Sequence, and it is sent to central node, central node is forwarded to background server, is uniformly displayed on the screen and is positioned.
Since in each process cycle, the time of each reference mode feedback data to positioning label is not fixed, just make It is big at the location data fluctuation received in positioning label each period.
In the Zigbee localization method of the present embodiment, " every a prefixed time interval " in the step 2 generally can be with This process is divided into multiple periods by the periodicity being interpreted as in position fixing process.Following application example is based on 4 positioning The implementation process of the positioning in four periods of reference point A, B, C, D is illustrated.
1. the feedback data time-out of location reference point B, the feedback data of other location reference points all can in a cycle Normal processing, therefore other than location reference point B, the range data of other each reference points can all participate in sorting, then according to sequence As a result the position of positioning label is shown on the location drawing of backstage.It is default that the Lifetime values of location reference point A, C, D, which are endowed, Value vLife=3's, B is then 0.
2. in second period, first each location reference point data Lifetime values are all subtracted 1 (as vLife-1), it is right It is 0 then not handle in original value.In this period, location reference point A does not have feedback data, but its Lifetime values (vLife-1) it is still greater than 0, therefore still participates in sequence process.Location reference point B has normal feedback data, therefore its data is joined With into sequence, the Lifetime values of B are vLife.Location reference point C, D all Normal Feedbacks, Lifetime values are all reset to Preset value vLife.
3. in the third period, first all subtracting 1 for each location reference point data Lifetime values.Location reference point A still without Feedback data, but since its Lifetime values (vLife-2) is greater than 0, therefore still its data is added in sequence process.Positioning Reference Point C feedback data time-out, verifies its Lifetime values (vLife-1) greater than 0, therefore its data participates in sequence process.Positioning Reference point B, D Normal Feedback, Lifetime values all reset to preset value vLife.
4. first all subtracting 1 for each location reference point data Lifetime values in the 4th period.If location reference point A has Normal feedback data then resets its Lifetime values and is vLife and participates in sequence process, if without Normal Feedback, due to (vLife-3) be not more than 0, be not involved in sequence, until until period in location reference point A again being capable of Normal Feedback.Its His each location reference point feedback data is all normal, and Lifetime values reset to vLife and are ranked up.
Although will appear feedback data exception from can be seen that each location reference point in position fixing process in above-mentioned process Situation, but when being positioned after choosing the position of positioning label still can be it is stable, will not be with the shakiness of feedback data Standing wave is dynamic and generates jump.
Embodiment 2
Compared to embodiment 1, the difference of the Zigbee localization method of the present embodiment is only that, in the step 2, is being received To location reference point information when carry out data set update and location reference point typing, rather than in a periodic manner every One prefixed time interval carries out the update an of data set and the typing of location reference point.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that these It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back Under the premise of from the principle and substance of the present invention, many changes and modifications may be made, but these are changed Protection scope of the present invention is each fallen with modification.

Claims (7)

1. a kind of location reference point choosing method of Zigbee positioning, which comprises the following steps:
Step 1: a data set is established in positioning terminal, for saving the information of the location reference point received, in the data set The information of each location reference point uniquely exists, and the information of each location reference point includes all one's life life periodic quantity;
Step 2: carry out the update of data set and the typing of location reference point every a prefixed time interval, wherein data The Lifetime values for all location reference points having in the data set are subtracted one, then from the data set by being updated to for collection The information for the location reference point that Lifetime values are zero is rejected, the typing of location reference point is the location reference point that typing receives Information and assign one default value of location reference point of typing as Lifetime values;
Step 3: extracting the location reference point having in the data set when being positioned.
2. location reference point choosing method as described in claim 1, which is characterized in that location reference point in the step 2 Typing, when the location reference point having in the data set is identical as the location reference point received, by the phase in the data set The Lifetime values of same location reference point reset to the default value.
3. location reference point choosing method as described in claim 1, which is characterized in that each positioning saved in the data set The information of reference point is issued by a location reference point.
4. a kind of location reference point choosing method of Zigbee positioning, which comprises the following steps:
Step 1: a data set is established in positioning terminal, for saving the information of the location reference point received, in the data set The information of each location reference point uniquely exists, and the information of each location reference point includes all one's life life periodic quantity;
Step 2: the update of data set and the typing of location reference point are carried out in the information for receiving location reference point, wherein counting According to being updated to for collection, the Lifetime values for all location reference points having in the data set are subtracted one, then from the data set The middle information for rejecting the location reference point that Lifetime values are zero, the typing of location reference point are the positioning reference that typing receives The information of point simultaneously assigns one default value of location reference point of typing as Lifetime values;
Step 3: extracting the location reference point having in the data set when being positioned.
5. location reference point choosing method as claimed in claim 4, which is characterized in that location reference point in the step 2 Typing, when the location reference point having in the data set is identical as the location reference point received, by the phase in the data set The Lifetime values of same location reference point reset to the default value.
6. location reference point choosing method as claimed in claim 4, which is characterized in that each positioning saved in the data set The information of reference point is issued by a location reference point.
7. a kind of Zigbee localization method, which is characterized in that using the positioning reference as described in any one of claim 1-6 Point choosing method chooses location reference point, using the location reference point of selection as reference mode needed for location Calculation;
The position of positioning terminal is shown on the location drawing according to reference mode.
CN201510363585.8A 2015-06-26 2015-06-26 Zigbee localization method and its location reference point choosing method Active CN106303949B (en)

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 CN106303949A (en) 2017-01-04
CN106303949B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN106303949A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN112689300B (en) Method, apparatus, system, and medium for managing application and execution unit
US10949633B1 (en) Asset management using an asset tag device
Ogundile et al. A survey on an energy-efficient and energy-balanced routing protocol for wireless sensor networks
JP6426834B2 (en) Presentation of radio spectrum usage information
CN105934976B (en) The method, apparatus and master-slave network electricity-saving system of master-slave network suspend mode and wake-up
Bashir et al. Resource allocation through logistic regression and multicriteria decision making method in IoT fog computing
US8654671B2 (en) System and method for QoS support in ubiquitous sensor
CN104349366B (en) A kind of radio network problems association analysis method based on GIS
Anisi et al. An overview of data routing approaches for wireless sensor networks
CN109392005A (en) A kind of method of signal strength measurement, relevant apparatus and system
US20170006435A1 (en) Management device, management system, management method, and management program
US9462549B2 (en) Systems and methods for optimizing power consumption associated with processing group addressed messages
CN102165811A (en) Wireless mesh network with pinch point and low battery alerts
Mustapha et al. An energy-efficient spectrum-aware reinforcement learning-based clustering algorithm for cognitive radio sensor networks
WO2014055486A1 (en) System and method for support of one-way endpoints in two-way wireless networks
CN1879334A (en) A method and apparatus for interrupting a transmission of a multicast signal
JP2018514971A (en) Interleaved communication with resource providers and home area networks
CN107509165A (en) A kind of method for being calculated based on big data, determining AP positions
Sadeq et al. Conceptual framework for future WSN-MAC protocol to achieve energy consumption enhancement
CN105510610A (en) Long-range water quality monitoring system based on wireless sensor network and control method
Lino et al. Dynamic reconfiguration of cluster-tree wireless sensor networks to handle communication overloads in disaster-related situations
CN106303949B (en) Zigbee localization method and its location reference point choosing method
Shah et al. An innovative clustering hierarchical protocol for data collection from remote wireless sensor networks based internet of things applications
CN203561382U (en) An urban forest health care monitoring system based on a WSN
CN106210107A (en) Animal heat acquisition method and system

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

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.

TR01 Transfer of patent right