CN108769984A - A kind of connection method for building up and device - Google Patents

A kind of connection method for building up and device Download PDF

Info

Publication number
CN108769984A
CN108769984A CN201810648882.0A CN201810648882A CN108769984A CN 108769984 A CN108769984 A CN 108769984A CN 201810648882 A CN201810648882 A CN 201810648882A CN 108769984 A CN108769984 A CN 108769984A
Authority
CN
China
Prior art keywords
address
correspondence
target
management region
response message
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.)
Pending
Application number
CN201810648882.0A
Other languages
Chinese (zh)
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
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810648882.0A priority Critical patent/CN108769984A/en
Publication of CN108769984A publication Critical patent/CN108769984A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the present application provides a kind of connection method for building up and device, is applied to AP, and method includes:Address requests message is sent to Dynamic Host Configuration Protocol server;The address response message that Dynamic Host Configuration Protocol server is fed back according to address request message is received, address response message includes the correspondence of the address of multiple AC and the management region of AC;From the correspondence that address response message includes, the target correspondence of the management region where the location information comprising AP is obtained;The corresponding target AC in address for including into target correspondence, which is sent, finds request message, is connected so that target AC is established according to discovery request message with AP.Using the embodiment of the present application, load balancing is realized.

Description

A kind of connection method for building up and device
Technical field
This application involves fields of communication technology, more particularly to a kind of connection method for building up and device.
Background technology
In WLAN (Wireless Local Area Network, WLAN), there are multiple AC (Access Controller, access controller) and a large amount of AP (Access Point, access point).AP is connect by establishing connection with AC Enter network.AC is responsible for being managed the AP of its foundation connection.
In practical application, an AP can be established with any AC to be connected.This is likely on the AC for causing to have in WLAN The AP of management is excessive, and the problem of load imbalance occurs in the phenomenon very few AP managed on some AC.
Invention content
The embodiment of the present application is designed to provide a kind of connection method for building up and device, to realize load balancing.Specifically Technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of connection method for building up, it is applied to AP, the method includes:
It is sent out to DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol) server Send Address requests message;
Receive the address response message that the Dynamic Host Configuration Protocol server is fed back according to described address request message, described address response Message includes the correspondence of the address of multiple AC and the management region of AC;
From the correspondence that described address response message includes, the pipe where the location information comprising the AP is obtained Manage the target correspondence in region;
The corresponding target AC in address for including into the target correspondence, which is sent, finds request message, so that the mesh It marks AC and connection is established according to the discovery request message and the AP.
Second aspect, the embodiment of the present application provide a kind of connection method for building up, are applied to Dynamic Host Configuration Protocol server, the method Including:
Receive the Address requests message that AP is sent;
According to described address request message, the correspondence of the address of multiple AC and the management region of AC is carried in address The AP is sent in response message, so that the AP from the correspondence that described address response message includes, obtains packet The address for including in the target correspondence of management region where location information containing the AP, with the target correspondence Corresponding target AC establishes connection.
The third aspect, the embodiment of the present application provide a kind of connect and establish device, are applied to AP, described device includes:
First sending module, for sending Address requests message to Dynamic Host Configuration Protocol server;
Receiving module, the address response report fed back according to described address request message for receiving the Dynamic Host Configuration Protocol server Text, described address response message include the correspondence of the address of multiple AC and the management region of AC;
Acquisition module, for from the correspondence that described address response message includes, obtaining the position for including the AP The target correspondence of management region where confidence breath;
Second sending module, the corresponding target AC in address for including into the target correspondence, which is sent, to be found to ask Message is sought, is connected so that the target AC is established according to the discovery request message and the AP.
Fourth aspect, the embodiment of the present application provide a kind of connect and establish device, are applied to Dynamic Host Configuration Protocol server, described device Including:
Receiving module, the Address requests message for receiving AP transmissions;
Sending module is used for according to described address request message, and the address of multiple AC is corresponding with the management region of AC Relationship carrying is sent to the AP in address response message, so that the correspondence that the AP includes from described address response message In relationship, the target correspondence of the management region where the location information comprising the AP is obtained, it is corresponding with the target to close The corresponding target AC in address for including in system establishes connection.
5th aspect, the embodiment of the present application provide a kind of AP, including processor and machine readable storage medium, the machine Device readable storage medium storing program for executing is stored with the machine-executable instruction that can be executed by the processor, and the processor is by the machine Executable instruction promotes to realize the connection method for building up step that above-mentioned first aspect provides.
6th aspect, the embodiment of the present application provide a kind of Dynamic Host Configuration Protocol server, including processor and machine readable storage are situated between Matter, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, the processor Promoted to realize the connection method for building up step that above-mentioned second aspect provides by the machine-executable instruction.
7th aspect, the embodiment of the present application provide a kind of machine readable storage medium, are stored with machine-executable instruction, When being called and being executed by processor, the machine-executable instruction promotes the processor to realize what above-mentioned first aspect provided Connect method for building up step.
Eighth aspect, the embodiment of the present application provide a kind of machine readable storage medium, are stored with machine-executable instruction, When being called and being executed by processor, the machine-executable instruction promotes the processor to realize what above-mentioned second aspect provided Connect method for building up step.
The corresponding of the address of multiple AC and the management region of AC is previously stored in the embodiment of the present application, in Dynamic Host Configuration Protocol server Relationship.AP gets the correspondence of the address of multiple AC and the management region of AC from Dynamic Host Configuration Protocol server, and multiple right from this In should being related to, determine comprising AP location information where management region target correspondence, and then with target correspondence In include the corresponding target AC in address establish connection, and then access network.As it can be seen that in the embodiment of the present application, difference will be located at AP in management region has accessed different AC, and load balancing is realized according to the location information of AP.Certainly, implement the application's Any product or method must be not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the first flow diagram of connection method for building up provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of management region provided by the embodiments of the present application;
Fig. 3 is another schematic diagram of management region provided by the embodiments of the present application;
Fig. 4 is second of flow diagram of connection method for building up provided by the embodiments of the present application;
Fig. 5 is the first structural schematic diagram provided by the embodiments of the present application for connecting and establishing device;
Fig. 6 is second of structural schematic diagram provided by the embodiments of the present application for connecting and establishing device;
Fig. 7 is a kind of structural schematic diagram of AP provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of Dynamic Host Configuration Protocol server provided by the embodiments of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
To realize that load balancing, the embodiment of the present application provide a kind of connection method for building up.In this method, Dynamic Host Configuration Protocol server In be previously stored with multiple AC address and AC management regions correspondence.AP sends Address requests report to Dynamic Host Configuration Protocol server Text.Dynamic Host Configuration Protocol server is according to address request message, to AP feedback addresses response messages.Wherein, address response message includes more The correspondence of the address of a AC and the management region of AC.AP gets multiple correspondences from address response message, and from In this multiple correspondence, the target correspondence of the management region where the location information comprising AP is obtained.AP is to target pair The corresponding target AC in address for including in should being related to, which is sent, finds request message.In turn, target AC according to find request message with AP establishes connection.
As it can be seen that in the embodiment of the present application, the AP in different management regions is accessed to different AC, according to the position of AP Confidence breath realizes load balancing.
With reference to specific embodiment, the application is described in detail.
With reference to figure 1, Fig. 1 is the first flow diagram of connection method for building up provided by the embodiments of the present application.This method Applied to AP, include the following steps.
Step 101:Address requests message is sent to Dynamic Host Configuration Protocol server.
AP sends Address requests message when needing to access network, to Dynamic Host Configuration Protocol server.Dynamic Host Configuration Protocol server receives AP hairs After the Address requests message sent, address is distributed for AP.Wherein, it can be IPv4 that Dynamic Host Configuration Protocol server, which is the address of AP distribution, (Internet Protocol version 4, fourth edition procotol) address, or the addresses IPv6.
Dynamic Host Configuration Protocol server can be integrated on AC, can also be arranged in other equipment, may be located on one it is independent In physical machine.The embodiment of the present application is to this without limiting.
Step 102:Receive the address response message that Dynamic Host Configuration Protocol server is fed back according to address request message.Wherein, address is rung It includes the correspondence of the address of multiple AC and the management region of AC to answer message.
The corresponding of the address of multiple AC and the management region of AC has been prestored in the embodiment of the present application, in Dynamic Host Configuration Protocol server Relationship.After Dynamic Host Configuration Protocol server receives Address requests message, the multiple correspondences being locally stored are carried in address response report Text is sent to AP.It is, after Dynamic Host Configuration Protocol server receives Address requests message, by the multiple correspondences being locally stored and Address carrying, which is distributed, for AP is sent to AP in address response message.
In a kind of optional embodiment, the correspondence of the address of AC and the management region of AC is storable in Option In (selection) option.For example, the correspondence of the management region of the addresses IPv4 and AC of AC be stored in Option43 options or In Option138 options, the correspondence of the addresses IPv6 of AC and the management region of AC is stored in Option52 options.
After Dynamic Host Configuration Protocol server receives the Address requests message of AP transmissions, address will be distributed for AP and store the ground of AC The Option options of the correspondence of the management region of location and AC carry and are sent to AP in address response message.And then AP is from ground It is that AP distributes address, and is got from the Option options of address response message that Dynamic Host Configuration Protocol server is got in the response message of location The correspondence of the address of AC and the management region of AC.
The correspondence of the address of multiple AC and the management region of AC has been prestored in Dynamic Host Configuration Protocol server to be, user It is pre-configured in Dynamic Host Configuration Protocol server.For example, user is in advance by the correspondence of the address of multiple AC and the management region of AC Configuration is in the Option options of Dynamic Host Configuration Protocol server.
The correspondence that the address of multiple AC and the management region of AC have been prestored in Dynamic Host Configuration Protocol server may be use Family is pre-configured in AC.For example, Dynamic Host Configuration Protocol server can be integrated on AC.User is in advance by the address of multiple AC and AC Option option of the correspondence configuration of management region in AC.Dynamic Host Configuration Protocol server receives the Address requests message of AP transmissions Afterwards, Option options are obtained from AC, and the Option options of acquisition are carried and are sent to DHCP service in address response message Device.
In the embodiment of the present application, user can be every AC configuration managements region by WEB (network) administration page.
For example, multiple one cloud platform of AC connections.Map is imported cloud platform by user, and cloud platform identifies each point on map Longitude and latitude.The WEB administration pages that user is provided by cloud platform are respectively divided out for each AC from the map of importing Management region.Later, cloud platform is directed respectively into obtained multiple management regions are divided in corresponding AC.
For another example an AC is capable of providing a WEB administration page.User will be able to be by the WEB administration pages of AC The management region of AC distribution inputs the AC.
In the embodiment of the present application, for the ease of managing and configuring the management region of AC, user can also be incited somebody to action by order line Management region is configured on each AC.For example, user can mark off each AC's on map management software or Online Map Then the location informations such as the longitude of management region and latitude are configured on each AC by management region by order line.
In the embodiment of the present application, the shape of the management region of AC is not limited.The management region of AC can be rectangle, It can be circle, can also be irregular polygon etc..For management region of different shapes, user can input different Location information limits management region.
It is illustrated so that management region is rectangle as an example.User can input the position on four vertex of management region into AC Information limits management region to the location information of angular vertex.Here, location information may include longitude and latitude.
It is illustrated so that management region is polygon as an example.User can input the position on each vertex of management region into AC Confidence ceases to limit management region.
After the management region that AC is completed in configuration, the address of itself and management region correspondence can be stored in user by AC Option options, are sent to Dynamic Host Configuration Protocol server.User configures address and the management that generation includes the AC in Dynamic Host Configuration Protocol server The Option options of the correspondence in region.
Step 103:From the correspondence that address response message includes, the pipe where the location information comprising AP is obtained Manage the target correspondence in region.
The location information of AP may include longitude and latitude.In order to get the location information of AP, GPS can be set in AP (Global Positioning System, global positioning system) module, AP obtain the position at its place by GPS module Information.
For each correspondence, AP detects the location information of AP whether in the management region that the correspondence includes. If the location information of AP, in the management region that the correspondence includes, AP determines that this correspondence is that target corresponds to pass System.If the location information of AP does not do other processing not in the management region that the correspondence includes.
In a kind of optional embodiment, AP detection AP location information whether the management region for including in correspondence , can be with longitude that test position information includes whether in the section of the first longitude and the second longitude when interior, and check bit confidence Whether the latitude that breath includes is in the section of first the second latitude of latitude.Wherein, the first longitude is the management that correspondence includes Minimum longitude of the region on the latitude that location information includes, the second longitude are the management region confidence in place that correspondence includes Maximum longitude on the latitude that breath includes, the first latitude are the longitude that the management region that correspondence includes includes in location information On minimum latitude, the second latitude is maximum latitude of the management region on the longitude that location information includes that correspondence includes Degree.
If the longitude that location information includes is in the section of the first longitude and the second longitude, and the latitude that location information includes In the section of the first latitude and the second latitude, then AP can determine the management region that the location information of AP includes in correspondence It is interior.
For example, management region as shown in Figure 2.If the location information of AP is the location information of a0 points, the longitude of a0 points is X0 and latitude are y0, then AP determines management region on latitude y0 when detecting the location information of AP whether in management region Minimum longitude x01 and maximum longitude x02, i.e. longitude section of the management region on latitude y0 is x01-x02, determines directorial area Minimum latitude y01 of the domain on longitude x0 and maximum latitude y02, i.e. latitude section of the management region on longitude x0 are y01- y02。
As shown in Fig. 2, AC can detect x01≤x0≤x02 and y01≤y0≤y02, i.e. x0 longitude section be x01- In x02, and y0 latitude section be y01-y02 in, and then determine AP location information in management region.
If the location information of AP is the location information of a1 points, the longitude of a1 points is x1 and latitude is y1, then AP is in detection AP Location information whether in management region when, determine minimum longitude x11 of the management region on latitude y1 and maximum longitude X12 determines minimum latitude y11 of the management region on longitude x1 and maximum latitude y12.
As shown in Fig. 2, AC can detect x1≤x11≤x12 and y11≤y12≤y1, i.e. x1 are not in longitude section In x11-x12, and y1 not latitude section be y11-y12 in, and then determine AP location information not in management region.
In the embodiment of the present application, if management region be rectangle, maximum value of the management region on the longitude and latitude of AP and Minimum value is determined according to the coordinate on four vertex of management region.And then whether AP determines the location information of AP in correspondence packet In the management region contained.
If management region is polygon, management region can be divided into the shape of the rule such as rectangle and triangle, into And the coordinate on the Atria vertex obtained according to the coordinate and division that divide obtained four vertex of rectangle, determine directorial area Maximum value and minimum value of the domain on the longitude and latitude of AP.And then AP determine AP location information whether in correspondence include Management region in.
Certainly, it can determine management region on AP longitude and latitude most in the embodiment of the present application by other means Big value and minimum value, the embodiment of the present application is without limiting.
Step 104:The corresponding target AC in address for including into target correspondence, which is sent, finds request message.
Target AC is established with AP according to discovery request message and is connected.For example, target AC is sent to AP for discovery request report The discovery response message of text.AP is established with target AC and is connected according to response message is found.
It in a kind of optional embodiment, is connected to accurately be established with AC, AP is sending out the location information carrying of AP It is sent to target AC in existing request message.Whether the location information of target AC detections AP is in the management region of target AC.If The management region of target AC, then target AC is sent to AP is directed to the discovery response message for finding request message.AP is rung according to discovery It answers message to establish with target AC to connect.If not in the management region of target AC, target AC, which is abandoned, finds request message, refusal with AP establishes connection.
In the embodiment of the present application, the management region of each AC can be overlapping.For the AP of overlapping, AP can be determined Go out multiple target correspondences.At this point, to save Internet resources, AP selects a target pair from multiple target correspondences It should be related to.The corresponding target AC in address that AP includes into selected target correspondence, which is sent, finds request message.
In a kind of optional embodiment, closed for the ease of selecting a target to correspond to from multiple target correspondences It is that the correspondence of the priority of the address of multiple AC, the management region of AC and AC can be stored in Dynamic Host Configuration Protocol server.? It is exactly that the address of multiple AC, the management region of AC and AC are carried in the address response message that Dynamic Host Configuration Protocol server is sent to AP Priority correspondence.It, can be from multiple targets when AP selects a target correspondence from multiple target correspondences In correspondence, the target correspondence for the highest priority for including is selected.
In another optional embodiment, closed for the ease of selecting a target to correspond to from multiple target correspondences It is that the correspondence of the working time of the address of multiple AC, the management region of AC and AC can be stored in Dynamic Host Configuration Protocol server. It is, carried in the address response message that Dynamic Host Configuration Protocol server is sent to AP the address of multiple AC, the management region of AC and The correspondence of the working time of AC.It, can be from multiple when AP selects a target correspondence from multiple target correspondences In target correspondence, the working time for including shortest target correspondence is selected.
In the embodiment of the present application, AP can also be according to other information, and selection target corresponds to from multiple target correspondences Relationship.
In one embodiment of the application, after target AC and AP establishes connection, if the management region in target AC It changes, target AC detects the location information of AP whether in the management region after variation again.If the location information of AP is also In management region after variation, then target AC holdings are connect with AP.If management region of the location information of AP not after variation It is interior, then the connection of target AC cut-out and AP.
Using above-described embodiment, the AP in different management regions has been accessed to different AC, has been believed according to the position of AP Breath realizes load balancing.In addition, accessing AC based on location information management AP, networking configuration is simplified, support is changed at any time.
With reference to management region shown in Fig. 3, connection method for building up provided by the embodiments of the present application is illustrated.
Two management regions, including region 1 and region 2 are divided in Fig. 3, region 1 and region 2 are overlapped, such as the moon in Fig. 3 Shadow part.Wherein, region 1 is the management region of AC1, and region 2 is the management region of AC2.Wherein, AP1 is located at a points, and AP2 is located at B points.The address of AC1 is IP1, and the address of AC2 is IP2.The correspondence 1 that IP1 and region 1 are stored in Dynamic Host Configuration Protocol server 1, with And the correspondence 2. of IP2 and region 2
AP1 needs in the case of network is added, and it is as follows that process realization is established in connection:
Step 11, AP1 sends Address requests message 1 to Dynamic Host Configuration Protocol server 1.
Step 12, Dynamic Host Configuration Protocol server 1 is according to address request message 1, and address IP3 is distributed for AP1, and by IP3, correspondence 1 and correspondence 2 carrying be sent to AP1 in address response message 1.
Step 13, AP1 gets IP3, and detects the location information 1 of AP1 whether in region 1.In addition, AP1 detects AP1 Location information 1 whether in region 2.
Location information 1 is the location information of a points.
Step 14, as shown in Figure 3, AP1 can detect that location information 1 is located in region 1, and then to correspondence 1 Including address ip 1 corresponding AC (AC1) send the discovery request message 1 for carrying location information 1.
Step 15, whether AC1 test positions information 1 is in region 1.
Step 16, AC1 detects location information 1 in region 1, to AP1 feedbacks for the discovery sound for finding request message 1 Answer message 1.
Step 17, AP1 is established with AC1 and is connected according to the discovery response message 1 of reception.
AP2 needs in the case of network is added, and it is as follows that process realization is established in connection:
Step 21, AP2 sends Address requests message 2 to Dynamic Host Configuration Protocol server 1.
Step 22, Dynamic Host Configuration Protocol server 1 is according to address request message 2, and address IP4 is distributed for AP2, and by IP4, correspondence 1 and correspondence 2 carrying be sent to AP2 in address response message 2.
Step 23, AP2 gets IP4, and detects the location information 2 of AP2 whether in region 1.In addition, AP2 detects AP2 Location information 2 whether in region 2.
Location information 2 is the location information of b points.
Step 24, as shown in Figure 3, AP2 can detect that location information 2 is located in region 1, and location information 2 is located at In region 2, then AP2 selects a correspondence from the correspondence 1 of inclusion region 1 and in the correspondence 2 containing region 2, such as Correspondence 1 is selected.
Step 25, address ip 1 corresponding AC (AC1) transmissions that AP2 includes to correspondence 1 carry location information 2 It was found that request message 2.
Step 26, whether AC1 test positions information 2 is in region 1.
Step 27, AC1 detects location information 2 in region 1, to AP2 feedbacks for the discovery sound for finding request message 2 Answer message 2.
Step 28, AP2 is established with AC1 and is connected according to the discovery response message 2 of reception.
Accordingly with above application in the connection method for building up of AP, the embodiment of the present application also provides one kind being applied to DHCP clothes The connection method for building up of business device.With reference to figure 4, Fig. 4 is that second of flow of connection method for building up provided by the embodiments of the present application is shown It is intended to, is applied to Dynamic Host Configuration Protocol server, this method includes:
Step 401, the Address requests message that AP is sent is received.
Step 402, according to address request message, the correspondence of the address of multiple AC and the management region of AC is carried It is sent to AP in address response message.
AP extracts multiple correspondences from address response message, from this multiple correspondence, obtains comprising AP The target correspondence of management region where location information.The corresponding target AC in address that AP includes into target correspondence It sends and finds request message, establish and connect with target AC.
In a kind of optional embodiment, the correspondence of the address of multiple AC and the management region of AC is stored in Option In option.After Dynamic Host Configuration Protocol server receives the Address requests message of AP transmissions, Option options are obtained, Option options are carried It is sent to AP in address response message.
The correspondence of the address of multiple AC and the management region of AC has been prestored in Dynamic Host Configuration Protocol server to be, user It is pre-configured in Dynamic Host Configuration Protocol server.For example, user is in advance by the correspondence of the address of multiple AC and the management region of AC Configuration is in the Option options of Dynamic Host Configuration Protocol server.
The correspondence that the address of multiple AC and the management region of AC have been prestored in Dynamic Host Configuration Protocol server may be use Family is pre-configured in AC.For example, Dynamic Host Configuration Protocol server can be integrated on AC.User is in advance by the address of multiple AC and AC Option option of the correspondence configuration of management region in AC.Dynamic Host Configuration Protocol server receives the Address requests message of AP transmissions Afterwards, Option options are obtained from AC, and the Option options of acquisition are carried and are sent to DHCP service in address response message Device.
Using the embodiment of the present application, pair of the address of multiple AC and the management region of AC is previously stored in Dynamic Host Configuration Protocol server It should be related to.AP gets the correspondence of the address of this multiple AC and the management region of AC from Dynamic Host Configuration Protocol server, and more from this In a correspondence, the target correspondence of the management region where the location information comprising AP is determined, and then corresponding with target The corresponding target AC in address for including in relationship establishes connection, and then accesses network.As it can be seen that in the embodiment of the present application, will be located at AP in different management regions has accessed different AC, and load balancing is realized according to the location information of AP.
Accordingly with above application in the connection method for building up of AP, the embodiment of the present application also provides a kind of companies applied to AP It connects and establishes device.With reference to figure 5, Fig. 5 is the first structural schematic diagram provided by the embodiments of the present application for connecting and establishing device, application In AP, which includes:
First sending module 501, for sending Address requests message to Dynamic Host Configuration Protocol server;
Receiving module 502, the address response message fed back according to address request message for receiving Dynamic Host Configuration Protocol server, address Response message includes the correspondence of the address of multiple AC and the management region of AC;
Acquisition module 503, for including obtaining the location information institute for including AP in correspondence from address response message Management region target correspondence;
Second sending module 504, the corresponding target AC in address for including into target correspondence, which is sent, to be found to ask Message is sought, is connected so that target AC is established according to discovery request message with AP.
In a kind of optional embodiment, target correspondence is multiple;
Second sending module 504, specifically can be used for:From multiple target correspondences, selects a target to correspond to and close System, the corresponding target AC in address for including into selected target correspondence, which is sent, finds request message.
In a kind of optional embodiment, address response message includes:The address of multiple AC, the management region of AC, with And the correspondence of the priority of AC;
Second sending module 504, specifically can be used for:From multiple target correspondences, the priority for including is selected most High target correspondence.
Using the embodiment of the present application, pair of the address of multiple AC and the management region of AC is previously stored in Dynamic Host Configuration Protocol server It should be related to.AP gets the correspondence of the address of this multiple AC and the management region of AC from Dynamic Host Configuration Protocol server, and more from this In a correspondence, the target correspondence of the management region where the location information comprising AP is determined, and then corresponding with target The corresponding target AC in address for including in relationship establishes connection, and then accesses network.As it can be seen that in the embodiment of the present application, will be located at AP in different management regions has accessed different AC, and load balancing is realized according to the location information of AP.
Accordingly with above application in the connection method for building up of Dynamic Host Configuration Protocol server, the embodiment of the present application also provides a kind of applications Device is established in the connection of Dynamic Host Configuration Protocol server.With reference to figure 6, Fig. 6 is that connection provided by the embodiments of the present application establishes the second of device Kind structural schematic diagram, is applied to Dynamic Host Configuration Protocol server, which includes:
Receiving module 601, the Address requests message for receiving AP transmissions;
Sending module 602 is used for according to described address request message, by pair of the address of multiple AC and the management region of AC It should be related to that carrying is sent to AP in address response message, so that AP is obtained from the correspondence that address response message includes The target correspondence of the management region where the location information comprising AP is taken, it is corresponding with the address for including in target correspondence Target AC establish connection.
In a kind of optional embodiment, the correspondence of the address of multiple AC and the management region of AC is stored in Option In option;
Sending module 602 is sent to AP specifically for carrying Option options in address response message.
Using the embodiment of the present application, pair of the address of multiple AC and the management region of AC is previously stored in Dynamic Host Configuration Protocol server It should be related to.AP gets the correspondence of the address of multiple AC and the management region of AC from Dynamic Host Configuration Protocol server, and multiple from this In correspondence, the target correspondence of the management region where the location information comprising AP, and then pass corresponding with target are determined The corresponding target AC in address for including in system establishes connection, and then accesses network.As it can be seen that in the embodiment of the present application, will be located at not Different AC has been accessed with the AP in management region, load balancing is realized according to the location information of AP.
Accordingly with above application in the connection method for building up of AP servers, the embodiment of the present application also provides a kind of AP, such as Shown in Fig. 7, including processor 701 and machine readable storage medium 702, machine readable storage medium 702, which is stored with, to be located Manage the machine-executable instruction that device 701 executes.Processor 701 is promoted to realize connection as shown in Figure 1 by machine-executable instruction Method for building up.The connection method for building up includes:
Address requests message is sent to Dynamic Host Configuration Protocol server;
The address response message that Dynamic Host Configuration Protocol server is fed back according to address request message is received, address response message includes more The correspondence of the address of a AC and the management region of AC;
From the correspondence that address response message includes, the management region where the location information comprising AP is obtained Target correspondence;
The corresponding target AC in the address that includes into target correspondence, which is sent, finds request message so that target AC according to It is connected it was found that request message is established with AP.
Using the embodiment of the present application, pair of the address of multiple AC and the management region of AC is previously stored in Dynamic Host Configuration Protocol server It should be related to.AP gets the correspondence of the address of multiple AC and the management region of AC from Dynamic Host Configuration Protocol server, and multiple from this In correspondence, the target correspondence of the management region where the location information comprising AP, and then pass corresponding with target are determined The corresponding target AC in address for including in system establishes connection, and then accesses network.As it can be seen that in the embodiment of the present application, will be located at not Different AC has been accessed with the AP in management region, load balancing is realized according to the location information of AP.
Accordingly with above application in the connection method for building up of Dynamic Host Configuration Protocol server, the embodiment of the present application also provides a kind of DHCP Server, as shown in figure 8, including processor 801 and machine readable storage medium 802, machine readable storage medium 802 is stored with The machine-executable instruction that can be executed by processor 801.Processor 801 is promoted to realize such as Fig. 4 institutes by machine-executable instruction The connection method for building up shown.The connection method for building up includes:
Receive the Address requests message that AP is sent;
According to address request message, the correspondence of the address of multiple AC and the management region of AC is carried in address response AP is sent in message, so that AP from the correspondence that address response message includes, obtains the location information institute for including AP Management region target correspondence, target AC corresponding with the address for including in target correspondence establish connection.
Using the embodiment of the present application, pair of the address of multiple AC and the management region of AC is previously stored in Dynamic Host Configuration Protocol server It should be related to.AP gets the correspondence of the address of multiple AC and the management region of AC from Dynamic Host Configuration Protocol server, and multiple from this In correspondence, the target correspondence of the management region where the location information comprising AP, and then pass corresponding with target are determined The corresponding target AC in address for including in system establishes connection, and then accesses network.As it can be seen that in the embodiment of the present application, will be located at not Different AC has been accessed with the AP in management region, load balancing is realized according to the location information of AP.
Above-mentioned machine readable storage medium may include RAM (Random Access Memory, random access memory), Can also include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Separately Outside, machine readable storage medium can also be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing, Digital signal processor), ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), It is FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
Accordingly with above application in the connection method for building up of AP servers, the embodiment of the present application also provides a kind of machines can Storage medium is read, machine-executable instruction is stored with, when being called and being executed by processor, machine-executable instruction promotes to handle Device realizes connection method for building up as shown in Figure 1.
Accordingly with above application in the connection method for building up of Dynamic Host Configuration Protocol server, the embodiment of the present application also provides a kind of machines Readable storage medium storing program for executing is stored with machine-executable instruction, and when being called and being executed by processor, the machine-executable instruction promotees The processor is set to realize connection method for building up as shown in Figure 4.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for applied to For the connection method for building up of Dynamic Host Configuration Protocol server, AP, Dynamic Host Configuration Protocol server, machine readable storage medium embodiment, since it is basic It is similar to the connection method for building up embodiment applied to AP, so description is fairly simple, related place is referring to applied to AP's Connect the part explanation of method for building up embodiment.
The foregoing is merely the preferred embodiments of the application, are not intended to limit the protection domain of the application.It is all Any modification, equivalent replacement, improvement and so within spirit herein and principle are all contained in the protection domain of the application It is interior.

