CN108419253B - A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing - Google Patents
A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108419253B CN108419253B CN201810049098.8A CN201810049098A CN108419253B CN 108419253 B CN108419253 B CN 108419253B CN 201810049098 A CN201810049098 A CN 201810049098A CN 108419253 B CN108419253 B CN 108419253B
- Authority
- CN
- China
- Prior art keywords
- network
- wireless local
- physical address
- score
- local area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, which comprises obtains each Target Wireless local area network that mobile terminal to search arrives;The score being segmented according to the physical address of preset mobile wireless local network network, the score of each Target Wireless local area network is determined, wherein the physical address of the mobile wireless local network network is segmented by being trained to obtain with Wireless LAN data sample gathered in advance;The current location of the mobile terminal is determined according to each Target Wireless local area network and score.The problem of solving and correct Wi-Fi score in first technology after existing deviation is oriented in position, can not improving the accuracy of this positioning can correct Wi-Fi score before position positions, improve the accuracy of this position positioning.
Description
Technical field
The present embodiments relate to technical field of mobile terminals more particularly to a kind of location determining method, device, electronics to set
Standby and readable storage medium storing program for executing.
Background technique
With popularizing for mobile terminal, user location can be determined by mobile terminal.For example, mobile terminal can be passed through
Wi-Fi (Wireless-Fidelity, the Wireless LAN) position searched determines the user position using the mobile terminal
It sets.However, for mobile Wi-Fi, since the accuracy of its position is lower, so as to cause determining user location accuracy compared with
It is low.
In the prior art, in order to improve the accuracy of user location, in discovery position inaccurate every time, it is first determined
Cause the Wi-Fi of position inaccurate, then, reduce its score, to reduce the Wi-Fi to the shadow of positioning by lower score
It rings, and then improves the accuracy of positioning next time.
As can be seen that the above method needs to correct Wi-Fi score after each position inaccurate, so that this can not be improved
The accuracy of secondary positioning.
Summary of the invention
The present invention provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, to solve the prior art
Middle position positions the relevant above problem.
According to the first aspect of the invention, a kind of location determining method is provided, which comprises
Obtain each Target Wireless local area network that mobile terminal to search arrives;
According to the score that the physical address of preset mobile wireless local network network is segmented, each Target Wireless local is determined
The score of network, wherein the physical address of the mobile wireless local network network is segmented by with Wireless LAN gathered in advance
Data sample is trained to obtain;
The current location of the mobile terminal is determined according to each Target Wireless local area network and score.
Optionally, described by being trained to obtain the mobile nothing with Wireless LAN data sample gathered in advance
The step of physical address segmentation of line local area network, comprising:
For the different types of network equipment, name keys and target fragment are determined respectively;
For the different types of network equipment, obtain in the Wireless LAN data sample gathered in advance, title
Wireless LAN data comprising corresponding name keys generate the first reference sample;
The number of samples in first reference sample is counted, obtains first with reference to number;
First reference sample is clustered according to target fragment in physical address, generates at least one second reference
Sample;
The number of samples for counting at least one second reference sample respectively obtains at least one second with reference to number;
According to it is described first with reference to number and it is described at least one second refer to number, from it is described at least one second reference
The physical address segmentation of mobile wireless local network network is determined in sample.
Optionally, it is described according to it is described first with reference to number and it is described at least one second refer to number, from it is described at least
The step of physical address segmentation of mobile wireless local network network is determined in one the second reference sample, comprising:
At least one described second reference number and the first reference number purpose ratio are calculated, at least one first reference is obtained
Ratio;
If one of them described first reference ratio is more than or equal to first threshold, corresponding with reference to number from described second
Target fragment is extracted in the physical address of second reference sample, obtains the physical address segmentation of mobile wireless local network network.
Optionally, it is described according to it is described first with reference to number and it is described at least one second refer to number, from it is described to
After the step of determining the physical address segmentation of mobile wireless local network network in few second reference sample, further includes:
The physical address segmentation of the mobile wireless local network network is saved to the first physical address list of fragments.
Optionally, the score being segmented according to the physical address of preset mobile wireless local network network determines described each
The step of score of Target Wireless local area network, comprising:
The target is determined according to the first physical address list of fragments for each Target Wireless local area network
Whether Wireless LAN is mobile wireless local network network;
If so, reducing the score of the Target Wireless local area network.
Optionally, described for each Target Wireless local area network, according to the first physical address list of fragments, really
The step of whether fixed Target Wireless local area network is mobile wireless local network network, comprising:
For each Target Wireless local area network, the physical address of the Target Wireless local area network is determined;
Determine at least one the physical address whether physical address falls into the first physical address list of fragments
In segmentation;
If so, determining that the physical address is mobile wireless local network network.
Optionally, the current location that the mobile terminal is determined according to each Target Wireless local area network and score
The step of, comprising:
Remove the Wireless LAN that score is less than or equal to second threshold from each Target Wireless local area network, generates
Effective Wireless LAN collection;
The current location of mobile terminal is determined based on effective Wireless LAN collection.
According to the second aspect of the invention, a kind of position determining means are provided, described device includes:
Wireless LAN obtains module, each Target Wireless local area network arrived for obtaining mobile terminal to search;
Score determining module, the score for being segmented according to the physical address of preset mobile wireless local network network determine
The score of each Target Wireless local area network, wherein the physical address of the mobile wireless local network network is segmented by with preparatory
The Wireless LAN data sample of acquisition is trained to obtain;
Current location determining module, for determining the mobile terminal according to each Target Wireless local area network and score
Current location.
Optionally, described device further include:
Information determination module determines name keys and target fragment for being directed to the different types of network equipment respectively;
First reference sample generation module obtains the nothing gathered in advance for being directed to the different types of network equipment
In line local area network data sample, title includes the Wireless LAN data of corresponding name keys, generates the first reference
Sample;
First obtains the first ginseng for counting the number of samples in first reference sample with reference to number statistical module
Examine number;
Second reference sample generation module, for being carried out to first reference sample according to target fragment in physical address
Cluster, generates at least one second reference sample;
Second refers to number statistical module, for counting the number of samples of at least one second reference sample respectively,
At least one is obtained second with reference to number;
Attribute determination module, for according to it is described first with reference to number and it is described at least one second refer to number, from institute
State the physical address segmentation that mobile wireless local network network is determined at least one second reference sample.
Optionally, the attribute determination module, comprising:
First refers to ratio calculation submodule, for calculating at least one described second reference number with first with reference to number
Ratio, obtain at least one first with reference to ratio;
Attribute determines submodule, if being more than or equal to first threshold for one of them described first reference ratio, from institute
It states in the second physical address with reference to corresponding second reference sample of number and extracts target fragment, obtain mobile wireless local network network
Physical address segmentation.
Optionally, described device further include:
Address fragmented storage module, for saving the physical address segmentation of the mobile wireless local network network to the first object
Manage address list of fragments.
Optionally, the score determining module, comprising:
Network attribute determines submodule, is used for for each Target Wireless local area network, physically according to described first
Location list of fragments determines whether the Target Wireless local area network is mobile wireless local network network;
Network score reduces submodule, for if so, reducing the score of the Target Wireless local area network.
Optionally, the network attribute determines submodule, comprising:
Physical address determination unit, for determining the Target Wireless local for each Target Wireless local area network
The physical address of network;
Physical address judging unit, for determining whether the physical address falls into the first physical address list of fragments
In at least one physical address segmentation in;
Network attribute determination unit is used for if so, determining that the physical address is mobile wireless local network network.
Optionally, the current location determining module, comprising:
Active block collection generates submodule, is less than or equal to for removing score from each Target Wireless local area network
The Wireless LAN of two threshold values generates effective Wireless LAN collection;
Current location determines submodule, for determining the present bit of mobile terminal based on effective Wireless LAN collection
It sets.
According to the third aspect of the invention we, a kind of electronic equipment is provided, comprising:
Processor, memory and it is stored in the computer journey that can be run on the memory and on the processor
Sequence, which is characterized in that realize that aforementioned location determines method when the processor executes described program.
According to the fourth aspect of the invention, a kind of readable storage medium storing program for executing is provided, which is characterized in that when the storage medium
In instruction by electronic equipment processor execute when so that electronic equipment is able to carry out aforementioned location and determines method.
The embodiment of the invention provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, the side
Method includes: each Target Wireless local area network for obtaining mobile terminal to search and arriving;According to the object of preset mobile wireless local network network
The score for managing address segmentation, determines the score of each Target Wireless local area network, wherein the mobile wireless local network network
Physical address is segmented by being trained to obtain with Wireless LAN data sample gathered in advance;According to each target without
Line local area network and score determine the current location of the mobile terminal.It solves in first technology and orients existing deviation in position
The problem of correcting Wi-Fi score later, can not improving the accuracy of this positioning can correct Wi-Fi before position positions
Score improves the accuracy of this position positioning.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of location determining method specific steps flow chart under system architecture provided in an embodiment of the present invention;
Fig. 2 is another location determining method specific steps flow chart under system architecture provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of position determining means provided in an embodiment of the present invention;
Fig. 4 is the structure chart of another position determining means provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, it illustrates a kind of step flow charts of location determining method, comprising:
Step 101, each Target Wireless local area network that mobile terminal to search arrives is obtained.
Wherein, Target Wireless local area network is the wireless local area that mobile terminal is searched for by Wireless LAN interface
Network.
In practical applications, due to the position of Wireless LAN it is found that so as to according to the position of Wireless LAN
Set the position of determining mobile terminal.The Wireless LAN that the embodiment of the present invention is suitable for arriving by mobile terminal to search carries out position
Set the application scenarios of positioning.Wherein, mobile terminal includes but is not limited to mobile phone, tablet computer etc..
Wireless LAN includes the personal hot spot that fixed Wi-Fi (Wireless-Fidelity) and mobile terminal provide
Two kinds, the position that fixed Wi-Fi is provided is more accurate, and the positional accuracy that mobile terminal provides is poor, hence for position
Positioning needs to remove personal hot spot.The embodiment of the present invention by identifying personal hot spot in advance, to improve the accurate of position positioning
Property.Step 102, the score being segmented according to the physical address of preset mobile wireless local network network, determines each Target Wireless
The score of local area network, wherein the physical address of the mobile wireless local network network is segmented by with wireless local area gathered in advance
Network data sample is trained to obtain.
In embodiments of the present invention, mobile wireless local network network refers to the transportable Wi-Fi such as personal hot spot.
Wherein, physical address is segmented into the partial segments of physical address, and physical address is the MAC (media of the network equipment
Accessing Control, media access control) address, become hardware address, also for the position of locating network device.By
In manufacturer in production equipment, continuous programming code is often used to the coding of equipment, and part of coding is fixed, this part
Fixed segment represents such equipment of the manufacturer.For example, the equipment B of a brand A in production the MAC Address that uses for
112233XXXXXX, wherein first six digits are fixed, when mass production facilities behind six be incremented by sequence, thus physically
Location segmentation takes first six digits, then 112233 represents the equipment B of brand A.
Wireless LAN data are obtained from a large amount of position requests in advance.In practical applications, mobile terminal passes through net
When network requests position data, the network information is often carried.So as to obtain the network information from request, and then parse this
Whether network is mobile wireless local network network.If so, extracting the physical address segmentation of mobile wireless local network network.
It is appreciated that the physical address of mobile wireless local network network is segmented more than one.The embodiment of the present invention passes through identification
The physical address of mobile wireless local network network out is segmented, identification mobile terminal to search to Wi-Fi in mobile Wi-Fi, and
Its corresponding score is reduced, to ensure that the influence power that movement Wi-Fi positions position, improves the accurate of position positioning
Degree.
Step 103, the current location of the mobile terminal is determined according to each Target Wireless local area network and score.
Specifically, firstly, removing the Wireless LAN that score is lower than certain numerical value from each Target Wireless local area network;
Then, intersection is taken by the radiation scope of other non-moving Wireless LAN, obtains the current location of mobile terminal.
Wherein, non-moving Wireless LAN is the Wireless LAN that score is more than or equal to certain numerical value.For example, if with
The Wireless LAN that family searches includes: wifi1, wifi2, wifi3, wifi4, wifi5, it is corresponding be scored at 70,
10,50,20,40;When then but certain numerical value is 50, Wireless LAN wifi2, wifi4, wifi5 by score lower than 50 are gone
Except later, remaining wifi1, wifi3 obtain the current of mobile terminal so that the radiation scope of wifi1 and wifi3 are taken intersection
Position.
It is appreciated that the numerical values recited for judgement is related to the score range of Wireless LAN, in practical applications,
It can be set with the score range of combining wireless local area network with practical application scene, the embodiment of the present invention does not limit it
System.
In conclusion the embodiment of the invention provides a kind of location determining methods, which comprises obtain mobile terminal
Each Target Wireless local area network searched;According to the score that the physical address of preset mobile wireless local network network is segmented, really
The score of fixed each Target Wireless local area network, wherein the physical address of the mobile wireless local network network is segmented by with pre-
The Wireless LAN data sample first acquired is trained to obtain;It is determined according to each Target Wireless local area network and score
The current location of the mobile terminal.It solves and corrects Wi-Fi score, nothing in first technology after existing deviation is oriented in position
Method improves the problem of accuracy of this positioning, and Wi-Fi score can be corrected before position positions, it is fixed to improve this position
The accuracy of position.
Embodiment two
Referring to Fig. 2, it illustrates the specific steps flow charts of another location determining method.
Step 201, for the different types of network equipment, name keys and target fragment are determined respectively.
Wherein it is determined that target segment includes determining that target position and target length, target position can use initial position table
Show, target length can be indicated by digit.In practical applications, target position is often 1, and target length can be 6.
It is appreciated that target position and target length and the manufacturer for providing equipment are different and different.
The keyword carried in default name when name keys are network equipment factory.For example, the Wi- of iPhone
Fi title default carries " iPhone " field, then " iPhone " is name keys.
Step 202, for the different types of network equipment, the Wireless LAN data sample gathered in advance is obtained
In, title includes the Wireless LAN data of corresponding name keys, generates the first reference sample.
The embodiment of the present invention passes through the network equipment for identifying that each manufacturer provides one by one, to get the mobile network of the manufacturer
The physical address segment of network equipment.
Specifically, the equipment provided by each manufacturer of name acquiring.For example, determining apple public affairs by keyword " iPhone "
The mobile network appliance provided is provided.
Step 203, the number of samples in first reference sample is counted, obtains first with reference to number.
It is appreciated that first is the total sample number for including title nominal key with reference to number, for different manufacturers, the
One is different with reference to number.For example, first corresponds to the mobile network of Apple Inc.'s offer with reference to number if keyword is " iPhone "
The number of samples of network equipment.
Step 204, first reference sample is clustered according to target fragment in physical address, generates at least one
Second reference sample.
For in the first reference sample, the target fragment content of physical address may be different in each sample, thus by identical
The sample of target fragment content is added to same second reference sample, to generate multiple second reference samples.
For example, if the sample comprising keyword " iPhone " include: [112233123456, iPhone1],
[112233123457, iPhone2], [112233123458, iPhone3], [112233123459, iPhone4],
[212233123456, iPhone5], [212233123456, iPhone6] }, target fragment is first six digits, then according to target patch
Section cluster obtains two the second reference samples are as follows: and [112233123456, iPhone1], [112233123457, iPhone2],
[112233123458, iPhone3], [112233123459, iPhone4] }, and [212233123456, iPhone5],
[212233123456, iPhone6] }.
Step 205, the number of samples for counting at least one second reference sample respectively obtains at least one second ginseng
Examine number.
It is appreciated that second corresponds with reference to number and the second reference sample, the corresponding target patch of different reference samples
Section content is different.
For example, second reference number is respectively 4 and 2 for the example in step 204.
Step 206, according to it is described first with reference to number and it is described at least one second refer to number, from it is described at least one
The physical address segmentation of mobile wireless local network network is determined in second reference sample.
Specifically, select second with reference to number first with reference to accounting larger samples in number as target sample, and general
Target fragment in the physical address of the target sample is determined as the physical address segmentation of mobile wireless local network network.
Optionally, in another preferred embodiment, step 206 includes sub-step 2061 to 2062:
Sub-step 2061 calculates at least one described second reference number and the first reference number purpose ratio, obtains at least
One first refers to ratio.
It is appreciated that first represents accounting of corresponding second reference sample in the first reference sample with reference to ratio.
For example, for the example in step 204, the second reference sample [112233123456, iPhone1],
[112233123457, iPhone2], [112233123458, iPhone3], [112233123459, iPhone4] }, it is corresponding
First reference ratio is the ratio of the second reference number 4 and the first reference number 6, is approximately equal to 66.67%, the second reference sample
{ [212233123456, iPhone5], [212233123456, iPhone6] }, corresponding first refers to reference to ratio for second
The ratio of number 2 and the first reference number 6, is approximately equal to 33.33%.
Sub-step 2062, if one of them described first reference ratio is more than or equal to first threshold, from second ginseng
It examines in the physical address of corresponding second reference sample of number and extracts target fragment, obtain mobile wireless local network network physically
Location segmentation.
Wherein, first threshold can be set according to practical application scene.For example, by empirical value, first threshold can be set
It is set to 60%.
To for the calculated result in sub-step 2071, when first threshold is 60%, from the second reference sample
[112233123456, iPhone1], [112233123457, iPhone2], [112233123458, iPhone3],
[112233123459, iPhone4] } physical address in extract target fragment, obtain target fragment be 112233.
Step 207, the physical address segmentation of the mobile wireless local network network is saved to the first physical address to be segmented and is arranged
Table.
It is appreciated that getting the corresponding mobile wireless local network of equipment that all manufacturers provide by step 201 to 206
The physical address of network is segmented, so that the first physical address list of fragments saves the physical address of all mobile wireless local network networks
Segmentation.
Specifically, the initial position that the first physical address list of fragments also needs recording physical address to be segmented, so as to
It avoids causing to identify mistake since position is different.For example, for physical address segmentation 112233, if not specifying initial position,
So that the Wireless LAN that physical address is 111122334455 and 112233445566 are confirmed as mobile wireless local
Network.And if the initial position of actually physical address segmentation is 1, so that 111122334455 can be misjudged.
In practical applications, other positions except physical address segment can also be saved as asterisk wildcard etc..For example, for
The physical address segment of initial position is 112233, then saving format can be 112233******, may thereby determine that physics
The position of address fragment is first six digits.
Step 208, each Target Wireless local area network that mobile terminal to search arrives is obtained.
The step is referred to the detailed description of step 101, and details are not described herein.
Step 209, each Target Wireless local area network is determined according to the first physical address list of fragments
Whether the Target Wireless local area network is mobile wireless local network network.
Specifically, whether the target position for judging Wireless LAN physical address is in the first physical address list of fragments
At least one physical address segmentation.If so, determining that the Wireless LAN is mobile wireless local network network;If it is not, then really
The fixed Wireless LAN is fixed wireless local area network.
Optionally, in another preferred embodiment, step 209 includes sub-step 2091 to 2093:
Sub-step 2091 determines the physics of the Target Wireless local area network for each Target Wireless local area network
Address.
Specifically, from the Target Wireless local area network information got, the physical address of Wireless LAN is obtained.From
And it can judge whether the Wireless LAN is mobile wireless local network network according to physical address.
Sub-step 2092 determines whether the physical address falls into the first physical address list of fragments at least one
In a physical address segmentation.
Specifically, it is determined that needing to match the starting of physical address segmentation simultaneously when physical address includes that physical address is segmented
Position and content.Only the two meets condition simultaneously, just determines that physical address includes that physical address is segmented;Otherwise, as long as at least
There is one to be unsatisfactory for condition, it is determined that physical address is segmented not comprising physical address.
Sub-step 2093, if so, determining that the physical address is mobile wireless local network network.
If physical address is segmented comprising at least one physical address, it is determined that Target Wireless local belonging to the physical address
Network is mobile wireless local network network;If physical address does not include any one physical address segmentation, it is determined that the physical address
Affiliated Target Wireless local area network is fixed wireless local area network.
Step 210, if so, reducing the score of the Target Wireless local area network.
Specifically, the score of Wireless LAN can be reduced according to default value.It is appreciated that Wireless LAN
Initial score can be set according to practical application scene.For example, being set as 100, if reducing by 20 points, it is scored at after reducing
80。
In embodiments of the present invention, the score after reduction can also be saved to the configuration data of the target LAN network
In, so that present score is obtained from configuration data when another mobile terminal to search is to the Wireless LAN, if current
Dividing is not initial score, it is determined that Wireless LAN is mobile wireless local network network, and is directly entered step 211;If current
It is scored at initial score, then obtains and mobile wireless local network network is judged whether it is by the physical address of the Wireless LAN,
If then reducing its score, step 211 is entered back into.
Step 211, remove the wireless local area that score is less than or equal to second threshold from each Target Wireless local area network
Network generates effective Wireless LAN collection.
Wherein, second threshold can be set according to practical application scene, and the embodiment of the present invention is without restriction to its.
Specifically, second threshold can be set according to the rule for reducing score.For example, if reducing by 20 every time, initially
100 are scored at, then second threshold can be set as 80.It is appreciated that second threshold can also be set as
In the embodiment of the present invention, the Wireless LAN of preset value is less than for score, is determined as the nothing of position inaccuracy
Line local area network, to improve the accuracy of position positioning not as the reference position of position positioning.
Step 212, the current location of mobile terminal is determined based on effective Wireless LAN collection.
The specific detailed description for determining method and being referred to step 103, details are not described herein.
In conclusion the embodiment of the invention provides a kind of location determining methods, which comprises obtain mobile terminal
Each Target Wireless local area network searched;According to the score that the physical address of preset mobile wireless local network network is segmented, really
The score of fixed each Target Wireless local area network, wherein the physical address of the mobile wireless local network network is segmented by with pre-
The Wireless LAN data sample first acquired is trained to obtain;It is determined according to each Target Wireless local area network and score
The current location of the mobile terminal.It solves and corrects Wi-Fi score, nothing in first technology after existing deviation is oriented in position
Method improves the problem of accuracy of this positioning, and Wi-Fi score can be corrected before position positions, it is fixed to improve this position
The accuracy of position.
Embodiment three
It is specific as follows it illustrates a kind of structure chart of position determining means referring to Fig. 3.
Wireless LAN obtains module 301, each Target Wireless local area network arrived for obtaining mobile terminal to search.
Score determining module 302, the score for being segmented according to the physical address of preset mobile wireless local network network, really
The score of fixed each Target Wireless local area network, wherein the physical address of the mobile wireless local network network is segmented by with pre-
The Wireless LAN data sample first acquired is trained to obtain.
Current location determining module 303, for determining the movement according to each Target Wireless local area network and score
The current location of terminal.
In conclusion described device includes: Wireless LAN the embodiment of the invention provides a kind of position determining means
Obtain module, each Target Wireless local area network arrived for obtaining mobile terminal to search;Score determining module, for according to default
Mobile wireless local network network physical address segmentation score, determine the score of each Target Wireless local area network, wherein
The physical address of the mobile wireless local network network is segmented by being instructed with Wireless LAN data sample gathered in advance
It gets;Current location determining module, for determining the mobile terminal according to each Target Wireless local area network and score
Current location.It solves and corrects Wi-Fi score in first technology after existing deviation is oriented in position, it is fixed that this can not be improved
The problem of accuracy of position, can correct Wi-Fi score before position positions, improve the accuracy of this position positioning.
Further, it is also possible to the mobile Wi-Fi of different vendor be determined by presetting keyword, to further improve position positioning
Accuracy.
Example IV
It is specific as follows it illustrates the structure chart of another position determining means referring to Fig. 4.
Information determination module 401 determines name keys and target patch for being directed to the different types of network equipment respectively
Section.
First reference sample generation module 402 obtains described gathered in advance for being directed to the different types of network equipment
In Wireless LAN data sample, title includes the Wireless LAN data of corresponding name keys, generates the first ginseng
Examine sample.
First obtains first for counting the number of samples in first reference sample with reference to number statistical module 403
With reference to number.
Second reference sample generation module 404 is used for first reference sample according to target fragment in physical address
It is clustered, generates at least one second reference sample.
Second refers to number statistical module 405, for counting the sample number of at least one second reference sample respectively
Mesh obtains at least one second with reference to number.
Attribute determination module 406, for according to it is described first with reference to number and it is described at least one second refer to number, from
The physical address segmentation of mobile wireless local network network is determined at least one described second reference sample.
Optionally, in another embodiment of the invention, above-mentioned attribute determination module 406, comprising:
First refers to ratio calculation submodule, for calculating at least one described second reference number with first with reference to number
Ratio, obtain at least one first with reference to ratio.
Attribute determines submodule, if being more than or equal to first threshold for one of them described first reference ratio, from institute
It states in the second physical address with reference to corresponding second reference sample of number and extracts target fragment, obtain mobile wireless local network network
Physical address segmentation.
Address fragmented storage module 407, for saving the segmentation of the physical address of the mobile wireless local network network to the
One physical address list of fragments.
Wireless LAN obtains module 408, each Target Wireless local area network arrived for obtaining mobile terminal to search.
Score determining module 409, the score for being segmented according to the physical address of preset mobile wireless local network network, really
The score of fixed each Target Wireless local area network, wherein the physical address of the mobile wireless local network network is segmented by with pre-
The Wireless LAN data sample first acquired is trained to obtain.
Optionally, in another embodiment of the invention, above-mentioned score determining module 409, comprising:
Network attribute determines submodule 4091, is used for for each Target Wireless local area network, according to first object
Address list of fragments is managed, determines whether the Target Wireless local area network is mobile wireless local network network.
Network score reduces submodule 4092, for if so, reducing the score of the Target Wireless local area network.
Optionally, in another embodiment of the invention, above-mentioned network attribute determines submodule 4091, comprising:
Physical address determination unit, for determining the Target Wireless local for each Target Wireless local area network
The physical address of network.
Physical address judging unit, for determining whether the physical address falls into the first physical address list of fragments
In at least one physical address segmentation in.
Network attribute determination unit is used for if so, determining that the physical address is mobile wireless local network network.
Current location determining module 410, for determining the movement according to each Target Wireless local area network and score
The current location of terminal.
Optionally, in another embodiment of the invention, above-mentioned current location determining module 410, comprising:
Active block collection generate submodule 4101, for remove from each Target Wireless local area network score be less than etc.
In the Wireless LAN of second threshold, effective Wireless LAN collection is generated.
Current location determines submodule 4102, for determining working as mobile terminal based on effective Wireless LAN collection
Front position.
In conclusion described device includes: Wireless LAN the embodiment of the invention provides a kind of position determining means
Obtain module, each Target Wireless local area network arrived for obtaining mobile terminal to search;Score determining module, for according to default
Mobile wireless local network network physical address segmentation score, determine the score of each Target Wireless local area network, wherein
The physical address of the mobile wireless local network network is segmented by being instructed with Wireless LAN data sample gathered in advance
It gets;Current location determining module, for determining the mobile terminal according to each Target Wireless local area network and score
Current location.It solves and corrects Wi-Fi score in first technology after existing deviation is oriented in position, it is fixed that this can not be improved
The problem of accuracy of position, can correct Wi-Fi score before position positions, improve the accuracy of this position positioning.
Further, it is also possible to the mobile Wi-Fi of different vendor be determined by presetting keyword, to further improve position positioning
Accuracy.
The embodiment of the invention also provides a kind of electronic equipment, comprising: processor, memory and is stored in the storage
On device and the computer program that can run on the processor, which is characterized in that the processor executes real when described program
The location determining method of existing previous embodiment.
The embodiment of the invention also provides a kind of readable storage medium storing program for executing, when the instruction in the storage medium is by electronic equipment
Processor execute when so that electronic equipment is able to carry out the location determining method of previous embodiment.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, In
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) come realize some in location determining device according to an embodiment of the present invention or
The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein
Point or whole device or device programs.It is such to realize that program of the invention can store in computer-readable medium
On, or may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or
Person is provided on the carrier signal, or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of location determining method, which is characterized in that the described method includes:
Obtain each Target Wireless local area network that mobile terminal to search arrives;
According to the score that the physical address of preset mobile wireless local network network is segmented, each Target Wireless local area network is determined
Score, wherein the mobile wireless local network network physical address be segmented by with Wireless LAN data gathered in advance
Sample is trained to obtain, by being trained to obtain the mobile wireless with Wireless LAN data sample gathered in advance
The physical address of local area network is segmented, comprising: the different types of network equipment is directed to, according to Wireless LAN gathered in advance
Title includes the number of samples of corresponding name keys in data sample, and includes corresponding name keys to the title
The number of sample that is clustered according to target fragment in physical address of sample, from the wireless local area including target fragment
The physical address segmentation of mobile wireless local network network is determined in network data sample;
The current location of the mobile terminal is determined according to each Target Wireless local area network and score.
2. the method according to claim 1, wherein by with Wireless LAN data sample gathered in advance
It is trained the step of obtaining the physical address segmentation of the mobile wireless local network network, comprising:
For the different types of network equipment, name keys and target fragment are determined respectively;
For the different types of network equipment, obtain in the Wireless LAN data sample gathered in advance, title includes
The Wireless LAN data of corresponding name keys generate the first reference sample;
The number of samples in first reference sample is counted, obtains first with reference to number;
First reference sample is clustered according to target fragment in physical address, generates at least one second with reference to sample
This;
The number of samples for counting at least one second reference sample respectively obtains at least one second with reference to number;
According to it is described first with reference to number and it is described at least one second refer to number, from least one described second reference sample
The physical address of middle determining mobile wireless local network network is segmented.
3. according to the method described in claim 2, it is characterized in that, described refer to number and described at least one according to described first
A second refers to number, and the physical address segmentation of mobile wireless local network network is determined from least one described second reference sample
The step of, comprising:
Calculate it is described at least one second with reference to number and the first reference number purpose ratio, obtain at least one first with reference to than
Value;
If one of them described first reference ratio is more than or equal to first threshold, number corresponding second is referred to from described second
Target fragment is extracted in the physical address of reference sample, obtains the physical address segmentation of mobile wireless local network network.
4. according to the method as claimed in claim 2, which is characterized in that described according to the first reference number and described
At least one second refer to number, from least one described second reference sample determine mobile wireless local network network physically
After the step of location is segmented, further includes:
The physical address segmentation of the mobile wireless local network network is saved to the first physical address list of fragments.
5. according to the method described in claim 4, it is characterized in that, the physics according to preset mobile wireless local network network
The score of address segmentation, the step of determining the score of each Target Wireless local area network, comprising:
The Target Wireless is determined according to the first physical address list of fragments for each Target Wireless local area network
Whether local area network is mobile wireless local network network;
If so, reducing the score of the Target Wireless local area network.
6. according to the method described in claim 5, it is characterized in that, described for each Target Wireless local area network, according to
The first physical address list of fragments, determine the Target Wireless local area network whether be mobile wireless local network network step
Suddenly, comprising:
For each Target Wireless local area network, the physical address of the Target Wireless local area network is determined;
Determine at least one physical address the segmentation whether physical address falls into the first physical address list of fragments
In;
If so, determining that the physical address is mobile wireless local network network.
7. according to claim 1 to 6 described in any item methods, which is characterized in that it is described according to each Target Wireless office
Domain network and score determine the step of current location of the mobile terminal, comprising:
Remove the Wireless LAN that score is less than or equal to second threshold from each Target Wireless local area network, generates effective
Wireless LAN collection;
The current location of mobile terminal is determined based on effective Wireless LAN collection.
8. a kind of position determining means, which is characterized in that described device includes:
Wireless LAN obtains module, each Target Wireless local area network arrived for obtaining mobile terminal to search;
Score determining module, the score for being segmented according to the physical address of preset mobile wireless local network network, determine described in
The score of each Target Wireless local area network, wherein the physical address of the mobile wireless local network network is segmented by acquire in advance
Wireless LAN data sample be trained to obtain, by being instructed with Wireless LAN data sample gathered in advance
Get the physical address segmentation of the mobile wireless local network network, comprising: the different types of network equipment is directed to, according to preparatory
Title includes the number of samples of corresponding name keys in the Wireless LAN data sample of acquisition, and to the title packet
The number for the sample that sample containing corresponding name keys is clustered according to target fragment in physical address includes from described
The physical address segmentation of mobile wireless local network network is determined in the Wireless LAN data sample of target fragment;
Current location determining module, for determining working as the mobile terminal according to each Target Wireless local area network and score
Front position.
9. a kind of electronic equipment characterized by comprising
Processor, memory and it is stored in the computer program that can be run on the memory and on the processor,
It is characterized in that, the processor realizes such as location determining method of any of claims 1-7 when executing described program.
10. a kind of readable storage medium storing program for executing, which is characterized in that when the instruction in the storage medium is held by the processor of electronic equipment
When row, so that electronic equipment is able to carry out the location determining method as described in any one of claim to a method 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810049098.8A CN108419253B (en) | 2018-01-18 | 2018-01-18 | A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810049098.8A CN108419253B (en) | 2018-01-18 | 2018-01-18 | A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108419253A CN108419253A (en) | 2018-08-17 |
CN108419253B true CN108419253B (en) | 2019-11-22 |
Family
ID=63126097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810049098.8A Active CN108419253B (en) | 2018-01-18 | 2018-01-18 | A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108419253B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747417A (en) * | 2013-12-26 | 2014-04-23 | 周良文 | Information pushing system based on mobile intelligent routing equipment and method |
CN104540218A (en) * | 2014-12-23 | 2015-04-22 | 厦门雅迅网络股份有限公司 | Effective filtering method for WIFI signals |
CN106413084A (en) * | 2016-05-19 | 2017-02-15 | 北京三快在线科技有限公司 | Equipment positioning method and apparatus |
CN106535113A (en) * | 2016-09-23 | 2017-03-22 | 北京三快在线科技有限公司 | Method and device for determining credible wifi access point and equipment positioning method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107529221A (en) * | 2017-08-22 | 2017-12-29 | 上海兴容信息技术有限公司 | A kind of follow-up analysis system and method for combination video monitoring and Wi Fi positioning |
-
2018
- 2018-01-18 CN CN201810049098.8A patent/CN108419253B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747417A (en) * | 2013-12-26 | 2014-04-23 | 周良文 | Information pushing system based on mobile intelligent routing equipment and method |
CN104540218A (en) * | 2014-12-23 | 2015-04-22 | 厦门雅迅网络股份有限公司 | Effective filtering method for WIFI signals |
CN106413084A (en) * | 2016-05-19 | 2017-02-15 | 北京三快在线科技有限公司 | Equipment positioning method and apparatus |
CN106535113A (en) * | 2016-09-23 | 2017-03-22 | 北京三快在线科技有限公司 | Method and device for determining credible wifi access point and equipment positioning method |
Also Published As
Publication number | Publication date |
---|---|
CN108419253A (en) | 2018-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10420061B2 (en) | Geographic location positioning method and apparatus | |
CN109905293B (en) | Terminal equipment identification method, system and storage medium | |
CN110363076A (en) | Personal information correlating method, device and terminal device | |
CN109951354B (en) | Terminal equipment identification method, system and storage medium | |
CN109271315B (en) | Script code detection method, script code detection device, computer equipment and storage medium | |
CN109377383A (en) | Product data synchronous method, device, computer equipment and storage medium | |
CN106294219A (en) | A kind of equipment identification, data processing method, Apparatus and system | |
CN113268641B (en) | User data processing method based on big data and big data server | |
CN109905292A (en) | A kind of terminal device recognition methods, system and storage medium | |
CN105608113A (en) | Method and apparatus for judging POI data in text | |
CN109068272A (en) | Similar users recognition methods, device, equipment and readable storage medium storing program for executing | |
CN105656684B (en) | Failure simulation method and device | |
CN106850506A (en) | A kind of method and apparatus that WiFi is shared between application good friend | |
CN105989457A (en) | Information query method and apparatus thereof | |
CN108197050B (en) | Equipment identification method, device and system | |
CN108419253B (en) | A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing | |
CN110347683B (en) | Data table merging processing method and device | |
CN111784425B (en) | Order number generation method, exception handling method and device | |
CN105653540B (en) | Method and device for processing file attribute information | |
CN114911515A (en) | Configuration management method, device, equipment and medium | |
CN112835494A (en) | Voice recognition result error correction method and device | |
CN110263534B (en) | Blacklist storage method, request interception method, device and storage medium | |
CN112765118A (en) | Log query method, device, equipment and storage medium | |
CN113037792A (en) | Method, device and gateway for verifying service identification parameters | |
CN110019408A (en) | A kind of method, apparatus and computer equipment for trace back data state |
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 |