CN102196417A - User-side equipment, control equipment and method for positioning user-side equipment - Google Patents

User-side equipment, control equipment and method for positioning user-side equipment Download PDF

Info

Publication number
CN102196417A
CN102196417A CN2010101271712A CN201010127171A CN102196417A CN 102196417 A CN102196417 A CN 102196417A CN 2010101271712 A CN2010101271712 A CN 2010101271712A CN 201010127171 A CN201010127171 A CN 201010127171A CN 102196417 A CN102196417 A CN 102196417A
Authority
CN
China
Prior art keywords
interface
side equipment
user side
ipv6 address
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101271712A
Other languages
Chinese (zh)
Other versions
CN102196417B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 201010127171 priority Critical patent/CN102196417B/en
Publication of CN102196417A publication Critical patent/CN102196417A/en
Application granted granted Critical
Publication of CN102196417B publication Critical patent/CN102196417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses user-side equipment, control equipment and a method for positioning the user-side equipment. The method comprises the following steps of: generating an interface ID (Identification Code) of the user-side equipment according to geographical position information of the user-side equipment, and storing the interface ID by the user-side equipment; generating an IPv6 (Internet Protocol Version 6) address according the interface ID of upper user-side equipment per se by the upper user-side equipment, and establishing the connection between the upper user-side equipment and the control equipment by using the IPv6 address; acquiring the interface ID or the IPv6 address of the user-side equipment from the user-side equipment and analyzing the geographical position information of the user-side equipment through the interface ID or the IPv6 address when the user-side equipment is needed to be positioned; or acquiring the IPv6 address of the user-side equipment from the control equipment connected with the user-side equipment, and analyzing the geographical position information of the user-side equipment through the IPv6 address. In the invention, the speed of positioning the user-side equipment is increased.

Description

The method of consumer positioning side apparatus and user side equipment, control appliance
Technical field
The present invention relates to field of locating technology, be specifically related to method, user side equipment and the control appliance of consumer positioning side apparatus.
Background technology
WLAN (wireless local area network) (WLAN, Wireless Local Area Network) technology is one of focus of the current communications field, compare with wired network, the startup of WLAN is relative simple with enforcement, maintenance cost is cheap, just can set up the LAN that covers whole building or area as long as generally lay one or more access point apparatus.
Fig. 1 is a networking exemplary plot of integral WLAN system, and as shown in Figure 1, it mainly comprises: wireless client (Client), WAP (wireless access point) (AP, Access Point) and Radio Access Controller (AC, Access Controller).Wherein, AP provides the bridging functionality of wireless client to local area network (LAN), carries out wireless wired and wired wireless frame conversion of arriving of arriving between wireless client and WLAN (wireless local area network); AC controls and manages all AP in the WLAN (wireless local area network).AP can be directly connected on the AC, also can be connected on the AC by two layers or three-layer network.
If operation IPv6 agreement between AC and the AP, then in the starting stage, AP uses neighbours to find that (ND, Neighbor Discovery) stateless disposes the IPv6 address that generates self automatically earlier, and detailed process is as follows:
When 01:AP reaches the standard grade, send router solicitation (RS, Router Solicitation) message to router.
02: router receives RS message, and (this message is carried network prefix for RA, RouterAdvertisement) message to return router advertisement to AP.
03:AP receives RA message, generates the IPv6 address of self according to the interface ID of the network prefix in the RA message and self generation.
Wherein, the generation method of interface ID is pre-configured on the AP by the keeper, specifically can be: generate according to interface mac address, perhaps generate according to random number, or the like.
AP utilization discovery mechanism is discerned AC.If AP uses the clean culture discovery mechanism, AP can ask dns server that the network address of AC is provided.AP uses the IPv6 address correlation that generates to AC then.In case wireless client is by authentication and be successfully associated with AP, WLAN that just can use authority serves and communicates with other wireless client and wireline equipment.
Wireless access point control and supply (CAPWAP, Controlling and Provisioning ofWireless Access Point) protocol definition how to communicate by letter between AP and the AC, provide a generic encapsulation and transmission mechanism for realizing the interoperability between AP and the AC.CAPWAP operates on AP and the AC simultaneously, for wlan system provides communicating by letter between safe AC and the AP.On AC, CAPWAP provides AP management function.AC can dynamically dispose AP according to the information that the keeper provides.
Operator, enterprise all might dispose the wireless aps network, and the scope of deployment may be greatly to a city, and is little of a building.In order to locate the particular geographic location of certain AP rapidly, at present, on AC, use the relevant information of CAPWAP configuration AP, wherein, the descriptor of configuration AP is the particular geographic location of AP, distinguishes certain number floor room, street etc. such as certain.
Fig. 2 has provided the flow chart of existing location AP, and as shown in Figure 2, its concrete steps are as follows:
Step 201:AP connects an AC for the first time, and AC finds that this AP does not report position (Location) character string, then according to the sequence number of AP, in the corresponding relation of the position character string of AP sequence number of self preserving and AP, finds the position character string of this AP.
Step 202:AC issues this position character string to AP, and AP receives and preserve this position character string.
Step 203: afterwards, AP is connected with other AC, and then AP initiatively reports current AC with the position character string of preserving.
Like this, any one AC in this AP connection can preserve the position character string of this AP, thereby the keeper can obtain the position character string of this AP from the AC in the AP connection, thus the geographical position of learning this AP.
Wherein, in the step 201, the corresponding relation of AP sequence number that AC preserves and the position character string of AP is by administrator configurations, particularly, check to keeper's meeting timing or not timing the associated AP situation on every AC, have an AP to be connected to for the first time on the AC if find, then this AP is positioned, then the sequence number of this AP and the corresponding relation of position character string are configured on this AC, then, AC is handed down to this AP with the position character string of this AP again.Obviously, this method is inconvenience very, and locating speed is very slow; In addition, because the keeper is at the AP that checks on the AC in the connection, like this, but only in the AP time spent, the keeper just can view this AP, thereby just can position this AP, and when AP is unavailable, then can't position this AP.Similarly, in other application scenario, also there is such problem, for example: in the time will positioning to the switch in the network, the keeper checks the connection switch situation on every NM server with also needing timing or not timing, if finding has a switch to be connected to for the first time on the NM server, then this switch is positioned, then the sequence number of this switch and the corresponding relation of positional information are configured on this NM server so that keeper's inquiry.Also do not provide at present the solution of this aspect.
Summary of the invention
The invention provides the method for consumer positioning side apparatus and user side equipment, control appliance, to improve locating speed.
Technical scheme of the present invention is achieved in that
A kind of method of consumer positioning side apparatus, this method comprises:
Generate the interface ID of this user side equipment according to the geographical location information of user side equipment, user side equipment is preserved this interface ID;
The user side equipment of reaching the standard grade generates an IPv6 address according to self interface ID, uses this IPv6 address and control appliance to connect;
When needs consumer positioning side apparatus,, go out the geographical location information of this user side equipment by this interface ID or IPv6 address resolution from interface ID or the IPv6 address that user side equipment obtains this user side equipment; Perhaps, the IPv6 address that the control appliance that connects from this user side equipment obtains this user side equipment is gone out the geographical location information of this user side equipment by this IPv6 address resolution.
To be configured on the user side equipment by the interface ID generating mode that geographical location information generates interface ID in advance, and, in the time user side equipment will being deployed on the geographical position, this geographical location information is configured on this user side equipment;
The interface ID that described geographical location information according to user side equipment generates this user side equipment is:
User side equipment generates the interface ID of self according to the geographical location information and the interface ID generating mode that are configured in self.
The interface ID that described geographical location information according to user side equipment generates this user side equipment comprises: will be configured on the NM server by the interface ID generating mode that geographical location information generates interface ID in advance,
In the time user side equipment will being deployed on the geographical position, NM server generates the interface ID of this user side equipment according to the geographical location information of this user side equipment, and this interface ID is configured on this user side equipment.
Described method further comprises: NM server obtains the IPv6 address of user side equipment,
And, receive the Location Request of carrying user side equipment IPv6 address when gateway server after, go out the geographical location information of this user side equipment from this IPv6 address resolution, with this geographical location information output.
Described user side equipment is a switch, and described control appliance is a NM server;
Perhaps, described user side equipment is a wireless access point AP, and described control appliance is Radio Access Controller AC.
When described user side equipment is AP, when described control appliance is AC, do not dispose the interface ID generating mode that generates interface ID by geographical location information on the described AP, and do not dispose interface ID by the geographical location information generation of this AP;
The interface ID that described geographical location information according to user side equipment generates this user side equipment further comprises before:
AP reaches the standard grade, and adopts existing method to generate an interface ID, generates an IPv6 address according to this interface ID, adopts this IPv6 address and an AC to connect, and this AC obtains the geographical location information of this AP according to the position character string of this AP that self disposes;
The interface ID that described geographical location information according to user side equipment generates this user side equipment comprises:
Described AC generates the interface ID of this AP according to the geographical location information of described AP, and this interface ID is handed down to this AP;
And described user side equipment further comprises when preserving this interface ID: described AP disconnection is connected with described AC's;
And described user side equipment according to the IPv6 address of interface ID generation of self is: described AP generates an IPv6 address according to the interface ID that described AC issues.
A kind of user side equipment comprises:
Interface ID generation module generates the interface ID of this user side equipment according to the geographical location information of this user side equipment, and this interface ID is kept in the interface ID memory module;
Interface ID memory module is preserved the interface ID of this user side equipment;
Connect and to set up module, when reaching the standard grade, obtain the interface ID of this user side equipment, generate an IPv6 address, use this IPv6 address and control appliance to connect according to this interface ID from interface ID memory module;
The localization process module receives the Location Request of outside input, obtains the interface ID of this user side equipment from interface ID memory module, with this interface ID output, so that the outside geographical location information that parses this user side equipment according to this interface ID; Perhaps set up the IPv6 address that module is obtained this user side equipment, with this IPv6 address output, so that the outside geographical location information that goes out this user side equipment according to this IPv6 address resolution from connection.
Described user side equipment further comprises:
Interface ID parsing module receives the interface ID or the IPv6 address of the input of localization process module, goes out the geographical location information of this user side equipment from this interface ID or IPv6 address resolution, with this geographical location information output.
Described user side equipment is switch or AP.
A kind of control appliance comprises:
The localization process module, receive the Location Request of outside input, the IPv6 address of the user side equipment in this request is outputed to IPv6 address resolution module, and the geographical location information of the user side equipment that reception IPv6 address resolution module is returned is with this geographical location information output;
IPv6 address resolution module receives the IPv6 address of localization process module input, goes out the geographical location information of user side equipment from this IPv6 address resolution, and this geographical location information is returned to the localization process module.
Described control appliance is NM server or AC.
A kind of AP, this AP comprises:
Interface ID memory module is preserved the interface ID of this AP;
Connect and to set up module, when reaching the standard grade, generate the interface ID of this AP, generate an IPv6 address, use this IPv6 address and AC to connect according to this interface ID according to existing method; The interface ID that the geographical location information by this AP that reception AC issues generates, the interface ID that this AC is issued is saved in interface ID memory module, disconnection simultaneously is connected with this AC's, the interface ID that adopts this AC to issue regenerates an IPv6 address, adopt newly-generated IPv6 address, connect with this AC again;
The localization process module receives the Location Request of outside input, obtains the interface ID of this AP from interface ID memory module, with this interface ID output, so that the outside geographical location information that parses this AP according to this interface ID; Perhaps, set up module from connection and obtain the newly-generated IPv6 address of this user side equipment, with this IPv6 address output, so that the outside geographical location information that goes out this AP according to this IPv6 address resolution.
Described AP further comprises:
Interface ID parsing module receives the interface ID or the IPv6 address of the input of localization process module, goes out the geographical location information of this AP from this interface ID or IPv6 address resolution, with this geographical location information output.
A kind of AC, this AC comprises:
The connection processing module on finding an AP and this AC being connected, sends to interface ID generation module with the sequence number of this AP;
Interface ID generation module, the sequence number of the AP that reception connection processing module is sent, find the position character string of this AP of this AC configuration according to the sequence number of this AP, obtain the geographical location information of this AP according to this position character string, generate the interface ID of this AP according to the geographical location information of this AP, ID is handed down to this AP with this interface.
Described AC further comprises:
The localization process module receives the Location Request of outside input, and the IPv6 address of the AP in this request is outputed to IPv6 address resolution module, receives the geographical location information of the AP that IPv6 address resolution module returns, and this geographical location information is exported;
IPv6 address resolution module receives the IPv6 address of the AP of localization process module input, goes out the geographical location information of AP from this IPv6 address resolution, and this geographical location information is returned to the localization process module.
Compared with prior art, among the present invention, generate the interface ID of user side equipment according to the geographical location information of user side equipment, make and to obtain the geographical location information of user side equipment according to the interface ID or the IPv6 address resolution of user side equipment, thereby improved the speed of consumer positioning side apparatus.
Description of drawings
Fig. 1 is a networking exemplary plot of integral WLAN system;
Fig. 2 is the flow chart of existing location AP;
The flow chart of the consumer positioning side apparatus that Fig. 3 provides for the embodiment of the invention one;
The flow chart of the location AP that Fig. 4 provides for the embodiment of the invention two;
The flow chart of the location AP that Fig. 5 provides for the embodiment of the invention three;
The composition diagram of the user side equipment that Fig. 6 provides for the embodiment of the invention one;
The composition diagram of the control appliance that Fig. 7 provides for the embodiment of the invention one;
The composition diagram of the AP that Fig. 8 provides for the embodiment of the invention two;
The composition diagram of the AC that Fig. 9 provides for the embodiment of the invention two.
Embodiment
The flow chart of the consumer positioning side apparatus that Fig. 3 provides for the embodiment of the invention one, as shown in Figure 3, its concrete steps are as follows:
Step 301: generate the interface ID of this user side equipment according to the geographical location information of user side equipment, user side equipment is preserved the interface ID of self.
Can in advance the interface ID generating mode that is generated interface ID by geographical location information be configured on the user side equipment, when user side equipment will be deployed on the geographical position, keepers etc. are configured to this geographical location information on this user side equipment, user side equipment adopts this interface ID generating mode, is generated the interface ID of self by this geographical location information; Perhaps, can in advance the interface ID generating mode that is generated interface ID by geographical location information be configured on the NM server, when user side equipment will be deployed on the geographical position, keepers etc. are configured to this geographical location information on the NM server, NM server adopts this interface ID generating mode, generate the interface ID of this user side equipment by the geographical location information of this user side equipment, then the interface ID that generates is configured on this user side equipment.
The generating mode of interface ID can be as follows:
01: the geographical location information of user side equipment is represented with predefined reference format.
02:, the geographical position positional information of user side equipment is mapped as interface ID according to predefined mapping ruler.
Mapping ruler between the interface ID of user side equipment and the geographical location information of user side equipment can for:
The geographical location information of the interface ID=type identification+user side equipment of user side equipment.Wherein, type identification is used to indicate the geographical position type of user side equipment, and for example: it is indoor or outdoor to can be used for indicating user side equipment to be positioned at.
User side equipment can be kept at the interface ID of self in the permanent memory, with convenient inquiry.
Step 302: user side equipment is reached the standard grade, and generates the IPv6 address of self according to self interface ID.
Here, user side equipment can be according to the IPv6 address of network prefix of obtaining and the interface ID of self generation self.Wherein, it is same as the prior art to obtain the method for network prefix.
Step 303: user side equipment uses the IPv6 address of generation and the control appliance of self to connect, and sets up successfully, and control appliance is preserved the corresponding relation of the IPv6 address of user side equipment sign and this user side equipment.
Step 304: when needs consumer positioning side apparatus,, from this interface ID or IPv6 address, parse the geographical location information of this user side equipment from interface ID or the IPv6 address that this user side equipment obtains this user side equipment; Perhaps, the IPv6 address that the control appliance that connects from this user side equipment obtains this user side equipment goes out the geographical location information of this user side equipment from this IPv6 address resolution.
User side equipment in embodiment illustrated in fig. 3 can be a switch, and control appliance can be a NM server; Perhaps, user side equipment can be AP, and control appliance can be AC; Or the like.Below be AP with the user side equipment, control appliance is that AC is an example, and the present invention is further elaborated.
The flow chart of the location AP that Fig. 4 provides for the embodiment of the invention two, as shown in Figure 4, its concrete steps are as follows:
Step 401: generate the interface ID of this AP according to the geographical location information of AP, AP preserves the interface ID of self.
Can in advance the interface ID generating mode that is generated interface ID by geographical location information be configured on the AP, when AP will be deployed on the geographical position, keepers etc. are configured to this geographical location information on the AP, AP adopts this interface ID generating mode, is generated the interface ID of self by this geographical location information; Perhaps, can in advance the interface ID generating mode that is generated interface ID by geographical location information be configured on the NM server, when AP will be deployed on the geographical position, keepers etc. are configured to this geographical location information on the NM server, NM server adopts this interface ID generating mode, generate the interface ID of AP by the geographical location information of AP, then the interface ID that generates is configured on the AP.
The generating mode of interface ID can be as follows:
01: the geographical location information of AP is represented with predefined reference format.
Be positioned at indoorly or outdoor according to AP, the geographical location information of AP be expressed as respectively:
Indoor: district, street, number, building number, unit number, floor, room number, serial number;
Outdoor: district, street, line bar type, line bar number.
02:, the geographical position positional information of AP is mapped as interface ID according to predefined mapping ruler.
Mapping ruler between the interface ID of AP and the geographical location information of AP can for:
The geographical location information of interface ID=type identification+AP of AP.Wherein, to be used to indicate AP to be positioned at indoor or outdoor for type identification.
Below provided a kind of form of the interface ID of AP:
|3bits| 61bits |
+----------+--------------------+----------------------+
|type| position?ID |
Wherein, type is a type identification, can 001 expression indoor, 002 expression is outdoor;
Position ID is the geographical location information of AP, and wherein, when AP is positioned at when indoor, the form of position ID can be as shown in table 1:
5bits 8bits 8bits 8bits 8bits 8bits 8bits 8bits
The district The street Number Building number Unit number Floor Room number Serial number
Table 1 AP is positioned at when indoor, the geographical location information form of AP
When AP is positioned at when outdoor, the form of position ID can be as shown in table 2:
5bits 8bits 8bits 56bits
The district The street Line bar type Line bar number
Table 2 AP is positioned at when indoor, the geographical location information form of AP
AP can be kept at the interface ID of self in the permanent memory, with convenient inquiry.
Step 402:AP reaches the standard grade, and the RA message that receiving router is sent reads the network prefix in this message.
Step 403:AP generates the IPv6 address of self according to network prefix and the interface ID of self.
The IPv6 address that step 404:AP use generates is set up CAPWAP with AC and is connected, the corresponding relation of the sequence number of AC preservation AP and the IPv6 address of AP.
Step 405: when the AP of needs location,, from this interface ID or IPv6 address, parse the geographical location information of this AP from interface ID or the IPv6 address that AP obtains this AP; Perhaps, the IPv6 address that the AC from this AP connection obtains this AP goes out the geographical location information of this AP from this IPv6 address resolution.
In embodiment illustrated in fig. 4, can adopt new interface ID generating mode to generate interface ID by AP oneself, perhaps adopting new interface ID generating mode by the keeper is that AP generates interface ID and is configured on the AP, but, for the existing configuration mode of compatibility, that is: AP does not support the not situation of configuration interface ID on AP of new interface ID generating mode and keeper, the invention provides following embodiment:
The flow chart of the location AP that Fig. 5 provides for the embodiment of the invention three, as shown in Figure 5, its concrete steps are as follows:
Step 501:AP generates interface ID according to the existing interface ID generating mode that is configured in self.
Existing interface ID generating mode in this step is a prior art, rather than the mode that is generated interface ID by the geographical location information of AP provided by the invention.
Step 502:AP reaches the standard grade, and the RA message that receiving router is sent reads the network prefix in this message.
Step 503:AP generates the IPv6 address of self according to the interface ID in network prefix and the step 501.
The IPv6 address that step 504:AP use generates is set up CAPWAP with an AC and is connected.
Step 505:AC obtains the geographical location information of this AP according to the position character string of this AP of self configuration, generates the interface ID of this AP according to the geographical location information of this AP, and the interface ID of this AP of generating is handed down to this AP.
Interface ID generating mode in this step is identical with step 401.
Step 506:AP receives and also to preserve the interface ID that AC issues, disconnect with AC between CAPWAP be connected.
Interface ID that step 507:AP issues according to AC and the network prefix in the step 502 regenerate an IPv6 address.
The newly-generated IPv6 address of step 508:AP use is set up CAPWAP with AC again and is connected.
Step 509: when the AP of needs location,, from this interface ID or IPv6 address, parse the geographical location information of this AP from interface ID or the IPv6 address that AP obtains this AP; Perhaps, on the AC from this AP connection, the IPv6 address that obtains this AP goes out the geographical location information of this AP from this IPv6 address resolution; Perhaps, also can adopt prior art: the AC from this AP connection obtains the position character string of this AP, is learnt the geographical location information of this AP by this position character string.
In the practical application, the generating mode of interface ID can be configured on NM server and/or user side equipment and/or the control appliance, and on NM server and/or user side equipment and/or control appliance, provide the interface of the geographical location information of the user side equipment that can import reference format, when user side equipment will be deployed on the geographical position, wait geographical location information to be input on NM server and/or user side equipment and/or the control appliance by the keeper with user side equipment, NM server and/or user side equipment and/or control appliance adopt interface ID generating mode then, generate the interface ID of this user side equipment.
Here, also can simultaneously the interface ID analysis mode that is parsed geographical location information by interface ID be configured on NM server and/or user side equipment and/or the control appliance, like this, when the keeper will inquire about the geographical location information of a user side equipment, for NM server or control appliance, only need the IPv6 address of input user side equipment, NM server or control appliance just can go out the interface ID of this user side equipment according to the IPv6 address resolution of this user side equipment, adopt interface ID analysis mode again, obtain the geographical location information and the output of this user side equipment; For user side equipment, then can directly parse the address location information and the output of user side equipment according to interface ID, perhaps, go out the interface ID of this user side equipment, parse the geographical location information and the output of this user side equipment again by interface ID according to the IPv6 address resolution of this user side equipment.
The composition diagram of the user side equipment that Fig. 6 provides for the embodiment of the invention one, as shown in Figure 6, it mainly comprises: interface ID generation module 61, interface ID memory module 62, connect and set up module 63 and localization process module 64, wherein:
Interface ID generation module 61: generate the interface ID of this user side equipment according to the geographical location information of this user side equipment, this interface ID is kept in the interface ID memory module 62.
Interface ID memory module 62: the interface ID that preserves this user side equipment.
Connect and to set up module 63: when this user side equipment is reached the standard grade, obtain the interface ID of this user side equipment, generate an IPv6 address, use this IPv6 address and control appliance to connect according to this interface ID from interface ID memory module 62.
Localization process module 64: receive the Location Request of outside input, obtain the interface ID of this user side equipment from interface ID memory module 62, with this interface ID output, so that the outside geographical location information that parses this user side equipment according to this interface ID; Perhaps, set up IPv6 address and the output that module 63 is obtained this user side equipment, so that the outside geographical location information that goes out this user side equipment according to this IPv6 address resolution from connection.
In actual applications, user side equipment also can comprise: interface ID parsing module, be used to receive the interface ID or the IPv6 address of 64 inputs of localization process module, go out the geographical location information of this user side equipment from this interface ID or IPv6 address resolution, this geographical location information output.
The composition diagram of the control appliance that Fig. 7 provides for the invention process one, as shown in Figure 7, it mainly comprises: localization process module 71 and IPv6 address resolution module 72, wherein:
Localization process module 71: the Location Request that receives outside input, the IPv6 address of the user side equipment in this request is sent to IPv6 address resolution module 72, the geographical location information of the user side equipment that reception IPv6 address resolution module 72 is returned outputs to the outside with this geographical location information.
IPv6 address resolution module 72: receive the IPv6 address of localization process module 71 inputs, go out the geographical location information of user side equipment, this geographical location information is returned to localization process module 71 from this IPv6 address resolution.
User side equipment shown in Figure 6 can be switch, AP etc.When being switch, the control appliance of mentioning among Fig. 6 can be NM server; When being AP, the control appliance of mentioning among Fig. 6 is AC.
Control appliance shown in Figure 7 can be NM server, AC etc.When being NM server, the user side equipment of mentioning among Fig. 7 can be switch; When being AC, the user side equipment of mentioning among Fig. 7 is AP.
The composition diagram of the AP that Fig. 8 provides for the embodiment of the invention two, as shown in Figure 8, it mainly comprises: interface ID memory module 81, connect and set up module 82 and localization process module 83, wherein:
Interface ID memory module 81: the interface ID that preserves this AP.
Connect and to set up module 82: when this AP reaches the standard grade, generate the interface ID of this AP, generate an IPv6 address, use this IPv6 address to set up CAPWAP and be connected with AC according to this interface ID according to existing method; The interface ID that the geographical location information by this AP that reception AC issues generates, the interface ID that this AC is issued is saved in interface ID memory module 81, disconnect simultaneously and being connected with the CAPWAP of this AC, the interface ID that adopts this AC to issue regenerates an IPv6 address, adopt newly-generated IPv6 address, set up CAPWAP with this AC again and be connected.
Localization process module 83: the Location Request that receives outside input, obtain the interface ID of this AP or set up module 82 from connection and obtain the newly-generated IPv6 address of this AP from interface ID memory module 81, with this interface ID output or the output of IPv6 address, so that the outside goes out the geographical location information of this AP according to this interface ID or IPv6 address resolution.
In actual applications, AP also can comprise: interface ID parsing module, be used to receive the interface ID or the IPv6 address of 83 inputs of localization process module, and go out the geographical location information of this AP from this interface ID or IPv6 address resolution, with this geographical location information output.
The composition diagram of the AC that Fig. 9 provides for the invention process two, as shown in Figure 9, it mainly comprises: connection processing module 91 and interface ID generation module 92, wherein:
Connection processing module 91: find that an AP and this AC have set up CAPWAP and be connected, send this AP sequence number to interface ID generation module 92.
Interface ID generation module 92: receive the AP sequence number that connection processing module 91 is sent, find the position character string of this AP of this AC configuration according to this AP sequence number, obtain the geographical location information of this AP according to this position character string, generate the interface ID of this AP according to the geographical location information of this AP, ID is handed down to this AP with this interface.
In actual applications, AC also can comprise: localization process module and IPv6 address resolution module, wherein:
Localization process module: receive the Location Request of outside input, the IPv6 address of the AP in this request is sent to IPv6 address resolution module, receive the geographical location information of the AP that IPv6 address resolution module returns, this geographical location information is exported.
IPv6 address resolution module: receive the IPv6 address of the AP of localization process module input, go out the geographical location information of AP, this geographical location information is returned to the localization process module from this IPv6 address resolution.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (15)

1. the method for a consumer positioning side apparatus is characterized in that, this method comprises:
Generate the interface ID of this user side equipment according to the geographical location information of user side equipment, user side equipment is preserved this interface ID;
The user side equipment of reaching the standard grade generates an IPv6 address according to self interface ID, uses this IPv6 address and control appliance to connect;
When needs consumer positioning side apparatus,, go out the geographical location information of this user side equipment by this interface ID or IPv6 address resolution from interface ID or the IPv6 address that user side equipment obtains this user side equipment; Perhaps, the IPv6 address that the control appliance that connects from this user side equipment obtains this user side equipment is gone out the geographical location information of this user side equipment by this IPv6 address resolution.
2. the method for claim 1, it is characterized in that, to be configured on the user side equipment by the interface ID generating mode that geographical location information generates interface ID in advance, and, in the time user side equipment will being deployed on the geographical position, this geographical location information is configured on this user side equipment;
The interface ID that described geographical location information according to user side equipment generates this user side equipment is:
User side equipment generates the interface ID of self according to the geographical location information and the interface ID generating mode that are configured in self.
3. the method for claim 1, it is characterized in that, the interface ID that described geographical location information according to user side equipment generates this user side equipment comprises: will be configured on the NM server by the interface ID generating mode that geographical location information generates interface ID in advance
In the time user side equipment will being deployed on the geographical position, NM server generates the interface ID of this user side equipment according to the geographical location information of this user side equipment, and this interface ID is configured on this user side equipment.
4. method according to claim 1 is characterized in that, described method further comprises: NM server obtains the IPv6 address of user side equipment,
And, receive the Location Request of carrying user side equipment IPv6 address when gateway server after, go out the geographical location information of this user side equipment from this IPv6 address resolution, with this geographical location information output.
5. as the arbitrary described method of claim 1 to 4, it is characterized in that described user side equipment is a switch, described control appliance is a NM server;
Perhaps, described user side equipment is a wireless access point AP, and described control appliance is Radio Access Controller AC.
6. method as claimed in claim 5, it is characterized in that, when described user side equipment is AP, when described control appliance is AC, do not dispose the interface ID generating mode that generates interface ID by geographical location information on the described AP, and do not dispose interface ID by the geographical location information generation of this AP;
The interface ID that described geographical location information according to user side equipment generates this user side equipment further comprises before:
AP reaches the standard grade, and adopts existing method to generate an interface ID, generates an IPv6 address according to this interface ID, adopts this IPv6 address and an AC to connect, and this AC obtains the geographical location information of this AP according to the position character string of this AP that self disposes;
The interface ID that described geographical location information according to user side equipment generates this user side equipment comprises:
Described AC generates the interface ID of this AP according to the geographical location information of described AP, and this interface ID is handed down to this AP;
And described user side equipment further comprises when preserving this interface ID: described AP disconnection is connected with described AC's;
And described user side equipment according to the IPv6 address of interface ID generation of self is: described AP generates an IPv6 address according to the interface ID that described AC issues.
7. a user side equipment is characterized in that, comprising:
Interface ID generation module generates the interface ID of this user side equipment according to the geographical location information of this user side equipment, and this interface ID is kept in the interface ID memory module;
Interface ID memory module is preserved the interface ID of this user side equipment;
Connect and to set up module, when reaching the standard grade, obtain the interface ID of this user side equipment, generate an IPv6 address, use this IPv6 address and control appliance to connect according to this interface ID from interface ID memory module;
The localization process module receives the Location Request of outside input, obtains the interface ID of this user side equipment from interface ID memory module, with this interface ID output, so that the outside geographical location information that parses this user side equipment according to this interface ID; Perhaps set up the IPv6 address that module is obtained this user side equipment, with this IPv6 address output, so that the outside geographical location information that goes out this user side equipment according to this IPv6 address resolution from connection.
8. user side equipment as claimed in claim 7 is characterized in that, described user side equipment further comprises:
Interface ID parsing module receives the interface ID or the IPv6 address of the input of localization process module, goes out the geographical location information of this user side equipment from this interface ID or IPv6 address resolution, with this geographical location information output.
9. as claim 7 or 8 described user side equipments, it is characterized in that described user side equipment is switch or AP.
10. a control appliance is characterized in that, comprising:
The localization process module, receive the Location Request of outside input, the IPv6 address of the user side equipment in this request is outputed to IPv6 address resolution module, and the geographical location information of the user side equipment that reception IPv6 address resolution module is returned is with this geographical location information output;
IPv6 address resolution module receives the IPv6 address of localization process module input, goes out the geographical location information of user side equipment from this IPv6 address resolution, and this geographical location information is returned to the localization process module.
11. control appliance as claimed in claim 10 is characterized in that, described control appliance is NM server or AC.
12. an AP is characterized in that, this AP comprises:
Interface ID memory module is preserved the interface ID of this AP;
Connect and to set up module, when reaching the standard grade, generate the interface ID of this AP, generate an IPv6 address, use this IPv6 address and AC to connect according to this interface ID according to existing method; The interface ID that the geographical location information by this AP that reception AC issues generates, the interface ID that this AC is issued is saved in interface ID memory module, disconnection simultaneously is connected with this AC's, the interface ID that adopts this AC to issue regenerates an IPv6 address, adopt newly-generated IPv6 address, connect with this AC again;
The localization process module receives the Location Request of outside input, obtains the interface ID of this AP from interface ID memory module, with this interface ID output, so that the outside geographical location information that parses this AP according to this interface ID; Perhaps, set up module from connection and obtain the newly-generated IPv6 address of this user side equipment, with this IPv6 address output, so that the outside geographical location information that goes out this AP according to this IPv6 address resolution.
13. AP as claimed in claim 12 is characterized in that, described AP further comprises:
Interface ID parsing module receives the interface ID or the IPv6 address of the input of localization process module, goes out the geographical location information of this AP from this interface ID or IPv6 address resolution, with this geographical location information output.
14. an AC is characterized in that, this AC comprises:
The connection processing module on finding an AP and this AC being connected, sends to interface ID generation module with the sequence number of this AP;
Interface ID generation module, the sequence number of the AP that reception connection processing module is sent, find the position character string of this AP of this AC configuration according to the sequence number of this AP, obtain the geographical location information of this AP according to this position character string, generate the interface ID of this AP according to the geographical location information of this AP, ID is handed down to this AP with this interface.
15. AC as claimed in claim 14 is characterized in that, described AC further comprises:
The localization process module receives the Location Request of outside input, and the IPv6 address of the AP in this request is outputed to IPv6 address resolution module, receives the geographical location information of the AP that IPv6 address resolution module returns, and this geographical location information is exported;
IPv6 address resolution module receives the IPv6 address of the AP of localization process module input, goes out the geographical location information of AP from this IPv6 address resolution, and this geographical location information is returned to the localization process module.
CN 201010127171 2010-03-16 2010-03-16 Method for user-side equipment and user-side equipment, control equipment Active CN102196417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010127171 CN102196417B (en) 2010-03-16 2010-03-16 Method for user-side equipment and user-side equipment, control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010127171 CN102196417B (en) 2010-03-16 2010-03-16 Method for user-side equipment and user-side equipment, control equipment