Claims (14)

1. a kind of connection method for building up, which is characterized in that it is applied to access point AP, the method includes:
Address requests message is sent to dynamic host configuration protocol DHCP server;
Receive the address response message that the Dynamic Host Configuration Protocol server is fed back according to described address request message, described address response message Include multiple access controller AC address and AC management region correspondence;
From the correspondence that described address response message includes, the directorial area where the location information comprising the AP is obtained The target correspondence in domain;
The corresponding target AC in address for including into the target correspondence, which is sent, finds request message, so that the target AC It is established and is connected according to the discovery request message and the AP.
2. according to the method described in claim 1, it is characterized in that, the target correspondence is multiple;
The corresponding target AC in the address for including into the target correspondence sends the step of finding request message, packet It includes:
From multiple target correspondences, a target correspondence is selected;
The corresponding target AC in address for including into selected target correspondence, which is sent, finds request message.
3. according to the method described in claim 2, it is characterized in that, described address response message include multiple AC address, The correspondence of the management region of AC and the priority of AC;
It is described from multiple target correspondences, select a target correspondence the step of, including:
From multiple target correspondences, the target correspondence for the highest priority for including is selected.
4. a kind of connection method for building up, which is characterized in that be applied to dynamic host configuration protocol DHCP server, the method packet It includes:
Receive the Address requests message that access point AP is sent;
According to described address request message, the correspondence of the address of multiple access controller AC and the management region of AC is carried The AP is sent in address response message, so that the AP is from the correspondence that described address response message includes, Acquisition includes the target correspondence of the management region where the location information of the AP, includes with the target correspondence The corresponding target AC in address establish connection.
5. according to the method described in claim 4, it is characterized in that, the address of the multiple AC is corresponding with the management region of AC Relationship is stored in selection Option options;
It is described to carry the correspondence of the address of multiple access controller AC and the management region of AC in address response message The step of being sent to the AP, including:
Option options carrying is sent to the AP in address response message.
6. device is established in a kind of connection, which is characterized in that be applied to access point AP, described device includes:
First sending module, for sending Address requests message to dynamic host configuration protocol DHCP server;
Receiving module, the address response message fed back according to described address request message for receiving the Dynamic Host Configuration Protocol server, institute State the correspondence that address response message includes the address of multiple access controller AC and the management region of AC;
Acquisition module is believed for from the correspondence that described address response message includes, obtaining the position comprising the AP The target correspondence of management region where ceasing;
Second sending module, the corresponding target AC in address for including into the target correspondence, which is sent, finds request report Text connects so that the target AC is established according to the discovery request message and the AP.
7. device according to claim 6, which is characterized in that the target correspondence is multiple;
Second sending module, is specifically used for:From multiple target correspondences, a target correspondence is selected, to institute The corresponding target AC in address for including in the target correspondence of selection, which is sent, finds request message.
8. device according to claim 7, which is characterized in that described address response message includes:The address of multiple AC, The correspondence of the management region of AC and the priority of AC;
Second sending module, is specifically used for:From multiple target correspondences, the target of highest priority for including is selected Correspondence.
9. device is established in a kind of connection, which is characterized in that be applied to dynamic host configuration protocol DHCP server, described device packet It includes:
Receiving module, the Address requests message sent for receiving access point AP;
Sending module is used for according to described address request message, by the management region of the address and AC of multiple access controller AC Correspondence carrying the AP is sent in address response message so that the AP includes from described address response message Correspondence in, obtain comprising the AP location information where management region target correspondence, with the target The corresponding target AC in address for including in correspondence establishes connection.
10. device according to claim 9, which is characterized in that pair of the address of the multiple AC and the management region of AC It should be related to and be stored in selection Option options;
The sending module, specifically for Option options carrying is sent to the AP in address response message.
11. a kind of access point AP, which is characterized in that including processor and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be executed by the processor, and the processor is by the machine-executable instruction Promote:Realize any method and steps of claim 1-3.
12. a kind of dynamic host configuration protocol DHCP server, which is characterized in that be situated between including processor and machine readable storage Matter, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, the processor Promoted by the machine-executable instruction:Realize any method and steps of claim 4-5.
13. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and When execution, the machine-executable instruction promotes the processor:Realize any method and steps of claim 1-3.
14. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and When execution, the machine-executable instruction promotes the processor:Realize any method and steps of claim 4-5.
CN201810648882.0A 2018-06-22 2018-06-22 A kind of connection method for building up and device Pending CN108769984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810648882.0A CN108769984A (en) 2018-06-22 2018-06-22 A kind of connection method for building up and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810648882.0A CN108769984A (en) 2018-06-22 2018-06-22 A kind of connection method for building up and device

