CN103476023B - The collocation method of access point apparatus, access controller and communication system - Google Patents

The collocation method of access point apparatus, access controller and communication system Download PDF

Info

Publication number
CN103476023B
CN103476023B CN201310411966.XA CN201310411966A CN103476023B CN 103476023 B CN103476023 B CN 103476023B CN 201310411966 A CN201310411966 A CN 201310411966A CN 103476023 B CN103476023 B CN 103476023B
Authority
CN
China
Prior art keywords
described
ap
access
information
title
Prior art date
Application number
CN201310411966.XA
Other languages
Chinese (zh)
Other versions
CN103476023A (en
Inventor
江伟峰
Original Assignee
福建星网锐捷网络有限公司
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 福建星网锐捷网络有限公司 filed Critical 福建星网锐捷网络有限公司
Priority to CN201310411966.XA priority Critical patent/CN103476023B/en
Publication of CN103476023A publication Critical patent/CN103476023A/en
Application granted granted Critical
Publication of CN103476023B publication Critical patent/CN103476023B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THIR OWN ENERGY USE
    • Y02D30/00High level techniques for reducing energy consumption in communication networks
    • Y02D30/30High level techniques for reducing energy consumption in communication networks by signaling and coordination, e.g. signaling reduction, link layer discovery protocol [LLDP], control policies, green TCP

Abstract

The present invention provides the collocation method of a kind of access point apparatus, access controller and communication system.Wherein, described method includes: obtain the network access information of access point apparatus AP;According to described network access information, generate the title of described AP;Described title is sent to described AP, so that the configuration of described AP name Completion;According to the title of described AP, use the configuration rule preset that described AP is configured.The method that the embodiment of the present invention provides is by obtaining the network access information of AP, and be that AP names automatically according to network access information, then automatically described AP is configured according to the title of AP, avoid the configuration of AP when prior wireless network is disposed and need a large amount of artificial configuring and the problem of operation, effectively reduce the configuration workload of large-scale wireless network design, improve allocative efficiency.

Description

The collocation method of access point apparatus, access controller and communication system

Technical field

The present invention relates to communication technology, particularly relate to the collocation method of a kind of access point apparatus, Access Control Device and communication system.

Background technology

Along with the extensive application of WLAN, deployment scale constantly expands, based on wireless access point device control (Control And Provisioning of Wireless Access Point Protocol is called for short with configuration protocol CAPWAP) access controller (Access Controler is called for short AC) adds thin access point apparatus (Fit Access Point, is called for short thin AP) centralized Control type wireless network architecture accepted by industry and pushed away Extensively.AP(AP herein refers to thin AP) it is connected with AC foundation with CAPWAP agreement, By AC, all AP are carried out centralized configuration and management, thus realize centralized Control.

In centralized Control type wireless network architecture, for set up with AC all AP, AC that are connected with The MAC Address of AP is as unique mark of AP.For the ease of memory, use specifying AP configuration The AP name with indicative implication increases the mark to AP.After AP has title, AC Can be by AP name to specifying AP to be managed for configuration.

But can not have (i.e. under factory state) in default situations due to AP to meet to dispose wants The title of the indicative implication asked, meanwhile, the title under factory state is difficult to avoid that repetition, and this is also AC acquiescence is using the MAC Address of AP as the uniquely identified reason of AP.Therefore, for dispatching from the factory The configuration of AP is it is generally required to the process of experience includes: 1, need first to collect the MAC Address of AP, The artificial deployment information having planned AP and title, safeguard the MAC Address of AP, deployment information with The mapping relations of title.2, after AP with AC of factory state sets up and be connected, network management personnel needs Will be according to the MAC Address of described AP, deployment information and the mapping relations of title, to AP MAC The title of the AP that address is specified configures.3, after AP has title, AC can pass through AP Appointment AP is managed for configuration by title.

As shown in the above, existing technology is typically all the artificial MAC first collecting all AP Address information, cooks up deployment information and the title of this AP according to deployment scenario;Then, according to rule The MAC Address of AP drawn and the deployment information of correspondence and title, create configuration script, pass through AC runs above-mentioned configuration script avoid being manually entered a large amount of configuration order, it is to avoid due to manually The risk of error of input.

But for the configuration workload problem of AP a large amount of in WLAN, although being configured by operation Script, can reduce the manual operation of configuration to a certain extent, but need nonetheless remain for artificially participating in AP Deployment planning, and safeguard the MAC Address of a large amount of AP, deployment information and AP name mapping close System.Meanwhile, when AP equipment to be replaced in network or conversion AP deployed position, human configuration Operation also increases the time that wireless network server interrupts, and the high availability of wireless network is caused shadow Ring.

Summary of the invention

The many aspects of the present invention provide the collocation method of a kind of access point apparatus, access controller and communication System, in order to improve allocative efficiency.

The first aspect of the invention, it is provided that the collocation method of a kind of access point apparatus, including:

Obtain the network access information of access point apparatus AP;

According to described network access information, generate the title of described AP;

Described title is sent to described AP, so that the configuration of described AP name Completion;

According to the title of described AP, use the configuration rule preset that described AP is configured.

The second aspect of the invention, it is provided that a kind of access controller, including:

Acquisition module, for obtaining the network access information of access point apparatus AP.

Title generation module, for according to described network access information, generates the title of described AP;

Sending module, for described title is sent to described AP, so that the joining of described AP name Completion Put;

Configuration module, for the title according to described AP, uses the configuration rule preset to enter described AP Row configuration.

The third aspect of the invention, it is provided that a kind of communication system, sets including access controller and access point Standby;Wherein,

Described access point apparatus is connected with described access controller by access switch, or, described in connect Enter point device to be connected with described access controller by access switch and described convergence switch;

Described access controller is for obtaining the network access information of access point apparatus AP;According to described net Network access information, generates the title of described AP;Described title is sent to described AP, so that described The configuration of AP name Completion;According to the title of described AP, use the configuration rule preset to described AP Configure.

As shown from the above technical solution, the method that the embodiment of the present invention provides is by obtaining the network of AP Access information, and be that AP names automatically according to network access information, then according to the title of AP from Dynamic described AP is configured, it is to avoid when prior wireless network is disposed, the configuration of AP needs a large amount of Artificial configuring and the problem of operation, effectively reduce the configuration work of large-scale wireless network design Measure, improve allocative efficiency.

Accompanying drawing explanation

In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.

The schematic flow sheet of the AP collocation method that Fig. 1 provides for the embodiment of the present invention one;

The schematic flow sheet of the AP collocation method that Fig. 2 provides for the embodiment of the present invention two;

The knot of the collocation method applicable network of the described access point apparatus that Fig. 3 provides for the embodiment of the present invention two Structure schematic diagram;

The schematic flow sheet of the AP collocation method that Fig. 4 provides for the embodiment of the present invention three;

The schematic flow sheet of the AP collocation method that Fig. 5 provides for the embodiment of the present invention four;

The knot of the collocation method applicable network of the described access point apparatus that Fig. 6 provides for the embodiment of the present invention four Structure schematic diagram;

The structural representation of the access controller that Fig. 7 provides for the embodiment of the present invention five.

Detailed description of the invention

For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.

As it is shown in figure 1, the schematic flow sheet of the AP collocation method of the embodiment of the present invention one offer.Fig. 1 The executive agent of illustrated embodiment one is access controller (Access Controler is called for short AC).Such as figure Shown in 1, the method includes:

Step 101, the network access information of acquisition AP.

Wherein, according to the difference of the network architecture, the mode of the network access information that AC obtains AP is the most different. In actual application, usual AP can be connected with described AC by access switch, or when network is the hugest Time big, described AP is connected with described AC by access switch and convergence switch.Specifically, corresponding Different connected modes, the possible implementation of the network access information that AC obtains AP is as follows:

When described AP is by supporting LLDP(Link Layer Discovery Protocol, and link layer finds Agreement) access switch when being connected with access controller AC, AC receives described AP and sends and carry The data message of LLDP information, and according to described LLDP information, extract the network insertion letter of described AP Breath.

Wherein, described LLDP information is after described AP accesses described access switch, by described access Switch sends to described AP's.Described LLDP information can include following information: access switch Address, the title of access switch, access switch connects the port title of described AP, Yi Jijie Enter VLAN ID (the Virtual Local Area of the port connecting described AP on switch Network Identity, is called for short VLAN ID) etc..Specifically, the address of described access switch is Medium access control (Media Access Control the is called for short MAC) address of switch.Correspondingly, According to described LLDP information, the network access information of the described AP extracted may particularly include: accesses The MAC Address of switch, the title of access switch, access switch connects the port of described AP Title.

When described AP is by opening DHCP(Dynamic Host Configuration Protocol, dynamically Host configuration) Relay(relaying) function and Option82(relay agent information option) function Access switch when being connected with AC, AC obtains the IP address of described AP, according to default IP ground Location and the corresponding relation of Option82 information, obtain the Option82 letter that the IP address of described AP is corresponding Breath, and according to described Option82 information, extract the network access information of described AP.

Need exist for supplementing further: described IP address and the corresponding relation of Option82 information, Mode implemented as described below can be used to set up and store with described AC, specifically, described AP is with described AC sets up before connecting, and described AC receives the Option82 that carries of described access switch transmission to be believed The DHCP request of breath, is that described AP distributes IP address, by described according to described DHCP request message IP address is set up corresponding relation with described Option82 information and stores, and described IP address is passed through institute State access switch to send to described AP, so that described AP uses described IP address to set up with described AC Connect;Wherein, described DHCP request is that described AP sends to described access switch, described Option 82 information are to add in described DHCP request during the described access switch described DHCP request of relaying 's.Described Option82 information can include following information: the address of access switch, access switch is even Connecing the port title of described AP, access switch connects port vlan ID of described AP etc..Institute The address stating access switch is specially the MAC Address of switch.Correspondingly, AC is according to described Option 82 information, the network access information of the described AP extracted may particularly include: the address of access switch, Access switch connects the port title of described AP.

When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option82 function is connected with AC, AC receives carrying of described AP transmission The data message of LLDP information, obtains the IP address of described AP, according to default IP address and Option The corresponding relation of 82 information, obtains the Option82 information that the IP address of described AP is corresponding, according to institute State LLDP information and described Option82 information, extract the network access information of described AP, wherein, Described LLDP information is after described AP accesses described access switch, described access switch to send To described AP's.

Similarly, need exist for supplementing further: described IP address is right with Option82 information Should be related to, mode implemented as described below can be used to set up and store with described AC, specifically, described AP Set up before being connected with described AC, what the described AC described convergence switch of reception sent carries Option The DHCP request of 82 information, is that described AP distributes IP address according to described DHCP request message, Described IP address is set up corresponding relation with described Option82 information and is stored, and by described IP address Sent to described AP by described convergence switch and described access switch, so that described AP uses institute State IP address to be connected with described AC foundation;Wherein, described DHCP request is that described AP is by described Access switch sends to described convergence switch, and described Option82 information is described convergence switch Add in described DHCP request when relaying described DHCP request.Wherein, described LLDP information Following information can be included: the MAC Address of access switch, the title of access switch, access exchanges The port title of described AP is connected on machine, and on access switch, connect the port of described AP VLAN ID etc..Described Option82 information can include following information: the MAC ground of convergence switch Location, convergence switch connects the port title of described access switch, and convergence switch connects described access Port vlan ID of switch etc..Correspondingly, AC is according to described LLDP information and described Option 82 information, the network access information of the described AP extracted may particularly include: the MAC of access switch Connect the port title of described AP on address, the title of access switch, access switch and converge Poly-switch connects the port title of described access switch.

Step 102, according to described network access information, generate the title of described AP.

Wherein, the possible implementation of the one of this step is as follows:

First, the item of information included according to described network access information, determine described AP access network Access way.

Specifically, according to the content described in above-mentioned steps 101: when described AP is handed over by access Changing planes when being connected with AC, the item of information that described network access information includes has: described access switch The port title of described AP is connected on address, described access switch title, described access switch. When described AP is connected with AC by access switch and convergence switch, described network access information bag The item of information included has: the address of described access switch, described access switch title, described access are handed over Connect in the port title of the described AP of upper connection of changing planes and described convergence switch and described access exchange The port title of machine.Therefore, the letter that described AC can include according to the described network access information received Breath item, determines the access way of AP access network.Specifically: if described network access information includes Item of information in only include that access switch connects the port title of described AP, the most described AC can be true Make the access way of described AP access network for be connected with AC by access switch;If described network The item of information that access information includes includes that two access switch connect the port title of described AP, then Described AC can determine that the access way of described AP access network is for by access switch and convergence exchange Machine is connected with AC.

Then, according to the corresponding relation of default access way Yu naming rule, obtain described access way Corresponding naming rule.

Wherein, described AC can be pre-configured with multiple naming rule, a kind of access way correspondence one name Rule.After described AC determines the access way of described AP, the corresponding naming rule can be used to be Described AP names.Specifically:

When the access way of described AP access network is to be connected with AC by access switch, described life Name rule is: according to the corresponding relation of default switch address Yu name prefix, obtains described network and connects Enter the name prefix that the address of the access switch that information includes is corresponding;According to described name prefix, with And described network access information includes: connect institute on access switch title, described access switch State the port title of AP, generate the title of described AP.

When the access way of described AP access network is by access switch and convergence switch and AC During connection, described naming rule is: according to the corresponding relation of default port title Yu name prefix, obtain Take the port connecting described access switch on the described convergence switch that described network access information includes The name prefix that title is corresponding;According to described name prefix, and described network access information includes: Connect the port title of described AP on described access switch title, described access switch, generate institute State the title of AP.

Wherein, according to described name prefix, and described network access information includes: described access Connect the port title of described AP on switch name, described access switch, generate the name of described AP Claim, can be particularly as follows: described name prefix, described access switch title and described access be exchanged The port name order connecting described AP on machine rearranges the title of described AP.Wherein, described access The port title connecting described AP on switch includes: connect the end of described AP on described access switch Mouth slot number and port numbers.Correspondingly, described according to described name prefix, and described network insertion letter Breath includes: connect the port of described AP on described access switch title, described access switch Title, generates the title of described AP, it is also possible to particularly as follows: described name prefix, described access are handed over The port slots number and the port numbers order that connect described AP in title of changing planes and described access switch are arranged Row form the title of described AP.

Finally, according to described naming rule, the title of described AP is generated.

Specifically, when the access way of described AP access network is to be connected with AC by access switch, Described generate the title of described AP according to described naming rule, including:

The switch address that step S11, basis are preset and the corresponding relation of name prefix, obtain described net The name prefix that the address of the access switch that network access information includes is corresponding.

Step S12, according to described name prefix, and described network access information includes: access Connect the port title of described AP on switch name, described access switch, generate the name of described AP Claim.

When the access way of described AP access network is by access switch and convergence switch and AC During connection, described generate the title of described AP according to described naming rule, including:

The port title that step S21, basis are preset and the corresponding relation of name prefix, obtain described network The port title connecting described access switch on the described convergence switch that access information includes is corresponding Name prefix.

Step S22, according to described name prefix, and described network access information includes: described Connect the port title of described AP on access switch title, described access switch, generate described AP Title.

Step 103, described title is sent to described AP, so that the configuration of described AP name Completion.

Step 104, title according to described AP, use the configuration rule preset to join described AP Put.

Specifically, the possible implementation of the one of this step is as follows:

First, the title of described AP is mated with at least one regular expression preset.

Then, if there being the regular expression of coupling, then the regular expression that basis is preset is right with config set Should be related to, obtain the config set that the regular expression of described AP name coupling is corresponding.

Finally, the configuration operation in described config set is performed, so that described AP to be configured.

Specifically, described configuration operation includes: configure service set (the Service Set of described AP Identifier, is called for short SSID), configure the security strategy of described AP, configuration and described AP wireless connections User's speed limit in one or any number of.

The alternatively possible implementation of this step is as follows:

First, according to name prefix and the corresponding relation of config set of described AP name, described AP is obtained Title in config set corresponding to the name prefix that comprises;

Then, the configuration operation in described config set is performed, so that described AP to be configured.

The method of the embodiment of the present invention offer access information by acquisition access point apparatus, and according to connecing To enter information be that described access point apparatus is named automatically, it is to avoid when prior wireless network is disposed, access point sets Standby configuration needs the problem of a large amount of artificial configuration operation, effectively reduces large-scale wireless Network Dept. The configuration workload of administration, it addition, the method that the present invention provides is that AP names automatically is based on AP Accessing position information, rather than the MAC Address of AP in prior art, when AP changed by needs, New AP will be named as identical title automatically, performs identical automatically configuring, i.e. this AP will Automatically succession is replaced the configuration of AP, it is not necessary to artificial participation configures revision, gets final product restorer more Change front configuration, and then achieve " plug and play " of access point apparatus.

Further, in order to avoid above-mentioned due to make mistakes or malice reason cause AP mistake position Put access, also include before step 102 described in above-described embodiment one:

According to described network access information, use that presets to control whether rule determines the access of described AP Legal;If legal, then according to described network access information, generate the title of described AP;

Wherein, the described rule that controls allows in the specified slot number specifying access switch and port numbers / do not allow AP to access.

Below in conjunction with three concrete application examples, the configuration to the access point apparatus that the embodiment of the present invention provides Method is described in detail.

As in figure 2 it is shown, the embodiment of the present invention two at AP by supporting the access switch of LLDP and AC Under the network architecture connected, the schematic flow sheet of the collocation method of described AP.Fig. 3 shows the present invention The structural representation of the collocation method applicable network of the described access point apparatus that embodiment two provides.

Before the embodiment of the present invention two is described in detail in detail, here the operation principle of LLDP is briefly described. The operation principle of LLDP be by local device unique ability, management address, device identification, interface The information such as mark are organized into different TLV(Type/Length/Value, type/length/value), and encapsulate In Link Layer Discovery Protocol data cell, (Link Layer Discovery Protocol Data Unit is called for short LLDPDU) neighbor device direct-connected with oneself it is distributed in.TLV is the most single of composition LLDPDU Unit, each TLV can represent a kind equipment information.These information include: send the MAC ground of equipment Location, device name, system description, send port-mark, send port description etc..LLDP Working mould Formula includes that TxRx(had both sent also reception LLDP information), Tx(only sends and do not receives LLDP information), Rx(to receive do not send LLDP information) and Disable(the most do not send and the most do not receive LLDP information) Four kinds.

The present embodiment two AC utilizes the switch being connected with AP to set as the transmission of LLDP information the most just Standby, obtain AP network access information, and the method configuring described AP according to described network access information. As it is shown on figure 3, the present invention implements two use network structures particularly as follows: AP is had by Layer 2 switch access Gauze network.In Fig. 3 only example show Layer 2 switch connect two AP situation, actually institute State Layer 2 switch and can connect one or more AP.Open on direct-connected secondary layer switch port LLDP, and it is configured to Tx or TxRx pattern.Owing to LLDP is the unrelated standard agreement of manufacturer, Layer 2 switch not not limiting by manufacturer in the network architecture that the method that the present embodiment two is provided is suitable for.False If AP1 accesses layer 2-switched GigabitEthernet0/1 port, layer 2-switched MAC Address For 001a.1234.5566, layer 2-switched entitled " 20#3F ".Below with the configuration process of AP1 As a example by, other AP under network structure shown in Fig. 3, such as AP2 in like manner.

As in figure 2 it is shown, the schematic flow sheet of the AP collocation method of the embodiment of the present invention two offer.

Step 201, AP1 access after described Layer 2 switch, AP1 receive Layer 2 switch from The LLDP information that GigabitEthernet0/1 port sends out.

Wherein, described LLDP information includes: layer 2-switched MAC Address, layer 2-switched name Claim, Layer 2 switch accesses port title GigabitEthernet0/1 of AP1, Layer 2 switch accesses The VLAN ID etc. of the port of AP.Need exist for explanation: described Layer 2 switch accesses AP1's Port title Layer 2 switch accesses in port title GigabitEthernet0/1 of AP1, slash/front 0 is port slots number, slash/after 1 be port numbers.

Step 202, described AP1 Yu AC set up CAPWAP tunnel, and by CAPWAP agreement The above-mentioned described LLDP information received is sent to AC by VSP message (manufacturer's self-defined message).

Wherein, described AP1 Yu AC sets up CAPWAP tunnel and existing tunnel method for building up can be used to realize, Here is omitted.

The LLDP information that step 203, described AC upload according to described AP1, the network extracting AP1 connects Enter information.

Specifically, the network access information of the AP1 that described AC extracts includes: layer 2-switched MAC Address, layer 2-switched title, port title GigabitEthernet of Layer 2 switch access AP1 0/1。

Step 204, described AC determine the access of AP1 access network according to described network access information Mode is to be connected with AC by access switch, according to the corresponding relation of access way Yu naming rule, Obtain the naming rule that described access way is corresponding.

Such as, the access way shown in table 1 below and the corresponding relation of naming rule.

Table 1 access way and the corresponding relation of naming rule

As it is shown on figure 3, knowable to upper table 1, in the present embodiment two, the naming rule of AP1 is naming rule 1 " the switch ports themselves slot number of the switch name of name prefix _ direct-connected with AP _ direct-connected with AP _ with The switch ports themselves number that AP is direct-connected ".Above-mentioned table 1 is only the example that the present invention lists, the present invention It is not limited to this.

Step 205, described AC, according to described naming rule, generate the title of described AP.

Such as, according to the corresponding relation of switch mac address as shown in table 2 below Yu name prefix, obtain Take the name prefix that described layer 2-switched MAC Address is corresponding.

Table 2 switch mac address and the corresponding relation of name prefix

MAC Address Name prefix 001a.1234.5566 " building, students' dormitory " 001a.1234.7788 " building, students' dormitory " 001a.a9c3.1234 " library "

AC knowable to the network access information of the described AP1 extracted, described layer 2-switched MAC Address is 001a.1234.5566, therefore, can obtain from above-mentioned table 2, and described name prefix is " student Dormitory building ".

Described AC is according to the name prefix " building, students' dormitory " got, and in network access information Including: layer 2-switched title 20#3F, Layer 2 switch connects the port name of described AP1 Claim, use the naming rule 1 " exchange of the switch name of name prefix _ direct-connected with AP _ direct-connected with AP The switch ports themselves number of machine port slots number _ direct-connected with AP ", generate title " the student place of described AP1 She Lou _ 20#3F_0_1 ".

The title of described AP1 is entered by step 206, described AC with at least one regular expression preset Row coupling.

Assume that the regular expression preset described in the present embodiment has: " teaching building _ * ", " building, students' dormitory _ * ", " library _ * " etc..Entitled " building, the students' dormitory _ 20#3F_0_1 " of described AP1, it is known that The regular expression of the name-matches of described AP1 is " building, students' dormitory _ * ".

Step 207, described AC, according to the corresponding relation of regular expression Yu config set, obtain described AP1 Config set corresponding to the regular expression of name-matches.

Such as, the regular expression shown in table 3 below and the corresponding relation of config set.

Table 3 regular expression and the corresponding relation of config set

Can draw from above-mentioned table 3, the described AP name coupling that AC described in the present embodiment gets The config set that regular expression " building, students' dormitory _ * " is corresponding is the " SSID of the wireless network that configuration is disposed For " Ruijie-Wireless-Dormitory ", configuration security strategy is WPA2-802.1X, configures every user Speed limit is 1Mbps ".

Step 208, described AC perform the configuration operation in described config set, carry out described AP1 Configuration.

Specifically, described AC performs the configuration operation in described config set, configures described AP1's SSID is " Ruijie-Wireless-Dormitory ", i.e. joins in " building, students' dormitory " group;Join The security strategy putting described AP1 is WPA2-802.1X, and configuration accesses each wireless use of described AP1 Family speed limit is 1Mbps.

Above-mentioned steps 201~208 is the configuration process of described AP1, similarly, uses said process also Can complete AP2 in Fig. 3 is automatically configured process.

By said process, by obtaining the network access information of AP, and believe according to network insertion Breath is named automatically for AP, then automatically configures described AP according to the title of AP, it is to avoid When prior wireless network is disposed, the configuration of AP needs a large amount of artificial configuring and the problem of operation, has Decrease to effect the configuration workload of large-scale wireless network design.It addition, above-mentioned AP self-configuring The network access information of journey Main Basis AP, is independent of the MAC Address of AP, when AP changed by needs During equipment, new AP will be named as identical title automatically, performs identical configuration, i.e. this AP will Automatically inherit the configuration being replaced AP, it is not necessary to artificial participation configures revision, can change by restorer Front configuration, it is achieved that " plug and play ", it is to avoid prior art is manually joined because of employing during changing AP Put the time that operation causes longer wireless network server to interrupt, and then the high reliability to wireless network Impact.

As shown in Figure 4, the embodiment of the present invention three at AP by opening DHCP Relay function and Option Under the network architecture that the access switch of 82 functions is connected with AC, the flow process of the collocation method of described AP Schematic diagram.The structure of the collocation method applicable network of the described access point apparatus that the present embodiment three provides is same Above-described embodiment two.

Before the embodiment of the present invention three is described in detail in detail, to the DHCP protocol related in the present embodiment Option82 information is briefly described.Option82 information is relay agent information choosing in DHCP message , RFC3046 define.According to the definition of RFC3046, open the DHCP that Option82 supports Relaying (DHCP Relay) equipment, when relaying DHCP request message, by Option82 information Add in DHCP request message.Dynamic Host Configuration Protocol server is when receiving DHCP request message, it is possible to logical Cross Option82 and obtain corresponding information.Option82 information can carry following information: DHCP visitor Family end connects port numbers and the VLAN ID of port, the MAC Address etc. of trunking of trunking.

The present embodiment three AC utilizes AP as dhcp client exactly, and AP please to Dynamic Host Configuration Protocol server When asking IP address, access switch add Option82 information so that Dynamic Host Configuration Protocol server can obtain Getting the network access information of AP, wherein, described Dynamic Host Configuration Protocol server is deployed on AC.Certainly, Described Dynamic Host Configuration Protocol server can not also be deployed on described AC, and now, AC is accomplished by and DHCP Server interacts, and obtains the network access information of AP.The present embodiment three is with Dynamic Host Configuration Protocol server As a example by being deployed on AC, based on DHCP Option82 acquisition of information AP network access information, and root The method configuring described AP according to described network access information.

The present embodiment three AP accesses cable network by access switch.Access switch is for having DHCP Two layers of Relay function or three-tier switch.Access switch is configured with DHCP Relay and opens Open Option82 function.Assume to access wired by the GigabitEthernet0/1 port of access switch Network, AP, as dhcp client, initiates DHCP request.The MAC Address of access switch is 001a.1234.7788, entitled " 20#2F " of access switch.With the configuration process of AP1 it is below Example, other AP under network structure shown in Fig. 2, such as AP2 in like manner.

As shown in Figure 4, the schematic flow sheet of the AP collocation method that the embodiment of the present invention three provides.

Step 301, described AP1 send DHCP request to described access switch.

Step 302, described access switch add Option82 information when relaying described DHCP request, And the described DHCP request carrying described Option82 information is sent to described AC.

Wherein, described Option82 information includes following information: access switch MAC Address (001a.1234.7788), the title " 20#2F " of access switch, access switch connects described AP1 Port title GigabitEthernet0/1, access switch connect the port vlan ID of described AP1. Described DHCP request after described access switch will add described Option82 information sends to AC.

Step 303, described AC receive the described DHCP request carrying described Option82 information After, distribute IP address for described AP1, described IP address is issued to described AP1, and by described IP Address is set up corresponding relation with described Option82 information and stores.

Assume that the IP address that described AC is described AP1 distribution is: 192.168.1.2.

Step 304, described AP1, after getting the IP address that described AC is its distribution, use described IP Address and described AC set up CAPWAP tunnel.

Specifically, described AP1 sets up CAPWAP tunnel with described IP address with described AC, can adopt Realizing by prior art, here is omitted.

After step 305, described AP1 and described AC set up CAPWAP tunnel, described AP1 passes through The CAPWAP tunnel set up reports the IP address of self to described AC.

Step 306, described AC according to the corresponding relation of IP address and the Option82 information of storage, Obtain the Option82 information that the IP address of described AP1 is corresponding, and according to described Option82 information, Extract the network access information of described AP1.

Specifically, described AC is according to described Option82 information, the network of the described AP1 extracted Access information can include following information: layer 2-switched MAC Address (001a.1234.7788), two layers The title of switch: " 20#2F " and Layer 2 switch access port title GigabitEthernet of AP1 0/1。

Step 307, described AC, according to the network access information of described AP1, generate described AP1's Title, and described title is issued to described AP1, so that the configuration of described AP1 name Completion.

Specifically, first, described AC determines AP1 access network according to described network access information Access way is to be connected with AC by access switch, according to connecing shown in table 1 in above-described embodiment two Enter the corresponding relation of mode and naming rule, obtain naming rule corresponding to described access way for name rule Then 1: " the switch ports themselves slot number of the switch name of name prefix _ direct-connected with AP _ direct-connected with AP _ The switch ports themselves number direct-connected with AP ".

Then, described AC is according to the access switch MAC ground shown in table 2 in above-described embodiment two Location and the corresponding relation of name prefix, obtain the MAC(001a.1234.7788 of described access switch) The name prefix " building, students' dormitory " that address is corresponding.

Finally, described AC is according to the name prefix " building, students' dormitory " got, and network insertion letter Breath includes: title 20#2F of access, and access switch connects the port title of described AP1, Use naming rule 1 " the switch end of the switch name of name prefix _ direct-connected with AP _ direct-connected with AP The switch ports themselves number of mouthful slot number _ direct-connected with AP ", generate the title " building, students' dormitory of described AP1 _20#2F_0_1”。

Step 308, described AC, according to the title of described AP1, use the network parameter configuration rule preset Then described AP is configured.

Specifically, first, described AC is by the title of described AP1 and at least one regular expressions preset Formula is mated.

Assume that the regular expression preset described in the present embodiment has: " teaching building _ * ", " building, students' dormitory _ * ", " library _ * " etc..Entitled " building, the students' dormitory _ 20#2F_0_1 " of described AP1, it is known that The regular expression of the name-matches of described AP1 is " building, students' dormitory _ * ".

Then, described AC is according to the regular expression shown in table 3 in above-described embodiment two and config set Corresponding relation, obtains regular expression " building, the students' dormitory _ * " correspondence of the name-matches of described AP1 Config set: the SSID of the wireless network that configuration is disposed is " Ruijie-Wireless-Dormitory ", configuration Security strategy is WPA2-802.1X, and configuring every user's speed limit is 1Mbps.

Finally, described AC performs the configuration operation in described config set, to join described AP1 Put.

Specifically, described AC performs the configuration operation in described config set, configures described AP1's SSID is " Ruijie-Wireless-Dormitory ", i.e. joins in " building, students' dormitory " group;Join The security strategy putting described AP1 is WPA2-802.1X, and configuration accesses each wireless use of described AP1 Family speed limit is 1Mbps.

As it is shown in figure 5, the embodiment of the present invention four and is opened by the access switch of support LLDP at AP Open the network architecture that the convergence switch of DHCP Relay function and Option82 function is connected with AC Under, the schematic flow sheet of the collocation method of described AP.Fig. 6 shows what the embodiment of the present invention four provided The structural representation of the collocation method applicable network of described access point apparatus.

For larger WLAN, between AP and AC, there may be multistage switches.Tool Body ground, can call access switch the Layer 2 switch direct-connected with AP, access switch and AC Between two layers/three-tier switch be referred to as convergence switch.The present embodiment four combines LLDP and DHCP Option82 information can provide for AC that AP's is varigrained from accessing aspect and convergence layer respectively Network access information.

As shown in Figure 6, the present embodiment four, as a example by Campus WLAN, is disposed in the district of students' dormitory AP011~the AP020 GigabitEthernet by access switch SW1 cut-in convergent switch SW3 0/5 port, AP101~AP123 disposed in teaching area is exchanged by access switch SW2 cut-in convergent The GigabitEthernet0/6 port of machine SW3.Access switch SW1 direct-connected for AP011~AP020, And open LLDP on the direct-connected access switch SW1 of AP101~AP123, mode of operation is configured to Tx or TxRx pattern, convergence switch SW3 is configured with DHCP Relay and opens Option82 Function.Below as a example by the configuration process of AP101, other AP under network structure shown in Fig. 6, as AP011~AP020, and AP102~AP123 is in like manner.

As it is shown in figure 5, the schematic flow sheet of the AP collocation method of the embodiment of the present invention four offer.

After step 401, AP101 access SW2, AP101 receives SW2 from GigabitEthernet1/1 The LLDP information that port sends out.

Wherein, described LLDP information includes: the MAC Address of SW2, the title of SW2, SW2 connect Enter the VLAN ID of the port of port title GigabitEthernet1/1 of AP101, SW2 access AP101 Deng.

Step 402, described AP101 pass through described SW2, send DHCP request to described SW3.

Step 403, described SW3 add Option82 information when relaying described DHCP request, and The described DHCP request carrying described Option82 information is sent to described AC.

Wherein, the described Option82 information of interpolation includes the MAC Address of following information: SW3, SW3 Title, SW3 connects port title GigabitEthernet0/6 of described SW2, SW3 connects described The port vlan ID of SW2.Described SW3 is by the described DHCP after the described Option82 information of interpolation Request sends to AC.

Step 404, described AC receive the described DHCP request carrying described Option82 information After, distribute IP address for described AP101, described IP address is issued to described AP101, and by institute State IP address set up corresponding relation with described Option82 information and store.

Assume that the IP address that described AC is described AP101 distribution is: 192.168.1.101.

Step 405, described AP101 are after getting the IP address that described AC is its distribution, with described IP address and described AC set up CAPWAP tunnel.

After step 406, described AP101 and described AC set up CAPWAP tunnel, described AP101 Reported self IP address and LLDP information to described AC by the CAPWAP tunnel of foundation.

Step 407, the described AC IP address according to storage and the corresponding relation of Option82 information, obtain Take the Option82 information that the IP address of described AP101 is corresponding.

Step 408, described AC, according to described Option82 information and described LLDP information, extract institute State the network access information of AP101.

Specifically, described AC, according to described Option82 information and described LLDP information, extracts The network access information of described AP101 include the MAC Address of following information: SW2, the title of SW2, SW2 accesses port title GigabitEthernet1/1 of AP101, and SW3 accesses the port of SW2 Title GigabitEthernet0/6.

Step 409, described AC, according to the network access information of described AP101, generate described AP101 Title.

Specifically, first, described AC determines AP101 access network according to described network access information Access way be to be connected with AC by access switch and convergence switch, according to above-described embodiment two Access way shown in middle table 1 and the corresponding relation of naming rule, obtain the life that described access way is corresponding Name rule is naming rule 2: " the friendship of the switch name of name prefix _ direct-connected with AP _ direct-connected with AP Change planes the switch ports themselves number of port slots number _ direct-connected with AP ".

Then, described AC according to the corresponding relation of port title as shown in table 4 below Yu name prefix, Obtain the port title pair connecting described SW2 on the described SW3 that described network access information includes The name prefix answered.

Table 4 port title and the corresponding relation of name prefix

Port title Name prefix GigabitEthernet0/5 " students' dormitory district " GigabitEthernet0/6 " teaching area "

AC is knowable to the network access information of the described AP101 extracted, and described SW3 connects described SW2 Port name be referred to as GigabitEthernet0/6, therefore, can obtain from above-mentioned table 4, before described title Sew for " teaching area ".

Finally, described AC is according to the name prefix " teaching area " got, and in network access information Including: title 10#1F of SW2, the port title of the SW2 described AP101 of upper connection, name Rule 2: " the switch ports themselves slot of the switch name of name prefix _ direct-connected with AP _ direct-connected with AP Number _ switch ports themselves number direct-connected with AP ", generate the title " teaching area _ 10#1F_1_1 " of described AP1.

Step 410, described AC are right according to the name prefix of the title of described AP101 and config set Should be related to, obtain the config set that the name prefix comprised in the title of described AP101 is corresponding.

Specifically, the name prefix of the title of described AP101 is " teaching area ", and described AC can root According to the corresponding relation of name prefix as shown in table 5 below Yu config set, obtain " teaching area " correspondence Config set.

Table 5 name prefix and the corresponding relation of config set

Step 411, described AC perform the configuration operation in described config set, with to described AP101 Configure.

Specifically, described AC performs the configuration operation in described config set, configures described AP101's SSID is " Ruijie-Wireless-Classroom ", i.e. joins in " teaching area " group;Configuration The security strategy of described AP101 is WPA2-PSK+Web certification, and configuration accesses described AP101's Each wireless user's speed limit is 300Kbps.

It should be understood that for aforesaid each method embodiment, in order to be briefly described, therefore by its all table Stating as a series of combination of actions, but those skilled in the art should know, the present invention is by being retouched The restriction of the sequence of movement stated because according to the present invention, some step can use other orders or with Shi Jinhang.Secondly, those skilled in the art also should know, embodiment described in this description all belongs to In preferred embodiment, necessary to involved action and the module not necessarily present invention.

One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment Can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer-readable Taking in storage medium, this program upon execution, performs to include the step of said method embodiment;And it is aforementioned Storage medium include: various Jie that can store program code such as ROM, RAM, magnetic disc or CD Matter.

As it is shown in fig. 7, the structural representation of the access controller of the embodiment of the present invention five offer.Such as Fig. 7 Shown in, the access controller described in the present embodiment five includes: acquisition module 1, title generation module 2, send out Send module 3 and configuration module 4.Wherein, described acquisition module 1 is for obtaining the net of access point apparatus AP Network access information.Described title generation module 2, for according to described network access information, generates described AP Title.Described sending module 3 is for sending described title to described AP, so that described AP completes The configuration of title.Described configuration module 4, for the title according to described AP, uses the configuration rule preset Then described AP is configured.

The access controller that the embodiment of the present invention provides can be by obtaining the network access information of AP, and root It is that AP names automatically according to network access information, then automatically described AP is joined according to the title of AP Put, it is to avoid when prior wireless network is disposed, the configuration of AP needs a large amount of artificial configuring and operation Problem, effectively reduces the configuration workload of large-scale wireless network design.

Further, the acquisition module described in above-described embodiment five can be specifically for:

When described AP is by supporting that the access switch of LLDP is connected with access controller AC, receive Described AP sends the data message carrying LLDP information, and according to described LLDP information, extracts The network access information of described AP, wherein, described LLDP information is that described AP accesses described access friendship After changing planes, described access switch send to described AP's;

When described AP is by opening DHCP Relay function and the access switch of Option82 function When being connected with AC, obtain the IP address of described AP, believe with relay agent according to default IP address The corresponding relation of breath option Option82 information, obtains the Option82 that the IP address of described AP is corresponding Information, and according to described Option82 information, extract the network access information of described AP;

When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option82 function is connected with AC, receive described AP transmission carries LLDP The data message of information, obtains the IP address of described AP, according to default IP address and Option82 The corresponding relation of information, obtains the Option82 information that the IP address of described AP is corresponding, according to described LLDP information and described Option82 information, extract the network access information of described AP, wherein, institute Stating LLDP information is after described AP accesses described access switch, described access switch to send extremely Described AP's.

Further, the access controller described in above-described embodiment five also includes: Dynamic Host Configuration Protocol server module. Described Dynamic Host Configuration Protocol server module is used for when described AP is connected with AC by described access switch, Receive the DHCP request carrying Option82 information that described access switch sends, according to described DHCP request message is that described AP distributes IP address, is believed with described Option82 described IP address Breath is set up corresponding relation and stores, and is sent to described by described access switch described IP address AP, is connected so that described AP uses described IP address to set up with described AC;Wherein, described DHCP Request sends to described access switch for described AP, and described Option82 information is that described access is handed over Add in described DHCP request during the described DHCP request of relaying of changing planes;

When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option82 function is connected with AC, receive carrying of described convergence switch transmission There is the DHCP request of Option82 information, be described AP distribution according to described DHCP request message IP address, sets up corresponding relation by described IP address with described Option82 information and stores, and by institute State IP address to be sent to described AP by described convergence switch and described access switch, so that described AP uses described IP address to be connected with described AC foundation;Wherein, described DHCP request is described AP Being sent to described convergence switch by described access switch, described Option82 information is described remittance Add in described DHCP request during DHCP request described in poly-exchange board relay.

Further, the title generation module described in above-described embodiment five comprises determining that unit, acquisition Unit and title signal generating unit.Wherein, described determine that unit is for including according to described network access information Item of information, determine the access way of described AP access network.Described acquiring unit is for according to presetting The corresponding relation of access way and naming rule, obtain the naming rule that described access way is corresponding.Institute State title signal generating unit for according to described naming rule, generating the title of described AP.

Wherein, described title signal generating unit can be specifically for according to the switch address preset and name prefix Corresponding relation, obtain the title that the address of the access switch that described network access information includes is corresponding Prefix;According to described name prefix, and described network access information includes: access switch name Connect the port title of described AP on title, described access switch, generate the title of described AP;

Or, described title signal generating unit can be specifically for according to the port title preset and name prefix Corresponding relation, obtains and connects described access on the described convergence switch that described network access information includes The name prefix that the port title of switch is corresponding;According to described name prefix, and described network insertion Information includes: connect the end of described AP on described access switch title, described access switch Mouth title, generates the title of described AP.

Further, the configuration module described in above-described embodiment five includes: matching unit, acquiring unit And performance element.Wherein, described matching unit is for by the title of described AP and at least one preset Regular expression mates.Described acquiring unit is for when there being the regular expression of coupling, according in advance If the corresponding relation of regular expression and config set, obtain the regular expression of described AP name coupling Corresponding config set.Described performance element is for performing the configuration operation in described config set, with to described AP configures.

Or, described configuration module includes: acquiring unit and performance element.Wherein, described acquisition is single Unit, for the corresponding relation of the name prefix according to described AP name with config set, obtains the name of described AP The config set that the name prefix that comprises in title is corresponding.Described performance element is for performing in described config set Configuration operation, to configure described AP.

Specifically, above-mentioned performance element, specifically for performing the configuration operation in described config set, configures institute State service set SSID of AP, configure the security strategy of described AP, configure wireless with described AP In the user's speed limit connected one or any number of.

Further, the access controller described in above-described embodiment five also includes: control module.Described control Molding block, for according to described network access information, uses the rule that controls preset to determine connecing of described AP It is the most legal to enter, if legal, then generates command information, to indicate described title generation module according to described Network access information, generates the title of described AP;Otherwise, warning message is generated.Wherein, described control System rule allowed/not allowed AP in the specified slot number specifying access switch and port numbers accesses.

As shown in figs. 3 and 6, the structural representation of the communication system that the embodiment of the present invention six provides.Such as figure Shown in 3 and 6, the communication system that the embodiment of the present invention six provides includes: access controller AC and access point Device A P.Wherein, described access controller AC is for obtaining the network insertion letter of access point apparatus AP Breath;According to described network access information, generate the title of described AP;Described title is sent to described AP, so that the configuration of described AP name Completion;According to the title of described AP, use the configuration preset Described AP is configured by rule.Described access controller can be specially connecing of above-described embodiment five offer Enter controller.Described access point apparatus AP can be connected AC by access switch with described access controller, As it is shown on figure 3, described access switch can be to support the access switch of LLDP or open DHCP Relay function and the access switch of Option82 function.Or, described access point apparatus AP leads to Cross access switch and convergence switch to be connected with described access controller AC, as shown in Figure 6, described Access switch can be the access switch supporting LLDP, and described convergence switch can be on DHCP Relay function and the convergence switch of Option82 function.

In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.

It is understood that the correlated characteristic in said method and equipment can mutually reference.On it addition, Stating " first ", " second " in embodiment etc. is for distinguishing each embodiment, and does not represent each embodiment Quality.

Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.

In several embodiments provided by the present invention, it should be understood that disclosed system, device and Method, can realize by another way.Such as, device embodiment described above is only shown Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not perform.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection, can be electrical, machinery or other form.

The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.

Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the collocation method of an access point apparatus, it is characterised in that including:
Obtain the network access information of access point apparatus AP;
According to described network access information, generate the title of described AP;
Described title is sent to described AP, so that the configuration of described AP name Completion;
According to the title of described AP, use the configuration rule preset that described AP is configured;
The network access information of described acquisition AP, including:
When described AP is by supporting access switch and the access controller of Link Layer Discovery Protocol LLDP When AC connects, receive described AP and send the data message carrying LLDP information, and according to described LLDP information, extracts the network access information of described AP, and wherein, described LLDP information is described After AP accesses described access switch, described access switch send to described AP's;
When described AP is by opening dynamic host configuration protocol DHCP relaying Relay function and relaying When the access switch of Agent Information Option Option 82 function is connected with AC, obtain the IP of described AP Address, according to the corresponding relation of default IP address Yu Option 82 information, obtains the IP of described AP Option 82 information that address is corresponding, and according to described Option 82 information, extract the net of described AP Network access information;
When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option 82 function is connected with AC, receive described AP transmission carries LLDP The data message of information, obtains the IP address of described AP, according to default IP address and Option 82 The corresponding relation of information, obtains Option 82 information that the IP address of described AP is corresponding, according to described LLDP information and described Option 82 information, extract the network access information of described AP, wherein, institute Stating LLDP information is after described AP accesses described access switch, described access switch to send extremely Described AP's.
Method the most according to claim 1, it is characterised in that the IP of the described AP of described acquisition Before address, also include;
When described AP is handed over by the access of described unlatching DHCP Relay function and Option 82 function Change planes when being connected with AC, receive the DHCP carrying Option 82 information that described access switch sends Request, according to described DHCP request message be described AP distribute IP address, by described IP address with Described Option 82 information is set up corresponding relation and stores, and by described IP address by described DHCP Access switch sends to described AP, so that described AP uses described IP address to set up even with described AC Connect;Wherein, described DHCP request is that described AP sends to described access switch, described Option 82 information are to add in described DHCP request during the described access switch described DHCP request of relaying 's;
When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option 82 function is connected with AC, receive carrying of described convergence switch transmission There is the DHCP request of Option 82 information, be described AP distribution according to described DHCP request message IP address, sets up corresponding relation by described IP address with described Option 82 information and stores, and by institute State IP address to be sent to described AP by described convergence switch and described access switch, so that described AP uses described IP address to be connected with described AC foundation;Wherein, described DHCP request is described AP Being sent to described convergence switch by described access switch, described Option 82 information is described remittance Add in described DHCP request during DHCP request described in poly-exchange board relay.
3. according to described method arbitrary in claim 1~2, it is characterised in that
When described AP is connected with AC by access switch, the information that described network access information includes Connect on the address of Xiang You: described access switch, described access switch title, described access switch Connect the port title of described AP;
When described AP is connected with AC by access switch and convergence switch, described network insertion is believed The item of information that includes of breath has: the address of described access switch, described access switch title, described in connect Enter to connect on switch and connect described access on the port title of described AP and described convergence switch The port title of switch.
4. according to described method arbitrary in claim 1~2, it is characterised in that described according to described net Network access information, generates the title of described AP, including:
The item of information included according to described network access information, determines the access side of described AP access network Formula;
According to the corresponding relation of default access way Yu naming rule, obtain described access way corresponding Naming rule;
According to described naming rule, generate the title of described AP.
Method the most according to claim 4, it is characterised in that
When the access way of described AP access network is to be connected with AC by access switch, described According to described naming rule, generate the title of described AP, including:
According to the corresponding relation of default switch address Yu name prefix, obtain described network access information The name prefix that the address of the access switch included is corresponding;
According to described name prefix, and described network access information includes: access switch title, Connect the port title of described AP on described access switch, generate the title of described AP;
When the access way of described AP access network is to be connected with AC by access switch and convergence switch When connecing, described generate the title of described AP according to described naming rule, including:
According to the corresponding relation of default port title Yu name prefix, obtain in described network access information Including described convergence switch on connect the name prefix that the port title of described access switch is corresponding;
According to described name prefix, and described network access information includes: described access switch Connect the port title of described AP on title, described access switch, generate the title of described AP.
6. according to described method arbitrary in claim 1~2, it is characterised in that according to described AP's Title, uses the configuration rule preset to configure described AP, including:
The title of described AP is mated with at least one regular expression preset;
If there being the regular expression of coupling, then according to the corresponding relation of the regular expression preset with config set, Obtain the config set that the regular expression of described AP name coupling is corresponding;
Perform the configuration operation in described config set, so that described AP to be configured;
Or, the described title according to described AP, use the configuration rule preset that described AP is joined Put, including:
Name prefix according to described AP name and the corresponding relation of config set, obtain the title of described AP In config set corresponding to the name prefix that comprises;
Perform the configuration operation in described config set, so that described AP to be configured.
7. according to described method arbitrary in claim 1~2, it is characterised in that described according to described net Network access information, before generating the title of described AP, also includes:
According to described network access information, use that presets to control whether rule determines the access of described AP Legal, if legal, then continue subsequent step, otherwise, generate warning message;
Wherein, described control rule allow in the specified slot number of access switch and port numbers for specifying or AP is not allowed to access.
8. an access controller, it is characterised in that including:
Acquisition module, for obtaining the network access information of access point apparatus AP;
Title generation module, for according to described network access information, generates the title of described AP;
Sending module, for described title is sent to described AP, so that the joining of described AP name Completion Put;
Configuration module, for the title according to described AP, uses the configuration rule preset to enter described AP Row configuration;
Described acquisition module, specifically for:
When described AP is by supporting that the access switch of LLDP is connected with described access controller AC, Receive described AP and send the data message carrying LLDP information, and according to described LLDP information, Extracting the network access information of described AP, wherein, described LLDP information is to connect described in described AP accesses After entering switch, described access switch send to described AP's;
When described AP is by opening DHCP Relay function and the access switch of Option 82 function When being connected with described AC, obtain the IP address of described AP, according to default IP address and Option 82 The corresponding relation of information, obtains Option 82 information that the IP address of described AP is corresponding, and according to described Option 82 information, extracts the network access information of described AP;
When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option 82 function is connected with described AC, receive carrying of described AP transmission The data message of LLDP information, obtains the IP address of described AP, according to default IP address and Option The corresponding relation of 82 information, obtains Option 82 information that the IP address of described AP is corresponding, according to institute State LLDP information and described Option 82 information, extract the network access information of described AP, wherein, Described LLDP information is after described AP accesses described access switch, described access switch to send To described AP's.
Access controller the most according to claim 8, it is characterised in that also include: DHCP takes Business device module, for when described AP is by described unlatching DHCP Relay function and Option 82 merit When the access switch of energy is connected with described AC, receive the transmission of described access switch carries Option The DHCP request of 82 information, is that described AP distributes IP address according to described DHCP request message, Described IP address is set up corresponding relation with described Option 82 information and is stored, and by described IP address Sent to described AP by described DHCP access switch, so that described AP uses described IP address Set up with described AC and be connected;Wherein, described DHCP request is that described AP sends to described access friendship Change planes, described when described Option 82 information is described access switch relaying described DHCP request DHCP request is added;
When described AP by support LLDP access switch and open DHCP Relay function and When the convergence switch of Option 82 function is connected with described AC, receive what described convergence switch sent Carry the DHCP request of Option 82 information, be described AP according to described DHCP request message Distribution IP address, sets up corresponding relation by described IP address with described Option 82 information and stores, and Described IP address is sent to described AP by described convergence switch and described access switch, so that Described AP uses described IP address to be connected with described AC foundation;Wherein, described DHCP request is institute Stating AP to be sent to described convergence switch by described access switch, described Option 82 information is Described convergence switch adds when relaying described DHCP request in described DHCP request.
Arbitrary described access controller the most according to Claim 8~in 9, it is characterised in that title is raw Become module, including:
Determine unit, for the item of information included according to described network access information, determine that described AP connects Enter the access way of network;
Acquiring unit, for the corresponding relation according to the access way preset with naming rule, obtains described The naming rule that access way is corresponding;
Title signal generating unit, for according to described naming rule, generates the title of described AP.
11. access controllers according to claim 10, it is characterised in that described title generates single Unit, specifically for the corresponding relation according to the switch address preset with name prefix, obtains described network The name prefix that the address of the access switch that access information includes is corresponding;According to described name prefix, And described network access information includes: connect on access switch title, described access switch The port title of described AP, generates the title of described AP;
Or, described title signal generating unit, specifically for according to the port title preset and name prefix Corresponding relation, obtains and connects described access on the described convergence switch that described network access information includes The name prefix that the port title of switch is corresponding;According to described name prefix, and described network insertion Information includes: connect the end of described AP on described access switch title, described access switch Mouth title, generates the title of described AP.
12. arbitrary described access controllers according to Claim 8~in 9, it is characterised in that described in join Put module to include:
Matching unit, for carrying out the title of described AP and at least one regular expression preset Join;
Acquiring unit, for when there being the regular expression of coupling, according to default regular expression with join Put the corresponding relation of collection, obtain the config set that the regular expression of described AP name coupling is corresponding;
Performance element, for performing the configuration operation in described config set, to configure described AP;
Or, described configuration module includes:
Acquiring unit, for the corresponding relation of the name prefix according to described AP name with config set, obtains Take the config set that the name prefix comprised in the title of described AP is corresponding;
Performance element, for performing the configuration operation in described config set, to configure described AP.
13. arbitrary described access controllers according to Claim 8~in 9, it is characterised in that also include:
Control module, for according to described network access information, uses the control rule preset to determine described The access of AP is the most legal, if legal, then generates command information, to indicate described title generation module root According to described network access information, generate the title of described AP;Otherwise, warning message is generated;
Wherein, described control rule permission in the specified slot number specifying access switch and port numbers/no AP is allowed to access.
14. 1 kinds of communication systems, it is characterised in that including: arbitrary described in the claims 8~13 Access controller and access point apparatus;Wherein, described access point apparatus passes through access switch with described Access controller connects, or, described access point apparatus passes through access switch and described convergence switch It is connected with described access controller.
CN201310411966.XA 2013-09-11 2013-09-11 The collocation method of access point apparatus, access controller and communication system CN103476023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310411966.XA CN103476023B (en) 2013-09-11 2013-09-11 The collocation method of access point apparatus, access controller and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310411966.XA CN103476023B (en) 2013-09-11 2013-09-11 The collocation method of access point apparatus, access controller and communication system

Publications (2)

Publication Number Publication Date
CN103476023A CN103476023A (en) 2013-12-25
CN103476023B true CN103476023B (en) 2016-08-24

Family

ID=49800691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310411966.XA CN103476023B (en) 2013-09-11 2013-09-11 The collocation method of access point apparatus, access controller and communication system

Country Status (1)

Country Link
CN (1) CN103476023B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945015A (en) * 2014-04-09 2014-07-23 上海华为技术有限公司 Node logic ID distribution device and method and communication system
CN104023094B (en) * 2014-06-13 2018-01-16 台安科技(无锡)有限公司 The method for avoiding local area network communications module selection puzzlement
CN104335554A (en) * 2014-06-27 2015-02-04 华为技术有限公司 Wireless access network configuration automatic synchronizaing method and device
CN104125662A (en) * 2014-08-11 2014-10-29 醴陵恒茂电子科技有限公司 Wireless access point centralized management device and method
CN104219094B (en) * 2014-08-29 2018-10-26 新华三技术有限公司 A kind of method and apparatus of AP packet configurations
CN104703184B (en) * 2015-02-12 2018-08-14 中山大学 A kind of safe Wi-Fi hotspot information issuing method
CN106301872A (en) * 2015-06-25 2017-01-04 伊姆西公司 The method and apparatus determining the server location of data center
CN105592483A (en) * 2015-08-20 2016-05-18 杭州华三通信技术有限公司 Configuration information transmitting method and device
CN105279134B (en) * 2015-11-09 2018-10-19 北京齐尔布莱特科技有限公司 A kind of device and application server of dynamic configuration mobile application
CN105703958B (en) * 2016-04-07 2019-01-22 成都火云网安科技有限公司 A kind of the AP automatic configuration system and method for wireless network environment
CN106131066B (en) * 2016-08-26 2019-09-17 新华三技术有限公司 A kind of authentication method and device
CN106714169A (en) * 2017-03-23 2017-05-24 广州中国科学院计算机网络信息中心 Wireless network characteristic configuration method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1445839A1 (en) * 2001-10-11 2004-08-11 Lear Automotive (EEDS) Spain, S.L. System and method of preventing electric arcs in connectors that supply power charges and the connector used for same
CN1701563A (en) * 2002-09-09 2005-11-23 西门子公司 Wireless local area network with clients having extended freedom of movement
CN101199161A (en) * 2005-08-01 2008-06-11 思科技术公司 Method and system for dynamic assignment of wireless lan access point identity
CN102217363A (en) * 2008-11-14 2011-10-12 华为技术有限公司 System and method for name binding for multiple packet data network access

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1445839A1 (en) * 2001-10-11 2004-08-11 Lear Automotive (EEDS) Spain, S.L. System and method of preventing electric arcs in connectors that supply power charges and the connector used for same
CN1701563A (en) * 2002-09-09 2005-11-23 西门子公司 Wireless local area network with clients having extended freedom of movement
CN101199161A (en) * 2005-08-01 2008-06-11 思科技术公司 Method and system for dynamic assignment of wireless lan access point identity
CN102217363A (en) * 2008-11-14 2011-10-12 华为技术有限公司 System and method for name binding for multiple packet data network access

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102986172B (en) Virtual Cluster exchanges
CN102088388B (en) Method and equipment for automatically distributing/acquiring virtual local area network configuration information
CN102594711B (en) Message forwarding method and edge device therefor
CN103051539B (en) A kind of net control implementation method based on DHT, System and Network controller
WO2009015573A1 (en) Method and access controller for configuration and management of access point
CN103905283B (en) Communication means and device based on expansible VLAN
CN103036784B (en) Method and apparatus for two layers of enterprise network infrastructure of self-organizing
CN102710432A (en) System and method for managing virtual network in cloud computation data center
CN102076024A (en) Base station, network system and implementation method
CN103037318A (en) Device, system and method for mobile device to form point-to-point group through proximity sensing
CN106797324A (en) Method and system for supporting distributed relay control protocol (DRCP) operation when mismatching and putting
CN101610171B (en) Switching device automatic configuration method based on IEC61850 model
CN103825954B (en) A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
US9369448B2 (en) Network security parameter generation and distribution
CN104202266B (en) A kind of communication means, interchanger, controller and communication system
CN102137395B (en) Method, device and system for configuring access device
CN103401786B (en) Network topology foundation, path clustering, message transmitting method and device, system
CN101841815A (en) Cluster controlling method based on wireless router and network system
CN102137401B (en) WLAN centralization 802.1X authentication methods and device and system
CN103095495A (en) Network implementation configuration method, device and system
CN102215052B (en) Bluetooth radio and the management for integrating with communication network are applied
CN102882758B (en) Method, network side equipment and the data center apparatus of virtual private cloud access network
CN105188061A (en) Relaying method for wireless relay device and wireless relay device
CN104113792A (en) OpenFlow control channel establishing method and system
CN103607308B (en) Virtual machine multi-network management system under cloud computing environment and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.