CN106842122A - A kind of assisted location method and system based on WiFiAware - Google Patents
A kind of assisted location method and system based on WiFiAware Download PDFInfo
- Publication number
- CN106842122A CN106842122A CN201710063441.XA CN201710063441A CN106842122A CN 106842122 A CN106842122 A CN 106842122A CN 201710063441 A CN201710063441 A CN 201710063441A CN 106842122 A CN106842122 A CN 106842122A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- wifiaware
- current
- latitude
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000001514 detection method Methods 0.000 claims description 6
- 239000000523 sample Substances 0.000 claims description 3
- 230000006870 function Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- NSHPHXHGRHSMIK-IWQSFCKSSA-N latrunculin B Natural products C[C@H]1CC[C@@H]2C[C@@H](C[C@@](O)(O2)[C@@H]3CSC(=O)N3)OC(=O)C=C(C)/CCC=C/1 NSHPHXHGRHSMIK-IWQSFCKSSA-N 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/10—Position of receiver fixed by co-ordinating a plurality of position lines defined by path-difference measurements, e.g. omega or decca systems
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of assisted location method based on WiFiAware and system, wherein, method includes:First, current intelligent terminal for reception user instruction opens WiFiAware, and is connected with the other intelligent terminal foundation for around opening WiFiAware;Afterwards, the latitude and longitude information of other intelligent terminal is obtained, and calculates the relative distance of current intelligent terminal and other intelligent terminal;Finally, the latitude and longitude information of current intelligent terminal is calculated by the latitude and longitude information and current intelligent terminal of other intelligent terminal and the relative distance of other intelligent terminal.The present invention can make current intelligent terminal under conditions of no network signal or satellite-signal, and the location information of accurately current intelligent terminal is obtained by WiFiAware, convenient further to obtain effective navigation information, the need for meeting user.
Description
Technical field
The present invention relates to intelligent positioning field, more particularly to a kind of assisted location method and system based on WiFiAware.
Background technology
With the development of intelligent terminal technology, its function having is enriched constantly, is brought much just to the life of user
Profit, especially navigation feature.User can just be quickly found out target location by opening navigation feature in strange environment, not only
It is convenient and swift, and accuracy is high.But in the navigation Service of existing intelligent terminal, or network positions are used, or use
Satellite fix, this require user using corresponding function when, it is necessary to assure network it is smooth, satellite positioning functions can
With.But during practical application, usually can the reason such as, intelligent terminal not enough power supply poor because of network signal cause network to be believed
Number not good, satellite positioning functions are unavailable, and now, user cannot just use navigation feature, it is impossible to obtain navigation Service.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, fixed it is an object of the invention to provide a kind of auxiliary based on WiFiAware
Position method and system, it is intended to which it is not good in network signal to solve existing intelligent terminal, when satellite positioning functions are unavailable, it is impossible to carry
For accurate positioning service and the problem of navigation Service.
Technical scheme is as follows:
A kind of assisted location method based on WiFiAware, wherein, including:
Step A, current intelligent terminal for reception user instruction open WiFiAware, and with around open WiFiAware other intelligence
Can terminal foundation connection;
The latitude and longitude information of step B, acquisition other intelligent terminal, and calculate the phase of current intelligent terminal and other intelligent terminal
Adjust the distance;
The relative distance of step C, the latitude and longitude information by other intelligent terminal and current intelligent terminal and other intelligent terminal
Calculate the latitude and longitude information of current intelligent terminal.
The described assisted location method based on WiFiAware, wherein, the step A is specifically included:
Step A1, current intelligent terminal for reception user instruction open WiFiAware;
With the presence or absence of other intelligent terminals for opening WiFiAware around step A2, the detection of current intelligent terminal;
Step A3, when detect around exist open WiFiAware other intelligent terminals when, then with around open
The other intelligent terminal of WiFiAware sets up network connection.
The described assisted location method based on WiFiAware, wherein, the step B is specifically included:
Step B1, current intelligent terminal are whole to other intelligence of support assisted location service by the service interface of WiFiAware
End sends the request for obtaining its position;
Step B2, current intelligent terminal obtain feedback information of the other intelligent terminal to the position requests, and to the feedback
Information is parsed;
Step B3, the content obtained by parsing determine the latitude and longitude information of other intelligent terminal, and calculate current intelligence eventually
Hold the relative distance with other intelligent terminal and store.
The described assisted location method based on WiFiAware, wherein, in the step B2, the class of the feedback information
Type is for satellite position information, network location information and without the one kind in information data.
The described assisted location method based on WiFiAware, wherein, in the step C, when the relative distance for calculating
During less than default relative distance threshold value, then judge current intelligent terminal with other intelligent terminal in same position.
The described assisted location method based on WiFiAware, wherein, the step C is specifically included:
Step C1, known quantity and unknown quantity are substituted into open earth surface apart from computing formula, obtained on current intelligence eventually
The equation of latitude and longitude information is held, wherein, the latitude and longitude information of other intelligent terminal and current intelligent terminal and other intelligent terminal
Relative distance be known quantity, the latitude and longitude information of current intelligent terminal is unknown quantity;
Step C2, the optimal solution that the equation is calculated using Newton iteration method.
A kind of aided positioning system based on WiFiAware, wherein, including:
Link block, for current intelligent terminal for reception user instruction open WiFiAware, and with around open WiFiAware
Other intelligent terminal set up connection;
Obtain parsing module, for obtaining the latitude and longitude information of other intelligent terminal, and calculate current intelligent terminal and other
The relative distance of intelligent terminal;
Computing module, for the phase of the latitude and longitude information by other intelligent terminal and current intelligent terminal and other intelligent terminal
Adjust the distance and calculate the latitude and longitude information of current intelligent terminal.
The described aided positioning system based on WiFiAware, wherein, the link block includes:
Instruction reception unit, WiFiAware is opened for current intelligent terminal for reception user instruction;
Probe unit, for other intelligent terminals around the detection of current intelligent terminal with the presence or absence of unlatching WiFiAware;
Connection unit, for when detect around exist open WiFiAware other intelligent terminals when, then with around open
The other intelligent terminal of WiFiAware sets up network connection.
The described aided positioning system based on WiFiAware, wherein, the acquisition parsing module includes:
Position requests unit, for current intelligent terminal by the service interface of WiFiAware to support assisted location service
Other intelligent terminal sends the request for obtaining its position;
Information feedback unit, feedback information of the other intelligent terminal to the position requests is obtained for current intelligent terminal, and
The feedback information is parsed;
Calculating storaging unit, the content for being obtained by parsing determines the latitude and longitude information of other intelligent terminal, and calculates
The relative distance of current intelligent terminal and other intelligent terminal is simultaneously stored.
The described aided positioning system based on WiFiAware, wherein, the computing module includes:
Establishing equation unit, for known quantity and unknown quantity to be substituted into open earth surface apart from computing formula, obtain on
The equation of current intelligent terminal latitude and longitude information, wherein, the latitude and longitude information of other intelligent terminal and current intelligent terminal and its
The relative distance of its intelligent terminal is known quantity, and the latitude and longitude information of current intelligent terminal is unknown quantity;
Unit is solved, the optimal solution for calculating the equation using Newton iteration method.
Beneficial effect:The latitude and longitude information of the other intelligent terminal that the present invention is obtained by WiFiAware and current intelligence
Terminal calculates the latitude and longitude information of current intelligent terminal with the relative distance of other intelligent terminal, can make current intelligent terminal
Under conditions of no network signal or satellite-signal, determining for accurate current intelligent terminal is obtained by WiFiAware
Position information, it is convenient further to obtain effective location information and navigation information.
Brief description of the drawings
Fig. 1 is the flow chart of assisted location method preferred embodiment of the present invention based on WiFiAware.
Fig. 2 is the particular flow sheet of step S1 in Fig. 1 methods describeds.
Fig. 3 is the particular flow sheet of step S2 in Fig. 1 methods describeds.
Fig. 4 is the particular flow sheet of step S3 in Fig. 1 methods describeds.
Fig. 5 is the structured flowchart of aided positioning system preferred embodiment of the present invention based on WiFiAware.
Fig. 6 is the concrete structure block diagram of step 100 in Fig. 5 methods describeds.
Fig. 7 is the concrete structure block diagram of step 200 in Fig. 5 methods describeds.
Fig. 8 is the concrete structure block diagram of step 300 in Fig. 5 methods describeds.
Specific embodiment
The present invention provides a kind of assisted location method and system based on WiFiAware, to make the purpose of the present invention, technology
Scheme and effect are clearer, clear and definite, and the present invention is described in more detail below.It should be appreciated that described herein specific
Embodiment is only used to explain the present invention, is not intended to limit the present invention.
Fig. 1 is referred to, Fig. 1 is the flow chart of assisted location method preferred embodiment of the present invention based on WiFiAware, such as
Shown in figure, it includes step:
S1, current intelligent terminal for reception user instruction open WiFiAware, and with around open WiFiAware other intelligence
Terminal sets up connection;
S2, the latitude and longitude information for obtaining other intelligent terminal, and it is relative with other intelligent terminal to calculate current intelligent terminal
Distance;
The relative distance of S3, the latitude and longitude information by other intelligent terminal and current intelligent terminal and other intelligent terminal is calculated
Go out the latitude and longitude information of current intelligent terminal.
In the present embodiment, intelligent terminal is not own net signal is good or during unavailable satellite positioning functions, passes through
WiFiAware obtain around take its intelligent terminal latitude and longitude information and current intelligent terminal it is relative with other intelligent terminal away from
From, and then determine that current intelligent terminal is accurately positioned, and then obtain accurately navigation, be conducive to the intelligent terminal cannot at itself
When being accurately positioned, also accurately positioning can be obtained by the assistance of other intelligent terminal.
Used as preferred embodiment, Fig. 2 is the particular flow sheet of step S1 in Fig. 1 methods describeds, as illustrated, it includes
Step:
S11, current intelligent terminal for reception user instruction open WiFiAware;
With the presence or absence of other intelligent terminals for opening WiFiAware around S12, the detection of current intelligent terminal;
S13, when detect around there are other intelligent terminals for opening WiFiAware when, then with around open WiFiAware
Other intelligent terminal sets up network connection.
In step s 11, the advance downloading application software of user(The application software of the method for the present invention is realized, certainly also
Application of function of the invention can be used in other software)To mobile terminal, when user or not enough power supply, or network is not
Good, it is impossible to when acquisition is accurately positioned and navigates, current intelligent terminal for reception user instruction opens WiFiAware;In step S12
In, intelligent terminal is visited by WiFiAware bottoms detecting function to other intelligent terminals for around opening WiFiAware
Survey;In step s 13, when intelligent terminal is detected around there are other intelligent terminals for opening WiFiAware, then with surrounding
The other intelligent terminal for opening WiFiAware sets up network connection.The instruction can be touching instruction, or user preset
Quick instruction, including press certain function button, such as volume key;It is continuous to shake mobile phone more than twice in default duration,
Preset duration can be 3s, 5s, 10s, it is preferred that preset duration is 5s.Refer to that institute is in place with current intelligent terminal around described
It is set to center, radius is in the circular scope of 40 ~ 60m, or the length of side is in the square scope of 70 ~ 100m.Opened around described
It can also be multiple that the number for opening the other intelligent terminal of WiFiAware can be one.
Used as preferred embodiment, Fig. 3 is the particular flow sheet of step S2 in Fig. 1 methods describeds, as illustrated, it includes
Step:
S21, current intelligent terminal are by the service interface of WiFiAware to the other intelligent terminal hair for supporting assisted location service
Go out to obtain the request of its position;
S22, current intelligent terminal obtain feedback information of the other intelligent terminal to the position requests, and to the feedback information
Parsed;
S23, the latitude and longitude information of other intelligent terminal is determined by the content that obtains of parsing, and calculate current intelligent terminal with
The relative distance of other intelligent terminal is simultaneously stored.
In the step s 21, current intelligent terminal subscribes to assisted location service by the service interface of WiFiAware, monitors
Nearby whether have described in support and help the other intelligent terminal of positioning service, if listening to its of the support assisted location service
Its intelligent terminal, then be sent to request to obtain its positional information.Support the other intelligent terminal of the assisted location service
By broadcast interface(Publish interfaces), broadcast the service content of itself, in the service content and not comprising it is any with it is intelligent
The relevant personal information such as terminal user ID, age, sex, expressing the intelligent terminal merely by the service content can
To provide the positional information of itself, can so be effectively protected provide positional information intelligent terminal user personal secrets and
Information security, is easy to more intelligent terminal users to be broadcasted the positional information of itself, is conducive to current intelligent terminal to enter
Row is more accurately positioned and navigated.Certainly, current intelligent terminal and other intelligent terminal can be carried out the transmission of positional information
And reception.
In step S22, current intelligent terminal obtains feedback information of the other intelligent terminal to the position requests, and right
The feedback information is parsed;The latitude and longitude information of other intelligent terminal of the feedback information including offer feedback information,
Protocol information and WiFi modes etc..The other intelligent terminal for providing feedback information obtains the latitude and longitude information of itself first,
The process for obtaining the latitude and longitude information is that the other intelligent terminal for providing feedback information first reads from the position letter of body
Breath, and judge whether the positional information is newer positional information, when being, then directly pass through WiFiAware by institute's rheme
The acquisition modes of confidence breath and told positional information(Satellite information type or network information type)It is sent to current intelligence eventually
End;When no, then the other intelligent terminal for providing feedback information applies for satellite fix to obtain own location information first, if
Obtain successfully, be then labeled as satellite data type first, then pass through the acquisition modes of the positional information and positional information
WiFiAware is sent to current intelligent terminal;If satellite fix cannot be asked successfully, re-request network location information,
If obtained successfully, positional information is labeled as network information type first, believes the positional information and position after packing
The acquisition modes of breath are sent to current intelligent terminal by WiFiAware.If network location information and satellite position information are all
Cannot obtain, then directly reply without information data to current intelligent terminal.The newer positional information refers to that reading position is believed
The own location information that the other intelligent terminal of feedback information is obtained, the certain time length are provided before the breath moment in certain time length
Can be 12h, 24h, 48h.
In step S23, current intelligent terminal determines that the longitude and latitude of other intelligent terminal is believed by the content that parsing is obtained
Breath, and calculate the relative distance of current intelligent terminal and other intelligent terminal and store.Now, the other intelligent terminal is
To provide the other intelligent terminal of feedback information.According to whether there is protocol time in other intelligent terminal feedacks, adopt
The relative distance of current intelligent terminal and other intelligent terminal is calculated with different methods.If the letter of other intelligent terminal feedback
Breath carries 802.11mc protocol time information, then the RTT times according to agreement calculate current intelligent terminal and other intelligence
The distance between terminal.Wherein, in RTT times=current time-packet timestamp option the echo time, when described
Between to stab the echo time be time that certain packet sends out, it is known that the reception time of packet(Current time)With the time of transmission
(The echo time), it is possible to obtain a measured value of RTT times.Needed by way of RTT Time Calculation distances mobile whole
The chip manufacturer at end realizes, and is obtained by application call the corresponding interface.If other intelligent terminal feedack is not taken
With above-mentioned RTT temporal informations, then by way of the Rssi signal strength values for reading other intelligent terminal, believed according to the Rssi
Number intensity level calculates the relative distance between current intelligent terminal and its intelligent terminal.The process is mainly using WiFi transmission
Open model formation d=10^ ((ABS (RSSI)-A)/(10*n)) enters row distance calculating, and wherein A and n parameters are needed according to sampling
Calculating is learnt.The application of intelligent terminal can store the empirical value of different platform chip in the intelligent terminals such as mobile phone, such as high pass, rich
The chips such as logical, MTK, while reading terminals chip type in itself, different platform chip takes different parameter values.If cannot be
The parameter value matched with other intelligent terminal device type is found out in application memory, then uses acquiescence empirical parameter value.Calculating
During corresponding parameter value, can be according to the multiple value of actual conditions, the value number of times can voluntarily be set with user(Such as 5,6,10),
Can also be to write default value(Such as it is set to 5 times), peak and minimum that the model is obtained are removed first, then put down again
Obtain respective value.Situation for other mobile terminals is stronger using the specific aim that the algorithm of difference obtains range information,
Data reliability is with height, it is to avoid the error brought is calculated using single method.Additionally, using repeatedly measurement, removing maximum
And minimum value, and the method averaged to remainder data can be prevented effectively from calculation error, improve the reliability of result of calculation.
Additionally, obtaining the different modes of positional information according to other intelligent terminal, the positional information is carried out into classification and is deposited
Storage, and it is marked according to satellite position information, network location information and without information data;And go out current intelligent terminal with
The relative distance of other intelligent terminal need to only be stored to result, be not required to the specific method that mark obtains the distance.
Used as preferred embodiment, Fig. 4 is the particular flow sheet of step S3 in Fig. 1 methods describeds, specifically includes step:
S31, known quantity and unknown quantity are substituted into open earth surface apart from computing formula, obtain being passed through on current intelligent terminal
The equation of latitude information, wherein, the phase of the latitude and longitude information of other intelligent terminal and current intelligent terminal and other intelligent terminal
It is known quantity to adjust the distance, and the latitude and longitude information of current intelligent terminal is unknown quantity;
S32, the optimal solution that the equation is calculated using Newton iteration method.
In step S31, current intelligent terminal is judged with the size of the relative distance of other intelligent terminal first,
Now, the other intelligent terminal is the other intelligent terminal for providing feedback information..In view of other intelligent terminal current
Around intelligent terminal, it is not far with the distance of current intelligent terminal, when current intelligent terminal it is relative with other intelligent terminal away from
During from less than default relative distance threshold value, then judge current intelligent terminal with other intelligent terminal in same position.The phase
Threshold value of adjusting the distance can be intelligent terminal default value, and such as 10m, 20 m, 40 m, or user are according to itself position
Situation setting, such as in the case that environment complicated difficult is looked for around, then the relative distance threshold value is set to smaller value, such as
5 m, 8 m etc.;Such as in the case where more surrounding environment is more open, then the relative distance threshold value is set to higher value,
Such as 25 m, 50 m.Can so facilitate user that the position of oneself is determined in most fast mode.
And when the relative distance of current intelligent terminal and other intelligent terminal is not less than default relative distance threshold value, then
Current intelligent terminal and other intelligent terminal are judged not in same position, then needed by further calculating the current intelligent terminal of determination
Position.Now, it is first determined the number of the other intelligent terminal of feedback position information.When other intelligence of feedback position information
When the number of terminal is 1, then the latitude and longitude information that can only be fed back with it, as the rough estimate of current intelligent terminal position.
When the number of the intelligent terminal of feedback position information is for multiple, then need to obtain longitude and latitude to the intelligent terminal of feedback position information
The mode of information is judged.If in the latitude and longitude information that current intelligent terminal is obtained, only one of which satellite position information, then
The network location information of acquirement is needed to use to be calculated as known parameters.If the longitude and latitude that current intelligent terminal is obtained
In information, comprising 1 satellite position information, and during more than 1 network location information, then more than 1 in network location information
1 network location information of selection, and other network location information are weeded out, using 1 satellite position information for obtaining and 1
Network location information is calculated for known parameters.If in the latitude and longitude information that current intelligent terminal is obtained, comprising 2 with
On satellite position information, then weed out the network location information for having obtained, and use all satellite position informations for obtaining for
Known parameters are calculated.
In calculating process, it is known that measure the latitude and longitude information and current intelligent terminal and other intelligence for other intelligent terminal
The relative distance of terminal, unknown quantity is that the latitude and longitude information of current intelligent terminal is unknown quantity, and known quantity and unknown quantity are brought into
Open earth surface is apart from computing formula.Wherein, the longitude and latitude of current intelligent terminal is sat
It is designated as (x, y), the latitude and longitude coordinates of the latitude and longitude information of other intelligent terminal are(LonB, LatB), d is calculate current
The relative distance of intelligent terminal and other intelligent terminal, R is earth radius, and C is radian, and
。
The latitude and longitude information of other intelligent terminal and current intelligent terminal are brought into the relative distance of other intelligent terminal
Above-mentioned two equation, can list below equation group,
In step s 32, the optimal solution of the equation is calculated using Newton iteration method.During solution, take out first
One equation group, gives one group of initial value x0, y0Equation group is set to be 0.Self-defined iterations N is set, self-defined error is
Then σ lists the Jacobian matrix of equation group according to Newton iteration method formula, obtains the inverse matrix of Jacobian matrix, finally utilizes
Newton iteration method is calculated obtains optimal solution.The iterations can be intelligent terminal itself acquiescence N=15, or
User set N=13, self-defined error be intelligent terminal itself give tacit consent to σ=10-4, or σ=10 that user is set-6.Finally, obtain more suitable longitude and latitude approaches value, it is sufficient to help current intelligent terminal to be accurately positioned and navigated.
Based on the above method, the present invention also provides a kind of aided positioning system based on WiFiAware, as shown in figure 5, its
Including:
Link block 100, for current intelligent terminal for reception user instruction open WiFiAware, and with around open
The other intelligent terminal of WiFiAware sets up connection;
Obtain parsing module 200, for obtaining the latitude and longitude information of other intelligent terminal, and calculate current intelligent terminal and its
The relative distance of its intelligent terminal;
Computing module 300, for the latitude and longitude information by other intelligent terminal and current intelligent terminal and other intelligent terminal
Relative distance calculate the latitude and longitude information of current intelligent terminal.
Further, as shown in fig. 6, the link block 100 includes:
Instruction reception unit 110, WiFiAware is opened for current intelligent terminal for reception user instruction;
Probe unit 120, for other intelligent terminals around the detection of current intelligent terminal with the presence or absence of unlatching WiFiAware;
Connection unit 130, for when other intelligent terminals that around there is unlatching WiFiAware are detected, then being opened with surrounding
The other intelligent terminal for opening WiFiAware sets up network connection.
Further, as shown in fig. 7, the acquisition parsing module 200 includes:
Position requests unit 210, for current intelligent terminal by the service interface of WiFiAware to support assisted location service
Other intelligent terminal send obtain its position request;
Information feedback unit 220, feedback information of the other intelligent terminal to the position requests is obtained for current intelligent terminal,
And the feedback information is parsed;
Calculating storaging unit 230, the content for being obtained by parsing determines the latitude and longitude information of other intelligent terminal, and calculates
Go out the relative distance of current intelligent terminal and other intelligent terminal and store.
Further, as shown in figure 8, the computing module 300 includes:
Establishing equation unit 310, for known quantity and unknown quantity to be substituted into open earth surface apart from computing formula, is closed
In the equation of current intelligent terminal latitude and longitude information, wherein, the latitude and longitude information of other intelligent terminal and current intelligent terminal with
The relative distance of other intelligent terminal is known quantity, and the latitude and longitude information of current intelligent terminal is unknown quantity;
Unit 320 is solved, the optimal solution for calculating the equation using Newton iteration method.
In sum, the latitude and longitude information of the other intelligent terminal that the present invention is obtained by WiFiAware and current intelligence
Terminal calculates the latitude and longitude information of current intelligent terminal with the relative distance of other intelligent terminal, can make current intelligent terminal
Under conditions of no network signal or satellite-signal, determining for accurate current intelligent terminal is obtained by WiFiAware
Position information, it is convenient further to obtain effective navigation information.
It should be appreciated that application of the invention is not limited to above-mentioned citing, and for those of ordinary skills, can
To be improved according to the above description or converted, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Shield scope.
Claims (10)
1. a kind of assisted location method based on WiFiAware, it is characterised in that including:
Step A, current intelligent terminal for reception user instruction open WiFiAware, and with around open WiFiAware other intelligence
Can terminal foundation connection;
The latitude and longitude information of step B, acquisition other intelligent terminal, and calculate the phase of current intelligent terminal and other intelligent terminal
Adjust the distance;
The relative distance of step C, the latitude and longitude information by other intelligent terminal and current intelligent terminal and other intelligent terminal
Calculate the latitude and longitude information of current intelligent terminal.
2. the assisted location method based on WiFiAware according to claim 1, it is characterised in that the step A is specific
Including:
Step A1, current intelligent terminal for reception user instruction open WiFiAware;
With the presence or absence of other intelligent terminals for opening WiFiAware around step A2, the detection of current intelligent terminal;
Step A3, when detect around exist open WiFiAware other intelligent terminals when, then with around open
The other intelligent terminal of WiFiAware sets up network connection.
3. the assisted location method based on WiFiAware according to claim 1, it is characterised in that the step B is specific
Including:
Step B1, current intelligent terminal are whole to other intelligence of support assisted location service by the service interface of WiFiAware
End sends the request for obtaining its position;
Step B2, current intelligent terminal obtain feedback information of the other intelligent terminal to the position requests, and to the feedback
Information is parsed;
Step B3, the content obtained by parsing determine the latitude and longitude information of other intelligent terminal, and calculate current intelligence eventually
Hold the relative distance with other intelligent terminal and store.
4. the assisted location method based on WiFiAware according to claim 3, it is characterised in that in the step B2,
The type of the feedback information is for satellite position information, network location information and without the one kind in information data.
5. the assisted location method based on WiFiAware according to claim 3, it is characterised in that in the step C,
When the relative distance for calculating is less than default relative distance threshold value, then judge that current intelligent terminal exists with other intelligent terminal
Same position.
6. the assisted location method based on WiFiAware according to claim 1, it is characterised in that the step C is specific
Including:
Step C1, known quantity and unknown quantity are substituted into open earth surface apart from computing formula, obtained on current intelligence eventually
The equation of latitude and longitude information is held, wherein, the latitude and longitude information of other intelligent terminal and current intelligent terminal and other intelligent terminal
Relative distance be known quantity, the latitude and longitude information of current intelligent terminal is unknown quantity;
Step C2, the optimal solution that the equation is calculated using Newton iteration method.
7. a kind of aided positioning system based on WiFiAware, it is characterised in that including:
Link block, for current intelligent terminal for reception user instruction open WiFiAware, and with around open WiFiAware
Other intelligent terminal set up connection;
Obtain parsing module, for obtaining the latitude and longitude information of other intelligent terminal, and calculate current intelligent terminal and other
The relative distance of intelligent terminal;
Computing module, for the phase of the latitude and longitude information by other intelligent terminal and current intelligent terminal and other intelligent terminal
Adjust the distance and calculate the latitude and longitude information of current intelligent terminal.
8. the aided positioning system based on WiFiAware according to claim 7, it is characterised in that the link block
Including:
Instruction reception unit, WiFiAware is opened for current intelligent terminal for reception user instruction;
Probe unit, for other intelligent terminals around the detection of current intelligent terminal with the presence or absence of unlatching WiFiAware;
Connection unit, for when detect around exist open WiFiAware other intelligent terminals when, then with around open
The other intelligent terminal of WiFiAware sets up network connection.
9. the aided positioning system based on WiFiAware according to claim 7, it is characterised in that the acquisition parsing
Module includes:
Position requests unit, for current intelligent terminal by the service interface of WiFiAware to support assisted location service
Other intelligent terminal sends the request for obtaining its position;
Information feedback unit, feedback information of the other intelligent terminal to the position requests is obtained for current intelligent terminal, and
The feedback information is parsed;
Calculating storaging unit, the content for being obtained by parsing determines the latitude and longitude information of other intelligent terminal, and calculates
The relative distance of current intelligent terminal and other intelligent terminal is simultaneously stored.
10. the aided positioning system based on WiFiAware according to claim 7, it is characterised in that the computing module
Including:
Establishing equation unit, for known quantity and unknown quantity to be substituted into open earth surface apart from computing formula, obtain on
The equation of current intelligent terminal latitude and longitude information, wherein, the latitude and longitude information of other intelligent terminal and current intelligent terminal and its
The relative distance of its intelligent terminal is known quantity, and the latitude and longitude information of current intelligent terminal is unknown quantity;
Unit is solved, the optimal solution for calculating the equation using Newton iteration method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710063441.XA CN106842122B (en) | 2017-02-03 | 2017-02-03 | Auxiliary positioning method and system based on WiFiAware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710063441.XA CN106842122B (en) | 2017-02-03 | 2017-02-03 | Auxiliary positioning method and system based on WiFiAware |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106842122A true CN106842122A (en) | 2017-06-13 |
CN106842122B CN106842122B (en) | 2021-08-10 |
Family
ID=59121913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710063441.XA Active CN106842122B (en) | 2017-02-03 | 2017-02-03 | Auxiliary positioning method and system based on WiFiAware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106842122B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370506A (en) * | 2017-07-14 | 2017-11-21 | 惠州Tcl移动通信有限公司 | Car method and system are looked in parking lot |
CN108877297A (en) * | 2018-08-01 | 2018-11-23 | Oppo广东移动通信有限公司 | safe positioning method and related product |
CN108966128A (en) * | 2018-07-19 | 2018-12-07 | Oppo广东移动通信有限公司 | Navigation locating method and Related product |
CN109121199A (en) * | 2018-08-10 | 2019-01-01 | Oppo广东移动通信有限公司 | Localization method, positioning device, mobile terminal and storage medium |
CN109168126A (en) * | 2018-08-10 | 2019-01-08 | Oppo广东移动通信有限公司 | Localization method, relevant device and computer readable storage medium |
CN109240281A (en) * | 2018-08-02 | 2019-01-18 | Oppo广东移动通信有限公司 | Avoid running method and Related product |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026088A (en) * | 2009-09-17 | 2011-04-20 | 中兴通讯股份有限公司 | Method and system for realizing dispatchment of auxiliary location data |
CN102158822A (en) * | 2011-03-24 | 2011-08-17 | 华为终端有限公司 | User equipment and information sending method |
CN104023007A (en) * | 2014-05-14 | 2014-09-03 | 上海卓悠网络科技有限公司 | Data flow sending and reception method, terminal and system thereof |
CN104640073A (en) * | 2015-02-09 | 2015-05-20 | 江南大学 | Reverse synchronous perception-based wifi (Wireless Fidelity) wireless positioning method and system |
CN105075297A (en) * | 2013-02-22 | 2015-11-18 | 英特尔公司 | Location based advertisement system using Wi-Fi |
CN105093178A (en) * | 2015-07-20 | 2015-11-25 | 小米科技有限责任公司 | Terminal positioning method, apparatus and system |
CN105391979A (en) * | 2015-11-10 | 2016-03-09 | 浙江宇视科技有限公司 | Method and device for processing service |
CN105578413A (en) * | 2015-12-22 | 2016-05-11 | Tcl集团股份有限公司 | Intelligent driving reminding method and device |
CN105578396A (en) * | 2015-12-28 | 2016-05-11 | Tcl集团股份有限公司 | Emergency help method, device and system |
US20160198328A1 (en) * | 2015-01-01 | 2016-07-07 | Intel Corporation | Apparatus, system and method of awareness networking communications over a sub 1 gigahertz band |
US20160286395A1 (en) * | 2015-03-24 | 2016-09-29 | Intel Corporation | Apparatus, system and method of securing communication between wireless devices |
CN106291463A (en) * | 2016-07-27 | 2017-01-04 | 南京崇山通信科技有限公司 | A kind of indoor orientation method combined based on WiFi and sound wave |
-
2017
- 2017-02-03 CN CN201710063441.XA patent/CN106842122B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026088A (en) * | 2009-09-17 | 2011-04-20 | 中兴通讯股份有限公司 | Method and system for realizing dispatchment of auxiliary location data |
CN102158822A (en) * | 2011-03-24 | 2011-08-17 | 华为终端有限公司 | User equipment and information sending method |
CN105075297A (en) * | 2013-02-22 | 2015-11-18 | 英特尔公司 | Location based advertisement system using Wi-Fi |
CN104023007A (en) * | 2014-05-14 | 2014-09-03 | 上海卓悠网络科技有限公司 | Data flow sending and reception method, terminal and system thereof |
US20160198328A1 (en) * | 2015-01-01 | 2016-07-07 | Intel Corporation | Apparatus, system and method of awareness networking communications over a sub 1 gigahertz band |
CN104640073A (en) * | 2015-02-09 | 2015-05-20 | 江南大学 | Reverse synchronous perception-based wifi (Wireless Fidelity) wireless positioning method and system |
US20160286395A1 (en) * | 2015-03-24 | 2016-09-29 | Intel Corporation | Apparatus, system and method of securing communication between wireless devices |
CN105093178A (en) * | 2015-07-20 | 2015-11-25 | 小米科技有限责任公司 | Terminal positioning method, apparatus and system |
CN105391979A (en) * | 2015-11-10 | 2016-03-09 | 浙江宇视科技有限公司 | Method and device for processing service |
CN105578413A (en) * | 2015-12-22 | 2016-05-11 | Tcl集团股份有限公司 | Intelligent driving reminding method and device |
CN105578396A (en) * | 2015-12-28 | 2016-05-11 | Tcl集团股份有限公司 | Emergency help method, device and system |
CN106291463A (en) * | 2016-07-27 | 2017-01-04 | 南京崇山通信科技有限公司 | A kind of indoor orientation method combined based on WiFi and sound wave |
Non-Patent Citations (1)
Title |
---|
闵荷芳等: "Wi-Fi Aware认证的流程及测试要求 ", 《安全与电磁兼容》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370506A (en) * | 2017-07-14 | 2017-11-21 | 惠州Tcl移动通信有限公司 | Car method and system are looked in parking lot |
CN107370506B (en) * | 2017-07-14 | 2021-03-23 | 惠州Tcl移动通信有限公司 | Parking lot vehicle finding method and system |
CN108966128A (en) * | 2018-07-19 | 2018-12-07 | Oppo广东移动通信有限公司 | Navigation locating method and Related product |
CN108877297A (en) * | 2018-08-01 | 2018-11-23 | Oppo广东移动通信有限公司 | safe positioning method and related product |
US11244569B2 (en) | 2018-08-01 | 2022-02-08 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for safe positioning and related products |
CN109240281A (en) * | 2018-08-02 | 2019-01-18 | Oppo广东移动通信有限公司 | Avoid running method and Related product |
CN109240281B (en) * | 2018-08-02 | 2022-07-08 | Oppo广东移动通信有限公司 | Avoidance driving method and related product |
CN109121199A (en) * | 2018-08-10 | 2019-01-01 | Oppo广东移动通信有限公司 | Localization method, positioning device, mobile terminal and storage medium |
CN109168126A (en) * | 2018-08-10 | 2019-01-08 | Oppo广东移动通信有限公司 | Localization method, relevant device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106842122B (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106842122A (en) | A kind of assisted location method and system based on WiFiAware | |
US9826498B2 (en) | Method and apparatus for maintaining access point information | |
CN107250830B (en) | Method, device and system for positioning | |
KR101123594B1 (en) | Method and apparatus for using historic network information for determining approximate position | |
CN109541655B (en) | Differential positioning system and method | |
CN109565659A (en) | The method and system of the support of positioning for Internet of Things | |
US20120309371A1 (en) | Network Connection Device, Method Of Setting An Operation Mode, And Computer Program Product | |
WO2015135478A1 (en) | Terminal locating method and device | |
KR20130120366A (en) | Hybrid mobile phone geopositioning | |
CN110049445A (en) | The method and relevant apparatus of equipment reporting position information | |
CN104469934A (en) | Method for determining relative position of positioning terminal | |
CN107431995A (en) | Realize the checking to the estimated location of mobile device | |
WO2018136225A1 (en) | Targeted prs configuration searches | |
JP2016513793A (en) | Method and apparatus for enabling use of a Global Navigation Satellite System (GNSS) signal indoors | |
CN106685891A (en) | Verification method and apparatus for accessing network | |
CN107343262A (en) | Localization method and location-server, mobile device based on cell ID | |
US9445358B2 (en) | Mobile communication terminal, server apparatus, controlling system, controlling method, and program | |
KR101417922B1 (en) | Method and Apparatus for Determining Position of Terminal | |
CN108093140A (en) | A kind of emergency contact method and emergency contact system based on intelligent terminal | |
EP3119129A1 (en) | A wireless device with location-based probing | |
KR20140121939A (en) | Differential global positioning system based on web service and | |
Ozen et al. | Android based energy aware real-time location tracking system | |
TW201003105A (en) | Positioning method, apparatus and computer program product using the positioning method | |
WO2022110176A1 (en) | Positioning method, device, equipment, and storage medium | |
CN114719842A (en) | Positioning method, system, equipment and storage medium based on electronic fence |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20231016 Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000 Patentee after: Xiamen reliable intellectual property service Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |