The method that personnel's in-out management system and boundary crossover thereof judge
Technical field
The present invention relates to the communications field, particularly relate to a kind of personnel's in-out management system and the side of boundary crossover judgement thereof
Method.
Background technology
Gradual perfection and the energy of the continuous renewal of rural IT application, safety precaution and control along with intelligent management system
Power is greatly enhanced, and such as, school, prison, government department, archives, large-scale plant area and intelligent residential district etc. are for the turnover of personnel
Management has bigger demand.
Prior art generally use radio-frequency technique RFID realize the turnover management of personnel, wherein, a kind of technical scheme
Using active RFID product, active RFID product groundwork frequency uses the 2.4GHz that microwave is simple, and uses RSSI
(Received Signal Strength Indication, the signal intensity instruction of reception) location, location technology feasible region,
The shortcoming of this kind of method is: 1. field intensity has extremely strong dependency for environment, and field intensity value easily changes along with environmental change, this
It is inaccurate that sample results in location;2. during installation and debugging, the installation site of antenna, setting angle are required higher, and also to be entered
The debugging of row range of signal, uses environment different, and the parameter of debugging is the most different, does not has unified standard, the most greatly increases
Having added quantities, be unfavorable for the popularization in market, for school gate scheme, the gate size of each school is different from, institute
It is required for debugging with the project of each school.In order to signal is not blocked, antenna is the most all arranged on above doorframe, thus can
Causing when doorframe height is more than the width of door is that debugging signal is relatively difficult, if for the model at whole door during debugging
Enclosing interior signal all standing, range of signal is necessary for more than doorframe width, and in such door, aerial signal overlapping region outdoors is compared
Many, the external revolution of door inside door will change in the position location of overlapping region, cause erroneous judgement, if signal not all standing, then can go out
Existing signal blind zone, inlet/outlet interpretation that cannot be correct in blind area, also there will be erroneous judgement.
The another kind of technical scheme using RFID technique in prior art uses semi-active RFID product, and semi-active RFID produces
Product, under the triggering of low frequency 125KHZ frequency, allow microwave 2.4GHz make the most of the advantage, and wherein, 2.4GHz is used for wireless data transmission,
125KHz is used for positioning, and positions for feasible region, and the shortcoming of this method is: owing to 125KHz communication distance is near, the most several
Rice, thus requires higher to installation site, existing is generally mounted to ground or roof, in order to attractive in appearance when being installed on ground
Needing antenna is buried to underground, communication distance of the most not only having decayed, also increase quantities, some ground is also inconvenient to dig
Open, thus significantly limit applied environment.
In addition to using above-mentioned RFID technique, the prior art also having uses GPS location technology to realize the inlet/outlet pipe of personnel
Reason, gps signal positioning precision ratio is relatively low, can only achieve meter level, it is impossible to realize the demand of hi-Fix.
In technique scheme, technical scheme existence and stability is poor, reproducibility is poor for the first, thus causes debugging engineering
Measure big shortcoming;The second technical scheme depends on construction environment, and construction work amount is big;The third technical scheme positioning precision
Low.
Summary of the invention
The technical problem to be solved in the present invention is to provide that a kind of equipment cost is low, debugging quantities is little, easy construction, location
Personnel's in-out management system that precision is high and the method that boundary crossover judges thereof.
For solving above-mentioned technical problem, the present invention provides technical scheme as follows:
A kind of personnel's in-out management system, including UWB anchor point with some can carry out data communication with described UWB anchor point
Label to be positioned, described UWB anchor point connects has the first antenna in being deployed in door and for being deployed in second day outdoors
Line, described first antenna and the second antenna symmetry are arranged on inside and outside door.
The method that the boundary crossover of above-mentioned personnel's in-out management system judges, including:
Step 1:UWB anchor point obtains current location and the historical position of label to be positioned;
Step 2:UWB anchor point is according to the current location of label to be positioned and historical position, it is judged that the turnover of label to be positioned
Door action.
Further, described step 1 includes:
When the label to be positioned distance away from first antenna is less than the label to be positioned distance away from the second antenna, then UWB anchor
Point assert that the position of label to be positioned is positioned at door;
When the label to be positioned distance away from first antenna is more than the label to be positioned distance away from the second antenna, then UWB anchor
Point assert that the position of label to be positioned is positioned at outdoors.
Further, described step 1 also includes:
Only when the double position to label to be positioned of UWB anchor point assert that result is identical, just knot is assert in this position
Fruit is recorded as the current location of label to be positioned, otherwise, not record.
Further, described step 2 includes:
Step 21: judge whether the current location of label to be positioned and historical position are positioned at inside and outside door, if it is,
Perform step 22;If it does not, perform step 23;
Step 22: when the historical position of label to be positioned is positioned at the outside of door, then UWB anchor point assert that label to be positioned enters
Door;When the historical position of label to be positioned is positioned at the inner side of door, then UWB anchor point assert that label to be positioned is gone out, and terminates;
Step 23:UWB anchor point assert that label to be positioned does not occurs inlet/outlet action, terminates.
The method have the advantages that
In the present invention, using UWB technology to realize personnel and pass in and out management, UWB technology uses by signal skyborne
Flight time finds range, and range accuracy can reach 30cm, and the present invention is capable of detecting when label to be positioned and UWB anchor point
Accurate distance.
As long as the present invention one has the UWB anchor point of double antenna, equipment cost is low.In the deployment of system, first
Allocating antenna is in door, and the second allocating antenna is outdoors, and first antenna and the second antenna symmetry are arranged on inside and outside door.This
Sample, first antenna and the second antenna and the range finding length of label to be positioned, and the distance formation of first antenna and the second antenna
One triangle.Using the distance of first antenna and the second antenna as the base of this triangle, first antenna and the second antenna with
Two waist edge of a length of triangle of finding range of label to be positioned, judge at Men Nei or door according to the length of two waist edge
Outward.When being embodied as, when the range finding length of label to be positioned with first antenna is less than label to be positioned and the range finding of the second antenna
Length, then UWB anchor point assert that label to be positioned is positioned at door;When label to be positioned and the range finding length of first antenna are more than undetermined
Position label and the range finding length of the second antenna, then UWB anchor point assert that label to be positioned is positioned at outdoors.
The present invention makes a big difference with the zone location of RFID technique of the prior art.Including: the present invention does not uses
Field intensity technology, to label to be positioned, is affected thus without by environment, improves Position location accuracy;The present invention need not basis
Use the difference of environment to different parameter testings, therefore, there is no need to carry out the debugging of range of signal, thus reduce the present invention
Debugging quantities;UWB technology in the present invention can communication distance farther out, system components may be mounted at relatively far away from
Distance, the extensibility of deployed position is big, and therefore, the present invention is less demanding to antenna mounting locations, setting angle, only need to expire
The regulation deployed position of the foot present invention, easy construction.
Additionally, the positioning precision in the present invention can reach 30cm, compared to GPS location technology of the prior art, this
Invention is capable of hi-Fix.
To sum up, compared with prior art, the present invention have that equipment cost is low, quantities is little in debugging, easy construction and location
The feature that precision is high.
Accompanying drawing explanation
Fig. 1 is the application principle figure of personnel's in-out management system of the present invention;
Fig. 2 is the schematic flow sheet of the method for the boundary crossover judgement of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
On the one hand, the present invention provides a kind of personnel's in-out management system, as it is shown in figure 1, include UWB anchor point and some can
With the label to be positioned 3 that UWB anchor point carries out data communication, UWB anchor point connects to be had the first antenna 1 in being deployed in door and uses
In being deployed in the second antenna 2 outdoors, first antenna 1 and the second antenna 2 are symmetricly set on inside and outside door.
In the present invention, using UWB (Ultra Wideband, ultra broadband) technology to realize personnel and pass in and out management, UWB technology is adopted
Be to be found range by the signal skyborne flight time, range accuracy can reach 30cm, and the present invention uses UWB skill
Art is capable of detecting when the accurate distance of label 3 to be positioned and UWB anchor point.
As long as the present invention one has the UWB anchor point of double antenna, equipment cost is low.In the deployment of system, UWB anchor
Point connection has first antenna 1 and the second antenna 2, not shown in UWB anchor point Fig. 1, need not to have UWB anchor point in the present invention
Body position is disposed, and only need to meet UWB anchor point can carry out data communication, first antenna with first antenna 1 and the second antenna 2
1 is deployed in door, and the second antenna 2 is deployed in outdoors, and first antenna 1 and the second antenna 2 are symmetricly set on inside and outside door.This
Sample, first antenna 1 and the second antenna 2 and the range finding length of label 3 to be positioned, and first antenna 1 and the distance of the second antenna 2
Form a triangle.Using the distance of first antenna 1 and the second antenna 2 as the base of this triangle, first antenna 1 and second
Antenna 2 and two waist edge of a length of triangle of finding range of label 3 to be positioned, judge in door according to the length of two waist edge
The most outdoors.When being embodied as, when the range finding length of label 3 to be positioned with first antenna 1 is less than label 3 to be positioned and second day
The range finding length of line 2, then UWB anchor point assert that label 3 to be positioned is positioned at door;Range finding when label 3 to be positioned with first antenna 1
Length is more than label 3 to be positioned and the range finding length of the second antenna 2, then UWB anchor point assert that label 3 to be positioned is positioned at outdoors.
The present invention makes a big difference with the zone location of RFID technique of the prior art.Including: the present invention does not uses
Field intensity technology, to label 3 to be positioned, is affected thus without by environment, is improve Position location accuracy;The present invention need not root
According to using the difference of environment to different parameter testings, therefore, there is no need to carry out the debugging of range of signal, thus reduce this
Bright debugging quantities;UWB technology in the present invention can communication distance farther out, system components may be mounted at relatively
Remote distance, the extensibility of deployed position is big, and therefore, the present invention is less demanding to antenna mounting locations, setting angle, only needs
Meet the regulation deployed position of the present invention, easy construction.
Additionally, the positioning precision in the present invention can reach 30cm, compared to GPS location technology of the prior art, this
Invention is capable of hi-Fix.
To sum up, compared with prior art, the present invention have that equipment cost is low, quantities is little in debugging, easy construction and location
The feature that precision is high.
On the other hand, the present invention also provides for the method that the boundary crossover of a kind of above-mentioned personnel's in-out management system judges,
As in figure 2 it is shown, include:
Step 1:UWB anchor point obtains current location and the historical position of label 3 to be positioned;
In this step, UWB anchor point obtains the current location of label 3 to be positioned, then obtains a position location, is
Historical position.Without historical position, then UWB anchor point preserves the current location of label 3 to be positioned, then reacquires undetermined
The current location of position label 3.
Step 2:UWB anchor point is according to the current location of label 3 to be positioned and historical position, it is judged that entering of label 3 to be positioned
Go out action.
In this step, the UWB anchor point current location according to label 3 to be positioned and the contrast of historical position, it becomes possible to analyze
Draw the change in location of label 3 to be positioned, concrete, if the current location of label to be positioned 3 is identical with historical position, then
UWB anchor point assert that label 3 to be positioned does not occur position to move;If the current location of label 3 to be positioned is divided with historical position
Be not positioned at the both sides of door, then UWB anchor point just can assert that label 3 to be positioned there occurs that action of entering still is gone out action.
Compared with prior art, the present invention there is debugging quantities be little, easy construction and the high feature of positioning precision.
As a modification of the present invention, step 1 may include that
When the label 3 to be positioned distance away from first antenna 1 is less than the label 3 to be positioned distance away from the second antenna 2, then
UWB anchor point assert that the position of label 3 to be positioned is positioned at door;
When the label 3 to be positioned distance away from first antenna 1 is more than the label 3 to be positioned distance away from the second antenna 2, then
UWB anchor point assert that the position of label 3 to be positioned is positioned at outdoors.
In the present invention, provide a specific embodiment for this improvement:
As it is shown on figure 3, the position of personnel's in-out management system is deployed as: first antenna 1 is in door 1, and the second antenna 2 is door
Outer 2, label 3 to be positioned in figure 3, the vertical dimension of first antenna 1 and the second antenna 2 range gate is respectively a, b, first day
Line 1 and the second antenna 2 are symmetricly set on inside and outside door, i.e. a=b, first antenna 1 and the measurement length of label 3 to be positioned
For c, the second antenna 2 and a length of d of measurement of label 3 to be positioned.So, first antenna 1 and the second antenna 2 and label to be positioned
The range finding length of 3, and distance one triangle of formation of first antenna 1 and the second antenna 2.With first antenna 1 and second day
The distance of line 2 is as a length of triangle of range finding of the base of this triangle, first antenna 1 and the second antenna 2 with label 3 to be positioned
Two waist edge of shape, judge at Men Nei the most outdoors according to the length of two waist edge.
Location determination method: < during d, then UWB anchor point assert that label 3 to be positioned is positioned at door as c;As c > d time, then UWB anchor
Point assert that label 3 to be positioned is positioned at outdoors, and label 3 to be positioned is positioned at situation outdoors as shown in Figure 1.It addition, the present embodiment is also
Be likely to occur the situation of c=d, then UWB anchor point assert that label 3 to be positioned is positioned at position, doorway.
As a further improvement on the present invention, step 1 can also include:
Only when the double position to label 3 to be positioned of UWB anchor point assert that result is identical, just knot is assert in this position
Fruit is recorded as the current location of label 3 to be positioned, otherwise, not record.
In the present invention, if Men Nei and boundary outdoors are less than range accuracy, and the position of label to be positioned 3 is positioned at door
Interior with in boundary outdoors, then easily there is the situation that the external rebound of an inside door jumps in the testing result of UWB anchor point, thus can be right
The Position location accuracy of UWB anchor point interferes, in order to ensure the accuracy judged, it is to avoid the appearance of this situation, in the present invention
Add and continuously acquire two or just determine in Men Nei or condition outdoors during more than two same position information, so,
If the double position to label 3 to be positioned of UWB anchor point assert that result occurs in that different situation is (as in judging door or door
Outer result is jumped back and forth), then UWB anchor point assert that the position of label 3 to be positioned is positioned in Men Nei and boundary outdoors, then UWB
Anchor point refuses record.Therefore, in this improvement, improve the accuracy of location positioning of the present invention.
In the present invention, step 2 may include that
Step 21: judge whether the current location of label 3 to be positioned and historical position are positioned at inside and outside door, if
It is to perform step 22;If it does not, perform step 23;
Step 22: when the historical position of label 3 to be positioned is positioned at the outside of door, then UWB anchor point assert that label 3 to be positioned enters
Door;When the historical position of label 3 to be positioned is positioned at the inner side of door, then UWB anchor point assert that label 3 to be positioned is gone out, and terminates;
Step 23:UWB anchor point assert that label 3 to be positioned does not occurs inlet/outlet action, terminates.
In the present invention, can judge whether label 3 to be positioned has inlet/outlet action with reference to above-mentioned step 21-23, with
And label 3 to be positioned occurs inlet/outlet action to belong to enter or go out.The determination methods of the present invention is simple, easily realizes.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of without departing from principle of the present invention, it is also possible to make some improvements and modifications, these improvements and modifications are also
Should be regarded as protection scope of the present invention.