Publications (1)

Publication Number Publication Date
CN108769984A true CN108769984A (en) 2018-11-06

Family

ID=63976085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810648882.0A Pending CN108769984A (en) 2018-06-22 2018-06-22 A kind of connection method for building up and device

Country Status (1)

Country Link
CN (1) CN108769984A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417822A (en) * 2019-09-16 2019-11-05 武汉先同科技有限公司 The method that client and server establish TCP connection automatically in local area network
CN114666870A (en) * 2020-12-22 2022-06-24 中国电信股份有限公司 Method and device for establishing connection between access point of wireless local area network and access controller

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060058020A1 (en) * 2004-07-14 2006-03-16 Fox David A Location updating in communications networks
US20070147352A1 (en) * 2005-12-27 2007-06-28 Memetics Technology Co., Ltd. Access point and wireless audio both having self-sustained power supply apparatus
CN101217440A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 An access method and access device of AP to AC in wireless LAN
CN101557414A (en) * 2008-04-10 2009-10-14 中国移动通信集团公司 Positioning method, equipment and system based on WLAN
CN101742561A (en) * 2009-12-30 2010-06-16 杭州华三通信技术有限公司 Method and device for establishing tunnel connection
CN102387539A (en) * 2011-10-31 2012-03-21 福建三元达通讯股份有限公司 Implement method and system for cluster management and load balancing of WLAN system
CN103916853A (en) * 2012-12-31 2014-07-09 中兴通讯股份有限公司 Control method for access node in wireless local-area network and communication system
EP2779754A1 (en) * 2011-11-21 2014-09-17 Huawei Technologies Co., Ltd. Method, device and system for finding wireless access point
CN105120508A (en) * 2015-09-23 2015-12-02 苏州汉明科技有限公司 Method and system for AP to automatically acquire an on-line position
CN105554093A (en) * 2015-12-10 2016-05-04 广州蓝杰网络科技有限公司 Cloud-based link method and link system between wireless controller (AC) and wireless hotspot
CN106301822A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 A kind of methods, devices and systems that AP is configured
CN106304396A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 The method of access point discovery wireless controller, system and relevant apparatus
US20170171811A1 (en) * 2014-08-27 2017-06-15 Huawei Technologies Co., Ltd. Access controller, station, access point, and control method
CN106993286A (en) * 2017-03-10 2017-07-28 上海斐讯数据通信技术有限公司 Radio reception device accesses high in the clouds AC method and system in a kind of wireless network

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060058020A1 (en) * 2004-07-14 2006-03-16 Fox David A Location updating in communications networks
US20070147352A1 (en) * 2005-12-27 2007-06-28 Memetics Technology Co., Ltd. Access point and wireless audio both having self-sustained power supply apparatus
CN101217440A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 An access method and access device of AP to AC in wireless LAN
CN101557414A (en) * 2008-04-10 2009-10-14 中国移动通信集团公司 Positioning method, equipment and system based on WLAN
CN101742561A (en) * 2009-12-30 2010-06-16 杭州华三通信技术有限公司 Method and device for establishing tunnel connection
CN102387539A (en) * 2011-10-31 2012-03-21 福建三元达通讯股份有限公司 Implement method and system for cluster management and load balancing of WLAN system
EP2779754A1 (en) * 2011-11-21 2014-09-17 Huawei Technologies Co., Ltd. Method, device and system for finding wireless access point
CN103916853A (en) * 2012-12-31 2014-07-09 中兴通讯股份有限公司 Control method for access node in wireless local-area network and communication system
US20170171811A1 (en) * 2014-08-27 2017-06-15 Huawei Technologies Co., Ltd. Access controller, station, access point, and control method
CN106301822A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 A kind of methods, devices and systems that AP is configured
CN106304396A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 The method of access point discovery wireless controller, system and relevant apparatus
CN105120508A (en) * 2015-09-23 2015-12-02 苏州汉明科技有限公司 Method and system for AP to automatically acquire an on-line position
CN105554093A (en) * 2015-12-10 2016-05-04 广州蓝杰网络科技有限公司 Cloud-based link method and link system between wireless controller (AC) and wireless hotspot
CN106993286A (en) * 2017-03-10 2017-07-28 上海斐讯数据通信技术有限公司 Radio reception device accesses high in the clouds AC method and system in a kind of wireless network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417822A (en) * 2019-09-16 2019-11-05 武汉先同科技有限公司 The method that client and server establish TCP connection automatically in local area network
CN114666870A (en) * 2020-12-22 2022-06-24 中国电信股份有限公司 Method and device for establishing connection between access point of wireless local area network and access controller

Similar Documents

Publication Publication Date Title
US9712485B2 (en) Dynamic DNS-based service discovery
EP3625952B1 (en) Topic handling in mqtt networks
US7181503B2 (en) Apparatus and method of searching for DNS server in outernet
CN105635338B (en) A kind of data transmission method and device
US10862853B2 (en) Method and apparatus for automatic geoaware access point provisioning
WO2013155344A1 (en) System asset repository management
CN105684376A (en) Location services on a data exchange layer
CN102148879A (en) Port mapping method and device and communication system
CN103167045B (en) Select method, dns server and the DNS management system of network layer protocol
CN106375491A (en) Method, device and system for discovering network equipment
CN104468853A (en) Domain name resolution method, server and system
CN108769984A (en) A kind of connection method for building up and device
CN103561122B (en) IPv6 address collocation method, IPv6 client and server
CN104468619A (en) Method and gateway for achieving dual-stack web authentication
CN109495369A (en) A kind of message forwarding method and device
CN106899444A (en) A kind of end-probing method and device for many LANs
CN106060770B (en) A kind of localization method and device
US11805422B2 (en) AP deployment in a network comprising a centralized system and a distributed system
CN109951493A (en) A kind of network intercommunication method, device, equipment and storage medium
US20050125550A1 (en) Location information via DHCP
CN108718280A (en) A kind of message forwarding method and device
JPH09282259A (en) Network system
US9025494B1 (en) IPv6 network device discovery
CN109617817A (en) A kind of generation method and device of the forwarding-table item of MLAG networking
CN109819059A (en) Manage method, apparatus, equipment and the storage medium of the network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106