CN108419253A - 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 PDF

Info

Publication number
CN108419253A
CN108419253A CN201810049098.8A CN201810049098A CN108419253A CN 108419253 A CN108419253 A CN 108419253A CN 201810049098 A CN201810049098 A CN 201810049098A CN 108419253 A CN108419253 A CN 108419253A
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.)
Granted
Application number
CN201810049098.8A
Other languages
Chinese (zh)
Other versions
CN108419253B (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810049098.8A priority Critical patent/CN108419253B/en
Publication of CN108419253A publication Critical patent/CN108419253A/en
Application granted granted Critical
Publication of CN108419253B publication Critical patent/CN108419253B/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/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating 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, the method includes:Obtain 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 scores in first technology after existing deviation is oriented in position, can not improving the accuracy of this positioning can correct Wi Fi scores before position positions, improve the accuracy of this position positioning.

Description

A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing
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 technology
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 relatively low, 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, when finding position inaccurate every time, it is first determined Cause the Wi-Fi of position inaccurate, then, reduce its score, to reduce shadows of the Wi-Fi to 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 scores after each position inaccurate, to improve this The accuracy of secondary positioning.
Invention content
A kind of location determining method of present invention offer, 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, the 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 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, including:
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 Include the Wireless LAN data of corresponding name keys, generates the first reference sample;
The number of samples in first reference sample is counted, first is obtained and refers 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 and refers to number;
Number is referred to reference to number and described at least one second according to described first, from 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 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, including:
Described at least one second is calculated with reference to number and the first reference number purpose ratio, obtains at least one first reference 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 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 include:
The physical address segmentation of the mobile wireless local network network is preserved 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, including:
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, including:
For each Target Wireless local area network, the physical address of the Target Wireless local area network is determined;
Determine whether the physical address falls at least one of the first physical address list of fragments physical address 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, including:
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 acquisition 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 advance 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 includes:
Information determination module determines name keys and target fragment respectively for being directed to the different types of network equipment;
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 with reference to number statistical module for counting the number of samples in first reference sample Examine number;
Second reference sample generation module, for being carried out according to target fragment in physical address to first reference sample Cluster generates at least one second reference sample;
Second with reference to number statistical module, the number of samples for counting at least one second reference sample respectively, It obtains at least one second and refers to number;
Attribute determination module, for referring to number with reference to number and described at least one second according to described first, 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, including:
First refers to ratio calculation submodule, and number is referred to reference to number and first for calculating described at least one second Ratio, obtain at least one first refer to ratio;
Attribute determination sub-module, 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 includes:
Address fragmented storage module, for preserving 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, including:
Network attribute determination sub-module 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 determination sub-module, including:
Physical address determination unit, for for each Target Wireless local area network, determining the Target Wireless local The physical address of network;
Physical address judging unit, for determining whether the physical address falls into the first physical address list of fragments At least one of 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, including:
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 determination sub-module, the present bit for determining 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, including:
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.
An embodiment of the present invention provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, the side Method includes:Obtain each Target Wireless local area network that mobile terminal to search arrives;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 scores later, can not improving the accuracy of this positioning can correct Wi-Fi before position positions Score improves the accuracy of this position positioning.
Description of the drawings
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 present invention Example, for those of ordinary skill in the art, without having to pay 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 implementation mode
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 describes, 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, the every other implementation that those of ordinary skill in the art are obtained without 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, including:
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 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 is into line position Set the application scenarios of positioning.Wherein, mobile terminal includes but not limited to mobile phone, tablet computer etc..
Wireless LAN includes fixed Wi-Fi (Wireless-Fidelity) and the personal hot spot that mobile terminal provides 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 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, also become hardware address, is used for the position of locating network device.By When manufacturer is in production equipment, continuous programming code is often used to the coding of equipment, and which part 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, to physically Location segmentation takes first six digits, then the 112233 equipment B for representing 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 asks 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 the mobile wireless local network network gone out is segmented, identification mobile terminal to search to Wi-Fi in mobile Wi-Fi, and Its corresponding score is reduced, to ensure that 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, first, the Wireless LAN that score is less than certain numerical value is removed 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.If for example, 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 less than 50 are gone Except later, remaining wifi1, wifi3 obtain the current of mobile terminal to which 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 practical application scene with the score range of combining wireless local area network, the embodiment of the present invention does not limit it System.
In conclusion an embodiment of the present invention provides a kind of location determining method, the method includes: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 scores, nothing in first technology after existing deviation is oriented in position Method improves the problem of accuracy of this positioning, and Wi-Fi scores can be corrected before position positions, it is fixed to improve this position The accuracy of position.
Embodiment two
With reference 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 location and target length, target location can use initial position table Show, target length can be indicated by digit.In practical applications, target location is often 1, and target length can be 6.
It is appreciated that target location 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 manufacture.For example, the Wi- of iPhone Fi titles acquiescence 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 network equipment that the embodiment of the present invention is provided by identifying each manufacturer 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, first is obtained and refers 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, if keyword is " iPhone ", first corresponds to the mobile network of Apple Inc.'s offer with reference to number The number of samples of network equipment.
Step 204, first reference sample is clustered according to target fragment in physical address, is generated 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 will be identical The sample of target fragment content is added to same second reference sample, to generate multiple second reference samples.
For example, if including the sample of keyword " iPhone " includes:[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 and is:[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, for the example in step 204, the second reference number is respectively 4 and 2.
Step 206, number is referred to reference to number and described at least one second according to described first, from described at least one The physical address segmentation of mobile wireless local network network is determined in second reference sample.
Specifically, accounting larger samples are as target sample in selecting the second reference number to refer to number first, and incite somebody to action 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 described at least one second with reference to 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, with reference to the ratio that ratio is the second reference reference number 6 of number 4 and first, is approximately equal to 66.67%, the second reference sample { [212233123456, iPhone5], [212233123456, iPhone6] }, corresponding first refers to reference to ratio for second Number 2 and first is approximately equal to 33.33% with reference to the ratio of number 6.
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 is segmented.
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 result of calculation 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 segmentation of the physical address of the mobile wireless local network network is preserved 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, to which the first physical address list of fragments saves the physical address of all mobile wireless local network networks Segmentation.
Specifically, the first physical address list of fragments also needs to the initial position of recording physical address segmentation, 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 can the Wireless LAN that physical address is 111122334455 and 112233445566 be confirmed as mobile wireless local Network.And if the initial position of actually physical address segmentation is 1, to which 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 it can be 112233****** to preserve format, 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, judge whether the target location of 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 at least one in the first physical address list of fragments In a physical address segmentation.
Specifically, it is determined that when physical address includes physical address segmentation, the starting for matching physical address segmentation simultaneously is needed 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 are one 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 the Target Wireless local belonging to the physical address Network is mobile wireless local network network;If physical address is segmented not comprising any one physical address, 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 preserved to the configuration data of the target LAN network In, to which when another mobile terminal to search is to the Wireless LAN, present score is obtained from configuration data, if current It is not initial score to divide, 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 determined whether 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 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 does not limit it.
Specifically, second threshold can be set according to the rule for reducing score.If for example, 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 improves the accuracy of position positioning to the reference position not as 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 an embodiment of the present invention provides a kind of location determining method, the method includes: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 scores, nothing in first technology after existing deviation is oriented in position Method improves the problem of accuracy of this positioning, and Wi-Fi scores 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 with reference to Fig. 3.
Wireless LAN acquisition 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 an embodiment of the present invention provides a kind of position determining means, described device includes:Wireless LAN Acquisition 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 scores 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 scores 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 pre-setting keyword, to further improve position positioning Accuracy.
Example IV
It is specific as follows it illustrates the structure chart of another position determining means with reference to Fig. 4.
Information determination module 401 determines name keys and target patch respectively for being directed to the different types of network equipment 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, with reference to number statistical module 403, for counting the number of samples in first reference sample, obtains first 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 with reference to number statistical module 405, the sample number for counting at least one second reference sample respectively Mesh obtains at least one second and refers to number.
Attribute determination module 406, for referring to number with reference to number and described at least one second according to described first, from The physical address segmentation of mobile wireless local network network is determined at least one second reference sample.
Optionally, in another embodiment of the invention, above-mentioned attribute determination module 406, including:
First refers to ratio calculation submodule, and number is referred to reference to number and first for calculating described at least one second Ratio, obtain at least one first refer to ratio.
Attribute determination sub-module, 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 preserving the segmentation of the physical address of the mobile wireless local network network to the One physical address list of fragments.
Wireless LAN acquisition 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, including:
Network attribute determination sub-module 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 determination sub-module 4091, including:
Physical address determination unit, for for each Target Wireless local area network, determining the Target Wireless local The physical address of network.
Physical address judging unit, for determining whether the physical address falls into the first physical address list of fragments At least one of 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, including:
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 determination sub-module 4102, for determining working as mobile terminal based on effective Wireless LAN collection Front position.
In conclusion an embodiment of the present invention provides a kind of position determining means, described device includes:Wireless LAN Acquisition 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 scores 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 scores 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 pre-setting keyword, to further improve position positioning Accuracy.
The embodiment of the present invention additionally provides a kind of electronic equipment, including:Processor, memory and it 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 present invention additionally 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 embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of 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 the implementation of the present invention Example can be put into practice 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 description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, 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 method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being 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 implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) come realize in location determining device according to the ... of the embodiment of the present invention some 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 Divide either whole equipment or program of device.It is such to realize that the program of the present invention be stored in computer-readable medium On, or can be with the form of one or more signal.Such signal can be downloaded from internet website and be obtained, or Person provides on carrier signal, or provides in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket 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" before 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 by the same hardware branch To embody.The use of word first, second, and third does not indicate that 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 essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing 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 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;
The current location of the mobile terminal is determined according to each Target Wireless local area network and score.
2. according to the method described in claim 1, it is characterized in that, described by with Wireless LAN data gathered in advance Sample is trained the step of obtaining the physical address segmentation of the mobile wireless local network network, including:
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, first is obtained and refers to number;
First reference sample is clustered according to target fragment in physical address, at least one second is generated and refers to sample This;
The number of samples for counting at least one second reference sample respectively obtains at least one second and refers to number;
Number is referred to reference to number and described at least one second according to described first, from least one 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 second reference sample The step of, including:
Described at least one second is calculated 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 described in the claim 2, which is characterized in that described according to the first reference number and described At least one second refers to number, and mobile wireless local network network is determined physically from least one second reference sample After the step of location is segmented, further include:
The physical address segmentation of the mobile wireless local network network is preserved 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, including:
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, including:
For each Target Wireless local area network, the physical address of the Target Wireless local area network is determined;
Determine whether the physical address falls into the segmentation of at least one of the first physical address list of fragments physical address In;
If so, determining that the physical address is mobile wireless local network network.
7. according to any one of them method of claim 1 to 6, which is characterized in that described according to each Target Wireless office Domain network and score determine the step of current location of the mobile terminal, including:
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 acquisition module, each Target Wireless local area network arrived for obtaining mobile terminal to search;
Score determining module, for the score that be segmented according to the physical address of preset mobile wireless local network network, described in determination 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;
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, which is characterized in that including:
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 the location determination as described in one or more in claim 1-7 when executing described program Method.
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 one or more in claim to a method 1-7.
CN201810049098.8A 2018-01-18 2018-01-18 A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing Active CN108419253B (en)

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 true CN108419253A (en) 2018-08-17
CN108419253B 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 (5)

* Cited by examiner, † Cited by third party
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
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN108419253B (en) 2019-11-22

Similar Documents

Publication Publication Date Title
WO2017113677A1 (en) User behavior data processing method and system
CN110363076A (en) Personal information correlating method, device and terminal device
CN107943949B (en) Method and server for determining web crawler
CN109905293B (en) Terminal equipment identification method, system and storage medium
CN106709318B (en) A kind of recognition methods of user equipment uniqueness, device and calculate equipment
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
CN109905292B (en) Terminal equipment identification method, system and storage medium
CN106874335B (en) Behavior data processing method and device and server
CN104143005A (en) Related searching system and method
CN105404631B (en) Picture identification method and device
CN106257448A (en) The methods of exhibiting of a kind of key word and device
CN109522374A (en) A kind of localization method, device, electronic equipment and readable storage medium storing program for executing
CN110209551B (en) Abnormal equipment identification method and device, electronic equipment and storage medium
CN109582155B (en) Recommendation method and device for inputting association words, storage medium and electronic equipment
CN106294219A (en) A kind of equipment identification, data processing method, Apparatus and system
KR101508429B1 (en) System and method for providing agent service to user terminal
CN109377383A (en) Product data synchronous method, device, computer equipment and storage medium
CN106850506A (en) A kind of method and apparatus that WiFi is shared between application good friend
CN113268641A (en) User data processing method based on big data and big data server
CN105989457A (en) Information query method and apparatus thereof
CN109241455A (en) A kind of methods of exhibiting and device of recommended
CN106354841B (en) Method and device for testing recommendation algorithm
CN108419253B (en) A kind of location determining method, device, electronic equipment and readable storage medium storing program for executing
CN106469166B (en) A kind of information processing method and device

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