CN103402253B - Wireless location method based on fingerprint matching and device - Google Patents

Wireless location method based on fingerprint matching and device Download PDF

Info

Publication number
CN103402253B
CN103402253B CN201310255967.XA CN201310255967A CN103402253B CN 103402253 B CN103402253 B CN 103402253B CN 201310255967 A CN201310255967 A CN 201310255967A CN 103402253 B CN103402253 B CN 103402253B
Authority
CN
China
Prior art keywords
reception device
radio reception
neighbours
request message
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310255967.XA
Other languages
Chinese (zh)
Other versions
CN103402253A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310255967.XA priority Critical patent/CN103402253B/en
Publication of CN103402253A publication Critical patent/CN103402253A/en
Application granted granted Critical
Publication of CN103402253B publication Critical patent/CN103402253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of wireless location method based on fingerprint matching and device.nullThe embodiment of the present invention is by according to a radio reception device identification information included in locating request message,Obtain average neighbours' number of radio reception device,If making it possible to described average neighbours' number less than or equal to the neighbours' threshold value pre-set,According to fingerprint database and described fingerprint characteristic,Carry out wireless location based on fingerprint matching,To obtain the positioning result of described terminal,Owing to the average neighbours' number according to this radio reception device included in currently received locating request message carries out illegalities identification to this locating request message,Therefore,After this illegalities identification,The terminal just asked described locating request message positions,It can be avoided that the problem that the terminal caused due to the easy availability of radio reception device identification information in prior art illegally captures the position of radio reception device,Thus improve the safety of location.

Description

Wireless location method based on fingerprint matching and device
[technical field]
The present invention relates to location-based service (Location Based Service, LBS) technology, particularly relate to A kind of wireless location method based on fingerprint matching and device.
[background technology]
At mobile communications network such as WCDMA (Wideband Code Division Multiple Access, WCDMA) in network, locating platform can be by obtaining finger print data, i.e. wireless access Equipment, such as, (Wireless Fidelity is called for short for base station (NodeB) or Wireless Fidelity Wi-Fi) access point (Access Point, AP) etc., positional information, identification information and signal intensity Value (Received Signal Strength Indication, RSSI), provides the terminal with based on fingerprint The location-based service joined.Such as, at least one fingerprint characteristic of terminal scanning to surrounding, i.e. at least one Wi-Fi The media interviews of AP control (Media Access Control, MAC) address and corresponding RSSI, Utilize the MAC Address of at least one Wi-Fi AP described and corresponding RSSI, fixed to locating platform request Position, so that described locating platform is by calculating all referring to of being stored in fingerprint characteristic and fingerprint database The similarity of stricture of vagina data obtains positioning result, it is achieved thereby that the location of terminal.
But, due to the easy availability of radio reception device identification information, in some cases, such as, Back street operators utilizes terminal to copy a fingerprint characteristic, the i.e. MAC Address of Wi-Fi AP and correspondence RSSI, etc., locating platform then can use localization method of the prior art, provide the terminal with location knot Really so that this terminal can illegally capture the position of this Wi-Fi AP, thus result in the safety of location The reduction of property.
[summary of the invention]
The many aspects of the present invention provide a kind of wireless location method based on fingerprint matching and device, in order to Improve the safety of location.
An aspect of of the present present invention, it is provided that a kind of wireless location method based on fingerprint matching, including:
Receive the locating request message that terminal sends, described locating request message comprises described terminal and obtains Fingerprint characteristic, described fingerprint characteristic includes a radio reception device identification information and described wireless access The signal strength values of the radio reception device that equipment identification information is identified;
According to described radio reception device identification information, it is thus achieved that average neighbours' number of described radio reception device;
If described average neighbours' number is less than or equal to neighbours' threshold value of pre-setting, according to fingerprint database and Described fingerprint characteristic, carries out wireless location based on fingerprint matching, to obtain the positioning result of described terminal;
Described positioning result is sent to described terminal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State according to described radio reception device identification information, it is thus achieved that average neighbours' number of described radio reception device it After, also include:
If described average neighbours' number is more than the neighbours' threshold value pre-set, refuse described locating request message.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute If stating described average neighbours' number more than the neighbours' threshold value pre-set, after refusing described locating request message, Also include:
Send to described terminal and break off relations message.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State according to described radio reception device identification information, it is thus achieved that average neighbours' number of described radio reception device, Including:
According to user journal, it is thus achieved that at least one history locating request message, each described history location please Ask and message comprises described terminal or the history fingerprint characteristic of other-end acquisition, described history fingerprint characteristic Including at least two radio reception device identification information;And according to each described history locating request message Included in described history fingerprint characteristic, it is thus achieved that average neighbours' number of described radio reception device;Or
According to user journal, it is thus achieved that at least one neighbours' number of described radio reception device;And according to institute State at least one neighbours' number, it is thus achieved that average neighbours' number of described radio reception device.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State Cell Global Identification that radio reception device identification information includes that radio reception device is corresponding, wireless connect Enter the network name of WLAN belonging to the MAC Address of equipment or radio reception device.
Another aspect of the present invention, it is provided that a kind of radio positioner based on fingerprint matching, including:
Receive unit, for receiving the locating request message that terminal sends, described locating request message is wrapped The fingerprint characteristic obtained containing described terminal, described fingerprint characteristic includes a radio reception device identification information Signal strength values with the radio reception device that described radio reception device identification information is identified;
Obtain unit, for according to described radio reception device identification information, it is thus achieved that described wireless access sets Standby average neighbours' number;
Positioning unit, if for described average neighbours' number less than or equal to the neighbours' threshold value pre-set, root According to fingerprint database and described fingerprint characteristic, carry out wireless location based on fingerprint matching, described to obtain The positioning result of terminal;
Transmitting element, for sending described positioning result to described terminal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State positioning unit, be additionally operable to
If described average neighbours' number is more than the neighbours' threshold value pre-set, refuse described locating request message.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State transmitting element, be additionally operable to
Send to described terminal and break off relations message.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State acquisition unit, specifically for
According to user journal, it is thus achieved that at least one history locating request message, each described history location please Ask and message comprises described terminal or the history fingerprint characteristic of other-end acquisition, described history fingerprint characteristic Including at least two radio reception device identification information;And according to each described history locating request message Included in described history fingerprint characteristic, it is thus achieved that average neighbours' number of described radio reception device;Or
According to user journal, it is thus achieved that at least one neighbours' number of described radio reception device;And according to institute State at least one neighbours' number, it is thus achieved that average neighbours' number of described radio reception device.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, institute State Cell Global Identification that radio reception device identification information includes that radio reception device is corresponding, wireless connect Enter the network name of WLAN belonging to the MAC Address of equipment or radio reception device.
As shown from the above technical solution, the embodiment of the present invention is passed through included according to locating request message One radio reception device identification information, it is thus achieved that average neighbours' number of radio reception device, enabling if Described average neighbours' number is less than or equal to the neighbours' threshold value pre-set, according to fingerprint database and described finger Stricture of vagina feature, carries out wireless location based on fingerprint matching, to obtain the positioning result of described terminal, due to Average neighbours' number according to this radio reception device included in currently received locating request message This locating request message is carried out illegalities identification, therefore, after this illegalities identification, the most right The terminal that described locating request message is asked positions, it is possible to avoid connecing due to wireless in prior art The terminal entering the easy availability of equipment identification information and cause illegally captures asking of the position of radio reception device Topic, thus improve the safety of location.
[accompanying drawing explanation]
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or existing In technology description, the required accompanying drawing used is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creation On the premise of property is laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow process signal of the wireless location method based on fingerprint matching that Fig. 1 provides for one embodiment of the invention Figure;
Fig. 2 shows for the structure of the radio positioner based on fingerprint matching that another embodiment of the present invention provides It is intended to.
[detailed description of the invention]
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise Other embodiments whole obtained, broadly fall into the scope of protection of the invention.
Technical scheme, can apply to various mobile communications network (i.e. radio wide area network), Such as, global system for mobile communications (Global System for Mobile Communications, GSM) Network, GPRS (general packet radio service) (General Packet Radio Service, GPRS) network, CDMA (Code Division Multiple Access, CDMA) network, CDMA2000 network, WCDMA (Wideband Code Division Multiple Access, WCDMA) network, Long Term Evolution (Long Term Evolution, LTE) network or World Interoperability for Microwave Access, WiMax (World Interoperability for Microwave Access, WiMAX) network etc..
It should be noted that the radio reception device of mobile communications network, can be GSM network, GPRS Base station (Base Transceiver Station, BTS) in network or cdma network, it is also possible to be Base station (NodeB) in CDMA2000 network or WCDMA network, it is also possible to be LTE network In evolved base station (Evolved NodeB, eNB), it is also possible to be the access in WiMAX network The network elements such as the base station (Access Service Network Base Station, ASN BS) of service network.
Technical scheme, it is also possible to be applied to various WLAN, such as, wireless compatible Property certification (Wireless Fidelity, be called for short Wi-Fi) network, blueteeth network or other cordless communication networks Deng.
It should be noted that the radio reception device of WLAN, can be in Wi-Fi network The network elements such as Wi-Fi AP.
It should be noted that terminal involved in the embodiment of the present invention can include but not limited to mobile phone, Personal digital assistant (Personal Digital Assistant, PDA), wireless handheld device, wireless on Net basis, PC, portable computer, MP3 player, MP4 player etc..
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, represent Three kinds of relations, such as, A and/or B can be there are, can represent: individualism A, there is A simultaneously And B, individualism B these three situation.It addition, character "/" herein, typically represent forward-backward correlation pair As if the relation of a kind of "or".
The flow process signal of the wireless location method based on fingerprint matching that Fig. 1 provides for one embodiment of the invention Figure, as shown in Figure 1.
101, receive the locating request message that terminal sends, described locating request message comprises described terminal The fingerprint characteristic obtained, described fingerprint characteristic includes a radio reception device identification information and described wireless The signal strength values of the radio reception device that access device identification information is identified.
102, according to described radio reception device identification information, it is thus achieved that the average neighbour of described radio reception device Occupy number.
If 103 described average neighbours' numbers are less than or equal to the neighbours' threshold value pre-set, according to finger print data Storehouse and described fingerprint characteristic, carry out wireless location based on fingerprint matching, to obtain the location of described terminal Result.
104, described positioning result is sent to described terminal.
Wherein, described radio reception device can include mobile communications network (i.e. radio wide area network) Radio reception device or the radio reception device of WLAN, this is not defined by the present embodiment. It should be understood that WLAN involved in the embodiment of the present invention can include but not limited to nothing Line Fidelity (Wireless Fidelity is called for short Wi-Fi) network, blueteeth network or other channel radios Communication network, this is not defined by the present invention.
Specifically, described radio reception device identification information can be that the wireless access of mobile communications network sets Standby corresponding Cell Global Identification (Cell Global Identity, CGI), or can also be wireless The media interviews of the radio reception device of LAN are with controlling (Media Access Control, MAC) Location, such as, the MAC Address of Wi-Fi access point (Access Point, AP), or can also be Service set (the Service Set of WLAN belonging to the radio reception device of WLAN Identifier, SSID), this is not defined by the present embodiment.
In general, CGI can be by Mobile Country Code MCC (Mobile Country Code, MCC), shifting Dynamic network code (Mobile Network Code, MNC), location area code (Location Area Code, LAC) form with cell ID (Cell ID, CID).
It should be noted that the executive agent of 101~104 can be locating platform, it is used for providing the terminal with Location-based service.This locating platform may be located in the client of this locality, to provide off-line location-based service, or Person may be located in the server of network side, and to provide online location-based service, this is not entered by the present embodiment Row limits.
It is understood that described client can be mounted in the application program in terminal, or also may be used To be a webpage of browser, as long as being capable of location, to provide the objective reality form of LBS all Of course, this is not defined by the present embodiment.
So, by according to a radio reception device identification information included in locating request message, Obtain average neighbours' number of radio reception device, enabling if described average neighbours' number is less than or equal to pre- The neighbours' threshold value first arranged, according to fingerprint database and described fingerprint characteristic, carries out based on fingerprint matching Wireless location, to obtain the positioning result of described terminal, owing to disappearing according to currently received Location Request This locating request message is carried out illegalities by average neighbours' number of this radio reception device included in breath Identify, therefore, after this illegalities identification, the end just described locating request message asked End position, it is possible to avoid in prior art due to radio reception device identification information easy availability and The terminal caused illegally captures the problem of the position of radio reception device, thus improves the safety of location.
It addition, use the technical scheme that the present embodiment provides, due to can be by the Location Request of legitimate purposes Message is distinguish between with the locating request message of illegal purposes, only the locating request message institute to legitimate purposes The terminal of request positions, therefore so that locating platform is prevented from unsafe location purpose, to Terminal provides the location-based service of safety.
Alternatively, in a possible implementation of the present embodiment, after 102, locating platform If the neighbours' threshold value pre-set can also be more than the most described average neighbours' number, refusing described location please Seek message.
Further, described locating platform can also send to described terminal further and break off relations message, with logical Know that its locating request message of this terminal is positioned platform refusal.Alternatively, break off relations in message all right described in Carry cause value further, for indicating the reason of refusal.
So, locating platform can only comprise the wireless access of an independent radio reception device with real-time judge Whether the locating request message of equipment identification information is the most legal true Location Request.If it is judged that be Real Location Request, the terminal corresponding to this locating request message then can be carried out by described locating platform Wireless location based on fingerprint matching;If it is judged that be the most illegal Location Request of malice, described location Platform then refuses to carry out the terminal corresponding to this locating request message wireless location based on fingerprint matching.
Alternatively, in a possible implementation of the present embodiment, in 102, locating platform has Body can be according to user journal, it is thus achieved that at least one history locating request message, and each described history positions Comprising described terminal or the history fingerprint characteristic of other-end acquisition in request message, described history fingerprint is special Levy and include at least two radio reception device identification information.Then, described locating platform then can be according to often Described history fingerprint characteristic included in individual described history locating request message, it is thus achieved that described wireless access Average neighbours' number of equipment.
It is understood that locating platform is according to user journal, it is thus achieved that at least one history Location Request disappears Breath, specifically can directly obtain the radio reception device identification information comprising one radio reception device. It is to say, described history fingerprint characteristic includes the radio reception device mark of one radio reception device Knowledge information.So, locating platform then can determine this nothing according to each history locating request message Neighbours' number of line access device.Finally, described locating platform is according to this radio reception device obtained These neighbours' numbers, it is thus achieved that average neighbours' number of described radio reception device, such as, arithmetical average, add Weight average numbers etc., this is not defined by the present embodiment.
Or, alternatively, in a possible implementation of the present embodiment, in 102, location Platform specifically can also be according to user journal, it is thus achieved that at least one neighbours' number of described radio reception device. Then, described locating platform then can be according at least one neighbours' number described, it is thus achieved that described wireless access sets Standby average neighbours' number, such as, arithmetical average, weighted mean etc., this is not carried out by the present embodiment Limit.
It is understood that before this step, locating platform then can use aforesaid scheme, in advance First obtain at least one neighbours' number of this radio reception device, describe in detail and may refer to phase described above Closing content, here is omitted.
Method for making the embodiment of the present invention provide is clearer, below will be using Wi-Fi network as act Example.In Wi-Fi based on fingerprint matching positions, locating platform storage has the user journal of magnanimity, wherein Including the history locating request message from different terminals, the overwhelming majority therein is normal and legal Request.Therefore, for each history locating request message, locating platform all can count and certain The quantity of the neighbours Wi-Fi AP of the quantity of the Wi-Fi AP that Wi-Fi AP coexists, i.e. certain Wi-Fi AP (neighbours' number).
Such as, history locating request message A, the MAC Address of the Wi-Fi AP that it is comprised is such as Under:
MAC1|MAC2|MAC3|MAC5|MAC6|MAC8|MAC10|MAC15|MAC16|MAC20。
So, the result of current statistics is:
Neighbours' number of MAC1 is 9;
Neighbours' number of MAC2 is 9;
Neighbours' number of MAC3 is 9;
Neighbours' number of MAC5 is 9;
Neighbours' number of MAC6 is 9;
Neighbours' number of MAC8 is 9;
Neighbours' number of MAC10 is 9;
Neighbours' number of MAC15 is 9;
Neighbours' number of MAC16 is 9;
Neighbours' number of MAC20 is 9.
Due to WIFI AP involved in fingerprint database, it it is all quilt in the Location Request business of terminal Scan many times, and locating platform all can count neighbours according to each locating request message Number.For each WIFI AP, locating platform can store abundant this neighbours' number, such as, 10000.When more than the upper limit that can store, locating platform is then deleted and is relatively early added up the neighbour obtained Occupy number, and replace with relatively closely adding up the neighbours' number obtained, so that the sum of neighbours' number of this WIFI AP Maintain 10000.Meanwhile, locating platform can also safeguard the meansigma methods of these neighbours' numbers further, Such as, arithmetic average, weighted average etc., using the average neighbours' number as this WIFI AP.Such as, pin For the MAC1 of WIFI AP1, have the Wi-Fi AP's that following history locating request message comprised MAC Address:
MAC1|MAC2|MAC3|MAC5|MAC6|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC3|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC3|MAC5|MAC6|MAC8|MAC20;
MAC1|MAC5|MAC6|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC3|MAC6|MAC8|MAC10|MAC20;
MAC1|MAC8|MAC10|MAC15|MAC16|MAC20。
Locating platform according to the MAC Address of the Wi-Fi AP included in these locating request message above-mentioned, Statistics obtains neighbours' number of WIFI AP1 and is respectively 9,7,6,7,6,6 and 5, and arithmetic mean of instantaneous value is Average neighbours' number of 6.57, i.e. WIFI AP1 is 6.57.Answer it is to say, WIFI AP1 averagely gets off This has 6.57 WIFI AP to coexist with this WIFI AP1, and its probability individually occurred is minimum.
If locating platform receives the locating request message of the MAC1 only comprising WIFI AP1, this is fixed Bit platform is first according to MAC1, it is thus achieved that average neighbours' number of WIFI AP1 is 6.57.Due to WIFI AP1 Average neighbours' number be 6.57 more than neighbours' threshold value 2 of pre-setting, therefore, described locating platform then may be used To refuse described locating request message.
In the present embodiment, by identifying according to a radio reception device included in locating request message Information, it is thus achieved that average neighbours' number of radio reception device, enabling if described average neighbours' number less than or Equal to the neighbours' threshold value pre-set, according to fingerprint database and described fingerprint characteristic, carry out based on fingerprint The wireless location of coupling, to obtain the positioning result of described terminal, due to according to currently received location This locating request message is carried out by average neighbours' number of this radio reception device included in request message Illegalities identification, therefore, after this illegalities identification, is just asked described locating request message The terminal asked positions, it is possible to avoid easily obtaining due to radio reception device identification information in prior art Taking property and the terminal that causes illegally capture the problem of the position of radio reception device, thus improve location Safety.
It addition, use the technical scheme that the present embodiment provides, due to can be by the Location Request of legitimate purposes Message is distinguish between with the locating request message of illegal purposes, only the locating request message institute to legitimate purposes The terminal of request positions, therefore so that locating platform is prevented from unsafe location purpose, to Terminal provides the location-based service of safety.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore by its all table Stating as a series of combination of actions, but those skilled in the art should know, the present invention is by being retouched The restriction of the sequence of movement stated because according to the present invention, some step can use other orders or with Shi Jinhang.Secondly, those skilled in the art also should know, embodiment described in this description all belongs to In preferred embodiment, necessary to involved action and the module not necessarily present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.
Fig. 2 shows for the structure of the radio positioner based on fingerprint matching that another embodiment of the present invention provides It is intended to, as shown in Figure 2.The radio positioner based on fingerprint matching of the present embodiment can include receiving Unit 21, acquisition unit 22, positioning unit 23 and transmitting element 24.Wherein, receive unit 21, For receiving the locating request message that terminal sends, described locating request message comprises described terminal and obtains Fingerprint characteristic, described fingerprint characteristic includes a radio reception device identification information and described wireless access The signal strength values of the radio reception device that equipment identification information is identified;Obtain unit 22, for basis Described radio reception device identification information, it is thus achieved that average neighbours' number of described radio reception device;Location is single Unit 23, if for described average neighbours' number less than or equal to the neighbours' threshold value pre-set, according to fingerprint number According to storehouse and described fingerprint characteristic, carry out wireless location based on fingerprint matching, to obtain determining of described terminal Position result;Transmitting element 24, for sending described positioning result to described terminal.
Wherein, described radio reception device can include mobile communications network (i.e. radio wide area network) Radio reception device or the radio reception device of WLAN, this is not defined by the present embodiment. It should be understood that WLAN involved in the embodiment of the present invention can include but not limited to nothing Line Fidelity (Wireless Fidelity is called for short Wi-Fi) network, blueteeth network or other channel radios Communication network, this is not defined by the present invention.
Specifically, described radio reception device identification information can be that the wireless access of mobile communications network sets Standby corresponding Cell Global Identification (Cell Global Identity, CGI), or can also be wireless The media interviews of the radio reception device of LAN are with controlling (Media Access Control, MAC) Location, such as, the MAC Address of Wi-Fi access point (Access Point, AP), or can also be Service set (the Service Set of WLAN belonging to the radio reception device of WLAN Identifier, SSID), this is not defined by the present embodiment.
In general, CGI can be by Mobile Country Code MCC (Mobile Country Code, MCC), shifting Dynamic network code (Mobile Network Code, MNC), location area code (Location Area Code, LAC) form with cell ID (Cell ID, CID).
It should be noted that the device that the present embodiment provides can be locating platform, it is used for providing the terminal with Location-based service.This locating platform may be located in the client of this locality, to provide off-line location-based service, or Person may be located in the server of network side, and to provide online location-based service, this is not entered by the present embodiment Row limits.
It is understood that described client can be mounted in the application program in terminal, or also may be used To be a webpage of browser, as long as being capable of location, to provide the objective reality form of LBS all Of course, this is not defined by the present embodiment.
So, by obtaining unit according to receiving included in the locating request message that unit is received Individual radio reception device identification information, it is thus achieved that average neighbours' number of radio reception device so that positioning unit If can described average neighbours' number less than or equal to neighbours' threshold value of pre-setting, according to fingerprint database and Described fingerprint characteristic, carries out wireless location based on fingerprint matching, to obtain the positioning result of described terminal, Due to the average neighbour according to this radio reception device included in currently received locating request message Occupy and several this locating request message is carried out illegalities identification, therefore, after this illegalities identification, The terminal just asked described locating request message positions, it is possible to avoid in prior art due to nothing The easy availability of line access device identification information and the terminal that causes illegally capture the position of radio reception device Problem, thus improve the safety of location.
It addition, use the technical scheme that the present embodiment provides, due to can be by the Location Request of legitimate purposes Message is distinguish between with the locating request message of illegal purposes, only the locating request message institute to legitimate purposes The terminal of request positions, therefore so that locating platform is prevented from unsafe location purpose, to Terminal provides the location-based service of safety.
Alternatively, in a possible implementation of the present embodiment, described positioning unit 23, also may be used If to be further used for described average neighbours' number more than the neighbours' threshold value pre-set, refusing described location please Seek message.
Further, described transmitting element 24, it is also possible to be further used for sending to break off relations to described terminal disappearing Breath, to notify that its locating request message of this terminal is positioned platform refusal.Alternatively, message is broken off relations described in In can also carry cause value further, for indicating the reason of refusal.
Alternatively, in a possible implementation of the present embodiment, described acquisition unit 22, specifically May be used for according to user journal, it is thus achieved that at least one history locating request message, each described history is fixed Request message in position comprises described terminal or the history fingerprint characteristic of other-end acquisition, described history fingerprint Feature includes at least two radio reception device identification information;And according to each described history Location Request Described history fingerprint characteristic included in message, it is thus achieved that average neighbours' number of described radio reception device.
It is understood that described acquisition unit 22 is according to user journal, it is thus achieved that at least one history positions Request message, specifically can directly obtain the radio reception device mark comprising one radio reception device Knowledge information.It is to say, described history fingerprint characteristic includes that the wireless of one radio reception device connects Enter equipment identification information.So, described acquisition unit 22 then can according to each history locating request message, Determine neighbours' number of this radio reception device.Finally, described acquisition unit 22 should according to obtained These neighbours' numbers of radio reception device, it is thus achieved that average neighbours' number of described radio reception device, such as, Arithmetical average, weighted mean etc., this is not defined by the present embodiment.
Or, alternatively, in a possible implementation of the present embodiment, described acquisition unit 22, Specifically can be with user according to user journal, it is thus achieved that at least one neighbours' number of described radio reception device; And according at least one neighbours' number described, it is thus achieved that average neighbours' number of described radio reception device, such as, Arithmetical average, weighted mean etc., this is not defined by the present embodiment.
It is understood that before described acquisition unit 22 performs this operation, described acquisition unit 22 can use aforesaid scheme, at least one neighbours number of this radio reception device are obtained ahead of time, in detail Thin description may refer to related content described above, and here is omitted.
Method for making the embodiment of the present invention provide is clearer, below will be using Wi-Fi network as act Example.In Wi-Fi based on fingerprint matching positions, locating platform storage has the user journal of magnanimity, wherein Including the history locating request message from different terminals, the overwhelming majority therein is normal and legal Request.Therefore, for each history locating request message, it is thus achieved that unit all can count and certain The quantity of the neighbours Wi-Fi AP of the quantity of the Wi-Fi AP that Wi-Fi AP coexists, i.e. certain Wi-Fi AP (neighbours' number).
Such as, history locating request message A, the MAC Address of the Wi-Fi AP that it is comprised is such as Under:
MAC1|MAC2|MAC3|MAC5|MAC6|MAC8|MAC10|MAC15|MAC16|MAC20。
So, the result of current statistics is:
Neighbours' number of MAC1 is 9;
Neighbours' number of MAC2 is 9;
Neighbours' number of MAC3 is 9;
Neighbours' number of MAC5 is 9;
Neighbours' number of MAC6 is 9;
Neighbours' number of MAC8 is 9;
Neighbours' number of MAC10 is 9;
Neighbours' number of MAC15 is 9;
Neighbours' number of MAC16 is 9;
Neighbours' number of MAC20 is 9.
Due to WIFI AP involved in fingerprint database, it it is all quilt in the Location Request business of terminal Scan many times, and obtain unit and all can count neighbours according to each locating request message Number.For each WIFI AP, locating platform can store abundant this neighbours' number, such as, 10000.When more than the upper limit that can store, locating platform is then deleted and is relatively early added up the neighbour obtained Occupy number, and replace with relatively closely adding up the neighbours' number obtained, so that the sum of neighbours' number of this WIFI AP Maintain 10000.Meanwhile, locating platform can also safeguard the meansigma methods of these neighbours' numbers further, Such as, arithmetic average, weighted average etc., using the average neighbours' number as this WIFI AP.Such as, pin For the MAC1 of WIFI AP1, have the Wi-Fi AP's that following history locating request message comprised MAC Address:
MAC1|MAC2|MAC3|MAC5|MAC6|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC3|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC3|MAC5|MAC6|MAC8|MAC20;
MAC1|MAC5|MAC6|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC8|MAC10|MAC15|MAC16|MAC20;
MAC1|MAC2|MAC3|MAC6|MAC8|MAC10|MAC20;
MAC1|MAC8|MAC10|MAC15|MAC16|MAC20。
Locating platform according to the MAC Address of the Wi-Fi AP included in these locating request message above-mentioned, Statistics obtains neighbours' number of WIFI AP1 and is respectively 9,7,6,7,6,6 and 5, and arithmetic mean of instantaneous value is Average neighbours' number of 6.57, i.e. WIFI AP1 is 6.57.Answer it is to say, WIFI AP1 averagely gets off This has 6.57 WIFI AP to coexist with this WIFI AP1, and its probability individually occurred is minimum.
If receiving unit to receive the locating request message of the MAC1 only comprising WIFI AP1, it is thus achieved that Unit is first according to MAC1, it is thus achieved that average neighbours' number of WIFI AP1 is 6.57.Due to WIFI AP1 Average neighbours' number be 6.57 more than neighbours' threshold value 2 of pre-setting, therefore, positioning unit then can be refused Exhausted described locating request message.
In the present embodiment, wrapped according to receiving in the locating request message that received of unit by obtaining unit The radio reception device identification information contained, it is thus achieved that average neighbours' number of radio reception device so that fixed If bit location can described average neighbours' number less than or equal to neighbours' threshold value of pre-setting, according to fingerprint number According to storehouse and described fingerprint characteristic, carry out wireless location based on fingerprint matching, to obtain determining of described terminal Position result, due to according to this radio reception device included in currently received locating request message Average neighbours' number this locating request message is carried out illegalities identification, therefore, by this illegalities knowledge After Bie, the terminal just asked described locating request message positions, it is possible to avoid prior art In the terminal that causes due to the easy availability of radio reception device identification information illegally capture wireless access and set The problem of standby position, thus improve the safety of location.
It addition, use the technical scheme that the present embodiment provides, due to can be by the Location Request of legitimate purposes Message is distinguish between with the locating request message of illegal purposes, only the locating request message institute to legitimate purposes The terminal of request positions, therefore so that locating platform is prevented from unsafe location purpose, to Terminal provides the location-based service of safety.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and Method, can realize by another way.Such as, device embodiment described above is only shown Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not perform.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds software The form of functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer In read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some fingers Make with so that a computer installation (can be personal computer, server, or network equipment etc.) Or processor (processor) performs the part steps of method described in each embodiment of the present invention.And it is aforementioned Storage medium include: USB flash disk, portable hard drive, read only memory (Read-Only Memory, ROM), Random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various The medium of program code can be stored.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a wireless location method based on fingerprint matching, it is characterised in that including:
Receive the locating request message that terminal sends, described locating request message comprises described terminal and obtains Fingerprint characteristic, described fingerprint characteristic includes a radio reception device identification information and described wireless access The signal strength values of the radio reception device that equipment identification information is identified;
According to described radio reception device identification information, it is thus achieved that average neighbours' number of described radio reception device;
If described average neighbours' number is less than or equal to neighbours' threshold value of pre-setting, according to fingerprint database and Described fingerprint characteristic, carries out wireless location based on fingerprint matching, to obtain the positioning result of described terminal;
Described positioning result is sent to described terminal.
Method the most according to claim 1, it is characterised in that described set according to described wireless access Standby identification information, it is thus achieved that after average neighbours' number of described radio reception device, also include:
If described average neighbours' number is more than the neighbours' threshold value pre-set, refuse described locating request message.
Method the most according to claim 2, it is characterised in that if described average neighbours' number is big In the neighbours' threshold value pre-set, after refusing described locating request message, also include:
Send to described terminal and break off relations message.
4. according to the method described in claims 1 to 3 any claim, it is characterised in that described basis Described radio reception device identification information, it is thus achieved that average neighbours' number of described radio reception device, including:
According to user journal, it is thus achieved that at least one history locating request message, each described history location please Ask and message comprises described terminal or the history fingerprint characteristic of other-end acquisition, described history fingerprint characteristic Including at least two radio reception device identification information;And according to each described history locating request message Included in described history fingerprint characteristic, it is thus achieved that average neighbours' number of described radio reception device;Or
According to user journal, it is thus achieved that at least one neighbours' number of described radio reception device;And according to institute State at least one neighbours' number, it is thus achieved that average neighbours' number of described radio reception device.
5. according to the method described in claims 1 to 3 any claim, it is characterised in that described wireless Access device identification information includes Cell Global Identification, the radio reception device that radio reception device is corresponding MAC Address or radio reception device belonging to the network name of WLAN.
6. a radio positioner based on fingerprint matching, it is characterised in that including:
Receive unit, for receiving the locating request message that terminal sends, described locating request message is wrapped The fingerprint characteristic obtained containing described terminal, described fingerprint characteristic includes a radio reception device identification information Signal strength values with the radio reception device that described radio reception device identification information is identified;
Obtain unit, for according to described radio reception device identification information, it is thus achieved that described wireless access sets Standby average neighbours' number;
Positioning unit, if for described average neighbours' number less than or equal to the neighbours' threshold value pre-set, root According to fingerprint database and described fingerprint characteristic, carry out wireless location based on fingerprint matching, described to obtain The positioning result of terminal;
Transmitting element, for sending described positioning result to described terminal.
Device the most according to claim 6, it is characterised in that described positioning unit, is additionally operable to
If described average neighbours' number is more than the neighbours' threshold value pre-set, refuse described locating request message.
Device the most according to claim 7, it is characterised in that described transmitting element, is additionally operable to
Send to described terminal and break off relations message.
9. according to the device described in claim 6~8 any claim, it is characterised in that described acquisition Unit, specifically for
According to user journal, it is thus achieved that at least one history locating request message, each described history location please Ask and message comprises described terminal or the history fingerprint characteristic of other-end acquisition, described history fingerprint characteristic Including at least two radio reception device identification information;And according to each described history locating request message Included in described history fingerprint characteristic, it is thus achieved that average neighbours' number of described radio reception device;Or
According to user journal, it is thus achieved that at least one neighbours' number of described radio reception device;And according to institute State at least one neighbours' number, it is thus achieved that average neighbours' number of described radio reception device.
10. according to the device described in claim 6~8 any claim, it is characterised in that described nothing Line access device identification information includes that Cell Global Identification that radio reception device is corresponding, wireless access set The network name of WLAN belonging to standby MAC Address or radio reception device.
CN201310255967.XA 2013-06-25 2013-06-25 Wireless location method based on fingerprint matching and device Active CN103402253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310255967.XA CN103402253B (en) 2013-06-25 2013-06-25 Wireless location method based on fingerprint matching and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310255967.XA CN103402253B (en) 2013-06-25 2013-06-25 Wireless location method based on fingerprint matching and device

Publications (2)

Publication Number Publication Date
CN103402253A CN103402253A (en) 2013-11-20
CN103402253B true CN103402253B (en) 2016-08-17

Family

ID=49565745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310255967.XA Active CN103402253B (en) 2013-06-25 2013-06-25 Wireless location method based on fingerprint matching and device

Country Status (1)

Country Link
CN (1) CN103402253B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151827B (en) * 2018-07-28 2021-04-02 中国人民解放军战略支援部队信息工程大学 WiFi positioning spoofing detection method and device based on radio frequency fingerprint
CN110611952B (en) * 2019-09-20 2021-04-02 北京眸星科技有限公司 Fingerprint matching and positioning method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119390A (en) * 2007-08-29 2008-02-06 杭州华三通信技术有限公司 Wireless terminal locating method, system and device
CN101742545A (en) * 2009-12-15 2010-06-16 中国科学院计算技术研究所 Positioning method and system in WiFi environment
CN102196556A (en) * 2010-03-18 2011-09-21 中国移动通信集团设计院有限公司 System and method for determining position and coverage radium of APs (access points) of WIFI (wireless fidelity) network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119390A (en) * 2007-08-29 2008-02-06 杭州华三通信技术有限公司 Wireless terminal locating method, system and device
CN101742545A (en) * 2009-12-15 2010-06-16 中国科学院计算技术研究所 Positioning method and system in WiFi environment
CN102196556A (en) * 2010-03-18 2011-09-21 中国移动通信集团设计院有限公司 System and method for determining position and coverage radium of APs (access points) of WIFI (wireless fidelity) network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于三角形与位置指纹识别算法的WiFi定位比较";卢恒惠,刘兴川等;《移动通信》;20101031;全文,图4 *

Also Published As

Publication number Publication date
CN103402253A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103347278B (en) The update method of fingerprint database and device in wireless location
CN105682015B (en) A kind of method and apparatus for being used to set up wireless connection
CN110267327A (en) Business transmitting method and device
CN103491529B (en) The network insertion processing method and processing device of mobile terminal
IL271041B (en) Wireless communication method, network device, and terminal device
CN102844672B (en) Positioning device and positioning method
CN103747132B (en) The method of display message and terminal
CN104185139B (en) Wireless location method and device based on fingerprint matching
US10045283B2 (en) Method and system of providing small cell information to user equipments in a heterogeneous network environment
CN104717296A (en) Social contact interactive method, device, terminal and system
US20130067535A1 (en) Apparatus and method for controlling a network connection
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
CN106658665A (en) Method and apparatus for establishing wireless connection
CN107920353A (en) A kind of method and hot spot access device of Wireless Fidelity connection switching hot spot
CN107182098A (en) For realizing the method and apparatus that user equipment switches between WAP
US20210266996A1 (en) Device to device-based communication method and terminal
CN103686698A (en) Location information processing method and device
CN103109568A (en) Method and device for acquiring wifi access point information
CN108093404A (en) A kind of information processing method and device
CN104168646A (en) Positioning method and apparatus of wireless access equipment
CN105163275B (en) A kind of data transmission method for uplink, relevant apparatus and system
CN103402253B (en) Wireless location method based on fingerprint matching and device
CN108769210B (en) Attendance tracking method, device, terminal, server and storage medium
CN109195203A (en) Method for parameter configuration, device, terminal and the storage medium of WLAN
US11288335B2 (en) Method for search resource recommendation and smart device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant