CN103249139B - A kind of object positioning method and electronic equipment - Google Patents
A kind of object positioning method and electronic equipment Download PDFInfo
- Publication number
- CN103249139B CN103249139B CN201210026846.3A CN201210026846A CN103249139B CN 103249139 B CN103249139 B CN 103249139B CN 201210026846 A CN201210026846 A CN 201210026846A CN 103249139 B CN103249139 B CN 103249139B
- Authority
- CN
- China
- Prior art keywords
- access points
- wireless access
- signal intensity
- place
- vector
- 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
Links
Landscapes
- Position Fixing By Use Of Radio Waves (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
nullPresent disclosure provides a kind of object positioning method and electronic equipment,Object to be positioned is provided with two wireless access points,Obtain the first distance between each self-corresponding initial signal intensity of the two wireless access points and the two wireless access points in advance,The method includes: obtain each self-corresponding first signal strength signal intensity of the two wireless access points and secondary signal intensity in primary importance and the second place respectively,And determine the first vector being made up of the two positions of primary importance Yu the second place,According to the first distance and the first vector,And two each self-corresponding initial signal intensity of wireless access points、First signal strength signal intensity and secondary signal intensity,Calculate the first direction between the second place and two accessing wirelesslies accesses and second direction respectively,The third direction between the second place and this object to be positioned is determined according to first direction and second direction.Object can quickly be positioned by the method, improves user and looks for the speed of object.
Description
Technical field
The present invention relates to field of locating technology, a kind of object positioning method and electronics
Equipment.
Background technology
With the quickening pace of modern life, people are more and more higher for the pursuit of efficiency.In the middle of daily life,
People are frequently encountered the puzzlement that can not conveniently determine objective direction, and this puzzlement is on some ground
Lower place such as underground garage, or other due to building stop then GPS cannot be utilized to position places then show
Obtain more serious.Such as, people enter certain market shopping for the first time, after completing shopping, but cannot determine
The exit in market, if oneself look for or inquiry other people, the most time-consuming the most laborious;And for example, people
After vehicle is put into parking lot (especially underground parking), after user comes back to this parking lot but
Find that the vehicle in parking lot is too much, and user cannot determine the orientation of storing cycle of oneself, this
Time how user in parking lot by looking for oneself vehicle, a lot of for consuming times are also resulted in manpower consumption
Take.And daily life also has other various users it needs to be determined that building position, and look for
The situation of other objects occurs.
Visible, the most conveniently determine the direction of the object that user looks for, and then determine and quickly look for
To object, it is those skilled in the art's problems in the urgent need to address.
Summary of the invention
In view of this, the present invention provides a kind of object positioning method and electronic equipment, with rapid and convenient to thing
Body positions.
For achieving the above object, the invention provides a kind of object positioning method, be applied to electronic equipment,
Object to be positioned is provided with the first wireless access points and the second wireless access points, obtains in advance
Take this first wireless access points and each self-corresponding initial signal intensity of the second wireless access points with
And the first distance between described first wireless access points and the second wireless access points, the method
Including:
Described first wireless access points and the second wireless access points is obtained each in first position
The first corresponding signal strength signal intensity;
Monitor the movement locus of described electronic equipment, and when described electronic equipment is moved to the by primary importance
During two positions, obtain the first vector being made up of the two positions point of described primary importance Yu the second place;
The most corresponding at second position described first wireless access points of acquisition and the second WAP
Secondary signal intensity;
According to described first distance and the first vector, and described first wireless access points and the second nothing
The each self-corresponding initial signal intensity of line access points, the first signal strength signal intensity and secondary signal intensity, meter
Calculate between the described second place and the first wireless access points first direction and the described second place and institute
State the second direction between the second wireless access points;
The described second place and described thing to be positioned is determined according to described first direction and described second direction
Third direction between body.
Preferably, the first direction calculated between the described second place and the first wireless access points with
And while the second direction between the described second place and described second wireless access points, also include:
According to described first distance and the first vector, and described first wireless access points and the second nothing
The each self-corresponding initial signal intensity of line access points, the first signal strength signal intensity and secondary signal intensity, meter
Calculate the second distance between the described second place and the first wireless access points and the described second place with
The 3rd distance between described second wireless access points;
Determine that the described second place is undetermined with described according to the first distance, second distance and the 3rd distance
The 4th distance between the object of position.
Preferably, the described acquisition respective initial signal intensity of said two wireless access points in advance,
Including:
The said two accessing wirelessly got in the middle position of said two WAP in advance connects
The respective signal strength signal intensity of access point, and using this respective signal strength signal intensity as said two wireless access points
Respective initial signal intensity.
Preferably, the first direction between the described second place of described calculating and the first wireless access points
And the second direction between the described second place and described second wireless access points, including:
According to described first signal strength signal intensity and the proportionate relationship of described initial signal intensity, described secondary signal
Intensity and the proportionate relationship of described initial signal intensity, and combine described first distance and described second arrow
Amount, calculates the second vector between the described second place and the first wireless access points, and described
The 3rd vector between the second place and described second wireless access points;
Using the direction vector of described second vector as described first direction, by the vector of described 3rd vector
Direction is as second direction.
Preferably, the method also includes:
The display unit of described electronic equipment shows the of the described second place and described object to be positioned
Three directions.
Preferably, described wireless access points may include that
WIFI wireless access points, ZigBee wireless access points or FM accessing wirelessly access
Point.
On the other hand, the invention also discloses a kind of electronic equipment, object to be positioned is provided with first
Wireless access points and the second wireless access points, this electronic equipment includes:
Primary data acquiring unit, is used for obtaining this first wireless access points and the second accessing wirelessly connects
The each self-corresponding initial signal intensity of access point and described first wireless access points and the second accessing wirelessly
The first distance between access point;
First signal acquiring unit, for first position obtain described first wireless access points and
Second each self-corresponding first signal strength signal intensity of wireless access points;
Position monitoring unit, for monitoring the movement locus of described electronic equipment, and when described electronic equipment
When being moved to the second place by primary importance, obtain by the two positions point of described primary importance Yu the second place
The first vector constituted;
Secondary signal acquiring unit, for second position obtain described first wireless access points and
The second each self-corresponding secondary signal intensity of WAP;
Computing unit, is used for according to described first distance and the first vector, and described first accessing wirelessly
Access point and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and
Binary signal intensity, calculates first direction and institute between the described second place and the first wireless access points
State the second direction between the second place and described second wireless access points;
Positioning unit, for determining this object to be positioned according to described first direction and described second direction
And the third direction between the described second place.
Preferably, described computing unit, also include:
First metrics calculation unit, is used for according to described first distance and the first vector, and described first
Wireless access points and each self-corresponding initial signal intensity of the second wireless access points, the first signal
Intensity and secondary signal intensity, calculate second between the described second place and the first wireless access points
The 3rd distance between distance and the described second place and described second wireless access points;
Second distance computing unit, for determining according to the first distance, second distance and the 3rd distance
The 4th distance between the described second place and described object to be positioned.
Preferably, described primary data acquiring unit, including:
First primary data acquiring unit, obtains for the middle position at said two WAP
The respective signal strength signal intensity of said two wireless access points arrived, and using this respective signal strength signal intensity as
The respective initial signal intensity of said two wireless access points.
Preferably, it is characterised in that described computing unit, including:
Vector calculation unit, for the ratio according to described first signal strength signal intensity Yu described initial signal intensity
Relation, described secondary signal intensity and the proportionate relationship of described initial signal intensity, and combine described first
Distance and described second vector, calculate between the described second place and the first wireless access points
The 3rd vector between second vector, and the described second place and described second wireless access points;
Direction-determining unit, is used for the direction vector of described second vector as described first direction, will
The direction vector of described 3rd vector is as second direction.
Preferably, this electronic equipment also includes:
Display unit, for showing the third direction of the described second place and described object to be positioned.
Understand via above-mentioned technical scheme, compared with prior art, present disclosure provides a kind of thing
Body localization method and electronic equipment, this object positioning method is applied to electronic equipment, and at object to be positioned
On be provided with the first wireless access points and the second wireless access points, obtain this in advance first wireless
Access points and each self-corresponding initial signal intensity of the second wireless access points and the first wireless visit
Asking the first distance between access point and the second wireless access points, the method includes: respectively first
Position and the second place obtain the first wireless access points and the second wireless access points is each self-corresponding
First signal strength signal intensity and secondary signal intensity, and determine by the two positions point of primary importance Yu the second place
The first vector constituted, and then according to the first distance and the first vector, and the first accessing wirelessly accesses
Point and the second each self-corresponding initial signal intensity of wireless access points, the first signal strength signal intensity and the second letter
Number intensity, calculate the second place respectively and two accessing wirelesslies access between first direction and second direction,
And determine the third party between the second place and this object to be positioned according to first direction and second direction
To, owing to the second place is the position that this electronic equipment is currently located, determine that this second place is with undetermined
After third direction between position, user just can determine the orientation of this object undetermined according to this third direction,
Thus quickly look for this location object.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 shows the schematic flow sheet of the present invention a kind of object positioning method embodiment 1;
Fig. 2 shows the number built during carrying out location Calculation according to the object positioning method of the present invention
Learn the schematic diagram of model;
Fig. 3 shows the schematic flow sheet of the present invention a kind of object positioning method embodiment 2;
Fig. 4 shows the structural representation of the present invention a kind of electronic equipment embodiment 1.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
The invention discloses a kind of object positioning method and electronic equipment, this object positioning method can facilitate
Determine the direction relations between this electronic equipment current location and object to be positioned efficiently, in order to user
Object to be positioned is quickly looked for according to direction relation.This electronic equipment can realize object easily
Location, in order to object to be positioned is looked for by user.
See Fig. 1, it is shown that the schematic flow sheet of the present invention a kind of object positioning method embodiment 1, the party
Method is applied to electronic equipment, and this electronic equipment can be the mobile terminal such as mobile phone, PDA, it is also possible to for it
He supports handheld device or the terminal of wireless protocols.In the present invention, this object to be positioned can be certain
Building, vehicle, article etc..
Being provided with two wireless access points on object to be positioned, wherein, wireless access points can
Think that WIFI wireless access points, ZigBee wireless access points or FM accessing wirelessly access
Point, naturally it is also possible to for other wireless access points.For convenience, by the two accessing wirelessly
Access point is called the first wireless access points and the second wireless access points, this first wireless visit
Ask that access point and the second wireless access points are access point based on same wireless agreement.
For the follow-up location that can complete this object to be positioned, it is necessary first to obtain this first wireless visit
Ask access point and each self-corresponding initial signal intensity of the second wireless access points and described first wireless
The first distance between access points and the second wireless access points, wherein, this initial signal intensity
Refer to that the signal of the wireless access points of acquisition is strong before this object to be positioned is carried out positioning action
Degree, after electronic equipment leaves this object to be positioned, when needing this object to be positioned is positioned, can
To use the object positioning method of the present embodiment, the method includes:
Step 101: connect at first position described first wireless access points of acquisition and the second accessing wirelessly
Each self-corresponding first signal strength signal intensity of access point.
When this object to be positioned is positioned by needs, this electronic equipment current location is primary importance,
Electronic equipment obtains this first wireless access points the first signal strength values in this first position, with
Time obtain this second wireless access points secondary signal intensity level in this second position.
Step 102: monitor the movement locus of described electronic equipment, and when described electronic equipment is by primary importance
When moving to the second place, obtain the be made up of the two positions point of described primary importance Yu the second place
One vector.
This first wireless access points is obtained in first position corresponding in first position at electronic equipment
The first signal strength signal intensity and corresponding first signal strength signal intensity of this second wireless access points after, user is permissible
This electronic equipment mobile is to another location, and the position that this electronic equipment is presently in is the second place, wherein
The second place is different from the another location of primary importance, and electronic equipment is buied property to second by primary importance
Give birth to displacement.
Self the motion of detection of this electronic equipment, obtain self-movement locus obtain this primary importance with this
Two, two positions (position that this electronic equipment is presently in) vector that location point is constituted, in order to rear
The continuous vector got distinguishes, and the vector between primary importance and the second place is referred to as the first arrow herein
Amount.
Step 103: obtain described first wireless access points and the second WAP in second position
Each self-corresponding secondary signal intensity.
When electronic equipment moves to the second place, this electronic equipment needs to obtain this first accessing wirelessly and connects
Access point is in secondary signal intensity corresponding to second position, and this second wireless access points is corresponding
Secondary signal intensity.
Step 104: according to described first distance and the first vector, and described first wireless access points
With the second each self-corresponding initial signal intensity of wireless access points, the first signal strength signal intensity and secondary signal
Intensity, calculates first direction and described second between the described second place and the first wireless access points
Second direction between position and described second wireless access points.
Calculate between this primary importance and the first wireless access points first direction and the second place with
During second direction between the second wireless access points, can be according to this first WAP and second
The first distance between WAP, builds and comprises two WAPs and the model of position relationship thereof,
Signal strength signal intensity and the two accessing wirelessly according to each comfortable primary importance of the two access points access
The signal strength signal intensity of each comfortable second place of point, and the initial signal combining two each wireless access points is strong
Degree determines that the possible position between primary importance and the second place and the two wireless access points closes
System, and then this all possible primary importance and the second place are added in the model of structure, Jin Erli
With the vector between primary importance and the second place, determine in the model built, this primary importance with
Position relationship between the second place and two wireless access points, and then by mathematical formulae, calculate
Go out the direction relations between the second place and this two wireless access points.
Step 105: determine that the described second place is with described according to described first direction and described second direction
Third direction between object to be positioned.
Owing to two wireless access points are all disposed within this object to be positioned, therefore, when this electronics sets
First direction and second direction between the standby second place and two wireless access points being currently located are true
After Ding, just can determine the third direction between the second place according to first direction and described second direction.
After obtaining first direction and second direction, can be directly by two sides when calculating this third direction
This third direction is obtained to carrying out synthesis.
Wherein, the first distance and the first vector, and described first accessing wirelessly are got in step 104
Access point and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and
After the parameter of binary signal intensity, can use and calculate this according to wireless signal strength value variation relation etc.
First direction and second direction, the concrete process that calculates can be existing various ways, is not limited at this
System.
Optionally, the mode calculating this first direction and second direction may is that
According to the first signal strength signal intensity and the proportionate relationship of initial signal intensity, secondary signal intensity and initial letter
The proportionate relationship of number intensity, and combine described first distance and described second vector, calculates described the
The second vector between two positions and the first wireless access points, and the described second place and described the
The 3rd vector between two wireless access points;
Using the direction vector of described second vector as described first direction, by the vector of described 3rd vector
Direction is as second direction.
After obtaining this second vector the 3rd vector, this second vector the 3rd vector can be carried out
Vector summation obtains the four-vector, and the direction vector of this four-vector can be used as this second place with described
Third direction between object to be positioned.
It is understood that calculate the second place and this location object that this electronic equipment is currently located
Behind direction, this electronic equipment can show this second place and described object to be positioned on its display unit
Third direction, in order to this third direction that user shows according to this electronic equipment display unit, determine this
Object to be positioned and the direction of its present position, and then it is quickly found out this object to be positioned.
Further, in order to more accurately fixed, this object to be positioned is positioned, calculating this electricity
While third direction between the second place and this object to be positioned that subset is currently located, it is also possible to:
According to described first distance and the first vector, and described first wireless access points and the second wireless visit
Ask each self-corresponding initial signal intensity of access point, the first signal strength signal intensity and secondary signal intensity, calculate institute
State the second distance between the second place and the first wireless access points and the described second place with described
The 3rd distance between second wireless access points.
Determine that the described second place is undetermined with described according to the first distance, second distance and the 3rd distance
The 4th distance between the object of position.
Certainly, calculate the second vector between this second place and the first wireless access points, and
This second place and the 3rd vector of this second wireless access points, then can be by the arrow of this second vector
Amount size is as the second distance between this second place and this first wireless access points, by the 3rd
The vector size of vector is as the 3rd distance between this second place and this second wireless access points.
In order to clearly introduce the object positioning method of the present invention, see Fig. 2 and show according to this
Bright object positioning method carries out a kind of Mathematical Modeling schematic diagram of foundation during position fixing process, in conjunction with this Fig. 2
The object positioning method of the present invention is described.Wherein it is provided with two wireless visits on this object to be positioned
Ask access point, the first wireless access points AP1 and the second wireless access points AP2, is treating this
Before location object positions, first distance L1 of this electronic equipment acquisition AP1 and AP2, and
At the centre position M of these two wireless access points AP1 and AP2, (that is, at L1/2) obtains and is somebody's turn to do
The signal strength signal intensity of AP1 and AP2, the signal strength signal intensity now got is that AP1 is in L1 initial signal intensity
Initial signal intensity S20 of S10 and AP2.
It should be noted that herein, when obtaining the initial signal intensity of two wireless access points, and differ
Fixed needs centre position between two wireless access points obtains, it is also possible to obtain in other positions
Take, and the position obtaining the initial signal intensity of AP1 can be with the initial signal intensity of acquisition AP2
Position is different position, only need to be when obtaining the respective initial signal intensity of AP1 and AP2, and preservation obtains
Take the position of AP1 initial signal intensity and the distance of AP1 position, and it is initial to preserve acquisition AP2
The distance of the position at the position of signal strength signal intensity and AP2 place.
When this object to be positioned is positioned by needs, detailed process includes:
1) user moves this electronic equipment and moves at primary importance C, and this electronic equipment obtains AP1 and exists
The first signal strength signal intensity S11 at primary importance C, obtains the AP2 the first signal at primary importance C strong
Degree S21.
2) user moves this electronic equipment to second place D, and this electronic equipment obtains primary importance C to the
First vector of two position D
And obtain AP1 secondary signal strength S 12 at this second place D,
AP2 secondary signal strength S 22 at this second place D.
3) by 1) and 2) get data above after, between electronic equipment is according to AP1 and AP2
Distance builds model, determines distance L1 between AP1, AP2 and AP1 and AP2, and according to
Utilize equation below one, calculate distance L2 between this primary importance and the first wireless access points AP1:
Same, this primary importance and the second wireless access points can be calculated through equation below two
Distance L3 between AP2:
According to distance L2 between this primary importance and AP1 and between this primary importance and this AP2
Distance L3, this electronic equipment does the radius circle 1 as L2 with AP1 for the center of circle in the model built, and
The radius circle 2 as L3, circle 1 and intersection point C1 and C2 of circle 2 it is, it may be determined that should with AP2 for the center of circle
Primary importance may be for the position C1 in the model of structure and position C2;
In like manner, utilize equation below three, calculate the second place and the first wireless access points AP1's
Distance L4:
And utilize equation below four, calculate the distance of the second place and the second wireless access points AP2
L5:
Calculate distance L4 between the second place and AP1, and calculate the second place and AP2 it
Between distance L5 after, this electronic equipment does the radius circle as L4 in the model built with AP1 for the center of circle
3, the radius circle 4 as L5 is done with AP2 for the center of circle, the position of intersecting point of circle 3 and circle 4 is position D1 and position
The position relationship putting D2, AP1 and this position D1 and position D2 is second place D and AP1 possibility
Position relationship, the position relationship of AP2 and position D1 and position D2 i.e. with second place D and AP2
Possible position relationship.
In order to determine that primary importance C in the middle of reality is the position C1 in this model or position C2,
And determine that second place D is the position D1 in this model or position D2, then this electronic equipment will obtain
The first vector between primary importance C and second place D got
With position C1 and position D1
Vector
The vector of position C2 and position D2
Make comparisons, if this first vector
With
Vector
Identical, then primary importance C in the model of this structure for position C1, second place D
In the model of this structure for position D1;Otherwise, this primary importance C is position in the model of this structure
Putting C2, second place D is position D2 in the model of this structure.So, just can determine that this
Position relationship between one position, the second place and AP1 and AP2, so can determine that this second
The second vector between position and AP1, and the 3rd vector between this second place and AP2.Such as,
Assume that in the model of this structure, the position relationship of position C1 Yu AP1 and AP2 is primary importance C and AP1
With the position relationship of AP2, the position relationship of position D Yu AP1 and AP2 is second place D and AP1
With the position relationship of AP2, and the second vector between the second place and AP1 is i.e. for being AP1 by position D1
The vector that point-to-point transmission is constituted, the 3rd vector between the second place and AP2 is position D1 Yu AP2 two
The vector constituted between point.
This second place is carried out vector with second vector of AP1, the second place with the 3rd vector of AP2
Summation obtains the four-vector, and the direction of this four-vector can be used as this second place and object to be positioned
Between direction.Further, the vector sizes values of the four-vector as this second place and can be somebody's turn to do
2 times of the distance of object to be positioned, determine the distance of this second place and object to be positioned.
Certainly, after the position relationship of the second place and AP1 and AP2 determined by electronic equipment, it is also possible to straight
It is connected in the model of structure, asks for the vector between this second place and AP1 and AP2 midpoint M, will
The direction of this vector is as the direction between this second place and object to be positioned, and by the size of this vector
As the distance between this second place and this object to be positioned.
In the above description of the present invention, arranging two wireless access nodes on object to be positioned it is only
Example is described, and it will be understood by those skilled in the art that the accessing wirelessly joint arranged on object to be positioned
The quantity of point can be with more than two, in that case, can be divided into by any two wireless access node
One group, and calculate between this electronic equipment and object to be positioned according to the object positioning method of the present invention
Many prescriptions to, then according to these many prescriptions obtained to determining between this electronic equipment and object to be positioned
Direction, to improve the precision in direction between this electronic equipment and the object to be positioned determined.
The object positioning method of the present invention can apply to some cannot get gps signal or GPS
Location to object in the place that signal is more weak.Such as, in building, carry out object positioning searching, right
The object being positioned in the region blocked by building positions, or at some undergrounds to object
Position.
Clear in order to describe, as a example by a concrete application scenarios, the object positioning method of the present invention is carried out
Describe, see Fig. 3, it is shown that the schematic flow sheet of the present invention a kind of object positioning method embodiment 2, this
Embodiment is be described as a example by the object being positioned is as vehicle, it is to be understood that when being positioned
Object when being other objects beyond vehicle, the present embodiment is equally applicable.The object of the present embodiment is fixed
Method for position is applied to electronic equipment, and this electronic equipment can be the communication terminal such as mobile phone, PDA, it is also possible to
The electronic equipment of wireless network signal is supported, as supported the electronic equipment of WIFi technology for other.
The present embodiment is provided with two wireless access points on vehicle to be positioned, accessing wirelessly accesses
Point can be WIFI wireless access points, ZigBee wireless access points or FM accessing wirelessly
Access point, naturally it is also possible to for other wireless access points.For convenience, the two is wireless
Access points is called the first wireless access points and the second wireless access points, this first nothing
Line access points and the second wireless access points are access point based on same wireless network agreement.
Can position this vehicle to be positioned in order to follow-up, this electronic equipment needs to obtain this first nothing
Line access points and each self-corresponding initial signal intensity of the second wireless access points and this first nothing
The first distance between line access points and the second wireless access points.
Such as, after the vehicle of oneself is put into underground parking by user, in order to follow-up can be convenient
Finding the position of the car stowage of oneself, this user can place two accessing wirelesslies on this vehicle and access
Point, as passed through to place two electronics supporting WIFi technology in the car front end of this vehicle and car rear end
Equipment, opens the two and supports the WIFI function of WIFi technology electronic equipment, the two is supported WIFi
Technology electronic equipment is as two wireless access points on this vehicle.When user leaves the vehicle of oneself
Before, time returning underground garage user, it is possible to find the position of the vehicle oneself placed easily,
This user needs the first distance utilizing an electronic equipment to obtain between the two wireless access points, and
Two wireless access points can be obtained now in the midpoint of the distance of these two wireless access points
Signal strength signal intensity, the signal strength signal intensity now got is the initial signal intensity of two wireless access points,
The distance of this electronic equipment two wireless access points of storage, and the two wireless access points
Initial signal intensity, and obtain the distance of the two wireless access points initial signal intensity.
When user carries after this electronic equipment leaves this region parking this vehicle it needs to be determined that park cars
During direction, the object positioning method of the present embodiment can be used.As, after user leaves underground parking garage,
Return to underground parking garage, it is thus necessary to determine that the stand of oneself vehicle is to look for the vehicle of oneself.Should
Method includes:
Step 301: electronic equipment detects the GPS signal strength self received, it is judged that this gps signal
Whether intensity reaches setting value, if it is, vehicle can be searched in the way of using existing GPS location
Position, if it is not, then enter step 302.
It is more weak or the situation of gps signal cannot be detected that the present embodiment is mainly used in gps signal
Under, therefore, this electronic equipment is first depending on its GPS signal strength got, it is judged that the letter of himself
Whether number intensity can realize GPS location, and when getting GPS signal strength or get
GPS signal strength more weak time, utilize subsequent step to determine direction or the position of vehicle to be positioned.
Wherein, setting value can determine according to actual needs, so that GPS can be utilized to realize the minimum letter of location
Number intensity is as the criterion.When the GPS signal strength got less than this setting value or GPS signal strength is
When zero, then enter step 302.
Step 302: connect at first position described first wireless access points of acquisition and the second accessing wirelessly
Each self-corresponding first signal strength signal intensity of access point.
Step 303: monitor the movement locus of described electronic equipment, and when described electronic equipment is by primary importance
When moving to the second place, obtain the be made up of the two positions point of described primary importance Yu the second place
One vector.
Step 304: obtain described first wireless access points and the second WAP in second position
Each self-corresponding secondary signal intensity.
Wherein, step 302 arrives step with the operating process of step 30:4 with the step 101 in embodiment 1
The operating process of 103 is similar, does not repeats them here.
Step 305: according to described first distance and the first vector, and described first wireless access points
With the second each self-corresponding initial signal intensity of wireless access points, the first signal strength signal intensity and secondary signal
Intensity, calculates the second vector and described second between the described second place and the first wireless access points
The 3rd vector between position and described second wireless access points.
Step 306: described second vector the 3rd direction vector is carried out vector summation and obtains the four-vector,
Using the direction vector of the described four-vector as the direction between the second place and vehicle to be positioned, by described
The 1/2 of the vector sizes values of the four-vector is as the spacing of the second place Yu vehicle to be positioned.
Wherein, step 305 is referred to the process of second vector the 3rd vector of joggle in step 306
In embodiment 1 and the corresponding description of part corresponding to Fig. 2, do not repeat them here.
After obtaining this second vector the 3rd vector, carry out suing for peace by this second vector the 3rd vector
To the four-vector can be as the second place (position that this electronic equipment that i.e. user carries is currently located)
And formed vector between vehicle to be positioned, and then i.e. characterized second by the direction vector of this four-vector
Put the direction relations between vehicle to be positioned, but owing to the four-vector is by the second vector the 3rd arrow
Amount carrying out suing for peace and obtaining, say, that the vector size (i.e. length) of the four-vector is that the second place arrives
2 times of the distance in these two wireless access points centre positions.
Step 307: show on the display interface of electronic equipment between this second place and this vehicle to be positioned
Direction, and indicate the distance between this second place and vehicle to be positioned, in order to user is according to this instruction
The direction gone out and distance look for this vehicle to be positioned.
Direction relations between the second place that vehicle to be positioned and this electronic equipment are currently located and away from
From showing, thus user can determine the position of vehicle to be positioned intuitively, thus convenient and swift
The vehicle finding oneself.
It should be noted that in the present embodiment between the second place and the first wireless access points second
After the 3rd vector between vector and the second place and the second wireless access points determines, can have many
The mode of kind determines the direction between the second place and vehicle to be positioned and position relationship, might not be defined to
By the way of the second vector and the 3rd vector directly ask for vector, it is also possible to consider the two without
Line accesses node position on vehicle to be positioned, further determines that out the second place and this car to be positioned
The position relationship such as direction.
A kind of object positioning method of the corresponding present invention, present invention also offers a kind of electronic equipment, sees
Fig. 3, it is shown that the structural representation of a kind of electronic equipment of the present invention, this electronic equipment can be mobile phone, PDA
Deng mobile terminal, it is also possible to the handheld device supporting wireless protocols for other or terminal.
In order to utilize this electronic equipment to position, object to be positioned is provided with the first accessing wirelessly and connects
Access point and the second wireless access points, this electronic equipment includes: primary data acquiring unit 401, first
Signal acquiring unit 402, position monitoring unit 403, secondary signal acquiring unit 404, computing unit 405
With positioning unit 406.
Wherein, primary data acquiring unit 401, it is used for obtaining this first wireless access points and the second nothing
The each self-corresponding initial signal intensity of line access points and described first wireless access points and second
The first distance between wireless access points.
First signal acquiring unit 402, for obtaining described first wireless access points in first position
With the second each self-corresponding first signal strength signal intensity of wireless access points.
Position monitoring unit 403, for monitoring the movement locus of described electronic equipment, and when described electronics sets
For when being moved to the second place by primary importance, obtain by the two positions of described primary importance Yu the second place
The first vector that point is constituted.
Secondary signal acquiring unit 404, for obtaining described first wireless access points in second position
With the second each self-corresponding secondary signal intensity of WAP.
Computing unit 405, is used for according to described first distance and the first vector, and described first wireless visit
Ask access point and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and
Secondary signal intensity, calculate between the described second place and the first wireless access points first direction and
Second direction between the described second place and described second wireless access points.
Positioning unit 406, for determining this thing to be positioned according to described first direction and described second direction
Third direction between body and the described second place.
The electronic equipment of the present invention can first determine whether whether the GPS signal strength of self meets GPS location
Required signal strength signal intensity, corresponding, primary data acquiring unit 401 is particularly as follows: be used for judging GPS
When signal strength signal intensity is less than setting value, obtain this first wireless access points and the second wireless access points
Each self-corresponding initial signal intensity and described first wireless access points and the second accessing wirelessly access
The first distance between point, wherein this setting value carries out positioning required the most weak GPS letter less than with GPS
Number intensity level.
Further, computing unit, also include: the first metrics calculation unit and second distance computing unit.
Wherein, the first metrics calculation unit, for according to described first distance and the first vector, Yi Jisuo
State the first wireless access points and each self-corresponding initial signal intensity of the second wireless access points,
One signal strength signal intensity and secondary signal intensity, calculate between the described second place and the first wireless access points
Second distance and the described second place and described second wireless access points between the 3rd distance;
Second distance computing unit, for determining according to the first distance, second distance and the 3rd distance
The 4th distance between the described second place and described object to be positioned.
Can also have it addition, this computing unit calculates the mode in direction between the second place and object to be positioned
Multiple, optionally, this computing unit, including:
Vector calculation unit, for the ratio according to described first signal strength signal intensity Yu described initial signal intensity
Relation, described secondary signal intensity and the proportionate relationship of described initial signal intensity, and combine described first
Distance and described second vector, calculate between the described second place and the first wireless access points
The 3rd vector between second vector, and the described second place and described second wireless access points;
Direction-determining unit, is used for the direction vector of described second vector as described first direction, will
The direction vector of described 3rd vector is as second direction.
Obtaining the initial signal intensity of the first wireless access points and the second wireless access points
Mode can have multiple, optionally, and this primary data acquiring unit, including: the first primary data obtains
Unit, for the said two accessing wirelessly got in the middle position of said two WAP
The respective signal strength signal intensity of access point, and this respective signal strength signal intensity is accessed as said two accessing wirelessly
The respective initial signal intensity of point.
In order to user can get its second place being currently located and thing to be positioned by this electronic equipment
Position relationship between body, this electronic equipment, also include: display unit, be used for showing described second
Put and the third direction of described object to be positioned.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing
Fairly simple, relevant part sees method part and illustrates.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (11)
1. an object positioning method, it is applied to electronic equipment, it is characterized in that, object to be positioned is provided with the first wireless access points and the second wireless access points, obtain the first distance between this first wireless access points and each self-corresponding initial signal intensity of the second wireless access points and described first wireless access points and the second wireless access points in advance, preserve the distance of position and this first wireless access points position obtaining the first wireless access points initial signal intensity, and preserve the distance of the position obtaining the second wireless access points initial signal intensity and the position at this second wireless access points place, the method includes:
Described first wireless access points and each self-corresponding first signal strength signal intensity of the second wireless access points is obtained in first position;
Monitor the movement locus of described electronic equipment, and when described electronic equipment is moved to the second place by primary importance, obtain the first vector being made up of the two positions point of described primary importance Yu the second place;
Described first wireless access points and each self-corresponding secondary signal intensity of the second wireless access points is obtained in second position;
According to described first distance and the first vector, and described first wireless access points and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and secondary signal intensity, calculate the second direction between the first direction between the described second place and the first wireless access points and the described second place and described second wireless access points;
The third direction between the described second place and described object to be positioned is determined according to described first direction and described second direction.
Method the most according to claim 1, it is characterised in that while the second direction between first direction and the described second place and described second wireless access points calculated between the described second place and the first wireless access points, also include:
According to described first distance and the first vector, and described first wireless access points and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and secondary signal intensity, calculate the 3rd distance between the second distance between the described second place and the first wireless access points and the described second place and described second wireless access points;
The 4th distance between the described second place and described object to be positioned is determined according to the first distance, second distance and the 3rd distance.
Method the most according to claim 1, it is characterised in that the described acquisition respective initial signal intensity of said two wireless access points in advance, including:
Middle position at said two wireless access points obtains the respective signal strength signal intensity of said two wireless access points in advance, and using this respective signal strength signal intensity as the respective initial signal intensity of said two wireless access points.
4. according to the method described in claim 1 or 3, it is characterised in that the second direction between first direction and the described second place and described second wireless access points between the described second place of described calculating and the first wireless access points, including:
Proportionate relationship according to described first signal strength signal intensity with the proportionate relationship of described initial signal intensity, described secondary signal intensity and described initial signal intensity, and combine described first distance and described first vector, calculate the 3rd vector between the second vector between the described second place and the first wireless access points, and the described second place and described second wireless access points;
Using the direction vector of described second vector as described first direction, using the direction vector of described 3rd vector as second direction.
Method the most according to claim 1, it is characterised in that also include:
The display unit of described electronic equipment shows the third direction of the described second place and described object to be positioned.
Method the most according to claim 1, it is characterised in that described wireless access points may include that
WIFI wireless access points, ZigBee wireless access points or FM wireless access points.
7. an electronic equipment, it is characterised in that be provided with the first wireless access points and the second wireless access points on object to be positioned, including:
Primary data acquiring unit, for obtaining the first distance between this first wireless access points and each self-corresponding initial signal intensity of the second wireless access points and described first wireless access points and the second wireless access points, preserve the distance of position and this first wireless access points position obtaining the first wireless access points initial signal intensity, and preserve the distance of the position obtaining the second wireless access points initial signal intensity and the position at this second wireless access points place;
First signal acquiring unit, for obtaining described first wireless access points and each self-corresponding first signal strength signal intensity of the second wireless access points in first position;
Position monitoring unit, for monitoring the movement locus of described electronic equipment, and when described electronic equipment is moved to the second place by primary importance, obtains the first vector being made up of the two positions point of described primary importance Yu the second place;
Secondary signal acquiring unit, for obtaining described first wireless access points and each self-corresponding secondary signal intensity of the second wireless access points in second position;
Computing unit, for according to described first distance and the first vector, and described first wireless access points and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and secondary signal intensity, calculate the second direction between the first direction between the described second place and the first wireless access points and the described second place and described second wireless access points;
Positioning unit, for determining the third direction between this object to be positioned and described second place according to described first direction and described second direction.
Electronic equipment the most according to claim 7, it is characterised in that described computing unit, also includes:
First metrics calculation unit, for according to described first distance and the first vector, and described first wireless access points and each self-corresponding initial signal intensity of the second wireless access points, the first signal strength signal intensity and secondary signal intensity, calculate the 3rd distance between the second distance between the described second place and the first wireless access points and the described second place and described second wireless access points;
Second distance computing unit, for determining the 4th distance between the described second place and described object to be positioned according to the first distance, second distance and the 3rd distance.
Electronic equipment the most according to claim 7, it is characterised in that described primary data acquiring unit, including:
First primary data acquiring unit, the respective signal strength signal intensity of said two wireless access points is obtained for the middle position at said two wireless access points, and using this respective signal strength signal intensity as the respective initial signal intensity of said two wireless access points.
10. according to the electronic equipment described in claim 7 or 9, it is characterised in that described computing unit, including:
Vector calculation unit, for the proportionate relationship according to described first signal strength signal intensity with the proportionate relationship of described initial signal intensity, described secondary signal intensity and described initial signal intensity, and combine described first distance and described first vector, calculate the 3rd vector between the second vector between the described second place and the first wireless access points, and the described second place and described second wireless access points;
Direction-determining unit, is used for the direction vector of described second vector as described first direction, using the direction vector of described 3rd vector as second direction.
11. electronic equipments according to claim 7, it is characterised in that also include:
Display unit, for showing the third direction of the described second place and described object to be positioned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210026846.3A CN103249139B (en) | 2012-02-07 | 2012-02-07 | A kind of object positioning method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210026846.3A CN103249139B (en) | 2012-02-07 | 2012-02-07 | A kind of object positioning method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103249139A CN103249139A (en) | 2013-08-14 |
CN103249139B true CN103249139B (en) | 2016-08-17 |
Family
ID=48928297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210026846.3A Active CN103249139B (en) | 2012-02-07 | 2012-02-07 | A kind of object positioning method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103249139B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103776447B (en) * | 2014-01-28 | 2016-08-17 | 无锡智感星际科技有限公司 | One closely intelligent movable equipment room localization method |
CN103776405B (en) * | 2014-02-21 | 2017-04-05 | 网易(杭州)网络有限公司 | A kind of method and device of displacement detecting |
CN105205353B (en) * | 2014-06-27 | 2022-01-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106535108B (en) * | 2015-09-10 | 2019-10-18 | 上海连尚网络科技有限公司 | The method and apparatus for seeking information is recruited for providing |
CN108024198A (en) * | 2016-10-31 | 2018-05-11 | 华为技术有限公司 | A kind of localization method, positioner and access point AP |
CN109655787A (en) * | 2019-01-02 | 2019-04-19 | 京东方科技集团股份有限公司 | Positioning device and method, electronics work board, shopping cart |
WO2021134767A1 (en) * | 2020-01-02 | 2021-07-08 | Nokia Shanghai Bell Co., Ltd. | Positioning target device |
CN112153735B (en) * | 2020-09-03 | 2023-03-24 | Oppo广东移动通信有限公司 | Equipment positioning method and device, storage medium and electronic equipment |
CN112986910A (en) * | 2021-02-08 | 2021-06-18 | 余纯龙 | Positioning method and device for medical equipment, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325790A (en) * | 2007-06-11 | 2008-12-17 | 广达电脑股份有限公司 | System and method guiding wireless communication device in wireless communication network |
WO2008155326A1 (en) * | 2007-06-21 | 2008-12-24 | Telefonaktiebolaget L M Ericsson (Publ) | Positioning method and devices in a mobile radio communications system |
KR100994840B1 (en) * | 2009-11-27 | 2010-11-16 | 주식회사 케이티 | Position determination method and system based on wlan rssi value |
CN102075936A (en) * | 2010-12-28 | 2011-05-25 | 中兴通讯股份有限公司 | Positioning method and terminal |
-
2012
- 2012-02-07 CN CN201210026846.3A patent/CN103249139B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325790A (en) * | 2007-06-11 | 2008-12-17 | 广达电脑股份有限公司 | System and method guiding wireless communication device in wireless communication network |
WO2008155326A1 (en) * | 2007-06-21 | 2008-12-24 | Telefonaktiebolaget L M Ericsson (Publ) | Positioning method and devices in a mobile radio communications system |
KR100994840B1 (en) * | 2009-11-27 | 2010-11-16 | 주식회사 케이티 | Position determination method and system based on wlan rssi value |
CN102075936A (en) * | 2010-12-28 | 2011-05-25 | 中兴通讯股份有限公司 | Positioning method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103249139A (en) | 2013-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103249139B (en) | A kind of object positioning method and electronic equipment | |
TW201923377A (en) | Vehicle positioning method and apparatus | |
CN104125538A (en) | WIFI (wireless fidelity) network based RSSI (received signal strength indicator) signal strength secondary locating method and device | |
CN103776447B (en) | One closely intelligent movable equipment room localization method | |
Shang et al. | A location estimation algorithm based on RSSI vector similarity degree | |
CN105474717B (en) | It is determined using indoor location of the mobile device Indoor Location Information to access point | |
CN103686999B (en) | Indoor wireless positioning method based on WiFi signal | |
CN104967970B (en) | The method and system of terminal device pairing connection | |
CN107509175A (en) | Bluetooth indoor orientation method, system, storage medium and terminal | |
CN102379146A (en) | Method for localizing set of nodes in wireless networks | |
CN106448237B (en) | Based on UWB technology parking lot management method, UWB label, server and system | |
CN102740458B (en) | Centralized type positioning method based on mobile beacon in wireless sensor network | |
CN109699004A (en) | Bluetooth key localization method, device, bluetooth equipment and storage medium | |
CN109714699A (en) | Localization method and terminal device | |
CN105242241A (en) | Indoor positioning method based on Wi-Fi | |
CN105206091A (en) | Vehicle searching system and method based on mobile equipment | |
CN110177337A (en) | Indoor orientation method and indoor positioning shopping cart system | |
CN107484123A (en) | A kind of WiFi indoor orientation methods based on integrated HWKNN | |
CN104980344A (en) | Vehicle positional information push method and server for pushing vehicle positional information | |
CN104994577A (en) | System for integrating action positioning of heterogeneous network and application method thereof | |
CN105318868A (en) | Navigation information acquisition method and device and mobile terminal | |
CN103916956A (en) | Optimization method for wireless transmission environment loss parameters in indoor positioning system | |
CN110080071A (en) | A kind of road collapsion method for early warning, system and terminal device | |
CN102833671A (en) | Method and system for positioning robot vision | |
CN103546867A (en) | Positioning method in digital household based on ZigBee network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |