CN105636102A - Positioning method and device based on Bayes posterior probability - Google Patents

Positioning method and device based on Bayes posterior probability Download PDF

Info

Publication number
CN105636102A
CN105636102A CN201610081060.XA CN201610081060A CN105636102A CN 105636102 A CN105636102 A CN 105636102A CN 201610081060 A CN201610081060 A CN 201610081060A CN 105636102 A CN105636102 A CN 105636102A
Authority
CN
China
Prior art keywords
mobile phone
lattice point
number value
grid lattice
posterior probability
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
Application number
CN201610081060.XA
Other languages
Chinese (zh)
Other versions
CN105636102B (en
Inventor
林华珍
周飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610081060.XA priority Critical patent/CN105636102B/en
Publication of CN105636102A publication Critical patent/CN105636102A/en
Application granted granted Critical
Publication of CN105636102B publication Critical patent/CN105636102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The invention relates to the positioning field, in particular a positioning method and device based on Bayes posterior probability. Aiming at the problem existent in the prior art, the invention provides a processing method and device. The method comprises collecting training data in an environment without interference, the training data for modeling is worked out according to maximum likelihood method; since the model collected by the user is unknown, the possible signals under different mobile phones can be obtained through change (by translating the model); the positioning position is obtained through performing Bayes posterior probability maximization method on each extracted signal; furthermore, the indoor navigation path is obtained through the combination of the positioning method and cartographic information processing. Through the adoption of the method and device provided by the invention, the indoor positioning is finished through the cooperation of a network database module, an estimated value computing module and a Bayes posterior probability positioning module.

Description

A kind of localization method based on Bayes posterior probability and device
Technical field
The present invention relates to positioning field, especially a kind of localization method based on Bayes posterior probability and device.
Background technology
Existing algorithm for recognizing fingerprint, based on RSSI range measurement principle, is converted to signal intensity emission source to the distance between receptor, is then based on triangle positioning principle and positions.
Owing to WiFi signal anti-interference is poor, if there is the difference artificially blocking and receiving signal equipment, causing that the WiFi received has bigger error, thus causing error when signal intensity being converted to distance, finally positioning precision being produced impact.
Summary of the invention
The technical problem to be solved is: for prior art Problems existing, it is provided that a kind of localization method based on Bayes posterior probability and device, collects training data, set up model y in the environment not interfered withij=��i+��ilog(dij)+��ij�� is calculated according to maximum likelihood method with training dataij, ��i, ��i; What collect model due to user is unknown, and we are by changing ��i, ��i(it is translated) obtains signal possible under different mobile phone; The signal each time extracted is changed method the most significantly by Bayes posterior probability and obtains position location, further, processed by localization method combining cartographic information, obtain indoor navigation route.
The technical solution used in the present invention is as follows:
A kind of localization method based on Bayes posterior probability includes:
Step 1: in noiseless environment, it is some grid lattice points by field division, and be each grid lattice point numbering, obtain grid lattice point number value i, by grid lattice point number value and the grid lattice point number value of walking position can do a network database about; Noiseless environment is collected the WiFi signal intensity level y of each grid lattice point by different mobile phone modelsij; The WiFi signal intensity level y that described mobile phone model, grid lattice point number value are corresponding with mobile phoneijCorresponding;
Step 2: set up model y for mobile phone model tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; By changing ��t, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��z; Wherein i is a certain mobile phone correspondence grid lattice point number value, and j is wireless router number value on a certain mobile phone correspondence grid lattice point, yijFor the WIFI signal that mobile phone receives from jth wireless router at i-th place; dijFor the i-th wireless router spacing to jth wireless router, for given value; ��ijAt i-th grid lattice point, the measurement error of jth wireless router signal is obeyed N (�� for mobile phoneij,��ij) distribution, wherein ��ijThe average of jth WIFI signal error, �� is collected for i-th grid lattice pointijThe variance yields of jth WIFI signal error is collected for i-th grid lattice point;
Step 3: at positioning stage, collects m wireless router WIFI signal by mobile phone, sets wherein k WIFI signal noiseless, there is noisy signal in all the other m-k signals; Wherein,
P ( new | i ) = Π j = 1 k 1 2 π σ ij exp [ - ( y ij - α z - β z - log ( d ij ) - μ ij ) 2 2 σ ij 2 Π j = k + 1 m Φ ( y ij - α z - β z log ( d ij ) - μ ij σ ij )
Different �� is obtained for the training stagezWith ��z, from m ap, to take out k signal at random, substitute into Bayes posterior probability P (news | i), draw the maximized lattice point number value of posterior probability, the frequency of all lattice points numbering is designated as F; The mode of all lattice points numbering takes out, and is designated as P as deposit output one; Then mobile phone loads cartographic information, obtains indoor navigation route after all lattice point number value are processed.
Further, described step 2 sets up model y for mobile phone model tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij;
Specifically include:
Step 21: set up model y for mobile phone signal iij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, the signal data then collected according to different mobile phones sets up maximum likelihood function L: wherein Wherein t is different mobile phone models, and T is mobile phone quantitative value; NtFor different mobile phone number of samples;
Step 22: with gradient descent method, it is thus achieved that ��t, ��t, ��ij, ��ij; Wherein ��tFor the �� value of certain model mobile phone, ��t�� value is received for certain signal;For receiving all wireless router signal values at a certain signal mobile phone at i point, for given value; I is total some bit number value, for given value; J is the sum of wireless router, for given value.
Further, by changing �� in described step 2t, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��zDetailed process is: build ��zFor interval [��0,��q] in uniform point, then ��z=��0+z*(��q-��0)/p; Wherein ��0=min{ ��t: t=1,2...T}, ��q=max{ ��t: t=1,2...T}, ��zThere is p+1, [��0,��q] for comprising described ��tInterval; T=1,2...T; In like manner produceZ is for uniformly putting number value, and p is for uniformly putting number.
Further, described step 3 specifically includes:
Step 111: based on posterior probability P described in claim 3 (news | i), obtainIndividual posterior probability P (news | i) the grid lattice point number value that maximum is corresponding, the frequency of all lattice point number value is designated as F; The mode then taking out all lattice point number value takes out, and lays in output valve P as first; Wherein i=1,2,3 ... I; News is all WiFi signal intensity level y that a certain moment mobile phone is collectedij;
Step 112: based on right 111, obtains n first deposit output valve and is designated as the first global variable [P1,P2...Pn], corresponding frequency is designated as the second global variable [F1,F2...Fn];
Step 113: based on step 111 and step 112, mobile phone loads cartographic information; Owing to there is aisle on map, it is assumed that object moves only along road, and there is the setting of the upper limit and network database in translational speed, then the frequency distribution vector signal being currently received being sampled is weighted with the second global variableDraw final frequency distribution F, it is the second deposit output valve to the grid lattice values that frequency in final frequency distribution F is maximum, in addition update the second global variable does from the frequency distribution that current time is farthest, if the second deposit output valve meets: in the first global variable within the scope of adjacent two grid lattice values of all first deposit output valves, then output the second deposit output valve, and by the second deposit output valve the first global variable done and update; Otherwise export the n-th point in the first global variable; Described X represents position two, current location of the distance grid lattice point at most of next second; FnFor frequency distribution vector;
Step 114: lay in output valve according to second and obtain indoor navigation route.
A kind of positioner based on Bayes posterior probability includes:
Mesh data library module, for being some grid lattice points by field division in noiseless environment, and be each grid lattice point numbering, obtain grid lattice point number value i, by grid lattice point number value and the grid lattice point number value of walking position can do a network database about; Noiseless environment is collected the WiFi signal intensity level y of each grid lattice point by different mobile phone modelsij; The WiFi signal intensity level y that described mobile phone model, grid lattice point number value are corresponding with mobile phoneijCorresponding;
Estimated value computing module, for setting up model y for mobile phone model tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; By changing ��t, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��z; Wherein i is a certain mobile phone correspondence grid lattice point number value, and j is wireless router number value on a certain mobile phone correspondence grid lattice point, yijFor the WIFI signal that mobile phone receives from jth wireless router at i-th place; dijFor the i-th wireless router spacing to jth wireless router, for given value; ��ijAt i-th grid lattice point, the measurement error of jth wireless router signal is obeyed N (�� for mobile phoneij,��ij) distribution, wherein ��ijThe average of jth WIFI signal error, �� is collected for i-th grid lattice pointijThe variance yields of jth WIFI signal error is collected for i-th grid lattice point;
Bayes posterior probability locating module, at positioning stage, collecting m wireless router WIFI signal by mobile phone, set wherein k WIFI signal noiseless, there is noisy signal in all the other m-k signals; Wherein,
P ( new | i ) = Π j = 1 k 1 2 π σ ij exp [ - ( y ij - α z - β z - log ( d ij ) - μ ij ) 2 2 σ ij 2 Π j = k + 1 m Φ ( y ij - α z - β z log ( d ij ) - μ ij σ ij )
Different �� is obtained for the training stagezWith ��z, from m ap, to take out k signal at random, substitute into Bayes posterior probability P (news | i), draw the maximized lattice point number value of posterior probability, the frequency of all lattice points numbering is designated as F; The mode of all lattice points numbering takes out, and is designated as P as deposit output one; Then mobile phone loads cartographic information, obtains indoor navigation route after all lattice point number value are processed.
Further, described estimated value computing module sets up model y for mobile phone model tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; Specifically include:
Step 21: set up model y for mobile phone signal iij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, the signal data then collected according to different mobile phones sets up maximum likelihood function L: wherein Wherein t is different mobile phone models, and T is mobile phone quantitative value; NtFor different mobile phone number of samples;
Step 22: with gradient descent method, it is thus achieved that ��t, ��t, ��ij, ��ij; Wherein ��tFor the �� value of certain model mobile phone, ��t�� value is received for certain signal;For receiving all wireless router signal values at a certain signal mobile phone at i point, for given value; I is total some bit number value, for given value; J is the sum of wireless router, for given value.
Further, by changing �� in described estimated value computing modulet, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��zDetailed process is: build ��zFor interval [��0,��q] in uniform point, then ��z=��0+z*(��q-��0)/p; Wherein ��0=min{ ��t: t=1,2...T}, ��q=max{ ��t: t=1,2...T}, ��zThere is p+1, [��0,��q] for comprising described ��tInterval; T=1,2...T; In like manner produceZ is for uniformly putting number value, and p is for uniformly putting number.
Further, described Bayes posterior probability locating module work process specifically includes:
Step 111: based on posterior probability P described in claim 3 (news | i), obtainIndividual posterior probability P (news | i) the grid lattice point number value that maximum is corresponding, the frequency of all lattice point number value is designated as F; The mode then taking out all lattice point number value takes out, and lays in output valve P as first; Wherein i=1,2,3 ... I; News is all WiFi signal intensity level y that a certain moment mobile phone is collectedij;
Step 112: based on right 111, obtains n first deposit output valve and is designated as the first global variable [P1,P2...Pn], corresponding frequency is designated as the second global variable [F1,F2...Fn];
Step 113: based on step 111 and step 112, mobile phone loads cartographic information; Owing to there is aisle on map, it is assumed that object moves only along road, and there is the setting of the upper limit and network database in translational speed, then the frequency distribution vector signal being currently received being sampled is weighted with the second global variableDraw final frequency distribution F, it is the second deposit output valve to the grid lattice values that frequency in final frequency distribution F is maximum, in addition update the second global variable does from the frequency distribution that current time is farthest, if the second deposit output valve meets: in the first global variable within the scope of adjacent two grid lattice values of all first deposit output valves, then output the second deposit output valve, and by the second deposit output valve the first global variable done and update; Otherwise export the n-th point in the first global variable; Described X represents position two, current location of the distance grid lattice point at most of next second; FnFor frequency distribution vector;
Step 114: lay in output valve according to second and obtain indoor navigation route.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows:
1) it is some grid lattice points by field division, and be each grid lattice point numbering, obtain grid lattice point number value i, by grid lattice point number value and the grid lattice point number value of walking position can do a network database and provide basis for follow-up location technology about;
2) owing to user mobile phone model is unknown, the present invention is by changing ��i, ��i(it is translated) obtains different mobile phone signal; Being positioned by the signal each time extracted, localization method is that Bayes posterior probability is turned to predictive value the most significantly so that positioning result is convenient accurately;
3) processed by localization method combining cartographic information, obtain indoor navigation route.
4) artificially blocking pure, using different mobile phone to collect under RST, locating accuracy is more than 90%.
Detailed description of the invention
All features disclosed in this specification, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
This specification (include any accessory claim, summary) disclosed in any feature, unless specifically stated otherwise, all can by other equivalences or there is the alternative features of similar purpose replaced. That is, unless specifically stated otherwise, each feature is an example in a series of equivalence or similar characteristics.
Embodiment one:
One, the training stage
1, it is some grid lattice points by field division, and is each grid lattice point numbering, obtain grid lattice point number value i, by grid lattice point number value and the grid lattice point number value of walking position can do a network database about; Noiseless environment is collected the WiFi signal intensity level y of each grid lattice point by mobile phoneij; The WiFi signal intensity level y that described mobile phone model, grid lattice point number value are corresponding with mobile phoneijCorresponding;
2, WiFi signal fluctuation Normal Distribution
3, model y is set up for mobile phone tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; Wherein i is a certain mobile phone correspondence grid lattice point number value, and j is wireless router number value on a certain mobile phone correspondence grid lattice point, yijFor the WIFI signal that mobile phone receives from jth wireless router at i-th place; dijFor the i-th wireless router spacing to jth wireless router, for given value; ��ijAt i-th grid lattice point, the measurement error of jth wireless router signal is obeyed N (�� for mobile phoneij,��ij) distribution, wherein ��ijThe average of jth WIFI signal, �� is collected for i-th grid lattice pointijThe variance yields of jth WIFI signal is collected for i-th grid lattice point. Specifically include:
Step 21: set up model y for mobile phone signal iij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, the signal data then collected according to different mobile phones sets up maximum likelihood function: Wherein t is different mobile phone models, and T is mobile phone quantitative value; NtFor different mobile phone number of samples;
Step 22: with gradient descent method, it is thus achieved that ��t, ��t, ��ij, ��ij; Wherein ��tFor the �� value of certain model mobile phone, ��t�� value is received for certain signal;For receiving all wireless router signal values at a certain signal mobile phone at i point, for given value; I is total some bit number value, for given value; J is the sum of wireless router, for given value.
Two, positioning stage:
At positioning stage, collect m wireless router WIFI signal by mobile phone, set wherein k WIFI signal noiseless, all the other m-k signals exist noisy signal;
P ( new | i ) = Π j = 1 k 1 2 π σ ij exp [ - ( y ij - α z - β z - log ( d ij ) - μ ij ) 2 2 σ ij 2 Π j = k + 1 m Φ ( y ij - α z - β z log ( d ij ) - μ ij σ ij )
Different �� is obtained for the training stagezWith ��z, m ap takes out k signal at random, substitutes into Bayes posterior probability P (news | i), draws the maximized lattice point number value of posterior probability, and described lattice point number value is indoor positioning position.
Step 111: based on posterior probability P described in claim 3 (news | i), obtainIndividual posterior probability P (news | i) the grid lattice point number value that maximum is corresponding, the frequency of all lattice point number value is designated as F; The mode then taking out all lattice point number value takes out, and lays in output valve P as first; Wherein i=1,2,3 ... I; News is all WiFi signal intensity level y that a certain moment mobile phone is collectedij;
Step 112: based on right 111, obtains n first deposit output valve and is designated as the first global variable [P1,P2...Pn], corresponding frequency is designated as the second global variable [F1,F2...Fn];
Step 113: based on step 111 and step 112, mobile phone loads cartographic information; Owing to map existing aisle, assume that object moves only along road, and there is the setting of the upper limit (position of next second is two, current location of distance grid lattice point at most) and network database in translational speed, the frequency distribution the vector then signal being currently received being sampled is weighted with the second global variable that (in my experiment, the frequency distribution of current demand signal is 0.5, five bars weights of global variable two everybody 0.1)(FnFor frequency distribution vector) draw final frequency distribution F, it is the second deposit output valve to the grid lattice values that frequency in final frequency distribution F is maximum, in addition update the second global variable does from the frequency distribution that current time is farthest, if the second deposit output valve meets: in the first global variable within the scope of adjacent two grid lattice values of all first deposit output valves, then output the second deposit output valve, and by the second deposit output valve the first global variable done and update; Otherwise export the n-th point in the first global variable;
Step 114: lay in output valve according to second and obtain indoor navigation route
Four, the debugging stage:
1, the WiFi signal in place collected by the mobile phone utilizing different model.
2, different extraction signal number k is changed, and ��t, ��t, reach the highest precision.
The invention is not limited in aforesaid detailed description of the invention. The present invention expands to any new feature disclosed in this manual or any new combination, and the step of the arbitrary new method disclosed or process or any new combination.

Claims (8)

1. the localization method based on Bayes posterior probability, it is characterised in that including:
Step 1: in noiseless environment, it is some grid lattice points by field division, and be each grid lattice point numbering, obtain grid lattice point number value i, by grid lattice point number value and the grid lattice point number value of walking position can do a network database about; Noiseless environment is collected the WiFi signal intensity level y of each grid lattice point by different mobile phone modelsij; The WiFi signal intensity level y that described mobile phone model, grid lattice point number value are corresponding with mobile phoneijCorresponding;
Step 2: set up model y for mobile phone model tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; By changing ��t, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��z; Wherein i is a certain mobile phone correspondence grid lattice point number value, and j is wireless router number value on a certain mobile phone correspondence grid lattice point, yijFor the WIFI signal that mobile phone receives from jth wireless router at i-th place; dijFor the i-th wireless router spacing to jth wireless router, for given value; ��ijAt i-th grid lattice point, the measurement error of jth wireless router signal is obeyed N (�� for mobile phoneij,��ij) distribution, wherein ��ijThe average of jth WIFI signal error, �� is collected for i-th grid lattice pointijThe variance yields of jth WIFI signal error is collected for i-th grid lattice point;
Step 3: at positioning stage, collects m wireless router WIFI signal by mobile phone, sets wherein k WIFI signal noiseless, there is noisy signal in all the other m-k signals; Wherein,
Different �� is obtained for the training stagezWith ��z, from m ap, to take out k signal at random, substitute into Bayes posterior probability P (news | i), draw the maximized lattice point number value of posterior probability, the frequency of all lattice points numbering is designated as F; The mode of all lattice points numbering takes out, and is designated as P as deposit output one; Then mobile phone loads cartographic information, obtains indoor navigation route after all lattice point number value are processed.
2. a kind of WIFI localization method based on Bayes posterior probability according to claim 1, it is characterised in that set up model y for mobile phone model t in described step 2ij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; Specifically include:
Step 21: set up model y for mobile phone signal iij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, the signal data then collected according to different mobile phones sets up maximum likelihood function L: wherein Wherein t is different mobile phone models, and T is mobile phone quantitative value; NtFor different mobile phone number of samples;
Step 22: with gradient descent method, it is thus achieved that ��t, ��t, ��ij, ��ij; Wherein ��tFor the �� value of certain model mobile phone, ��t�� value is received for certain signal;For receiving all wireless router signal values at a certain signal mobile phone at i point, for given value; I is total some bit number value, for given value; J is the sum of wireless router, for given value.
3. based on a kind of WIFI localization method based on Bayes posterior probability described in claim 1 or 2, it is characterised in that by changing �� in described step 2t, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��zDetailed process is: build ��zFor interval [��0,��q] in uniform point, then ��z=��0+z*(��q-��0)/p; Wherein ��0=min{ ��t: t=1,2...T}, ��q=max{ ��t: t=1,2...T}, ��zThere is p+1, [��0,��q] for comprising described ��tInterval; T=1,2...T; In like manner produceZ is for uniformly putting number value, and p is for uniformly putting number.
4. a kind of WIFI localization method based on Bayes posterior probability according to claim 1, it is characterised in that described step 3 specifically includes:
Step 111: based on posterior probability P described in claim 3 (news | i), obtainIndividual posterior probability P (news | i) the grid lattice point number value that maximum is corresponding, the frequency of all lattice point number value is designated as F; The mode then taking out all lattice point number value takes out, and lays in output valve P as first; Wherein i=1,2,3...I; News is all WiFi signal intensity level y that a certain moment mobile phone is collectedij;
Step 112: based on right 111, obtains n first deposit output valve and is designated as the first global variable [P1,P2...Pn], corresponding frequency is designated as the second global variable [F1,F2...Fn];
Step 113: based on step 111 and step 112, mobile phone loads cartographic information; Owing to there is aisle on map, it is assumed that object moves only along road, and there is the setting of the upper limit and network database in translational speed, then the frequency distribution vector signal being currently received being sampled is weighted with the second global variableDraw final frequency distribution F, it is the second deposit output valve to the grid lattice values that frequency in final frequency distribution F is maximum, in addition update the second global variable does from the frequency distribution that current time is farthest, if the second deposit output valve meets: in the first global variable within the scope of adjacent two grid lattice values of all first deposit output valves, then output the second deposit output valve, and by the second deposit output valve the first global variable done and update; Otherwise export the n-th point in the first global variable; Described X represents position two, current location of the distance grid lattice point at most of next second; FnFor frequency distribution vector;
Step 114: lay in output valve according to second and obtain indoor navigation route.
5. the positioner based on Bayes posterior probability, it is characterised in that including:
Mesh data library module, for being some grid lattice points by field division in noiseless environment, and be each grid lattice point numbering, obtain grid lattice point number value i, by grid lattice point number value and the grid lattice point number value of walking position can do a network database about; Noiseless environment is collected the WiFi signal intensity level y of each grid lattice point by different mobile phone modelsij; The WiFi signal intensity level y that described mobile phone model, grid lattice point number value are corresponding with mobile phoneijCorresponding;
Estimated value computing module, for setting up model y for mobile phone model tij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; By changing ��t, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��z; Wherein i is a certain mobile phone correspondence grid lattice point number value, and j is wireless router number value on a certain mobile phone correspondence grid lattice point, yijFor the WIFI signal that mobile phone receives from jth wireless router at i-th place; dijFor the i-th wireless router spacing to jth wireless router, for given value; ��ijAt i-th grid lattice point, the measurement error of jth wireless router signal is obeyed N (�� for mobile phoneij,��ij) distribution, wherein ��ijThe average of jth WIFI signal error, �� is collected for i-th grid lattice pointijThe variance yields of jth WIFI signal error is collected for i-th grid lattice point;
Bayes posterior probability locating module, at positioning stage, collecting m wireless router WIFI signal by mobile phone, set wherein k WIFI signal noiseless, there is noisy signal in all the other m-k signals; Wherein,
Different �� is obtained for the training stagezWith ��z, from m ap, to take out k signal at random, substitute into Bayes posterior probability P (news | i), draw the maximized lattice point number value of posterior probability, the frequency of all lattice points numbering is designated as F; The mode of all lattice points numbering takes out, and is designated as P as deposit output one; Then mobile phone loads cartographic information, obtains indoor navigation route after all lattice point number value are processed.
6. a kind of positioner based on Bayes posterior probability according to claim 5, it is characterised in that set up model y for mobile phone model t in described estimated value computing moduleij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, then according to maximum likelihood function calculate obtain ��t, ��t, ��ij, ��ij; Specifically include:
Step 21: set up model y for mobile phone signal iij=��t+��tlog(dij)+��ij, obtain ��ij����tAnd ��tRelation, the signal data then collected according to different mobile phones sets up maximum likelihood function L: wherein Wherein t is different mobile phone models, and T is mobile phone quantitative value; NtFor different mobile phone number of samples;
Step 22: with gradient descent method, it is thus achieved that ��t, ��t, ��ij, ��ij; Wherein ��tFor the �� value of certain model mobile phone, ��t�� value is received for certain signal;For receiving all wireless router signal values at a certain signal mobile phone at i point, for given value; I is total some bit number value, for given value; J is the sum of wireless router, for given value.
7. a kind of positioner based on Bayes posterior probability according to claim 5, it is characterised in that by changing �� in described estimated value computing modulet, ��tObtain the parameter alpha that different mobile phone is correspondingzAnd ��zDetailed process is: build ��zFor interval [��0,��q] in uniform point, then ��z=��0+z*(��q-��0)/p; Wherein ��0=min{ ��t: t=1,2...T}, ��q=max{ ��t: t=1,2...T}, ��zThere is p+1, [��0,��q] for comprising described ��tInterval; T=1,2...T; In like manner produceZ is for uniformly putting number value, and p is for uniformly putting number.
8. a kind of positioner based on Bayes posterior probability according to claim 5, it is characterised in that described Bayes posterior probability locating module work process specifically includes:
Step 111: based on posterior probability P described in claim 3 (news | i), obtainIndividual posterior probability P (news | i) the grid lattice point number value that maximum is corresponding, the frequency of all lattice point number value is designated as F; The mode then taking out all lattice point number value takes out, and lays in output valve P as first; Wherein i=1,2,3...I; News is all WiFi signal intensity level y that a certain moment mobile phone is collectedij;
Step 112: based on right 111, obtains n first deposit output valve and is designated as the first global variable [P1,P2...Pn], corresponding frequency is designated as the second global variable [F1,F2...Fn];
Step 113: based on step 111 and step 112, mobile phone loads cartographic information; Owing to there is aisle on map, it is assumed that object moves only along road, and there is the setting of the upper limit and network database in translational speed, then the frequency distribution vector signal being currently received being sampled is weighted with the second global variableDraw final frequency distribution F, it is the second deposit output valve to the grid lattice values that frequency in final frequency distribution F is maximum, in addition update the second global variable does from the frequency distribution that current time is farthest, if the second deposit output valve meets: in the first global variable within the scope of adjacent two grid lattice values of all first deposit output valves, then output the second deposit output valve, and by the second deposit output valve the first global variable done and update; Otherwise export the n-th point in the first global variable; Described X represents position two, current location of the distance grid lattice point at most of next second; FnFor frequency distribution vector;
Step 114: lay in output valve according to second and obtain indoor navigation route.
CN201610081060.XA 2016-02-04 2016-02-04 A kind of localization method and device based on Bayes posterior probability Active CN105636102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610081060.XA CN105636102B (en) 2016-02-04 2016-02-04 A kind of localization method and device based on Bayes posterior probability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610081060.XA CN105636102B (en) 2016-02-04 2016-02-04 A kind of localization method and device based on Bayes posterior probability

Publications (2)

Publication Number Publication Date
CN105636102A true CN105636102A (en) 2016-06-01
CN105636102B CN105636102B (en) 2019-05-10

Family

ID=56050472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610081060.XA Active CN105636102B (en) 2016-02-04 2016-02-04 A kind of localization method and device based on Bayes posterior probability

Country Status (1)

Country Link
CN (1) CN105636102B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125038A (en) * 2016-06-15 2016-11-16 北京工业大学 Based on edge calculations and the indoor wireless positioning method of Bayes posterior probability model
CN107729940A (en) * 2017-10-20 2018-02-23 北京工业大学 A kind of user bill big data base station connection information customer relationship estimates method
CN111291581A (en) * 2020-02-21 2020-06-16 深圳市麦斯杰网络有限公司 Method, device and equipment for processing signal source positioning data and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140045518A1 (en) * 2010-11-19 2014-02-13 Thuraiappah Sathyan Tracking location of mobile device in a wireless network
CN104185270A (en) * 2013-05-28 2014-12-03 中国电信股份有限公司 Indoor positioning method, system and positioning platform
CN104507050A (en) * 2014-11-24 2015-04-08 北京航空航天大学 A method for probability type fingerprint matching in WiFi (Wireless Fidelity) indoor positioning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140045518A1 (en) * 2010-11-19 2014-02-13 Thuraiappah Sathyan Tracking location of mobile device in a wireless network
CN104185270A (en) * 2013-05-28 2014-12-03 中国电信股份有限公司 Indoor positioning method, system and positioning platform
CN104507050A (en) * 2014-11-24 2015-04-08 北京航空航天大学 A method for probability type fingerprint matching in WiFi (Wireless Fidelity) indoor positioning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JUNJUN XU,ET AL.: "Dynamic indoor localization techniques based on Rssi in WLAN environment", 《PERVASIVE COMPUTING AND APPLICATIONS (ICPCA), 2011 6TH INTERNATIONAL CONFERENCE ON》 *
王忠民,等: "一种改进的位置指纹智能手机室内定位算法", 《西安邮电大学学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125038A (en) * 2016-06-15 2016-11-16 北京工业大学 Based on edge calculations and the indoor wireless positioning method of Bayes posterior probability model
CN106125038B (en) * 2016-06-15 2019-03-22 北京工业大学 Indoor wireless positioning method based on edge calculations and Bayes posterior probability model
CN107729940A (en) * 2017-10-20 2018-02-23 北京工业大学 A kind of user bill big data base station connection information customer relationship estimates method
CN111291581A (en) * 2020-02-21 2020-06-16 深圳市麦斯杰网络有限公司 Method, device and equipment for processing signal source positioning data and storage medium
CN111291581B (en) * 2020-02-21 2024-02-02 深圳市麦斯杰网络有限公司 Signal source positioning data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105636102B (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN105704652B (en) Fingerprint base acquisition and optimization method in a kind of positioning of WLAN/ bluetooth
CN105044662A (en) Fingerprint clustering multi-point joint indoor positioning method based on WIFI signal intensity
CN104793224B (en) A kind of GPS location method for correcting error and device
CN110418354A (en) It is a kind of that propagation model wireless network planning method is exempted from based on machine learning
CN109168177B (en) Longitude and latitude backfill method based on soft mining signaling
CN104507050B (en) Probabilistic type finger print matching method in a kind of WiFi indoor positionings
CN103455811B (en) Indoor wireless locating fingerprint collection method and system
CN109041218B (en) Method for predicting user position and intelligent hardware
CN107607122B (en) The building of location fingerprint library and dynamic updating method towards indoor positioning
CN103428850A (en) Compressed sensing based distributed multi-zone positioning method
CN104462281A (en) Distributed type parallel surveying system for fingerprint positioning
CN105636102A (en) Positioning method and device based on Bayes posterior probability
CN105046046B (en) A kind of Ensemble Kalman Filter localization method
CN101873605B (en) Adaptive method for classifying communication environments in network planning
CN103987118A (en) Access point k-means clustering method based on received signal strength signal ZCA whitening
CN104112062A (en) Method for obtaining wind resource distribution based on interpolation method
CN105652235A (en) Linear regression algorithm-based WLAN indoor positioning multi-user RSS (Received Signal Strength) fusion method
CN104507097A (en) Semi-supervised training method based on WiFi (wireless fidelity) position fingerprints
CN106384023A (en) Forecasting method for mixing field strength based on main path
CN109341682B (en) Method for improving geomagnetic field positioning accuracy
CN106483490A (en) Wireless location method based on support vector cassification
CN104023389B (en) A kind of quick AP matching locating methods
Qin et al. A wireless sensor network location algorithm based on insufficient fingerprint information
Qu et al. Source localization by TDOA with random sensor position errors—part II: mobile sensors
CN113449254A (en) Method for analyzing monitoring stability of arbitrary net type deformation and method for determining position of monitoring point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant