CN104080038B - Localization method and equipment - Google Patents

Localization method and equipment Download PDF

Info

Publication number
CN104080038B
CN104080038B CN201310100317.8A CN201310100317A CN104080038B CN 104080038 B CN104080038 B CN 104080038B CN 201310100317 A CN201310100317 A CN 201310100317A CN 104080038 B CN104080038 B CN 104080038B
Authority
CN
China
Prior art keywords
information
terminal
location information
geographical location
access point
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
CN201310100317.8A
Other languages
Chinese (zh)
Other versions
CN104080038A (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 CN201310100317.8A priority Critical patent/CN104080038B/en
Publication of CN104080038A publication Critical patent/CN104080038A/en
Application granted granted Critical
Publication of CN104080038B publication Critical patent/CN104080038B/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 localization method and equipment, by according to the identification information of pre-set Wi-Fi access point and the corresponding relationship of geographical location information, obtain at least two geographical location information corresponding with the identification information of Wi-Fi access point included in locating request message, each geographical location information corresponds to the IP address information of different terminals, and then further according to the IP address information of terminal, obtain geographical location information corresponding with the IP address information of terminal, make it possible to send geographical location information corresponding with the IP address information of terminal to terminal, since locating platform uses the identification information of Wi-Fi access point and the IP address information of terminal to combine and for terminal provide positioning service, it can be avoided in the prior art due to locating platform caused by the mobility of Wi-Fi access point Still the problem of providing the terminal with the geographical location information before moving, to improve the reliability of positioning.

Description

Localization method and equipment
[technical field]
The present invention relates to the communication technology more particularly to a kind of localization method and equipment.
[background technique]
In mobile communications network such as wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) in network, locating platform can pass through obtain Wireless Fidelity (Wireless Fidelity, referred to as Wi-Fi) the geographical location information of access point (Access Point, AP), provides the terminal with positioning service.
For example, locating platform can acquire at least one geographical location information of Wi-Fi access point, i.e. collection point information, The collection point information includes at the position that collection point geographical location information and the collection point geographical location information are identified The Wi-Fi access point identification information;Then, the locating platform can then be believed according at least one described collection point Breath obtains the geographical location information of Wi-Fi access point and the identification information of the Wi-Fi access point.
However, due to the mobility of Wi-Fi access point, in some cases, for example, Wi-Fi access point just moves To after new position, locating platform has enough time acquiring enough collection point information not yet, etc. locating platform may be still The geographical location information before movement is provided the terminal with, so so as to cause the reduction of the reliability of positioning.
[summary of the invention]
Many aspects of the invention provide a kind of localization method and equipment, to improve the reliability of positioning.
An aspect of of the present present invention provides a kind of localization method, comprising:
The locating request message that terminal is sent is received, includes the IP address information of the terminal in the locating request message With the identification information of Wi-Fi access point;
According to the corresponding relationship of the identification information of pre-set Wi-Fi access point and geographical location information, acquisition and institute Corresponding at least two geographical location information of identification information of Wi-Fi access point is stated, each geographical location information is corresponding not The IP address information of same terminal;
According to the IP address information of the terminal, geographical location letter corresponding with the IP address information of the terminal is obtained Breath;
Geographical location information corresponding with the IP address information of the terminal is sent to the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is each describedly Place indicated by reason location information is distributed in different administrative regions.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the reception is eventually Hold the locating request message sent, comprising:
The locating request message that the terminal is sent by HTTP is received, in the message header of the locating request message IP address information comprising the terminal includes the mark of the Wi-Fi access point in the message body of the locating request message Information.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the basis are pre- The identification information for the Wi-Fi access point being first arranged and the corresponding relationship of geographical location information obtain and the Wi-Fi access point Before corresponding at least two geographical location information of identification information, further includes:
Obtain the Wi-Fi access point at the position that the geographical location information and the geographical location information are identified Identification information and terminal IP address information;
The identification information of the Wi-Fi access point and the corresponding relationship of the geographical location information are established, and described in association The IP address information of geographical location information and the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the acquisition institute State identification information and the end of the Wi-Fi access point at the position that geographical location information and the geographical location information are identified The IP address information at end, comprising:
Acquire at least one collection point information, the collection point information includes collection point geographical location information and described The identification information of the Wi-Fi access point at the position that collection point geographical location information is identified and the IP address of the terminal Information, and according at least one described collection point information, obtain the geographical location information and the Wi-Fi access point Identification information and the terminal IP address information;Or
At least one end message of other terminals transmission is received, the end message includes terminal geographic location information, And identification information and the terminal of the Wi-Fi access point at the position that is identified of the terminal geographic location information IP address information, and according at least one described end message, obtain the geographical location information and the Wi-Fi connects The IP address information of the identification information of access point and the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the Wi-Fi connect The identification information of access point includes the MAC Address of Wi-Fi access point.
Another aspect of the present invention provides a kind of positioning device, comprising:
Receiving unit includes the end in the locating request message for receiving the locating request message of terminal transmission The IP address information at end and the identification information of Wi-Fi access point;
Obtaining unit, it is corresponding with geographical location information for the identification information according to pre-set Wi-Fi access point Relationship obtains at least two geographical location information corresponding with the identification information of the Wi-Fi access point, each geographical position The IP address information of the corresponding different terminal of confidence breath;
The obtaining unit is also used to the IP address information according to the terminal, obtains and believes with the IP address of the terminal Cease corresponding geographical location information;
Transmission unit, for sending geographical location information corresponding with the IP address information of the terminal to the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is each describedly Place indicated by reason location information is distributed in different administrative regions.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the reception are single Member is specifically used for
The locating request message that the terminal is sent by HTTP is received, in the message header of the locating request message IP address information comprising the terminal includes the mark of the Wi-Fi access point in the message body of the locating request message Information.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the equipment is also Including establishing unit, it is used for
Obtain the Wi-Fi access point at the position that the geographical location information and the geographical location information are identified Identification information and terminal IP address information;And establish the Wi-Fi access point identification information and the geographical location The corresponding relationship of information, and it is associated with the IP address information of the geographical location information Yu the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the foundation are single Member is specifically used for
Acquire at least one collection point information, the collection point information includes collection point geographical location information and described The identification information of the Wi-Fi access point at the position that collection point geographical location information is identified and the IP address of the terminal Information, and according at least one described collection point information, obtain the geographical location information and the Wi-Fi access point Identification information and the terminal IP address information;Or
At least one end message of other terminals transmission is received, the end message includes terminal geographic location information, And identification information and the terminal of the Wi-Fi access point at the position that is identified of the terminal geographic location information IP address information, and according at least one described end message, obtain the geographical location information and the Wi-Fi connects The IP address information of the identification information of access point and the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the Wi-Fi connect The identification information of access point includes the MAC Address of Wi-Fi access point.
As shown from the above technical solution, the embodiment of the present invention according to the mark of pre-set Wi-Fi access point by believing The corresponding relationship of breath and geographical location information obtains the identification information with Wi-Fi access point included in locating request message Corresponding at least two geographical location information, since each geographical location information corresponds to the IP address letter of different terminals Breath, and then further according to the IP address information of the terminal, obtain geographical location letter corresponding with the IP address information of the terminal Breath makes it possible to send geographical location information corresponding with the IP address information of the terminal to terminal, since locating platform is adopted Combined with the IP address information of the identification information of Wi-Fi access point and terminal and provide positioning service for terminal, can be avoided existing Have in technology due to caused by the mobility of Wi-Fi access point locating platform still provide the terminal with it is mobile before geography The problem of location information, to improve the reliability of positioning.
[Detailed description of the invention]
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is some realities of the invention Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the flow diagram for the localization method that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides positioning device structural schematic diagram;
Fig. 3 be another embodiment of the present invention provides positioning device structural schematic diagram.
[specific embodiment]
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Technical solution of the present invention can be applied to various mobile communications networks, for example, global system for mobile communications (Global System for Mobile Communications, GSM) network, General Packet Radio Service (General Packet Radio Service, GPRS) network, CDMA (Code Division Multiple Access, CDMA) net Network, CDMA2000 network, wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) net Network, long term evolution (Long Term Evolution, LTE) network or World Interoperability for Microwave Access, WiMax (World Interoperability for Microwave Access, WiMAX) network etc..
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Fig. 1 is the flow diagram for the localization method that one embodiment of the invention provides, as shown in Figure 1.
101, the locating request message that terminal is sent is received, includes the IP address of the terminal in the locating request message The identification information of information and Wi-Fi access point.
102, it according to the corresponding relationship of the identification information of pre-set Wi-Fi access point and geographical location information, obtains At least two geographical location information corresponding with the identification information of the Wi-Fi access point, each geographical location information pair Answer the IP address information of different terminals.
103, according to the IP address information of the terminal, geographical location corresponding with the IP address information of the terminal is obtained Information.
104, Xiang Suoshu terminal sends geographical location information corresponding with the IP address information of the terminal.
It should be noted that 101~104 executing subject can be locating platform, for providing the terminal with positioning service.
In this way, by locating platform according to the identification information of pre-set Wi-Fi access point and geographical location information It is geographical to obtain corresponding with the identification information of Wi-Fi access point included in locating request message at least two for corresponding relationship Location information, since each geographical location information corresponds to the IP address information of different terminals, and then further according to the end The IP address information at end obtains geographical location information corresponding with the IP address information of the terminal, makes it possible to send out to terminal Geographical location information corresponding with the IP address information of the terminal is sent, since locating platform uses the mark of Wi-Fi access point The IP address information of information and terminal joint provides positioning service for terminal, can be avoided in the prior art since Wi-Fi connects Locating platform still provides the terminal with the problem of geographical location information before movement caused by the mobility of access point, thus Improve the reliability of positioning.
Optionally, in a possible implementation of the present embodiment, in 101, locating platform is received described fixed The identification information of the Wi-Fi access point included in the request message of position can include but is not limited to what the terminal was accessed Address media access control (Media Access Control, MAC) of Wi-Fi access point.
It is understood that in 101, locating platform is received in a possible implementation of the present embodiment The IP address information of the terminal included in the locating request message can be understood as the Wi-Fi that the terminal is accessed The IP address of access point.
Optionally, the IP address of Wi-Fi access point can be static allocation, i.e. static ip address, the static ip address It can uniquely configure always, for example, the IP address in the place such as school, government department, large enterprise.
Optionally, the IP address of Wi-Fi access point can also be dynamic allocation, i.e. dynamic IP addressing, the dynamic IP Location can constantly change, for example, the IP address in the place such as house address, office building.Although these dynamic IP addressings are dynamics Distribution, still, these IP address can correspond to some geographical locations in the same administrative region always.
It should be noted that in 102, place indicated by locating platform each geographical location information obtained Different administrative regions, district etc. can be distributed in.Wherein, locating platform each geographical location information obtained is signified The place shown is distributed in different administrative regions, best using the method effect of the present embodiment.
Optionally, in a possible implementation of the present embodiment, in 101, locating platform specifically be can receive The terminal is asked by the positioning that hypertext transfer protocol (Hypertext transfer protocol, HTTP) is sent Message is sought, includes the IP address information of the terminal in the message header (header) of the locating request message, the positioning is asked Seek the identification information in the message body (body) of message comprising the Wi-Fi access point.
Optionally, in a possible implementation of the present embodiment, before 102, locating platform can also be into one Step obtains the mark of the Wi-Fi access point at the position that the geographical location information and the geographical location information are identified The IP address information of information and terminal;Then, the locating platform then can establish the identification information of the Wi-Fi access point with The corresponding relationship of the geographical location information, and it is associated with the IP address information of the geographical location information Yu the terminal.
For example, the locating platform can specifically acquire at least one collection point information, the collection point information includes adopting The Wi-Fi access point at position that collection point geographical location information and the collection point geographical location information are identified The IP address information of identification information and the terminal, for example, the collection point information can be to be expressed as < < Wi-Fi AP MAC, Wi-Fi AP IP >, xy >, wherein Wi-Fi AP MAC is used to indicate that the MAC Address of Wi-Fi access point, Wi-Fi AP IP to be used In indicating the cell ID under radio reception device, xy indicates collection point geographical location information;Then, the locating platform then root According at least one described collection point information, obtain the geographical location information and the Wi-Fi access point identification information and The IP address information of the terminal.
Alternatively, for another example the locating platform can also specifically receive other terminals transmission at least one end message, The end message includes described at the position that terminal geographic location information and the terminal geographic location information are identified The IP address information of the identification information of Wi-Fi access point and the terminal, for example, the end message can be expressed as < < Wi- Fi AP MAC, Wi-Fi AP IP >, xy >, wherein Wi-Fi AP MAC is used to indicate the MAC Address of Wi-Fi access point, Wi- Fi AP IP is used to indicate that the cell ID under radio reception device, xy to indicate terminal geographic location information;Then, the positioning Platform then according at least one described end message, obtains the mark of the geographical location information and the Wi-Fi access point The IP address information of information and the terminal.
Specifically, at least two geographical location information corresponding with the identification information of the Wi-Fi access point, that is, It says, the geographical location information is then the geographical location information of Wi-Fi access point, that is, geographical location information or shifting before moving Geographical location information after dynamic, can include but is not limited to longitude, dimension and the height above sea level of Wi-Fi access point, the present embodiment pair This is without limiting.Detailed description may refer to related content in the prior art, and details are not described herein again.
It is understood that locating platform, which passes through, executes 102, according to the identification information of pre-set Wi-Fi access point With the corresponding relationship of geographical location information, corresponding with the identification information of the Wi-Fi access point at least two geographical positions are obtained Confidence breath, to carry out Wi-Fi positioning.Wherein, the detailed description of Wi-Fi positioning may refer to related content in the prior art, Details are not described herein again.
Since Wi-Fi positioning is as a result, a position can not be uniquely determined, locating platform also needs further In conjunction with the IP address information of terminal, further determine which geographical location information is the actual location of Wi-Fi access point at this time. That is, locating platform further can also be tied further on the basis for carrying out Wi-Fi positioning in the present embodiment The IP address information for closing terminal, determines the geographical location information of the Wi-Fi access point.
In the present embodiment, by according to the identification information of pre-set Wi-Fi access point and pair of geographical location information It should be related to, obtain corresponding with the identification information of Wi-Fi access point included in locating request message at least two geographical positions Confidence breath, since each geographical location information corresponds to the IP address information of different terminals, and then further according to the terminal IP address information, obtain corresponding with the IP address information of terminal geographical location information, make it possible to terminal transmission Geographical location information corresponding with the IP address information of the terminal, since locating platform is believed using the mark of Wi-Fi access point The IP address information of breath and terminal, which is combined, provides positioning service for terminal, can be avoided in the prior art since Wi-Fi is accessed Locating platform still provides the terminal with the problem of geographical location information before movement caused by the mobility of point, to mention The high reliability of positioning.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
Fig. 2 be another embodiment of the present invention provides positioning device structural schematic diagram, as shown in Figure 2.The present embodiment Positioning device may include receiving unit 21, obtaining unit 22 and transmission unit 23.Wherein, receiving unit 21, for receiving end The locating request message sent is held, includes the IP address information and Wi-Fi access point of the terminal in the locating request message Identification information;Obtaining unit 22, for according to the identification information of pre-set Wi-Fi access point and geographical location information Corresponding relationship, obtains corresponding with the identification information of the Wi-Fi access point at least two geographical location information, it is each describedly Reason location information corresponds to the IP address information of different terminals;The obtaining unit 22, with being also used to the IP according to the terminal Location information obtains geographical location information corresponding with the IP address information of the terminal;Transmission unit 23 is used for the terminal Send geographical location information corresponding with the IP address information of the terminal.
It should be noted that positioning device provided in this embodiment can be locating platform, for providing the terminal with positioning Service.
In this way, locating platform is by obtaining unit according to the identification information of pre-set Wi-Fi access point and geographical position The corresponding relationship of confidence breath, acquisition are corresponding with the identification information of Wi-Fi access point included in locating request message at least Two geographical location information, since each geographical location information corresponds to the IP address information of different terminals, and then root again According to the IP address information of the terminal, geographical location information corresponding with the IP address information of the terminal is obtained, so that sending Unit can send geographical location information corresponding with the IP address information of the terminal to terminal, since locating platform uses The identification information of Wi-Fi access point and the IP address information of terminal, which are combined, provides positioning service for terminal, can be avoided existing In technology due to caused by the mobility of Wi-Fi access point locating platform still provide the terminal with it is mobile before geographical position The problem of confidence ceases, to improve the reliability of positioning.
Optionally, in a possible implementation of the present embodiment, the received positioning of receiving unit 21 The identification information of the Wi-Fi access point included in request message can include but is not limited to what the terminal was accessed Address media access control (Media Access Control, MAC) of Wi-Fi access point.
It is understood that optionally, in a possible implementation of the present embodiment, the receiving unit 21 is connect The IP address information of the terminal included in the locating request message received can be understood as what the terminal was accessed The IP address of Wi-Fi access point.
Optionally, the IP address of Wi-Fi access point can be static allocation, i.e. static ip address, the static ip address It can uniquely configure always, for example, the IP address in the place such as school, government department, large enterprise.
Optionally, the IP address of Wi-Fi access point can also be dynamic allocation, i.e. dynamic IP addressing, the dynamic IP Location can constantly change, for example, the IP address in the place such as house address, office building.Although these dynamic IP addressings are dynamics Distribution, still, these IP address can correspond to some geographical locations in the same administrative region always.
It should be noted that place indicated by each geographical location information obtained of obtaining unit 22 can To be distributed in different administrative regions, district etc..Wherein, the obtaining unit 22 each geographical location information obtained Indicated place is distributed in different administrative regions, best using the method effect of the present embodiment.
Optionally, in a possible implementation of the present embodiment, the receiving unit 21 specifically can receive institute It states terminal and passes through the Location Request that hypertext transfer protocol (Hypertext transfer protocol, HTTP) is sent Message includes the IP address information of the terminal, the Location Request in the message header (header) of the locating request message It include the identification information of the Wi-Fi access point in the message body (body) of message.
Optionally, in a possible implementation of the present embodiment, as shown in figure 3, positioning provided in this embodiment Equipment, which can further include, establishes unit 31, for obtaining the geographical location information and the geographical location information The identification information of Wi-Fi access point at the position identified and the IP address information of terminal;And establish the Wi-Fi access The identification information of point and the corresponding relationship of the geographical location information, and it is associated with the IP of the geographical location information Yu the terminal Address information.
It establishes unit 31 for example, described specifically and can acquire at least one collection point information, the collection point information includes The Wi-Fi access point at position that collection point geographical location information and the collection point geographical location information are identified Identification information and the terminal IP address information, for example, the collection point information can be to be expressed as < < Wi-Fi AP MAC, Wi-Fi AP IP >, xy >, wherein Wi-Fi AP MAC is used to indicate the MAC Address of Wi-Fi access point, Wi-Fi AP IP is used to indicate that the cell ID under radio reception device, xy to indicate collection point geographical location information;Then, described to establish unit 31, according at least one described collection point information, obtain the mark of the geographical location information and the Wi-Fi access point The IP address information of information and the terminal.
Alternatively, for another example at least one terminal letter that establishes unit 31 specifically and can also receive the transmission of other terminals Breath, the end message includes at the position that terminal geographic location information and the terminal geographic location information are identified The identification information of the Wi-Fi access point and the IP address information of the terminal, for example, the end message can be expressed as < < Wi-Fi AP MAC, Wi-Fi AP IP >, xy >, wherein Wi-Fi AP MAC is used to indicate the MAC Address of Wi-Fi access point, Wi-Fi AP IP is used to indicate that the cell ID under radio reception device, xy to indicate terminal geographic location information;Then, described Unit 31 is established then according at least one described end message, obtains the geographical location information and the Wi-Fi access point Identification information and the terminal IP address information.
Specifically, at least two geographical location information corresponding with the identification information of the Wi-Fi access point, that is, It says, the geographical location information is then the geographical location information of Wi-Fi access point, that is, geographical location information or shifting before moving Geographical location information after dynamic, can include but is not limited to longitude, dimension and the height above sea level of Wi-Fi access point, the present embodiment pair This is without limiting.Detailed description may refer to related content in the prior art, and details are not described herein again.
It is understood that the obtaining unit 22 is correspondingly operated by executing, accessed according to pre-set Wi-Fi The identification information of point and the corresponding relationship of geographical location information, obtain corresponding extremely with the identification information of the Wi-Fi access point Few two geographical location information, to carry out Wi-Fi positioning.Wherein, the detailed description of Wi-Fi positioning may refer in the prior art Related content, details are not described herein again.
Since Wi-Fi positioning is as a result, a position can not be uniquely determined, the obtaining unit 22 also needs Further combined with the IP address information of terminal, further determine which geographical location information is the true of Wi-Fi access point at this time Positive position.That is, the obtaining unit 22, can also be into one on the basis for carrying out Wi-Fi positioning in the present embodiment Step further combines the IP address information of terminal, determines the geographical location information of the Wi-Fi access point.
Identification information and geographical location in the present embodiment, by obtaining unit according to pre-set Wi-Fi access point The corresponding relationship of information obtains corresponding with the identification information of Wi-Fi access point included in locating request message at least two A geographical location information, since each geographical location information corresponds to the IP address information of different terminals, and then further according to The IP address information of the terminal obtains geographical location information corresponding with the IP address information of the terminal, so that sending single Member can send geographical location information corresponding with the IP address information of the terminal to terminal, since locating platform uses Wi- The identification information of Fi access point and the IP address information of terminal, which are combined, provides positioning service for terminal, can be avoided the prior art In due to Wi-Fi access point mobility caused by locating platform still provide the terminal with it is mobile before geographical location letter The problem of breath, to improve the reliability of positioning.
It should be noted that IP address involved in the present invention can be complete IP address, for example, 12 IPV4 Location, or for another example 32 addresses IPV6;Or can also be the IP address of part, for example, table in 12 addresses IPV4 Show the information of network segment, or for another example indicates the information of network segment in 32 addresses IPV6.
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.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of localization method characterized by comprising
Receive the locating request message that terminal is sent, IP address information in the locating request message comprising the terminal and The identification information of Wi-Fi access point;
According to the corresponding relationship of the identification information of pre-set Wi-Fi access point and geographical location information, obtain and the Wi- Corresponding at least two geographical location information of the identification information of Fi access point, each geographical location information correspond to different ends The IP address information at end;
According to the IP address information of the terminal, geographical location information corresponding with the IP address information of the terminal is obtained;
Geographical location information corresponding with the IP address information of the terminal is sent to the terminal;
Wherein, place indicated by each geographical location information is distributed in different administrative regions.
2. the method according to claim 1, wherein the locating request message for receiving terminal and sending, comprising:
The locating request message that the terminal is sent by HTTP is received, includes in the message header of the locating request message The IP address information of the terminal includes the identification information of the Wi-Fi access point in the message body of the locating request message.
3. the method according to claim 1, wherein the mark according to pre-set Wi-Fi access point The corresponding relationship of information and geographical location information obtains at least two ground corresponding with the identification information of the Wi-Fi access point Before reason location information, further includes:
Obtain the mark of the Wi-Fi access point at the position that the geographical location information and the geographical location information are identified Know the IP address information of information and terminal;
The identification information of the Wi-Fi access point and the corresponding relationship of the geographical location information are established, and is associated with the geography The IP address information of location information and the terminal.
4. according to the method described in claim 3, it is characterized in that, the geographical location information and described of obtaining The identification information for the Wi-Fi access point at position that reason location information is identified and the IP address information of terminal, comprising:
At least one collection point information is acquired, the collection point information includes collection point geographical location information and the acquisition The identification information for the Wi-Fi access point at position that point geographical location information is identified and the IP address letter of the terminal Breath, and according at least one described collection point information obtains the geographical location information and the Wi-Fi access point The IP address information of identification information and the terminal;Or
At least one end message of other terminals transmission is received, the end message includes terminal geographic location information, and The identification information of the Wi-Fi access point at the position that the terminal geographic location information is identified and the IP of the terminal Location information, and according at least one described end message, obtain the geographical location information and the Wi-Fi access point Identification information and the terminal IP address information.
5. the method according to claim 1, wherein the identification information of the Wi-Fi access point includes that Wi-Fi connects The MAC Address of access point.
6. a kind of positioning device characterized by comprising
Receiving unit includes the terminal in the locating request message for receiving the locating request message of terminal transmission The identification information of IP address information and Wi-Fi access point;
Obtaining unit, for according to the identification information of pre-set Wi-Fi access point and the corresponding relationship of geographical location information, Obtain at least two geographical location information corresponding with the identification information of the Wi-Fi access point, each geographical location letter The IP address information of the corresponding different terminal of breath;
The obtaining unit is also used to the IP address information according to the terminal, obtains the IP address information pair with the terminal The geographical location information answered;
Transmission unit, for sending geographical location information corresponding with the IP address information of the terminal to the terminal;
Wherein, place indicated by each geographical location information is distributed in different administrative regions.
7. equipment according to claim 6, which is characterized in that the receiving unit is specifically used for
The locating request message that the terminal is sent by HTTP is received, includes in the message header of the locating request message The IP address information of the terminal includes the identification information of the Wi-Fi access point in the message body of the locating request message.
8. equipment according to claim 6, which is characterized in that the equipment further includes establishing unit, is used for
Obtain the mark of the Wi-Fi access point at the position that the geographical location information and the geographical location information are identified Know the IP address information of information and terminal;And establish the identification information and the geographical location information of the Wi-Fi access point Corresponding relationship, and be associated with the IP address information of the geographical location information Yu the terminal.
9. equipment according to claim 8, which is characterized in that the unit of establishing is specifically used for
At least one collection point information is acquired, the collection point information includes collection point geographical location information and the acquisition The identification information for the Wi-Fi access point at position that point geographical location information is identified and the IP address letter of the terminal Breath, and according at least one described collection point information obtains the geographical location information and the Wi-Fi access point The IP address information of identification information and the terminal;Or
At least one end message of other terminals transmission is received, the end message includes terminal geographic location information, and The identification information of the Wi-Fi access point at the position that the terminal geographic location information is identified and the IP of the terminal Location information, and according at least one described end message, obtain the geographical location information and the Wi-Fi access point Identification information and the terminal IP address information.
10. equipment according to claim 6, which is characterized in that the identification information of the Wi-Fi access point includes Wi-Fi The MAC Address of access point.
CN201310100317.8A 2013-03-26 2013-03-26 Localization method and equipment Active CN104080038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310100317.8A CN104080038B (en) 2013-03-26 2013-03-26 Localization method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310100317.8A CN104080038B (en) 2013-03-26 2013-03-26 Localization method and equipment