Publications (2)

Publication Number Publication Date
CN102196417A true CN102196417A (en) 2011-09-21
CN102196417B CN102196417B (en) 2013-12-25

Family

ID=44603658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010127171 Active CN102196417B (en) 2010-03-16 2010-03-16 Method for user-side equipment and user-side equipment, control equipment

Country Status (1)

Country Link
CN (1) CN102196417B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167493A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and system for wireless access controller concentrating identification under local transmitting mode
CN104079506A (en) * 2014-07-18 2014-10-01 国家电网公司 Three-layer management structure and application thereof based on geographical position information and used for switch ports
CN109040338A (en) * 2018-07-26 2018-12-18 赛尔网络有限公司 The address IPv6 source tracing method based on space-time
WO2020000403A1 (en) * 2018-06-29 2020-01-02 清华大学 Location-related information access method and device based on geographic interest point coding
CN111698339A (en) * 2020-04-14 2020-09-22 北京迅达云成科技有限公司 IPV6 network positioning method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101513020A (en) * 2006-07-07 2009-08-19 高通股份有限公司 Geolocation-based addressing method for IPV6 addresses
CN101588619A (en) * 2009-06-15 2009-11-25 常熟理工学院 Implement system and service method of next generation all-IP wireless sensor network router
CN101662786A (en) * 2009-10-10 2010-03-03 杭州华三通信技术有限公司 Fit AP network site determining method and equipment thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101513020A (en) * 2006-07-07 2009-08-19 高通股份有限公司 Geolocation-based addressing method for IPV6 addresses
CN101588619A (en) * 2009-06-15 2009-11-25 常熟理工学院 Implement system and service method of next generation all-IP wireless sensor network router
CN101662786A (en) * 2009-10-10 2010-03-03 杭州华三通信技术有限公司 Fit AP network site determining method and equipment thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167493A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and system for wireless access controller concentrating identification under local transmitting mode
CN104079506A (en) * 2014-07-18 2014-10-01 国家电网公司 Three-layer management structure and application thereof based on geographical position information and used for switch ports
CN104079506B (en) * 2014-07-18 2017-02-15 国家电网公司 Three-layer management structure and application thereof based on geographical position information and used for switch ports
WO2020000403A1 (en) * 2018-06-29 2020-01-02 清华大学 Location-related information access method and device based on geographic interest point coding
US11005954B2 (en) 2018-06-29 2021-05-11 Tsinghua University Method and device for accessing location related information
CN109040338A (en) * 2018-07-26 2018-12-18 赛尔网络有限公司 The address IPv6 source tracing method based on space-time
CN111698339A (en) * 2020-04-14 2020-09-22 北京迅达云成科技有限公司 IPV6 network positioning method and device
CN111698339B (en) * 2020-04-14 2021-08-10 北京迅达云成科技有限公司 IPV6 network positioning method and device

