The content of the invention
In view of this, the present invention provides a kind of wireless location method and device and exists being positioned equipment solving prior art
The problem that efficiently cannot be positioned when moving between the region of AC.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides a kind of wireless location method, and methods described is applied to AC, and methods described includes:
According to the identification information of the equipment that is positioned, determine in the whole network LDB being collected locally for positioning described being positioned
The AP measurement groups of equipment, the AP measurements group include multiple AP;
It is positioned each AP in the AP measurements group corresponding the location information that equipment is associated and sends to positioning with described
Server, so that location-server is positioned to the equipment that is positioned using the location information for receiving.
Further, the whole network LDB is collected by following steps:
Receive the link-state protocol data LSP messages that local each AP is reported;
The corresponding LDB information of each AP is determined according to the LSP messages that each AP is reported, the corresponding LDB information of AP at least includes working as
The location information of the equipment of front access;
By the corresponding LDB information records of each AP for determining to local LDB;
Receive the LDB information of neighbours AC transmissions and the whole network LDB is constituted in being added to local LDB.
Further, the identification information according to the equipment that is positioned, determines for positioning in the whole network LDB being collected locally
The AP measurement groups of the equipment of being positioned are stated, is specifically included:
With the MAC Address for being positioned equipment as keyword, search comprising the key in the whole network LDB being collected locally
The location information of word;
The location information of predetermined number is selected from the location information for finding;
It is determined that the corresponding AP of the location information selected constituting AP measurement groups.
Further, the identification information according to the equipment that is positioned, determines for positioning in the whole network LDB being collected locally
The AP measurement groups of the equipment of being positioned are stated, is specifically included:
With the MAC Address for being positioned equipment as keyword, search comprising the keyword in local the whole network LDB
Location information;
The location information of predetermined number is selected according to the descending principle of signal intensity from the location information for finding;
It is determined that the corresponding AP of the location information selected constituting AP measurement groups.
Further, the method also includes:
When the corresponding LDB information of the AP for receiving LDB information corresponding with the AP for having been recorded in the whole network LDB being collected locally
When different, the AP for having been recorded in the whole network LDB corresponding LDB information is replaced with the corresponding LDB information of the AP for receiving.
Conceived based on identical, the present invention also provides a kind of radio positioner, and described device is applied to AC, described device
Including:
Equipment determining unit, for the identification information according to the equipment that is positioned, determines in the whole network LDB being collected locally and uses
In the AP measurement groups that equipment is positioned described in positioning, the AP measurements group includes multiple AP;
Information transmitting unit, for by it is each AP in the AP measurements group corresponding with it is described be positioned that equipment is associated determine
Position information is sent to location-server, so that location-server carries out determining to the equipment that is positioned using the location information for receiving
Position.
Further, described device also includes:
Information collection unit, for receiving the link-state protocol data LSP messages that local each AP is reported;According on each AP
The LSP messages of report determine the corresponding LDB information of each AP, and the corresponding LDB information of AP at least includes the positioning of the equipment being currently accessed
Information;By the corresponding LDB information records of each AP for determining to local LDB;Receive the LDB information of neighbours AC transmissions and be added to this
The whole network LDB is constituted in ground LDB.
Further, the equipment determining unit, for the MAC Address for being positioned equipment as keyword, at this
The location information comprising the keyword is searched in the whole network LDB that ground is collected;Predetermined number is selected from the location information for finding
Location information;It is determined that the corresponding AP of the location information selected constituting AP measurement groups.
Further, the equipment determining unit, is additionally operable to the MAC Address for being positioned equipment as keyword,
The location information comprising the keyword is searched in local the whole network LDB;According to the descending principle of signal intensity from finding
Location information in select predetermined number location information;It is determined that the corresponding AP of the location information selected and constitute AP measurement
Group.
Further, described information collector unit, is additionally operable to when the corresponding LDB information of AP for receiving is complete with what is be collected locally
When in net LDB, the corresponding LDB information of the AP that recorded is different, the AP for having been recorded in the whole network LDB corresponding LDB is believed
Breath replaces with the corresponding LDB information of the AP for receiving.
As can be seen here, the present invention can make AC according to the identification information of the equipment that is positioned, in the whole network LDB being collected locally
It is determined that for positioning the AP measurement groups for being positioned equipment, then it is positioned in the AP measurements group, each AP is corresponding with described
The associated location information of equipment is sent to location-server, so that location-server utilizes the location information for receiving to the quilt
Location equipment is positioned.Therefore, the present invention can make the whole network AC share the location related information of each AP real-time collectings, solve quilt
Location equipment across AC it is interregional mobile when orientation problem, so as to save deployed with devices cost, improve the utilization of resources
Rate, enhances stationkeeping ability.
Specific embodiment
Wireless location system is divided into three parts:It is positioned equipment, location information reception device and location-server.
(1) it is positioned equipment:Need the equipment of positioning, i.e., any wireless terminal or equipment for meeting 802.11 technologies, quilt
The characteristics of location equipment can be to around sending wireless signal;
(2) location information reception device:The AP of standard compliant 802.11 technology.AP scanning be positioned equipment without report from a liner
Text, collection are positioned the location information of equipment.Location information includes the MAC Address for being positioned equipment, the signal for being positioned equipment
The information such as intensity, the MAC Address of AP.AP is collected after being positioned the location information of equipment, will be sent to AC in location information, is united by AC
The location information sent on one integration AP, and report location-server;
(3) location-server:The server device of operation location Calculation software.Location-server is in determining of receiving that AC reports
After the information of position, after pre-defined algorithm is to location information calculating, according to the cartographic information that user is imported on location-server, meter
Calculate the particular location for being positioned equipment place.
Fig. 1 is refer to, is existing wireless location networking schematic diagram, in the WLAN environment, is had two AC, respectively region A
In AC1 and region B in AC2, wherein AC1 management AP1-1, AP1-2, AP1-3;AC2 manages AP2-1, AP2-2, AP2-3;
It is as shown in Figure 1 according to the putting position of each AP of triangulation.
Hypothesis is positioned equipment and moves to region B from region A, and as can be seen from the figure AP1-2 and AP2-2 positions are close,
Analyze from orientation angle, AP2-2 is redundancy, the process that AP and location-server are increased to the process of redundancy location information is opened
Pin, if the quantity for being positioned equipment is more, the expense of location-server can be sharply increased, so as to cause stationkeeping ability drastically
Decline;From roaming angle analysis, the signal that the radio frequency unit of AP1-2 and AP2-2 sends can exist and interfere, be also unfavorable for by
Location equipment fast roaming is reached the standard grade.In the same manner, AP1-3 and AP2-3 there is also same problem.And, when being positioned equipment from area
When domain A moves to region B, as AC aggregation process can only report the location information that this AC management AP collect, then AC1 is because cannot
The location information that the corresponding AP of AC2 are collected is obtained, leads to not realize that precise and high efficiency is positioned.
In order to solve the problems, such as prior art, the present invention provides a kind of wireless location method and device, can make AC
According to the identification information of the equipment that is positioned, determine in the whole network LDB being collected locally for positioning the AP for being positioned equipment
Measurement group, then be positioned each AP in the AP measurements group corresponding the location information that equipment is associated and send to positioning with described
Server, so that location-server is positioned to the equipment that is positioned using the location information for receiving.Therefore, the present invention can
So that the whole network AC shares the location related information of each AP real-time collectings, solution be positioned equipment across AC it is interregional mobile when
Orientation problem, so as to save deployed with devices cost, improves resource utilization, enhances stationkeeping ability.
Fig. 2 is refer to, is a kind of process chart of the wireless location method in a kind of illustrative embodiments of the invention,
Methods described is applied to AC.As the present invention is with EVI (Ethernet Virtualization Interconnection, ether
Net is virtual to be interconnected) based on technology, therefore the AC of the present invention has ED (Edge Device, edge device) function, in the present invention
In can regard the AP of AC and its management as a website, using AC as ED equipment, AP is used as equipment in private network.Methods described bag
Include:
Step 201, basis are positioned the identification information of equipment, determine for positioning in the whole network LDB being collected locally
The AP measurement groups of the equipment of being positioned are stated, the AP measurements group includes multiple AP;
In the present embodiment, after it is determined that being positioned equipment, AC can determine whether that this is positioned the identification information of equipment, Ran Hou
Determined according to the identification information for being positioned equipment in the whole network location information storehouse LDB being collected locally and described determined for positioning
The access point AP measurement groups of position equipment, the AP measurements group include multiple AP.In general, as long as having what three AP reports were collected
Location information, location-server can just calculate the position for being positioned equipment for needing positioning, therefore preferred in AP measurement groups
Including three and the AP of more than three, particular number is not limited.
In optional embodiment of the present invention, so-called the whole network LDB, the LDB letters sent on the local AP for not only obtaining including AC
Breath, the LDB information also collected including other AC that AC is received by way of data syn-chronization.
The AC collects the concrete grammar of the whole network LDB, and AC can receive LSP (the Link State that local each AP is reported
Protocol Data Unit, link-state protocol data) message, determine that each AP is corresponding according to the LSP messages that each AP is reported
LDB information, the corresponding LDB information of AP at least include the location information of the equipment being currently accessed, then by each AP correspondences for determining
LDB information records to local LDB.AC can also receive the LDB information of neighbours AC transmissions and constitute the whole network in being added to local LDB
LDB。
It should be noted that in collection phase, as AP can collect the location information of all devices being currently accessed, and this
A little equipment might not be positioned equipment entirely, therefore the whole network LDB that AC is collected can include a part of non-LDB for being positioned equipment
Information, therefore AC can obtain the corresponding LDB letters of the equipment that is positioned by being positioned the identification information of equipment from the whole network LDB
Breath, and then determine the AP measurement groups of the equipment that is positioned.
In the present embodiment, the corresponding LDB information of each AP that this AC is managed can also be sent to neighbours AC by AC, and such one
Come, the present invention can make AC perceive the location information of the lower AP real-time collectings of other AC management, so as to realize each in LAN
AC can share the location information of the whole network AP real-time collectings, improve location efficiency.
Additionally, when the AC receives the LSP messages that local AP is reported, determining according to the LSP messages for receiving and reporting the LSP to report
The corresponding LDB information of AP of text, this AP pair for having been recorded in comparing the corresponding LDB information of the AP of determination and local the whole network LDB
During the LDB information difference answered, the AP for having recorded corresponding LDB information can be replaced with the determination in the whole network LDB
The corresponding LDB information of the AP, so as to realize positioning information update.That is, when the AP for receiving corresponding LDB information be collected locally
When the corresponding LDB information of the AP that recorded in the whole network LDB is different, the AC will be the AP for having been recorded in the whole network LDB corresponding
LDB information replaces with the corresponding LDB information of the AP for receiving.
In optional embodiment of the present invention, the method for choosing AP measurement groups specifically includes two kinds of situations.
Situation 1:
When identification information is the MAC Address for being positioned equipment, AC can be with the MAC Address for being positioned equipment to close
Key word searches the LDP information comprising the keyword in local the whole network LDB, then selects pre- from the location information for finding
If the location information of quantity;Finally determine the corresponding AP of the location information selected and constitute AP measurement groups.
Situation 2:
When MAC Address and signal intensity that identification information is the equipment that is positioned, AC first can be positioned equipment with described
MAC Address be keyword, in local the whole network LDB search comprising the keyword location information;Further according to signal intensity
Descending principle selects the location information of predetermined number from the location information for finding;Finally determine the positioning selected
The corresponding AP of information simultaneously constitutes AP measurement groups.
Due to signal intensity it is bigger it is considered that AP distances to be positioned equipment nearer, therefore the present invention can be strong by signal
The descending principle of degree selects the AP that distance is positioned equipment relative close, therefore can improve positional accuracy.
Step 202, it is positioned each AP in the AP measurements group corresponding the location information that equipment is associated and sends out with described
Location-server is delivered to, so that location-server is positioned to the equipment that is positioned using the location information for receiving.
After AC determines AP measurement groups, equipment phase can be positioned with described by each AP in the AP measurements group corresponding
The location information of association is sent to location-server, so that location-server is determined to described using the location information for receiving
Position equipment is positioned, and concrete position fixing process is prior art, be will not be described in detail herein.
So far, the wireless location step shown in Fig. 2 terminates.
Compared to prior art, the present invention can realize the synchronization of the location information of the shared the whole network AP real-time collectings of AC more
Newly, therefore across AC management positioning AP can be reached, such that it is able to save deployed with devices cost to a certain extent.As AP is measured
Group can share the AP equipment across AC management, therefore there is no the situation for collecting redundancy location information, and AC can be according to being positioned
The identification information of equipment, from choice of dynamical AP measurement group in the whole network LDB, and the AP measurements group is collected be positioned equipment phase
Location-server is sent in corresponding location information, so as to effectively reduce the processing pressure of location-server, so as at utmost real
The resource utilization of existing AP and location-server, improves stationkeeping ability.
To make the objects, technical solutions and advantages of the present invention become more apparent, with reference to the interaction flow of Fig. 3 to this
The specific embodiment of invention is described in further detail.
Fig. 3 is refer to, is the wireless location networking schematic diagram in a kind of illustrative embodiments of the invention, the WLAN environment
In have two AC, the AC2 in AC1 and region B in respectively region A, wherein AC1 management AP1-1, AP1-2, AP1-3, AC2
Management AP2-1, AP1-1, AP1-2.Compared to the scene shown in Fig. 1, the present embodiment eliminates the AP2- of redundancy when AP is disposed
2 and AP2-3 equipment, so both can reduce the interference between signal with cost-effective again, so as to be conducive to AP to collect positioning letter
Breath and quickening are positioned equipment roaming and reach the standard grade.
For AC1, by obtaining the location information sent on AP, the MAC of all Radio mouths of local AP can be identified
Address, in conjunction with RST is received on Radio mouths, dynamic generates local LDB, as shown in table 1.
Table 1
Wherein, MAC/AC/AP/Radio ID/Radio the type fields represent the MAC Address of local Radio mouths, institute respectively
Category AC, affiliated AP, Radio mouth ID, and Radio mouth types;MU-MAC fields represent the MAC Address of the equipment of being positioned;
BSSID fields represent BSSID (Basic Service Set ID, the basic service set ID) information of radio frequency;Channel field lists
Show collection channel;Mean Rssi fields represent signal intensity;Noise Floor fields represent bottom of making an uproar.
Assume that AC1 and AC2 has pre-build neighborhood between website, therefore local LDB information can be passed through by AC1
LSP messages are synchronized to AC2, and AC2 can form the whole network LDB with local LDB information fusion after receiving the LDB information.
Position fixing process is by taking the networking shown in Fig. 3 as an example, it is assumed that is now positioned equipment and comes into region B, now on AC1
LDB information can be according to being positioned the movement of equipment and change.LDB synchronizing informations after change to AC2, then AC2 are taken in by AC1
The whole network LDB of front maintenance is as shown in table 2:
Table 2
When needs are positioned equipment to this to be positioned, AC2 (can be assumed to be with the MAC Address for being positioned equipment
MAC1 it is) the MU-MAC fields of key search table 2, in determining table 2, front 4 row includes that this is positioned the MAC Address of equipment, therefore
AC2 can obtain all Radio in the whole network and be positioned the real-time signal strength information that equipment is collected for this.
AC2 is ranked up to AP according to signal intensity and (is followed successively by AP1-2, AP1- according to the above-mentioned LDB information for retrieving
3rd, AP2-1, AP1-1), AC2 chooses 3 maximum AP composition AP measurement groups of signal intensity afterwards.Wherein, by comparing AP2-1
The signal intensity that the signal intensity of collection is collected more than AP1-1, it is also possible to illustrate that being positioned equipment has been enter into region B.
Finally, AP1-2, AP1-3, AP2-1 2,3, the 4 row LDB information of correspondence in LDB tables are carried out aggregation process by AC2, will
The location information for being positioned equipment for collecting is sent to location-server, so that location-server can be according to the positioning for receiving
Information is positioned to being positioned equipment.
Conceived based on identical, the present invention also provides a kind of radio positioner, and the device can be realized by software,
Can be realized by way of hardware or software and hardware combining.As a example by implemented in software, the radio positioner conduct of the present invention
Device on one logical meaning, is read corresponding computer program instructions in memorizer by the CPU of its place device
Operation afterwards is formed.
Refer to the hardware knot that Fig. 4 a are the radio positioner place equipment in a kind of illustrative embodiments of the invention
Composition;Described device is applied to AC, and the basic running environment of the device includes CPU, memorizer and other hardware.From logic level
On from the point of view of, as shown in Figure 4 b, wherein the device 400 includes the logical structure of the radio positioner 400:
Equipment determining unit 401, for the identification information according to the equipment that is positioned, in the whole network LDB being collected locally really
Fixed to be used to position the AP measurement groups for being positioned equipment, the AP measurements group includes multiple AP;
Information transmitting unit 402, for being associated each AP in the AP measurements group corresponding with the equipment that is positioned
Location information send to location-server so that location-server using receive location information the equipment that is positioned is entered
Row positioning.
Optionally, described device also includes:
Information collection unit 403, for receiving the link-state protocol data LSP messages that local each AP is reported;According to each
The LSP messages that AP is reported determine the corresponding LDB information of each AP, and the corresponding LDB information of AP at least includes the equipment being currently accessed
Location information;By the corresponding LDB information records of each AP for determining to local LDB;Receive the LDB information of neighbours AC transmissions and add
The whole network LDB is constituted in local LDB.
Optionally, the equipment determining unit 401, for the MAC Address for being positioned equipment as keyword, at this
The location information comprising the keyword is searched in the whole network LDB that ground is collected;Predetermined number is selected from the location information for finding
Location information;It is determined that the corresponding AP of the location information selected constituting AP measurement groups.
Optionally, the equipment determining unit 401, is additionally operable to the MAC Address for being positioned equipment as keyword,
The location information comprising the keyword is searched in local the whole network LDB;According to the descending principle of signal intensity from finding
Location information in select predetermined number location information;It is determined that the corresponding AP of the location information selected and constitute AP measurement
Group.
Optionally, described information collector unit 403, be additionally operable to when the corresponding LDB information of AP that receive be collected locally
When the corresponding LDB information of the AP that recorded in the whole network LDB is different, by the corresponding LDB of the AP for having been recorded in the whole network LDB
Information replaces with the corresponding LDB information of the AP for receiving.
As can be seen here, the present invention can make AC according to the identification information of the equipment that is positioned, in the whole network LDB being collected locally
It is determined that for positioning the AP measurement groups for being positioned equipment, then it is positioned in the AP measurements group, each AP is corresponding with described
The associated location information of equipment is sent to location-server, so that location-server utilizes the location information for receiving to the quilt
Location equipment is positioned.Therefore, the present invention can make the whole network AC share the location related information of each AP real-time collectings, solve quilt
Location equipment across AC it is interregional mobile when orientation problem, so as to save deployed with devices cost, improve the utilization of resources
Rate, enhances stationkeeping ability.
In said apparatus, the function of unit and effect realizes that process specifically refers to correspondence step in said method
Process is realized, be will not be described here.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematic, wherein described as separating component
The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also
It is not physical location, you can local to be located at one, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvements done etc. are should be included within the scope of protection of the invention.