Publications (2)

Publication Number Publication Date
CN104080038A CN104080038A (en) 2014-10-01
CN104080038B true CN104080038B (en) 2019-07-23

Family

ID=51601042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310100317.8A Active CN104080038B (en) 2013-03-26 2013-03-26 Localization method and equipment

Country Status (1)

Country Link
CN (1) CN104080038B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763646B (en) * 2016-04-23 2019-05-28 珠海豹趣科技有限公司 A kind of method of locating terminal and device, server
CN107181831B (en) * 2017-05-10 2020-07-14 郑州埃文计算机科技有限公司 Reverse IP positioning method
CN109450966B (en) * 2018-09-17 2021-08-17 广州晟能电子科技有限公司 Equipment positioning method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557414A (en) * 2008-04-10 2009-10-14 ***通信集团公司 Positioning method, equipment and system based on WLAN
WO2012001366A2 (en) * 2010-06-30 2012-01-05 British Telecommunications Public Limited Company Wlan location services

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2332397B1 (en) * 2008-08-01 2011-02-09 Telefonica, S.A. ACCESS POINT THAT SENDS GEOGRAPHICAL POSITIONING INFORMATION OF THE ACCESS POINT TO MOBILE TERMINALS AND MOBILE TERMINAL THAT RECEIVES SUCH INFORMATION AND ESTIMATES ITS POSITION BASED ON IT.
CN102958152B (en) * 2011-08-24 2016-03-09 中国电信股份有限公司 Realize WLAN localization method and the location-server of third party location
CN102892074A (en) * 2012-09-26 2013-01-23 上海顶竹通讯技术有限公司 System and method for obtaining position information of terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557414A (en) * 2008-04-10 2009-10-14 ***通信集团公司 Positioning method, equipment and system based on WLAN
WO2012001366A2 (en) * 2010-06-30 2012-01-05 British Telecommunications Public Limited Company Wlan location services