Also Published As

Publication number Publication date
CN102196417B (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN102986257B (en) For providing the method and apparatus of unified machine to machine addressing
CN1210924C (en) System and method for using an IP address as a wireless unit identifier
US8391262B2 (en) WLAN communication device
CN101262505B (en) A method, system and device for establishing ARP table items
KR101239450B1 (en) Scalable wlan gateway
CN101510853B (en) Method and apparatus for implementing WLAN wireless bridge, and wireless access client terminal
US20160036764A1 (en) Mechanism And Service For Device Naming
US9094903B2 (en) Method and apparatus for distribution of topology information in communication networks
CN101945374A (en) Network switching method, communication system and corresponding device
CN103716189B (en) A kind of configuration management method for local area network terminal gateway equipment
CN104394577B (en) The wireless network access method of wireless routing device and electronic equipment
CN102196417B (en) Method for user-side equipment and user-side equipment, control equipment
CN105100137A (en) Service discovery method and electronic equipment
CN101110784A (en) Method and apparatus for mixed routing in wireless mesh network
CN107947966B (en) Configuration management system and configuration management method
CN101340496A (en) Method of distributing geo-localisation information
CN103428681A (en) Base station self-starting configuration parameter acquisition method, base station self-starting method and equipment
CN104683994A (en) Wireless network configuration method and wireless network devices
CN103428303A (en) Method and system for IPv6 host to have access to IPv4 server
WO2014173086A1 (en) Information transmission and forwarding method and apparatus
CN102263653A (en) Management system and method of equipment identification in ubiquitous network
CN110351772B (en) Mapping between wireless links and virtual local area networks
EP3993352A1 (en) Supporting dynamic host configuration protocol-based customer premises equipment in fifth generation wireline and wireless convergence
CN104717640A (en) Realization method for wireless network communication based on positioning
CN102957755B (en) A kind of address resolution method, device and information transferring method

Legal Events

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address