CN108449799A - A kind of connection method for building up and device - Google Patents
A kind of connection method for building up and device Download PDFInfo
- Publication number
- CN108449799A CN108449799A CN201810181598.7A CN201810181598A CN108449799A CN 108449799 A CN108449799 A CN 108449799A CN 201810181598 A CN201810181598 A CN 201810181598A CN 108449799 A CN108449799 A CN 108449799A
- Authority
- CN
- China
- Prior art keywords
- location information
- latitude
- longitude
- management area
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present application provides a kind of connection method for building up and device, method include:AC receives the discovery request message that AP is sent, wherein finds that request message includes the location information of AP.Whether AC test positions information is in preset management area.If in preset management area, AC is sent to AP for the discovery response message for finding request message.AP determines target AC according to the discovery response message of reception, and establishes and connect with target AC.Using technical solution provided by the embodiments of the present application, load balancing is realized.
Description
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:
To achieve the above object, the embodiment of the present application provides a kind of connection method for building up, is applied to AC, the method packet
It includes:
Receive the discovery request message that AP is sent;Wherein, described to find that request message includes the location information of the AP;
The location information is detected whether in preset management area;
If in the preset management area, is sent to the AP and respond report for the discovery for finding request message
Text so that the AP determines target AC according to the discovery response message of reception, and is established with the target AC and is connected.
To achieve the above object, the embodiment of the present application also provides a kind of connection method for building up, are applied to AP, the method
Including:
Obtain the location information of the AP;
The location information is carried and is broadcasted in finding request message, so as to receive the discovery request message
Each AC detects the location information whether in the preset management area in the AC, if in the preset management area,
It is sent to the AP for the discovery response message for finding request message;
Receive the discovery response message that each AC is sent;
Target AC is determined from the source AC for finding response message, and is established and connected with the target AC.
To achieve the above object, the embodiment of the present application also provides a kind of connections to establish device, is applied to AC, described device
Including:
Receiving unit, the discovery request message for receiving AP transmissions;Wherein, the discovery request message includes described
The location information of AP;
Detection unit, for detecting the location information whether in preset management area;
Processing unit sends to the AP and is asked for the discovery if the testing result for detection unit is yes
The discovery response message of message so that the AP determines target AC according to the discovery response message of reception, and with the target AC
Establish connection.
To achieve the above object, the embodiment of the present application also provides a kind of connections to establish device, is applied to AP, described device
Including:
Acquiring unit, the location information for obtaining the AP;
Transmission unit is broadcasted for carrying the location information in finding request message, so that described in receiving
It was found that each AC of request message detects the location information whether in the preset management area in the AC, if described default
In management region, then sent to the AP for the discovery response message for finding request message;
Receiving unit, the discovery response message sent for receiving each AC;
Unit is established, for determining target AC from the source AC for finding response message, and establishes and connects with the target AC
It connects.
To achieve the above object, the embodiment of the present application also provides a kind of AC, including processor and machine readable storage to be 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 above application in the connection method for building up of AC by the machine-executable instruction.
To achieve the above object, the embodiment of the present application also provides a kind of AP, including processor and machine readable storage to be 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 above application in the connection method for building up of AP by the machine-executable instruction.
To achieve the above object, the embodiment of the present application also provides a kind of machine readable storage mediums, and being stored with machine can
It executes instruction, when being called and being executed by processor, the machine-executable instruction promotes the processor to realize above application
In the connection method for building up of AC.
To achieve the above object, the embodiment of the present application also provides a kind of machine readable storage mediums, and being stored with machine can
It executes instruction, when being called and being executed by processor, the machine-executable instruction promotes the processor to realize above application
In the connection method for building up of AP.
In technical solution provided by the embodiments of the present application, the management region of the AC is previously provided in AC.AP is being accessed
When network, the location information of itself is carried and is sent to AC in finding request message.After AC receives discovery request message, if
The location information for finding request message carrying is determined in the preset management area of the AC, then is directed to AP transmissions and finds that request is reported
The discovery response message of text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that
In the embodiment of the present application, the AP in different management regions has been accessed to different AC, has been realized according to the location information of AP
Load balancing.Certainly, implementing any product of the application or method must be not necessarily required to reach all the above excellent simultaneously
Point.
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 AC provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of AP 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, set in advance in AC
It is equipped with the management region of the AC.The location information of itself is carried and is sent in finding request message when accessing network by AP
AC.After AC receives discovery request message, however, it is determined that find default directorial area of the location information in the AC of request message carrying
In domain, then sent to AP for the discovery response message for finding request message.In this way, AP can according to find response message with
AC establishes connection, and then accesses network.As it can be seen that in the embodiment of the present application, the AP in different management regions has been accessed not
Same AC, load balancing is realized according to the location information of AP.
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
Using with AC, including:
Step 101:Receive the discovery request message that AP is sent.
Wherein, it is found that request message includes the location information of AP.The location information of AP can be AP residing for longitude and
Latitude.The location information of AP may be distances etc. of the AP relative to a fixed point.
In order to get the location information of AP, GPS (Global Positioning System, the whole world can be set in AP
Positioning system) module, AP by GPS module obtain its location of information.
AP gets location information when needing that network is added, and location information is carried and is carried out in finding request message
Broadcast.
Step 102:The location information of AP is detected whether in preset management area.If the location information of AP is in default pipe
It manages in region, thens follow the steps 103.
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 preset management area is not limited, preset management area can be rectangle,
It can be circle, can also be irregular polygon etc..For preset management area of different shapes, user can input not
With location information limit preset management area.
It is illustrated so that preset management area is rectangle as an example.User can input the top of preset management area four into AC
The location information of point limits preset management area to the location information of angular vertex.Here, location information may include longitude
And latitude.
It is illustrated so that preset management area is polygon as an example.It is each that user can input preset management area into AC
The location information on vertex limits preset management area.
In one embodiment of the application, the location information of AP includes longitude and latitude.
AC is when detecting the location information of AP whether in preset management area, the longitude that can include with test position information
Whether in the section of the first longitude and the second longitude, and whether the latitude that test position information includes is in first the second latitude of latitude
In the section of degree.Wherein, the first longitude is minimum longitude of the preset management area on the latitude that location information includes, the second warp
Degree is maximum longitude of the preset management area on the latitude that location information includes, and the first latitude is preset management area in position
Minimum latitude on the longitude that information includes, the second latitude are maximum of the preset management area on the longitude that location information includes
Latitude.
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 AC can determine the location information of AP in preset management area.
For example, preset management area as shown in Figure 2.If the location information that AC receives AP is the location information of a0 points,
The longitude of a0 points is x0 and latitude is y0, then AC is determined pre- when detecting the location information of AP whether in preset management area
If minimum longitude x01 of the management region on latitude y0 and maximum longitude x02, i.e. longitude of the preset management area on latitude y0
Section is x01-x02, determines minimum latitude y01 of the preset management area on longitude x0 and maximum latitude y02, i.e., default management
Latitude section of the region on longitude x0 is 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 preset management area.
If the location information that AC receives AP is the location information of a1 points, the longitude of a1 points is x1 and latitude is y1, then AC
When detecting the location information of AP whether in preset management area, minimum longitude of the preset management area on latitude y1 is determined
X11 and maximum longitude x12 determines minimum latitude y11 of the preset management area 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 latitude section be y11-y12 in, and then determine AP location information not in preset management area.
In the embodiment of the present application, if preset management area is rectangle, preset management area is on the longitude and latitude of AP
Maximum value and minimum value are determined according to the coordinate on the vertex of preset management area four.
If preset management area is polygon, preset management area can be divided into the rule such as rectangle and triangle
Shape, and then the coordinate on the Atria vertex obtained according to the coordinate and division that divide obtained four vertex of rectangle, really
Determine maximum value and minimum value of the preset management area on the longitude and latitude of AP.
Certainly, it can determine preset management area on AP longitude and latitude by other means in the embodiment of the present application
Maximum value and minimum value, the embodiment of the present application without limit.
Step 103:It is sent to AP for the discovery response message for finding request message.
AP determines target AC according to the discovery response message of reception, and establishes and connect with target AC.
In the embodiment of the present application, the preset management area of each AC can be overlapping.For overlapping AP to network
After middle broadcast finds request message, which can receive the discovery response report for discovery request message that multiple AC are sent
Text.AP determines target AC from the source AC for sending discovery response message, and establishes and connect with target AC.Here, it sends and finds
The AC of response message is the source AC for finding response message.
In order to ensure communication quality, AP can carry out the discovery response message that first receives when determining target AC
Source AC is determined as target AC, the AC of highest priority can also be selected as target AC from the source AC for finding response message;
Working time shortest AC can also be selected as target AC from the source AC for finding response message.It is, of course, also possible to using
Other modes determine target AC, and the embodiment of the present application is to this without limiting.The letters such as the priority of above-mentioned AC, the working time of AC
Breath can carry in response message, can be that user is pre-configured in AP.
In one embodiment of the application, after AC and AP establishes connection, if the preset management area hair in the AC
Changing, then the AC detect the location information of AP again whether in the preset management area after variation.If the location information of AP
In preset management area also after variation, then AC holdings are connect with the AP.If the location information of AP is pre- not after variation
If in management region, then the connection of AC cut-out and AP.At this point, AP re-broadcasts discovery request message, with other in network
AC re-establishes connection, with proof load equilibrium.
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.
AP1 needs in the case of network is added, and it is as follows that process realization is established in connection:
Step 11, AP1 obtains the location information 1 of a points, and location information 1 is carried and is carried out extensively in finding request message 1
It broadcasts.
Step 12, after AC1 receives discovery request message 1, whether test position information 1 is in region 1.
In addition, AC2 is received after finding request message 1, whether test position information 1 is in region 2.
Step 13, as shown in Figure 3, AC1 can detect that location information 1 is located in region 1, and then feed back needle to AP1
To finding the discovery response message 1 of request message 1.
AC2 detects location information 1 not in region 2, then is not fed back to AP1 and find response message.
Step 14, AP1 determines that target AC is AC1 according to the discovery response message 1 of reception, establishes and connects with AC1.
AP2 needs in the case of network is added, and it is as follows that process realization is established in connection:
Step 21, AP2 obtains the location information 2 of b points, and location information 2 is carried and is carried out extensively in finding request message 2
It broadcasts.
Step 22, after AC1 receives discovery request message 2, whether test position information 2 is in region 1.
In addition, AC2 is received after finding request message 2, whether test position information 2 is in region 2.
Step 23, as shown in Figure 3, AC1 can detect that location information 2 is located in region 1, and then feed back needle to AP2
To finding the discovery response message 20 of request message 2.
AC2 may also detect that location information 2 is located in region 2, and then to AP2 feedbacks for discovery request message 2
It was found that response message 21.
Step 24, after AP2 receives discovery response message 20 and finds response message 21, from coming for discovery response message 20
Target AC is determined in the source AC (AC2) of source AC (AC1) and discovery response message 21, such as determining target AC is AC1, then
AP2 and AC1, which is established, to be connected.
Accordingly with above application in the connection method for building up of AC, the embodiment of the present application also provides a kind of companies applied to AP
Connect method for building up.With reference to figure 4, Fig. 4 is second of flow diagram of connection method for building up provided by the embodiments of the present application, application
In AP, this method includes:
Step 401:Obtain the location information of AP.
Step 402:Location information is carried and is broadcasted in finding request message.
It receives and finds that whether each AC of request message detects the location information for finding request message carrying in the AC respectively
In preset management area in.If in preset management area, which sends to AP for the discovery sound for finding request message
Answer message.
Step 403:Receive the discovery response message that each AC is sent.
Step 404:Target AC is determined from the source AC for finding response message, and is established and connected with target AC.
In the embodiment of the present application, preset management area can be overlapped in each AC.In the management region that AP is located at overlapping,
Multiple discovery response messages can be received.At this point, AP determines target AC from this multiple source AC for finding response message, and
It establishes and connects with target AC.
If only receiving a discovery response message, the corresponding AP of the discovery response message is determined directly as target AC,
And it establishes and connects with target AC.
In one embodiment of the application, in order to ensure communication quality, determined from the source AC for finding response message
The step of target AC, may include:The source AC for the discovery response message that first receives is determined as target AC;Or
From the source AC for finding response message, select the AC of highest priority as target AC;Or
From the source AC for finding response message, select working time shortest AC as target AC.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
Corresponding with applied to the connection method for building up of AC, the embodiment of the present application also provides a kind of connections to establish 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, is used for AC, the device packet
It includes:
Receiving unit 501, the discovery request message for receiving AP transmissions;Wherein, it is found that request message includes AP's
Location information;
Detection unit 502, for test position information whether in preset management area;
Processing unit 503 is sent to AP for discovery request message if the testing result for detection unit is yes
It was found that response message, so that AP determines target AC according to the discovery response message of reception, and establishes with target AC and connects.
In one embodiment of the application, processing unit 503 can be also used for:
If the testing result of detection unit is no, discovery request message is abandoned.
In one embodiment of the application, location information includes longitude and latitude;
Detection unit 502, specifically can be used for:
Whether the longitude that test position information includes is in the section of the first longitude and the second longitude, and test position information
Including latitude whether in the section of first the second latitude of latitude;Wherein, the first longitude is preset management area confidence in place
Minimum longitude on the latitude that breath includes, the second longitude are maximum warp of the preset management area on the latitude that location information includes
Degree, the first latitude are minimum latitude of the preset management area on the longitude that location information includes, and the second latitude is default management
Maximum latitude of the region on the longitude that location information includes;
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, it is determined that location information is in preset management area.
In one embodiment of the application, detection unit 502 can be also used for:It is connected if AC and AP is established, when pre-
If management region changes, whether test position information is in the preset management area after variation again;
Processing unit 503, can be also used for:If in preset management area of the location information not after variation, cut-out with
The connection of AP.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
Corresponding with applied to the connection method for building up of AP, the embodiment of the present application also provides a kind of connections to establish device.
With reference to figure 6, Fig. 6 is second of structural schematic diagram provided by the embodiments of the present application for connecting and establishing device, is used for AP, the device packet
It includes:
Acquiring unit 601, the location information for obtaining AP;
Transmission unit 602 is broadcasted for carrying location information in finding request message, finds to ask so as to receive
Ask each AC test positions information of message whether in the preset management area in the AC, if in preset management area,
It is sent to AP for the discovery response message for finding request message;
Receiving unit 603, the discovery response message sent for receiving each AC;
Unit 604 is established, for determining target AC from the source AC for finding response message, and establishes and connects with target AC
It connects.
In one embodiment of the application, unit is established, specifically can be used for:
The source AC for the discovery response message that first receives is determined as target AC;Or from find response message source
In AC, select the AC of highest priority as target AC;Or from the source AC for finding response message, select the working time most short
AC as target AC.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
Corresponding with applied to the connection method for building up of AC, the embodiment of the present application also provides a kind of AC, 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 held by processor 701
Capable machine-executable instruction.Processor 701 is promoted to realize above application in the connection foundation side of AC by machine-executable instruction
Method.
In addition, as shown in fig. 7, AC can also include:Communication interface 703 and communication bus 704;Wherein, processor 701,
Machine readable storage medium 702, communication interface 703 complete mutual communication by communication bus 704, and communication interface 703 is used
Communication between above-mentioned AC and other equipment.
Wherein, machine-executable instruction includes:Receive instruction 712, detection instruction 722 and process instruction 732.
Processor 701 is received instruction 712 and promotes to realize:Receive the discovery request message that AP is sent;Wherein, request is found
Message includes the location information of AP;
Processor 701 is detected instruction 722 and promotes to realize:Whether test position information is in preset management area;
Processor 701 is promoted to realize by process instruction 732:If the testing result of detection instruction is yes, needle is sent to AP
To finding the discovery response message of request message, so that AP determines target AC, and and target according to the discovery response message of reception
AC establishes connection.
In one embodiment of the application, processor 701 is promoted to realize by process instruction 732:
If the testing result of detection instruction is no, discovery request message is abandoned.
In one embodiment of the application, location information includes longitude and latitude;
Processor 701 is detected instruction 722 and promotes specifically to may be implemented:
Whether the longitude that test position information includes is in the section of the first longitude and the second longitude, and test position information
Including latitude whether in the section of first the second latitude of latitude;Wherein, the first longitude is preset management area confidence in place
Minimum longitude on the latitude that breath includes, the second longitude are maximum warp of the preset management area on the latitude that location information includes
Degree, the first latitude are minimum latitude of the preset management area on the longitude that location information includes, and the second latitude is default management
Maximum latitude of the region on the longitude that location information includes;
If the longitude that location information includes is in the section of the first longitude and the second longitude, and location information includes latitude
In the section of the first latitude and the second latitude, it is determined that location information is in preset management area.
In one embodiment of the application, processor 701 is detected instruction 722 and promotes to realize:
It is connected if AC and AP is established, when preset management area changes, whether test position information is becoming again
In preset management area after change;
Processor 701 is promoted to realize by process instruction 732:If default directorial area of the location information not after variation
In domain, then the connection of cut-out and AP.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
Communication bus 704 can be PCI (Peripheral Component Interconnect, Peripheral Component Interconnect mark
It is accurate) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus
Deng.The communication bus 704 can be divided into address bus, data/address bus, controlling bus etc..For ease of indicating, only with one in Fig. 7
Thick line indicates, it is not intended that an only bus or a type of bus.
Machine readable storage medium 702 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 702 can also be at least one storage device for being located remotely from aforementioned processor.
Processor 701 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.
Corresponding with applied to the connection method for building up of AP, the embodiment of the present application also provides a kind of AP, as shown in figure 8,
Including processor 801 and machine readable storage medium 802, machine readable storage medium 802, which is stored with, to be held by processor 801
Capable machine-executable instruction.Processor 801 is promoted to realize above application in the connection foundation side of AP by machine-executable instruction
Method.
In addition, as shown in figure 8, AP can also include:Communication interface 803 and communication bus 804;Wherein, processor 801,
Machine readable storage medium 802, communication interface 803 complete mutual communication by communication bus 804, and communication interface 803 is used
Communication between above-mentioned AP and other equipment.
Wherein, machine-executable instruction includes:Acquisition instruction 812 sends instruction 822, receives instruction 832 and establishes instruction
842。
Processor 801 is acquired instruction 812 and promotes to realize:Obtain the location information of AP;
Processor 801 is promoted to realize by instruction 822 is sent:Location information is carried and is carried out extensively in finding request message
It broadcasts, so as to each AC test positions information for finding request message is received whether in the preset management area in the AC, if
In preset management area, then sent to AP for the discovery response message for finding request message;
Processor 801 is received instruction 832 and promotes to realize:Receive the discovery response message that each AC is sent;
Processor 801 is established instruction 842 and promotes to realize:Target AC is determined from the source AC for finding response message, and
It establishes and connects with target AC.
In one embodiment of the application, processor 801 is established instruction 842 and promotes specifically to may be implemented:
The source AC for the discovery response message that first receives is determined as target AC;Or from find response message source
In AC, select the AC of highest priority as target AC;Or from the source AC for finding response message, select the working time most short
AC as target AC.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
Communication bus 804 can be pci bus or eisa bus etc..The communication bus 804 can be divided into address bus, number
According to bus, controlling bus etc..For ease of indicating, only indicated with a thick line in Fig. 8, it is not intended that an only bus or one
The bus of type.
Machine readable storage medium 802 may include RAM, can also include NVM, for example, at least a magnetic disk storage.
In addition, machine readable storage medium 802 can also be at least one storage device for being located remotely from aforementioned processor.
Processor 801 can be general processor, including CPU, NP etc.;It can also be that DSP, ASIC, FPGA or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.
Corresponding with applied to the connection method for building up of AC, the embodiment of the present application also provides a kind of machine readable storage Jie
Matter is stored with machine-executable instruction, and when being called and being executed by processor, machine-executable instruction promotes processor to realize
State the connection method for building up applied to AC.
Wherein, machine-executable instruction includes:Receive instruction, detection instruction and process instruction.
When being called and being executed by processor, receives instruction and processor is promoted to realize:Receive the discovery request report that AP is sent
Text;Wherein, it is found that request message includes the location information of AP;
When being called and being executed by processor, detection instruction promotes processor to realize:Whether test position information is default
In management region;
When being called and being executed by processor, process instruction promotes processor to realize:If the testing result of detection instruction is
It is then to be sent to AP for the discovery response message for finding request message, so that AP is determined according to the discovery response message of reception
Target AC, and establish and connect with target AC.
In one embodiment of the application, when being called and being executed by processor, process instruction promotes processor may be used also
To realize:
If the testing result of detection instruction is no, discovery request message is abandoned.
In one embodiment of the application, location information includes longitude and latitude;
When being called and being executed by processor, detection instruction promotes processing implement body may be implemented:
Whether the longitude that test position information includes is in the section of the first longitude and the second longitude, and test position information
Including latitude whether in the section of first the second latitude of latitude;Wherein, the first longitude is preset management area confidence in place
Minimum longitude on the latitude that breath includes, the second longitude are maximum warp of the preset management area on the latitude that location information includes
Degree, the first latitude are minimum latitude of the preset management area on the longitude that location information includes, and the second latitude is default management
Maximum latitude of the region on the longitude that location information includes;
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, it is determined that location information is in preset management area.
In one embodiment of the application, when being called and being executed by processor, detection instruction promotes processor may be used also
To realize:
It is connected if AC and AP is established, when preset management area changes, whether test position information is becoming again
In preset management area after change;
When being called and being executed by processor, process instruction promotes processor that can also be realized:If location information does not exist
In preset management area after variation, then the connection of cut-out and AP.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
Corresponding with applied to the connection method for building up of AP, the embodiment of the present application also provides a kind of device readable storage mediums
Matter is stored with machine-executable instruction, and when being called and being executed by processor, machine-executable instruction promotes processor to realize
State the connection method for building up applied to AP.
Wherein, machine-executable instruction includes:Acquisition instruction sends instruction, receives instruction and establishes instruction.
When being called and being executed by processor, acquisition instruction promotes processor to realize:Obtain the location information of AP;
When being called and being executed by processor, sends instruction and processor is promoted to realize:Location information is carried and is finding to ask
Ask in message and broadcasted so that receive find request message each AC test positions information whether the default pipe in the AC
It manages in region, if in preset management area, is sent to AP for the discovery response message for finding request message;
When being called and being executed by processor, receives instruction and processor is promoted to realize:The discovery that each AC is sent is received to ring
Answer message;
When being called and being executed by processor, establishes instruction and processor is promoted to realize:From the source AC for finding response message
Middle determining target AC, and establish and connect with target AC.
In one embodiment of the application, when being called and being executed by processor, establishes instruction and promote to handle implement body
It may be implemented:
The source AC for the discovery response message that first receives is determined as target AC;Or from find response message source
In AC, select the AC of highest priority as target AC;Or from the source AC for finding response message, select the working time most short
AC as target AC.
Using the embodiment of the present application, the management region of the AC is previously provided in AC.AP when accessing network, by itself
Location information carrying is sent to AC in finding request message.After AC receives discovery request message, however, it is determined that find request report
For the location information that text carries in the preset management area of the AC, then the discovery to AP transmissions for discovery request message responds report
Text.In this way, AP can be connected according to finding that response message is established with AC, and then access network.As it can be seen that the embodiment of the present application
In, the AP in different management regions has been accessed to different AC, load balancing is realized according to the location information of AP.
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.It is built especially for connection
For vertical device, AC, AP and machine readable storage medium embodiment, since it is substantially similar to connection method for building up embodiment,
So description is fairly simple, related place illustrates referring to the part of connection 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 (16)
1. a kind of connection method for building up, which is characterized in that it is applied to access controller AC, the method includes:
Receive the discovery request message that access point AP is sent;Wherein, described to find that request message includes the position letter of the AP
Breath;
The location information is detected whether in preset management area;
If in the preset management area, sent to the AP for the discovery response message for finding request message,
So that the AP determines target AC according to the discovery response message of reception, and establishes and connect with the target AC.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If detecting, the location information not in the preset management area, abandons the discovery request message.
3. method according to claim 1 or 2, which is characterized in that the location information includes longitude and latitude;
The detection location information whether the step in preset management area, including:
Longitude that the location information includes is detected whether in the section of the first longitude and the second longitude, and detects the position
Whether the latitude that information includes is in the section of first the second latitude of latitude;Wherein, first longitude is the default management
Minimum longitude of the region on the latitude that the location information includes, second longitude are the preset management area described
Maximum longitude on the latitude that location information includes, first latitude are the preset management area in the location information packet
Minimum latitude on the longitude included, second latitude are the preset management area on the longitude that the location information includes
Maximum latitude;
If the longitude that the location information includes is in the section of first longitude and second longitude, and the position is believed
The latitude that breath includes is in the section of first latitude and second latitude, it is determined that the location information is in default management
In region.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
It is connected if the AC and AP is established, when the preset management area changes, detects the position again
Whether information is in the preset management area after variation;
If in preset management area of the location information not after variation, the connection of cut-out and the AP.
5. a kind of connection method for building up, which is characterized in that it is applied to access point AP, the method includes:
Obtain the location information of the AP;
The location information is carried and is broadcasted in finding request message, so as to receive each of the discovery request message
Access controller AC detects the location information whether in the preset management area in the AC, if in the preset management area
It is interior, then it is sent to the AP for the discovery response message for finding request message;
Receive the discovery response message that each AC is sent;
Target AC is determined from the source AC for finding response message, and is established and connected with the target AC.
6. according to the method described in claim 5, it is characterized in that, described determine target from the source AC for finding response message
The step of AC, including:
The source AC for the discovery response message that first receives is determined as target AC;Or
From the source AC for finding response message, select the AC of highest priority as target AC;Or
From the source AC for finding response message, select working time shortest AC as target AC.
7. device is established in a kind of connection, which is characterized in that be applied to access controller AC, described device includes:
Receiving unit, the discovery request message sent for receiving access point AP;Wherein, the discovery request message includes institute
State the location information of AP;
Detection unit, for detecting the location information whether in preset management area;
Processing unit sends to the AP if the testing result for detection unit is yes and is directed to the discovery request message
Discovery response message so that the AP determines target AC according to the discovery response message of reception, and established with the target AC
Connection.
8. device according to claim 7, which is characterized in that the processing unit is additionally operable to:
If the testing result of detection unit is no, the discovery request message is abandoned.
9. device according to claim 7 or 8, which is characterized in that the location information includes longitude and latitude;
The detection unit, is specifically used for:
Longitude that the location information includes is detected whether in the section of the first longitude and the second longitude, and detects the position
Whether the latitude that information includes is in the section of first the second latitude of latitude;Wherein, first longitude is the default management
Minimum longitude of the region on the latitude that the location information includes, second longitude are the preset management area described
Maximum longitude on the latitude that location information includes, first latitude are the preset management area in the location information packet
Minimum latitude on the longitude included, second latitude are the preset management area on the longitude that the location information includes
Maximum latitude;
If the longitude that the location information includes is in the section of first longitude and second longitude, and the position is believed
The latitude that breath includes is in the section of first latitude and second latitude, it is determined that the location information is in default management
In region.
10. device according to claim 7, which is characterized in that the detection unit is additionally operable to:If the AC with it is described
AP establishes connection, then when the preset management area changes, detects the location information again whether after variation
In preset management area;
The processing unit, is additionally operable to:If in preset management area of the location information not after variation, cut-out with it is described
The connection of AP.
11. device is established in a kind of connection, which is characterized in that be applied to access point AP, described device includes:
Acquiring unit, the location information for obtaining the AP;
Transmission unit is broadcasted for carrying the location information in finding request message, so as to receive the discovery
Each access controller AC of request message detects the location information whether in the preset management area in the AC, if in institute
It states in preset management area, is then sent to the AP for the discovery response message for finding request message;
Receiving unit, the discovery response message sent for receiving each AC;
Unit is established, for determining target AC from the source AC for finding response message, and establishes and connects with the target AC.
12. according to the devices described in claim 11, which is characterized in that it is described to establish unit, it is specifically used for:
The source AC for the discovery response message that first receives is determined as target AC;Or;Or from find response message source
In AC, select the AC of highest priority as target AC;Or from the source AC for finding response message, select the working time most short
AC as target AC.
13. a kind of access controller AC, which is characterized in that described machine readable including processor and machine readable storage medium
Storage medium is stored with the machine-executable instruction that can be executed by the processor, and the processor can perform by the machine
Instruction promotes:Realize any method and steps of claim 1-4.
14. 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 5-6.
15. 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-4.
16. 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 5-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810181598.7A CN108449799A (en) | 2018-03-06 | 2018-03-06 | A kind of connection method for building up and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810181598.7A CN108449799A (en) | 2018-03-06 | 2018-03-06 | A kind of connection method for building up and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108449799A true CN108449799A (en) | 2018-08-24 |
Family
ID=63193618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810181598.7A Pending CN108449799A (en) | 2018-03-06 | 2018-03-06 | A kind of connection method for building up and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108449799A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610593A (en) * | 2009-06-26 | 2009-12-23 | 杭州华三通信技术有限公司 | The method of access point, access controller and access point to select access controller |
CN102333357A (en) * | 2011-08-11 | 2012-01-25 | 杭州华三通信技术有限公司 | Management method in wireless local area network and wireless access controller |
CN103916853A (en) * | 2012-12-31 | 2014-07-09 | 中兴通讯股份有限公司 | Control method for access node in wireless local-area network and communication system |
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 |
-
2018
- 2018-03-06 CN CN201810181598.7A patent/CN108449799A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610593A (en) * | 2009-06-26 | 2009-12-23 | 杭州华三通信技术有限公司 | The method of access point, access controller and access point to select access controller |
CN102333357A (en) * | 2011-08-11 | 2012-01-25 | 杭州华三通信技术有限公司 | Management method in wireless local area network and wireless access controller |
CN103916853A (en) * | 2012-12-31 | 2014-07-09 | 中兴通讯股份有限公司 | Control method for access node in wireless local-area network and communication system |
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10064003B2 (en) | Beacon-based geofencing | |
US9883479B2 (en) | Generating and publishing validated location information | |
US9503856B2 (en) | Method for determining wireless device location based on proximate sensor devices | |
US20180103351A1 (en) | Indoor positioning and tracking using a multi-band wireless networking system | |
US10524223B2 (en) | Location configuration information (LCI) query | |
CN103379165B (en) | A kind of method, terminal, server and system for showing microblog topic | |
US20130172005A1 (en) | Calculating wi-fi access point locations using wave of discovery | |
US20230079580A1 (en) | Environment Mapping based on UWB Tags | |
CN108351421A (en) | Localization method, base station in mobile network and mobile terminal | |
AU2014101574A4 (en) | Location services in an obfuscated wireless network | |
CN103957594A (en) | Method and device for positioning terminal | |
CN108931977A (en) | Robot environment builds drawing method, device and robot | |
CN106991185A (en) | The hotel's latitude and longitude information maintaining method and system of OTA websites | |
US12004046B2 (en) | Object tracking based on UWB tags | |
US20120052876A1 (en) | Initialization of regulatory configurations of unlicensed wireless devices | |
JP6345334B2 (en) | Wireless characteristic display device | |
US11805422B2 (en) | AP deployment in a network comprising a centralized system and a distributed system | |
Al-Madani et al. | An energy aware plateform for iot indoor tracking based on rtps | |
JP7100725B1 (en) | Location estimation server, location estimation method, program, and communication terminal | |
CN108449799A (en) | A kind of connection method for building up and device | |
CN108769984A (en) | A kind of connection method for building up and device | |
KR20140097426A (en) | Mechanism for employing and facilitating geodetic triangulation for determining global positioning of computing devices | |
KR102646378B1 (en) | System and method for providing virtual beacon service, and apparatus for executing virtual beacon service | |
US10375666B2 (en) | Communication network node | |
US20220030389A1 (en) | Controlling an operation mode of a communications network |
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: 20180824 |