Invention content
Technical problem to be solved of the embodiment of the present invention is, provide a kind of based on WLAN localization method,
Relevant device and system, it is proposed that a set of flow and method positioned based on WLAN is more accurately and effectively carried out
Indoor positioning.
In a first aspect, an embodiment of the present invention provides a kind of based on WLAN localization method, including:
First access point receives the first position claim frame that the first website is sent, and the first position claim frame is used to ask
Second website relative to first website relative position information;
First access point is generated according to the first position claim frame carries out ranging for negotiating website with access point
The communication information, the communication information is sent to multiple second access points, first website and second website;It is described
First website and second website are in the coverage area of second access point;By the multiple second access point according to institute
It states the communication information and ranging is carried out to first website and second station point respectively, obtain first website to the multiple
The range information of second access point and second website are to the range information of the multiple second access point;Described first
Access point carries out ranging according to the communication information to the first stop point, obtains first website to first access point
Range information;
For according to the range information, relative position of second website relative to first website is calculated
Information;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate the multiple second access dot address that website sends ranging frame to access point.
Second aspect, an embodiment of the present invention provides a kind of based on WLAN localization method, including:
Second access point receives the communication information of the first access point transmission;The communication information is first access point
The communication information that ranging is carried out for negotiating website with access point generated according to the first position claim frame of reception;
Second access point respectively surveys first website and second station point according to the communication information
Away from obtaining first website to the range information of the multiple second access point and second website to the multiple
The range information of second access point, for calculating relative position information of second website relative to first website;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate multiple second access dot addresses that website sends ranging frame to access point.
The third aspect, an embodiment of the present invention provides a kind of based on WLAN localization method, including:
First website sends first position claim frame to the first access point, and the first position claim frame is for request second
Website relative to first website relative position information;
First website receives the communication information that first access point is sent, and the communication information connects for described first
Access point generates the communication information that ranging is carried out for negotiating website with access point according to the first position claim frame;
First website carries out ranging according to the communication information and access point cooperation, so that access point obtains distance letter
Breath;
First website is got according to second website that the range information is calculated relative to described
The relative position information of one website;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate multiple second access dot addresses that website sends ranging frame to access point.
Fourth aspect, an embodiment of the present invention provides a kind of access point, described access point is the first access point, described first
Access point includes:
Position requests receiving module, for receiving the first position claim frame that the first website is sent, the first position please
Ask frame for ask the second website relative to first website relative position information;
The communication information generates sending module, for being generated to negotiate website and access according to the first position claim frame
Point carries out the communication information of ranging;And the communication information is sent to multiple second access points, first website and described
Second website;First website and second website are in the coverage area of second access point;By the multiple
Two access points carry out ranging to first website and second station point respectively according to the communication information, obtain described first
Website to the multiple second access point range information and second website to the multiple second access point distance
Information;
First range information computing module for carrying out ranging to the first stop point according to the communication information, obtains
First website is to the range information of first access point;For according to the range information, being calculated described second
Website relative to first website relative position information;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate the multiple second access dot address that website sends ranging frame to access point.
5th aspect, an embodiment of the present invention provides a kind of access point, described access point is the second access point, described second
Access point includes:
First communication information receiving module, for receiving the communication information of the first access point transmission;The communication information
For first access point ranging is carried out with access point according to what the first position claim frame of reception generated for negotiating website
The communication information;
Third range information computing module, for according to the communication information respectively to first website and described second
Website carries out ranging, obtains range information and second website of first website to the multiple second access point
To the range information of the multiple second access point, for calculating second website relative to the opposite of first website
Location information;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate multiple second access dot addresses that website sends ranging frame to access point.
6th aspect, an embodiment of the present invention provides a kind of website, the website be the first website, the first website packet
It includes:
Position requests frame sending module, for sending first position claim frame to the first access point, the first position please
Ask frame for ask the second website relative to first website relative position information;
Second communication information receiving module, for receiving the communication information that first access point is sent, the communication letter
It ceases to be generated according to the first position claim frame for first access point and carries out the logical of ranging for negotiating website and access point
Letter information;
Coordinate range finder module, for carrying out ranging according to the communication information and access point cooperation, so that access point obtains
Range information;
Relative position information acquisition module, for getting second website being calculated according to the range information
Relative to the relative position information of first website;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate multiple second access dot addresses that website sends ranging frame to access point.
7th aspect, an embodiment of the present invention provides a kind of based on WLAN alignment system, including the first access
Point, multiple second access points, the first website and the second website, wherein
First access point is the access point described in above-mentioned fourth aspect;
Second access point is the access point described in the above-mentioned 5th aspect;
First website is the website described in the above-mentioned 6th aspect.
By implementing the embodiment of the present invention, the first access point receives the first position claim frame that the first website is sent, according to
The first position claim frame generation carries out the communication information of ranging for negotiating website with access point, which includes positioning
Number, ranging localization temporal information and multicast address information, multiple second access points, the first stop are sent to by the communication information
Point and second website, obtain website to the range information of access point, and second website is calculated according to the range information
Relative to the relative position information of first website, it is proposed that a set of flow and method positioned based on WLAN, solution
It has determined in the prior art since the indoor positioning flow being not specified by for WLAN leads to wireless local area network technology in room
It is interior to position the problem of no expanded, it realizes and more accurately and effectively carries out indoor positioning.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment
, it is not intended to limit the invention." the one of the embodiment of the present invention and singulative used in the attached claims
Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other meanings.It is also understood that this
Term "and/or" used herein refers to and comprising one or more associated any or all possible group of list items purpose
It closes.
It is the flow diagram of based on WLAN localization method provided by the invention referring to Fig. 1, from the first access
Side is put to describe technical solution of the present invention, this method includes:
Step S100:First access point receives the first position claim frame that the first website is sent, the first position request
Frame is for the second website of request relative to the relative position information of first website;
Specifically, the first website wonders relative position of second website with respect to itself, then first website is to first
Access point sends first position claim frame;It will be appreciated that first website is in the coverage area of first access point;This hair
The first access point, the second access point, the first website and the second website in bright each embodiment can be made up of Wi-Fi technology
WLAN, the WLANs such as P2P that can also be made up of other technologies are not construed as limiting here.
Step S102:First access point generates to negotiate website and access point according to the first position claim frame
The communication information of ranging is carried out, the communication information is sent to multiple second access points, first website and described second
Website;First website and second website are in the coverage area of second access point;It is connect by the multiple second
Access point carries out ranging to first website and second station point respectively according to the communication information, obtains first website
The distance of range information and second website to the multiple second access point to the multiple second access point is believed
Breath;First access point carries out ranging according to the communication information to the first stop point, obtains first website to institute
State the range information of the first access point;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;The ranging is determined
Position temporal information is used to indicate the time that website carries out ranging with access point;Multicast address information is used to indicate website to access point
Send the multiple second access dot address of ranging frame.
Specifically, which can carry the ranging of the communication information according to the first position claim frame generation
Prepare frame, prepare frame by sending the ranging to multiple second access point, which is sent to multiple second and is connect
Access point;First access point can also confirm according to the position requests that the first position claim frame generation carries the communication information
The communication information by sending the position requests acknowledgement frame to first website, is sent to first website by frame;
It should be noted that the first position claim frame, ranging in each embodiment of the present invention prepare frame or position requests
Acknowledgement frame is not limited to above name, as long as including above- mentioned information or with above-mentioned function, belongs to the scope of the present invention.
Step S104:For according to the range information, second website is calculated relative to first website
Relative position information.
Specifically, can relative position information be calculated by first access point, server or first website;Walk
Rapid S104 can include:
A, obtained range information is sent to first access point by multiple second access point, by the first access point root
Relative position information of second website relative to first website is calculated, and send out to first website according to the range information
Give the relative position information;Or
B, obtained range information is sent to server by first access point and multiple second access point respectively, by this
Relative position information of second website relative to first website is calculated according to the range information in server, and to this
One website sends the relative position information;Or
C, obtained range information is sent to first website by first access point and multiple second access point respectively,
Relative position information of second website relative to first website is calculated according to the range information by first website.
Further, the first access point can have first stop point progress ranging according to the communication information in step S102
Body includes:The time that first access point is indicated according to the ranging localization temporal information receives carrying for first website transmission
The ranging frame of pin numbers, after the pin numbers in the communication information are verified the pin numbers in the ranging frame,
First website is calculated to the range information of first access point according to the ranging frame of reception.Specifically, during the ranging localization
Between information can include ranging time started, ranging duration or ranging end time, the pin numbers can be this first access
The customized number of point, as long as communicating pair consults, for example is " 001 ", " 100 " etc.;First access point is according to survey
Receive the ranging frame that the first website sends away from the time started, verify the pin numbers of the ranging frame whether therewith previous existence into positioning
Number is consistent, if unanimously, being verified, carries out subsequent ranging;If do not include positioning in the inconsistent or ranging frame to compile
Number, then without subsequent ranging;When first access point carries out ranging, it can be sent out by calculating ranging frame from the first website
It comes and grows to measure first website to the distance of first access point or can lead to by the time that the first access point receives
It crosses and measures the signal strength information of the ranging frame to measure first website to the distance of first access point, etc., here not
It is construed as limiting.
Further, in step S102 multiple second access points according to the communication information respectively to the first website and second station
Point, which carries out ranging, to be specifically included:It the time that each second access point is indicated according to the ranging localization temporal information, connects respectively
The ranging frame for carrying pin numbers that first website and second website are sent is received, the positioning in the communication information is compiled
After number the pin numbers in the ranging frame being verified, respectively according to the ranging frame of reception calculate first website to this
The range information of two access points and second website are to the range information of second access point.Specifically, during the ranging localization
Between information can include ranging time started, ranging duration or ranging end time, the pin numbers can be this first access
The customized number of point, as long as communicating pair consults, for example is " 001 ", " 100 " etc.;Second access point is according to survey
Receive the ranging frame that the first website and the second website respectively send away from the time started, verify the ranging frame pin numbers whether with
The pin numbers generated before are consistent, if unanimously, being verified, carry out subsequent ranging;If inconsistent or ranging frame
In do not include pin numbers, then without subsequent ranging;It, can be by calculating ranging frame when second access point carries out ranging
Issued from the first website and the second website to time for being received by the second access point grow measure respectively first website and
Second website to second access point distance or can by measure the signal strength information of the ranging frame correspond to survey
First website and second website are measured to the distance of second access point, etc., is not construed as limiting here.
It should be noted that the multicast address information of the first website or the second website in the communication information received,
To send ranging frame to the first access point and multiple second access points.
Still further, in the embodiment of the present invention for second website in the coverage area of first access point, with
And second website, not in the coverage area of first access point, both of these case is illustrated:
When second website is in the coverage area of first access point, selected at least two second access points are needed,
Ranging is carried out by first access point and at least two second selected access points;First access point is by the communication information
Being sent to second website can specifically include:First access point generation carries the second position request of the communication information
Then frame sends the second position claim frame to second website, so that second website coordinates first according to the communication information
Access point and at least two second access points carry out ranging;
When second website is not in the coverage area of first access point, selected at least three second access is needed
Point carries out ranging by first access point and at least three second selected access points;First access point will communicate
Information is sent to second website and can specifically include:Indicate that at least one second access point sends third position to second website
Claim frame is put, the request that carries the communication information of the third place claim frame at least one second access point generation
Frame, so that second website carries out ranging according at least three second access points that the communication information coordinates this selected.
It should be noted that when second website is in the coverage area of first access point, the multicast address information
It further includes and is used to indicate the first access dot address that website sends ranging frame to access point;So the first access point can also be somebody's turn to do
The time of ranging localization temporal information instruction receives the ranging frame for carrying pin numbers of second website transmission, according to this
After pin numbers in the communication information are verified the pin numbers in the ranging frame, this is calculated according to the ranging frame of reception
Second website is to the range information of first access point;Then according to the distance of the first website to the first access point measured
Second website is calculated relative to first website to the range information of the first access point in information and second website
Relative position information;
Below correspondingly, with reference to Fig. 2 shows another embodiment provided by the invention based on WLAN positioning
The flow diagram of method describes technical scheme of the present invention from the second access point side, it will be understood that, the embodiment of the present invention
Including multiple second access points, the present embodiment describes technical scheme of the present invention, the party by one of them second access point
Method includes:
Step S200:Second access point receives the communication information of the first access point transmission;The communication information is described
First access point is believed according to the communication that ranging is carried out for negotiating website and access point that the first position claim frame of reception generates
Breath;
Wherein, which includes pin numbers, ranging localization temporal information and multicast address information;The ranging is determined
Position temporal information is used to indicate the time that website carries out ranging with access point;Multicast address information is used to indicate website to access point
Send multiple second access dot addresses of ranging frame.
Specifically, the ranging that the second access point can be sent by receiving first access point prepares frame and is connect to obtain first
The communication information that access point is sent, the ranging prepare frame and carry the communication information;
Step S202:Second access point is according to the communication information respectively to first website and the second station
Point carries out ranging, obtains first website and is arrived to the range information of the multiple second access point and second website
The range information of the multiple second access point, for calculating opposite position of second website relative to first website
Confidence ceases.
Specifically, the time which can indicate according to the ranging localization temporal information, receive respectively this
The ranging frame for carrying pin numbers that one website and second website are sent, the pin numbers in the communication information are to this
After pin numbers in ranging frame are verified, first website is calculated to second access according to the ranging frame of reception respectively
Point range information and second website to second access point range information.In detail, the ranging localization temporal information
It can include ranging time started, ranging duration or ranging end time, which can be that first access point is made by oneself
The number of justice, as long as communicating pair consults, for example is " 001 ", " 100 " etc.;Second access point starts according to ranging
Whether therewith time receives the ranging frame that the first website and the second website are respectively sent, verify the pin numbers of ranging frame previous existence
Into pin numbers it is consistent, if unanimously, being verified, carry out subsequent ranging;If it is not wrapped in the inconsistent or ranging frame
Containing pin numbers, then without subsequent ranging;It, can be by calculating ranging frame from first when second access point carries out ranging
Website and the second website issue grown by time that the second access point receives measure respectively first website and this second
Website to second access point distance or can by measure the signal strength information of the ranging frame correspond to measure this
One website and second website are not construed as limiting here to the distance of second access point, etc..
It should be noted that it can be believed by first access point, server or first website to calculate relative position
Breath;I.e. step S202 can include:
A, obtained range information is sent to first access point by second access point, for first access point according to
Relative position information of second website relative to first website is calculated in the range information;Or
B, obtained range information is sent to server by second access point, so that the server is according to the range information
Relative position information of second website relative to first website is calculated;Or
C, obtained range information is sent to first website by second access point, so that first website is according to should be away from
Relative position information of second website relative to first website is calculated from information.
Further, when the second website is not in the coverage area of first access point, the present embodiment step S202 it
Before can also include:Second access point receives the instruction information of first access point transmission, which is used to indicate this
Second access point sends position request information to second website;So second access point generates third according to the instruction information
Position requests frame, the third place claim frame carry the communication information;And send the third place request to second website
Frame, to indicate that the second website coordinates access point to carry out ranging according to the communication information.
Below correspondingly, the based on WLAN positioning of another embodiment provided by the invention with reference to shown in Fig. 3
The flow diagram of method describes technical scheme of the present invention from the first website side, and this method includes:
Step S300:First website sends first position claim frame to the first access point, and the first position claim frame is used
In the second website of request relative to the relative position information of first website;
Specifically, the first website wonders relative position of second website with respect to itself, then first website is to first
Access point sends first position claim frame, which can be the communication frame that communicating pair consults in advance, only
The first access point is wanted to receive the communication frame, that is, learns that the first site requests know the relative position with the second website.
Step S302:First website receives the communication information that first access point is sent, and the communication information is
First access point generates to negotiate the communication letter that website and access point carry out ranging according to the first position claim frame
Breath;
Wherein, which includes pin numbers, ranging localization temporal information and multicast address information;The ranging localization
Temporal information is used to indicate the time that website carries out ranging with access point;Multicast address information is used to indicate website and is sent out to access point
Send multiple second access dot addresses of ranging frame.
Specifically, the position requests acknowledgement frame that the first website can be sent by receiving first access point, to get
The communication information, the position requests acknowledgement frame carry the communication information.
Step S304:First website carries out ranging according to the communication information and access point cooperation, for access point
Obtain range information;
Specifically, the time and multicast address information that the first website can be indicated according to the ranging localization temporal information refer to
The multiple second access dot addresses shown, the pin numbers are carried to first access point and the transmission of multiple second access point
Ranging frame, so that first access point calculates first website to the range information of first access point and for multiple
Second access point calculates first website to the range information of multiple second access point.
Step S306:It is opposite that first website gets second website being calculated according to the range information
In the relative position information of first website.
Specifically, the embodiment of the present invention can be calculated opposite by first access point, server or first website
Location information;So step S306 can include:
A, first website receives the relative position information of first access point transmission, the relative position information for this
Relative position information of second website relative to first website is calculated according to range information in one access point;Or
B, first website receives the relative position information of server transmission, which is the server root
Relative position information of second website relative to first website is calculated according to range information;Or
C, first website, which receives, carries out the range information that the access point of ranging is sent, and is calculated according to the range information
Second website gone out relative to first website relative position information.
With reference to the stream of the based on WLAN localization method of another embodiment provided by the invention shown in Fig. 4
Journey schematic diagram describes the technical side of the present invention from more sides such as the first access point, the second access point, the first website and the second websites
Case, the present embodiment is illustrated so that the second website is in the coverage area of the first access point as an example, and one is only depicted in figure
Second access point, second access point represent multiple second access points, and this method includes:
Step S400:First website sends first position claim frame to the first access point;
Step S402:First access point receives the position requests acknowledgement frame that the first website is sent;
Specifically, the communication information is carried in the position requests acknowledgement frame, believed including pin numbers, ranging localization time
Breath and multicast address information;
Step S404:First access point generates and sends ranging to multiple second access points and prepares frame;
Specifically, the ranging prepare frame in carry the communication information, including pin numbers, ranging localization temporal information and
Multicast address information;
Step S406:First access point sends second position claim frame to the second website;
Specifically, the communication information is carried in the second position claim frame, including pin numbers, ranging localization temporal information
With multicast address information;Step S404 may be performed simultaneously with step S406;
Step S408:First website and the second website are sent out according to the communication information to the first access point and multiple second access points
Send ranging frame;
Step S410:First access point and multiple second access points carry out ranging;
Step S412:Multiple second access points send position report frame to the first access point;
Specifically, report frame in the position includes first website that the second access point obtains to multiple second access point
Range information and second website to multiple second access point range information;
Step S414:Relative position information of second website relative to first website is calculated in first access point;
Step S416:First access point sends the relative position information to the first website.
Specifically, the second website phase can also be calculated by server or the first website in step S414 and S416
For the relative position information of first website.
With reference to the stream of the based on WLAN localization method of another embodiment provided by the invention shown in Fig. 5
Journey schematic diagram describes the technical side of the present invention from more sides such as the first access point, the second access point, the first website and the second websites
Case, the present embodiment are illustrated so that the second website is not in the coverage area of the first access point as an example, and this method includes:
Step S500:First website sends first position claim frame to the first access point;
Step S502:First access point receives the position requests acknowledgement frame that the first website is sent;
Specifically, the communication information is carried in the position requests acknowledgement frame, believed including pin numbers, ranging localization time
Breath and multicast address information;
Step S504:First access point generates and sends ranging to multiple second access points and prepares frame;
Specifically, the ranging prepare frame in carry the communication information, including pin numbers, ranging localization temporal information and
Multicast address information;
Step S506:First access point indicates that at least one second access point sends the third place request to second website
Frame sends the third place claim frame by least one second access point to second website;
Specifically, the communication information is carried in the third place claim frame, including pin numbers, ranging localization temporal information
With multicast address information;
Step S508:First website sends ranging frame according to the communication information to the first access point and multiple second access points;
Step S510:Second website sends ranging frame according to the communication information to multiple second access points;
Specifically, step S508 and step S510 may be performed simultaneously;
Step S512:First access point and multiple second access points carry out ranging;
Step S514:Multiple second access points send position report frame to the first access point;
Specifically, report frame in the position includes first website that the second access point obtains to multiple second access point
Range information and second website to multiple second access point range information;
Step S516:Relative position information of second website relative to first website is calculated in first access point;
Step S518:First access point sends the relative position information to the first website.
Specifically, the second website phase can also be calculated by server or the first website in step S516 and S518
For the relative position information of first website.
By implementing the embodiment of the present invention, the first access point receives the first position claim frame that the first website is sent, according to
The first position claim frame generation carries out the communication information of ranging for negotiating website with access point, which includes positioning
Number, ranging localization temporal information and multicast address information, multiple second access points, the first stop are sent to by the communication information
Point and second website, obtain website to the range information of access point, and second website is calculated according to the range information
Relative to the relative position information of first website, it is proposed that a set of flow and method positioned based on WLAN, solution
It has determined in the prior art since the indoor positioning flow being not specified by for WLAN leads to wireless local area network technology in room
It is interior to position the problem of no expanded, it realizes and more accurately and effectively carries out indoor positioning.
The above-mentioned method for illustrating the embodiment of the present invention, following for convenient for preferably implementing the embodiment of the present invention
Said program correspondingly, is also provided below to coordinate the relevant device for implementing said program.
The structure diagram of access point provided by the invention as shown in Figure 6, access point 60 are the first access point, including:
Position requests receiving module 600, communication information generation 602 and first range information computing module 604 of sending module, wherein
The first position claim frame that position requests receiving module 600 sends for the first website of reception, the first position
Claim frame is for the second website of request relative to the relative position information of first website;
Communication information generation sending module 602 is used to be generated to negotiate website with connecing according to the first position claim frame
Access point carries out the communication information of ranging;And the communication information is sent to multiple second access points, first website and institute
State the second website;First website and second website are in the coverage area of second access point;By the multiple
Second access point carries out ranging to first website and second station point respectively according to the communication information, obtains described the
One website to the multiple second access point range information and second website to the multiple second access point away from
From information;
First range information computing module 604 is used to carry out ranging to the first stop point according to the communication information, obtains
To first website to the range information of first access point;For according to the range information, being calculated described
Two websites relative to first website relative position information;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate the multiple second access dot address that website sends ranging frame to access point.
Specifically, the structure diagram of communication information generation sending module provided by the invention as shown in Figure 7, communication letter
Breath generation sending module 602 can include ranging and prepare frame generation unit 6020 and the first transmitting element 6022, wherein:
Ranging prepares frame generation unit 6020 and is used to carry the communication letter according to first position claim frame generation
The ranging of breath prepares frame;
First transmitting element 6022 is used to send the ranging preparation frame to the multiple second access point.
Further, the knot of the communication information generation sending module of another embodiment provided by the invention as shown in Figure 8
Structure schematic diagram, communication information generation sending module 602 can include request acknowledgement frame generation unit 6024 and the second transmitting element
6026, wherein
Request acknowledgement frame generation unit 6024 is used to carry the communication letter according to first position claim frame generation
The position requests acknowledgement frame of breath,
Second transmitting element 6026 is used to send the position requests acknowledgement frame to first website.
Still further, the communication information generation sending module of another embodiment provided by the invention as shown in Figure 9
Structure diagram, when in coverage area of second website in first access point, communication information generation sending module
602 can include requesting to generate unit 6028 and third transmitting element 60210, wherein
Request to generate unit 6028 for generate carry the second position claim frame of the communication information;
Third transmitting element 60210 is used to send the second position claim frame to second website;
When second website is not in the coverage area of first access point, communication information generation sending module is also
Including indicating transmitting element 60212, being used to indicate at least one second access point please to second website transmission the third place
Ask frame, the request that carries the communication information of the third place claim frame at least one second access point generation
Frame.
Further, the structure diagram of the access point of another embodiment provided by the invention as shown in Figure 10 connects
Access point 60 is the first access point, including position requests receiving module 600, communication information generation 602 and first distance of sending module
Outside information computational module 604, can also include the first relative position computing module 606, the first range information sending module 608 or
Second distance information sending module 6010 is illustrated for all including these three modules in figure, wherein
First relative position computing module 606 is used to receive the range information that the multiple second access point is sent, according to
The range information that the range information of the reception and the first range information computing module are calculated is calculated described
Second website and sends the relative position to first website and believes relative to the relative position information of first website
Breath;
First range information sending module 608, which is used for the distance that the first range information computing module is calculated, to be believed
Breath is sent to server, so that second website is calculated relative to described the according to the range information in the server
The relative position information of one website;
Second distance information sending module 6010 is used for the distance that the first range information computing module is calculated
Information is sent to first website, so that the second website phase is calculated according to the range information in first website
For the relative position information of first website.
Specifically, the structure diagram of the first range information computing module provided by the invention as shown in Figure 11, first
Range information computing module 604 includes the first ranging frame receiving unit 6040 and the first verification computing unit 6042, wherein
First ranging frame receiving unit 6040 is used for time for being indicated according to the ranging localization temporal information, described in reception
The ranging frame for carrying pin numbers that first website is sent;
First verification computing unit 6042 is for the pin numbers in the communication information in the ranging frame
After pin numbers are verified, believed according to the distance that the ranging frame of reception calculates first website to first access point
Breath.
Still further, the structure diagram of the access point of another embodiment provided by the invention as shown in Figure 12, when
When second website is in the coverage area of first access point, the multicast address information, which further includes, is used to indicate website
The first access dot address of ranging frame is sent to access point, access point 60 includes position requests receiving module 600, communication letter
Outside breath generation 602 and first range information computing module 604 of sending module, second distance information computational module can also be included
6012, for the time indicated according to the ranging localization temporal information, receive the second website transmission carries positioning
The ranging frame of number, after the pin numbers in the communication information are verified the pin numbers in the ranging frame,
Second website is calculated to the range information of first access point according to the ranging frame of reception.
Access point 60 in the embodiment of the present invention for example can be Network Management Equipment, router, transmission node, intelligent mobile end
End or other network equipments.
It will be appreciated that the function of each function module of the access point 60 (i.e. the first access point) of the present embodiment can be according to upper
The method specific implementation in embodiment of the method is stated, can specifically correspond to the associated description of above method embodiment, it is no longer superfluous herein
It states.
With reference to the structure diagram of the access point of another embodiment provided by the invention shown in Figure 13, access point
130 be the second access point, and to illustrate the structure of the second access point, access point 130 includes the first communication information receiving module 1300
With third range information computing module 1302, wherein
First communication information receiving module 1300 is used to receive the communication information of the first access point transmission;The communication letter
It ceases and carries out ranging with access point according to what the first position claim frame of reception generated for negotiating website for first access point
The communication information;
Third range information computing module 1302 is used for according to the communication information respectively to first website and described
Second station point carries out ranging, obtains first website to the range information of the multiple second access point and described second
Website to the multiple second access point range information, for calculating second website relative to first website
Relative position information;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate multiple second access dot addresses that website sends ranging frame to access point.
Specifically, the first communication information receiving module 1300 is specifically used for, and receives the survey that first access point is sent
Away from frame is prepared, the ranging prepares frame and carries the communication information.
Further, the structure diagram of the access point of another embodiment provided by the invention as shown in Figure 14, works as institute
When stating the second website not in the coverage area of first access point, access point 130 includes the first communication information receiving module
1300 and third range information computing module 1302 outside, can also include instruction information receiving module 1304, position requests generation
Module 1306 and request sending module 1308, wherein
Indicate that information receiving module 1304 is used to receive the instruction information that first access point is sent, the instruction information
It is used to indicate to second website and sends position request information;
Position requests generation module 1306 is used for according to the instruction information generation the third place claim frame, the third position
It puts claim frame and carries the communication information;
Request sending module 1308 is used to send the third place claim frame to second website.
Further, the structure diagram of the access point of another embodiment provided by the invention as shown in Figure 15, access
Point 130 includes the first communication information receiving module 1300, third range information computing module 1302, instruction information receiving module
1304th, outside position requests generation module 1306 and request sending module 1308, third range information sending module can also be included
13010th, the 4th range information sending module 13012 or the 5th range information sending module 13014, all to include this three in figure
It is illustrated for module, wherein
Third range information sending module 13010 is used for the range information for obtaining third range information computing module 1302
First access point is sent to, so that the second website phase is calculated according to the range information in first access point
For the relative position information of first website;Or
4th range information sending module 13012 is used for the range information for obtaining third range information computing module 1302
Server is sent to, so that second website is calculated relative to described first according to the range information in the server
The relative position information of website;Or
5th range information sending module 13014 is used for the range information for obtaining third range information computing module 1302
Be sent to first website, for first website according to the range information be calculated second website relative to
The relative position information of first website.
Specifically, the structure diagram of third range information computing module provided by the invention as shown in Figure 16, third
Range information computing module 1302 includes the second ranging frame receiving unit 13020 and the second verification computing unit 13022, wherein
Second ranging frame receiving unit 13020 is used for the time indicated according to the ranging localization temporal information, connects respectively
Receive the ranging frame for carrying pin numbers that first website and second website are sent;
Third verification computing unit 13022 is for the pin numbers in the communication information in the ranging frame
After pin numbers are verified, respectively according to the ranging frame of reception calculate first website to second access point away from
Range information from information and second website to second access point.
Access point 130 in the embodiment of the present invention for example can be Network Management Equipment, router, transmission node, intelligent mobile
Terminal or other network equipments.
It will be appreciated that the function of each function module of the access point 130 (i.e. the second access point) of the present embodiment can basis
Method specific implementation in above method embodiment can specifically correspond to the associated description of above method embodiment, herein no longer
It repeats.
With reference to the structure diagram of the website provided by the invention shown in Figure 17, website 170 is the first website, for
The structure of bright first website, website 170 include position requests frame sending module 1700, the second communication information receiving module 1702,
Coordinate range finder module 1704 and relative position information acquisition module 1706, wherein
Position requests frame sending module 1700 is used to send first position claim frame, the first position to the first access point
Claim frame is for the second website of request relative to the relative position information of first website;
Second communication information receiving module 1702 is used to receive the communication information that first access point is sent, the communication
Information is generated for first access point according to the first position claim frame carries out ranging for negotiating website with access point
The communication information;
Range finder module 1704 is coordinated to be used to carry out ranging according to the communication information and access point cooperation, so that access point obtains
To range information;
Relative position information acquisition module 1706 is used to get described second be calculated according to the range information
Website relative to first website relative position information;
Wherein, the communication information includes pin numbers, ranging localization temporal information and multicast address information;
The ranging localization temporal information is used to indicate the time that website carries out ranging with access point;
Multicast address information is used to indicate multiple second access dot addresses that website sends ranging frame to access point.
Specifically, the second communication information receiving module 1702 is specifically used for, and receives the position that first access point is sent
Acknowledgement frame is asked, the position requests acknowledgement frame carries the communication information.
Further, the structure diagram of relative position information acquisition module provided by the invention as shown in Figure 18, phase
Position information acquisition module 1706 can be included to receive computing unit 17060, the first receiving unit 17062 or the second reception list
Member 17064 is illustrated for all including three units in figure, wherein
Receive computing unit 17060 be used for receive carry out ranging access point send range information, according to it is described away from
From second website that information is calculated relative to the relative position information of first website;Or
First receiving unit 17062 is used to receive the relative position information that first website is sent, the opposite position
Second website is calculated relative to the opposite of first website according to range information for first website in confidence breath
Location information;Or
Second receiving unit 17064 is used to receive the relative position information of server transmission, the relative position information
Relative position information of second website relative to first website is calculated according to range information for the server.
Still further, cooperation range finder module 1704 can also include ranging frame transmitting element, for according to the ranging
The time of location time information instruction and multiple second access dot addresses of multicast address information instruction, to the described first access
Point and the transmission of the multiple second access point carry the ranging frame of the pin numbers, so that first access point calculates
First website calculates described first to the range information of first access point and for the multiple second access point
Website is to the range information of the multiple second access point.
The website 170 of the embodiment of the present invention for example can be tablet computer, personal digital assistant, intelligent mobile terminal or its
Its network equipment.
It will be appreciated that the function of each function module can be specific according to the method in above method embodiment in website 170
It realizes, that is, can specifically refer to above method item embodiment, which is not described herein again.
With reference to the structure diagram of the based on WLAN alignment system provided by the invention shown in Figure 19, base
In WLAN alignment system 190 include the first access point 1900, multiple second access points 1902, the first website 1904 with
And second website 1906, wherein
First access point 1900 can be the access point 60 in above-described embodiment;
Second access point 1902 can be the access point 130 in above-described embodiment;
First website 1904 can be the website 170 in above-described embodiment;
It will be appreciated that the function of each function module can be according to above-mentioned side in based on WLAN alignment system 190
Method specific implementation in method embodiment, that is, can specifically refer to above method item embodiment, which is not described herein again.
In conclusion by implementing the embodiment of the present invention, the first access point receives the first position that the first website is sent please
Frame is sought, carries out the communication information of ranging, communication letter for negotiating website with access point according to the first position claim frame generation
Breath includes pin numbers, ranging localization temporal information and multicast address information, which is sent to multiple second accesses
Point, first website and second website, obtain website to the range information of access point, and be calculated according to the range information
Second website relative to first website relative position information, it is proposed that a set of stream positioned based on WLAN
Cheng Fangfa is solved in the prior art since the indoor positioning flow being not specified by for WLAN leads to WLAN
Technology positions the problem of no expanded indoors, realizes and more accurately and effectively carries out indoor positioning.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and is weighed according to the present invention
Profit requires made equivalent variations, still falls within and invents covered range.