Also Published As

Publication number Publication date
CN104080038A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN103068042B (en) Localization method and equipment
CN105850218B (en) A kind of the discovery method, apparatus and system of D2D communication
CN110661753B (en) Network registration method, device and system
CN105794258B (en) Congestion notification method, relevant device and system
CN104796849A (en) Method and equipment for processing data packets
US10567338B2 (en) Method and apparatus for setting up relay link in wireless communication system
CN104683124B (en) Terminal type recognition methods and device
CN103533531B (en) For collocation method, network and terminal unit and system close to perceptive function
CN109314857A (en) The method, apparatus and system of the IMSI state of management terminal device
CN109479052A (en) The machine type communication of the mobile short message service initiated is used in the case where no movement station International Subscriber Directory Number
CN106535083B (en) It is a kind of for providing the method and apparatus of service for long-range UE
CN103686698A (en) Location information processing method and device
CN104080038B (en) Localization method and equipment
CN104104712A (en) System and terminal for p2p connection in mobile environment and method for p2p connection using the same
CN108289281A (en) Method, apparatus, electronic equipment and the storage medium that location information is shared
CN106304036B (en) It is a kind of that the method and apparatus of junction traffic are provided
CN103067861B (en) The geographical position information acquisition method and equipment of radio reception device
CN104581685A (en) Method and device for sending and receiving discovery signal
CN106027354B (en) The reflow method and device of VPN client
CN110234115A (en) More facility communication systems and data communications method
CN104080078B (en) Base station positioning method and equipment
CN104506405B (en) The method and device of cross-domain access
CN107770847B (en) Network access method, access equipment and terminal equipment
US11115863B2 (en) Connection establishement in a cellular network
CN104144403B (en) A kind of communication means and equipment, system

Legal Events

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