WO2020063466A1 - Access point management - Google Patents

Access point management Download PDF

Info

Publication number
WO2020063466A1
WO2020063466A1 PCT/CN2019/106906 CN2019106906W WO2020063466A1 WO 2020063466 A1 WO2020063466 A1 WO 2020063466A1 CN 2019106906 W CN2019106906 W CN 2019106906W WO 2020063466 A1 WO2020063466 A1 WO 2020063466A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
working parameter
parameter information
directly connected
mac address
Prior art date
Application number
PCT/CN2019/106906
Other languages
French (fr)
Chinese (zh)
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 新华三技术有限公司
Publication of WO2020063466A1 publication Critical patent/WO2020063466A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • WLAN Wireless Local Area Network
  • access controller English: Access Controller, AC for short
  • power over Ethernet English: Power over Ethernet
  • POE Power over Ethernet
  • AP Access Point
  • AC Connect to the AP through the POE switch.
  • the POE switch is used to power the AP
  • the AC is used to manage the AP.
  • the administrator needs to configure the AP on the AC.
  • the specific process is to create an AP template for the AP and set the attribute information corresponding to the AP in the AP template, such as the model of the AP. And serial number. Managers can then bind the AP template to a pre-configured service template.
  • the service template includes working parameter information required by the AP to provide wireless access services, such as a service set identifier and a channel.
  • the association request message may carry the model and serial number of the AP.
  • the AC can match the model and serial number of the AP carried in the association request with the attribute information in the AP template. If the match is successful, the AP is allowed to associate. Subsequently, the AC may send corresponding working parameter information to the AP according to the service template bound to the AP template, so that the AP provides wireless access services according to the working parameter information.
  • FIG. 1 is a system framework diagram provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of an AP management method according to an embodiment of the present application.
  • FIG. 3 is another flowchart of an AP management method according to an embodiment of the present application.
  • Example 4 is a flowchart of Example 1 of an AP management method according to an embodiment of the present application.
  • Example 5 is a flowchart of Example 2 of an AP management method according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an AP management device according to an embodiment of the present application.
  • FIG. 7 is another schematic structural diagram of an AP management device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an AP management device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an AP management device according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an AC provided by an embodiment of the present application.
  • a manager needs to configure an AP on the AC so that the AP can provide wireless access services.
  • an AP in a WLAN fails and needs to be replaced by a new AP
  • the administrator needs to configure the new AP on the AC so that the new AP can provide wireless access services.
  • the scale of a WLAN is large, the probability of failure of the APs in the WLAN is also large. In this way, each time a faulty AP is replaced with a new AP, corresponding configuration needs to be performed on the AC, resulting in low maintenance efficiency.
  • FIG. 1 is a system framework diagram provided by an embodiment of the present application.
  • a WLAN generally includes an AC, a switch, an AP, and a terminal.
  • the AC can be connected to the AP through a switch to perform association management and configuration management on the AP; the AP can be used to provide wireless access services for the terminal.
  • the AC and AP can communicate through the CAPWAP protocol.
  • the switch may be a POE switch, or may be another type of switch, which is not limited in the embodiment of the present application.
  • Step 201 Receive a first communication message sent by a target AP.
  • the first communication packet may carry the model of the target AP (that is, the target model), the serial number (that is, the target serial number), and the MAC address of the target directly connected port obtained by the target AP.
  • the port directly connected to the target AP may carry the model of the target AP (that is, the target model), the serial number (that is, the target serial number), and the MAC address of the target directly connected port obtained by the target AP.
  • the port directly connected to the target AP may carry the model of the target AP (that is, the target model), the serial number (that is, the target serial number), and the MAC address of the target directly connected port obtained by the target AP.
  • the target AP can obtain the MAC address of a port directly connected to the target AP on the switch through a link layer discovery protocol (English: Link Layer Discovery Protocol (LLDP)). Then, the target AP may send a first communication packet to the AC.
  • the first communication message may carry a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP.
  • the AC can parse the first communication message to obtain the target model, target serial number, and target obtained by the target AP carried in the first communication message. MAC address of the directly connected port.
  • the first communication message may be a discovery request message (ie, a Discovery Request message) or a join request message (ie, a Join Request message).
  • a discovery request message ie, a Discovery Request message
  • a join request message ie, a Join Request message
  • the embodiment of the present application is described by using the first communication message as a discovery request message as an example.
  • the target AP obtains the MAC address of the target directly connected port, it can add the MAC address, target model, and target serial number of the target directly connected port to the discovery request message, and then send the discovery request message to the AC. Text.
  • the discovery request message carries the target model, target serial number, and MAC address of the target directly connected port of the target AP.
  • the AC After receiving the discovery request message sent by the target AP, the AC can parse the discovery request message to obtain the target model, target serial number, and MAC address of the directly connected port of the target AP carried in the discovery request message.
  • the situation in which the first communication message is a join request message is similar, and details are not described in the embodiment of the present application.
  • the target AP may carry the MAC address of the target directly connected port by adding a Type Length Value (English: Type, Value, TLV) field to the discovery request message.
  • a Type Length Value English: Type, Value, TLV
  • Step 202 Query the working parameter information corresponding to the target model and the target serial number in a pre-stored AP information table.
  • Step 202 is to query the working parameter information corresponding to the target model and target serial number in the AP information table stored in advance as the first working parameter information.
  • the AP information table includes the correspondence between the AP model, serial number, MAC address of the directly connected port, and working parameter information.
  • the AP information table may be stored in the AC in advance.
  • the AP information table may include fields such as the AP model, serial number, MAC address of directly connected ports, and working parameter information.
  • the working parameter information can provide parameter information required by the AP set in the service template to provide wireless access services, such as a service set identifier (English: Service Set Identifier, SSID for short), channel (Channel) and maximum power (Max_Power) Wait.
  • the AP's model, serial number, and working parameter information can be configured by the management staff; the MAC address of the directly connected port can be configured by the management staff, or according to the first communication packet sent by the AP (such as a discovery request message or a join request Message).
  • the specific process for the AC to determine the MAC address of the directly connected port according to the first communication packet sent by the AP will be described later, and will not be described in detail here.
  • Table 1 is an example of an AP information table provided in the embodiment of the present application.
  • the model of AP1 is A, the serial number is 123, and the MAC address of the directly connected port is 00-00-00-00-00-01.
  • the SSID in the parameter information is X; the channel is 1; the maximum power is 20.
  • the model of AP2 is A, the serial number is 456, the MAC address of the directly connected port is 00-00-00-00-00-02, the SSID in the working parameter information is Y; Channel is 6; Max_Power is 20.
  • the model of AP3 is A, the serial number is 789, the MAC address of the directly connected port is empty, the SSID in the working parameter information is Z; Channel is 11; Max_Power is 20.
  • the AC After the AC obtains the target model, target serial number, and MAC address of the directly connected port of the target AP carried in the discovery request message, it can query the first working parameter corresponding to the target model and target serial number in the AP information table. information. If the first working parameter information does not exist in the AP information table, the AC performs step 203. If the first working parameter information exists in the AP information table, the AC may not process it.
  • Step 203 If the working parameter information corresponding to the target model and the target serial number does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table.
  • Step 203 is: if the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information.
  • the first working parameter information does not exist in the AP information table, it means that the target AP is not the AP that was originally online, that is, it is determined that the target AP is a newly enabled AP.
  • the newly enabled AP may be a replacement AP of the original AP or a newly launched AP.
  • the replacement AP model of the original AP must be the same as the original AP model.
  • the first port is the same as the second port .
  • the MAC address of the directly connected port of the replacement AP is the same as the MAC address of the directly connected port of the original AP.
  • the information of the newly launched AP is different from the information of other APs currently online.
  • AP information includes model, serial number, and MAC address of directly connected ports.
  • the AC can query the AP information table for the second working parameter information corresponding to the target model and the MAC address of the target directly connected port. If the second working parameter information exists in the AP information table, it indicates that the target AP is a replacement AP of the original AP, and the AC performs step 204. If the second working parameter information does not exist in the AP information table, the target AP is a newly launched AP, and the AC may not process or return a failure response message.
  • the AC may further store default working parameter information in advance.
  • the default working parameter information can be configured by the management staff. If the second working parameter information does not exist in the AP information table, the AC may send a discovery response message to the target AP.
  • the target AP can send a join request message to the AC.
  • the AC sends a join response message to the target AP.
  • the target AP can send a configuration request message to the AC.
  • the AC receives the configuration request message sent by the target AP, it can send a configuration response message to the target AP.
  • the configuration response message carries default working parameter information. In this way, after receiving the configuration response message sent by the AC, the target AP can provide wireless access services to the terminal according to the default working parameter information carried in the configuration response message, thereby achieving automatic configuration of the AP.
  • a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that the target AP is associated with the AC , Providing a wireless access service according to the first working parameter information.
  • the AC may send a discovery response message to the target AP.
  • the target AP can send a join request message to the AC.
  • the AC can authenticate the target AP. If the authentication succeeds, the AC can send a join response packet to the target AP.
  • the target AP can send a configuration request message to the AC.
  • the AC may send a configuration response message (ie, a third communication message) to the target AP.
  • the configuration response message carries first working parameter information. In this way, after receiving the configuration response message sent by the AC, the target AP can provide the terminal with a wireless access service according to the first working parameter information carried in the configuration response message.
  • the target model of the target AP is A; the target serial number is 123.
  • the AC can query the working parameter information corresponding to the target model and target serial number in the AP information table.
  • the SSID in the queried working parameter information is X; Channel is 1; Max_Power is 20.
  • the configuration response message carries the working parameter information queried above: SSID is X; Channel is 1; Max_Power is 20.
  • the target AP can provide X based on the SSID; 1 for the Channel; and 20 for Max_Power to provide wireless access services to the terminal.
  • the AC may further determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port.
  • the MAC address of the directly connected port to be updated corresponds to the target model and target serial number. If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
  • the AC may further query the MAC address of the port to be updated in the AP information table, and then determine whether the MAC address of the port to be updated is directly connected to the target.
  • the MAC addresses of the ports are the same. If the MAC address of the directly connected port to be updated is different from the MAC address of the target directly connected port, it means that the directly connected port of the target AP has changed.
  • the AC can modify the MAC address of the directly connected port in the AP information table to MAC address of the target directly connected port. If the MAC address of the directly connected port to be updated is the same as the MAC address of the target directly connected port, it means that the directly connected port of the target AP has not changed, and the AC does not need to update the MAC address of the directly connected port.
  • the target model of the target AP is A; the target serial number is 123; and the MAC address of the target directly connected port is 00-00-00-00-00-04.
  • the AC can query the first working parameter information corresponding to the target model and target serial number in the AP information table, and then further query the MAC address of the directly connected port to be updated.
  • the inquired directly connected to be updated The MAC address of the port is 00-00-00-00-00-01, and 00-00-00-00-00-01 is different from 00-00-00-00-00-04, which means that the target AP's directly connected port
  • the AC can modify the MAC address of the directly connected port (ie, 00-00-00-00-00-01) to the MAC address of the directly connected port (ie, 00-00-00-00-00-04). ), As shown in Table 2.
  • Step 204 If the working parameter information corresponding to the target model and the MAC address of the target directly connected port exists in the AP information table, send a second communication packet to the target AP, and the second communication packet carries the queried working parameters. Information to enable the target AP to provide a wireless access service according to the queried working parameter information after it is associated with the AC.
  • Step 204 is: if the second working parameter information exists in the AP information table, send a second communication message to the target AP, and the second communication message carries the second working parameter information, so that the target AP is associated with the AC After that, a wireless access service is provided according to the second working parameter information.
  • the AC can send a discovery response message to the target AP.
  • the target AP can send a join request message to the AC.
  • the AC directly sends a join response message to the target AP.
  • the target AP can send a configuration request message to the AC.
  • the AC receives the configuration request message sent by the target AP, it can send a configuration response message (that is, a second communication message) to the target AP.
  • the configuration response message carries the queried second working parameter information.
  • the target AP after receiving the configuration response message sent by the AC (that is, after the target AP is associated with the AC), the target AP can provide wireless access services to the terminal according to the second working parameter information carried in the configuration response message, thereby achieving the AP Automatic configuration without the need for administrators to configure the target AP, improving maintenance efficiency.
  • the target model of the target AP is A; the MAC address of the target directly connected port is 00-00-00-00-001.
  • the AC can query the second working parameter information corresponding to the target model and the MAC address of the directly connected port in the AP information table.
  • the SSID in the working parameter information is X; Channel is 1; Max_Power is 20 .
  • the AC sends a configuration response message to the target AP.
  • the configuration response message carries the working parameter information queried above: SSID is X; Channel is 1; Max_Power is 20.
  • the AC may also modify the serial number to be updated in the AP information table to the target serial number, and the serial number to be updated is related to the target model and the MAC address of the target directly connected port. correspond.
  • the AC may further modify the sequence number to be updated in the AP information table to the target sequence number. In this way, after the target AP is subsequently started, the AC can directly query the first working parameter information corresponding to the target model and target serial number in the AP information table.
  • the target model of the target AP is A; the MAC address of the target directly connected port is 00-00-00-00-00-01; and the target serial number is 321.
  • the AC can find the to-be-updated serial number (ie, 123) corresponding to the target model and the MAC address of the directly connected port in the AP information table, and the to-be-updated serial number (ie, 123) in the AP information table. Modify it to the target serial number (ie 321).
  • An embodiment of the present application further provides an AP management method, which can be applied to a target AP, as shown in FIG. 3, and the specific steps are as follows:
  • Step 301 Send a first communication message to the AC.
  • the first communication packet may carry a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP.
  • the target directly connected port is a port on the switch that is directly connected to the target AP.
  • the target AP can obtain the MAC address of a port on the switch directly connected to the target AP through LLDP. Then, the target AP may send a first communication packet to the AC.
  • the first communication message carries a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP.
  • the first communication message may be a discovery request message or a join request message.
  • the embodiment of the present application is described by using the first communication message as a discovery request message as an example.
  • the target AP can obtain the MAC address of the port on the switch directly connected to the target AP through LLDP. Then, the target AP can send a discovery request message to the AC in the WLAN.
  • the discovery request message carries the target model, target serial number, and MAC address of the target directly connected port of the target AP.
  • the situation in which the first communication message is a join request message is similar, and details are not described in the embodiment of the present application.
  • the target AP can carry the MAC address of the target directly connected port by adding a TLV field to the discovery request message.
  • Step 302 Receive a second communication message carrying working parameter information sent by the AC, and provide a wireless access service according to the working parameter information.
  • the target AP may send a configuration request message to the AC. Then, after receiving the configuration response message (that is, the second communication message) sent by the AC, the target AP can analyze the configuration response message to obtain the working parameter information carried in the configuration response message. In this way, the target AP can provide wireless access services to the terminal according to the working parameter information.
  • the target AP can obtain the MAC address of the directly connected port through the LLDP protocol.
  • the switch can send LLDP packets to the target AP through the target directly connected port connected to the target AP.
  • the LLDP packet carries the MAC address of the directly connected port.
  • the target AP parses the LLDP packet to obtain the MAC address of the directly connected port carried in the LLDP packet.
  • FIG. 4 is an example of an AP management method according to an embodiment of the present application. This example describes the processing flow of association between the target AP1 and the AC after the target AP1 is enabled. As shown in FIG. 4, the specific steps are as follows.
  • Step 401 The target AP1 obtains the MAC address of the target directly connected port through LLDP.
  • Step 402 The target AP1 sends a discovery request message to the AC.
  • the discovery request message carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP1.
  • Step 403 The AC queries the working parameter information corresponding to the target model and the target serial number in a pre-stored AP information table.
  • Step 403 is that the AC queries the working parameter information corresponding to the target model and target serial number in the AP information table stored in advance as the first working parameter information.
  • Step 404 If the working parameter information corresponding to the target model and target serial number exists in the AP information table, the AC determines whether the MAC address of the directly connected port corresponding to the target model and target serial number in the AP information table is the same as the target directly connected port. The MAC address is the same.
  • Step 404 is: if the first working parameter information exists in the AP information table, the AC determines whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC of the directly connected port to be updated The address corresponds to the target model and target serial number.
  • step 405 if the MAC address of the directly connected port corresponding to the target model and the target serial number in the AP information table is different from the MAC address of the target directly connected port, the AC will directly connect the port corresponding to the target model and target serial number. Change the MAC address of the target to the MAC address of the directly connected port.
  • Step 405 is: if the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, the AC changes the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
  • Step 406 The AC sends a configuration response message to the target AP1.
  • the configuration response message carries first working parameter information, so that the target AP1 provides a wireless access service according to the first working parameter information after being associated with the AC.
  • steps 401 to 406 are similar to the specific processing procedures of steps 201 to 204 and steps 301 to 302, and details are not described in the embodiment of the present application.
  • FIG. 5 is an example of an AP management method according to an embodiment of the present application. This example describes a processing flow of association between the target AP2 and the AC after the target AP2 replaces the target AP1. As shown in FIG. 5, the specific steps are as follows :
  • Step 501 The target AP2 obtains the MAC address of the directly connected port through LLDP.
  • Step 502 The target AP2 sends a discovery request message to the AC.
  • the discovery request message carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP2.
  • Step 503 The AC queries the working parameter information corresponding to the target model and the target serial number in a pre-stored AP information table.
  • Step 503 is that the AC queries the working parameter information corresponding to the target model and the target serial number in the AP information table stored in advance as the first working parameter information.
  • Step 504 If the working parameter information corresponding to the target model and the target serial number does not exist in the AP information table, the AC queries the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table.
  • Step 504 is: if the first working parameter information does not exist in the AP information table, the AC queries the second working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table.
  • Step 505 If the working parameter information corresponding to the target model and the MAC address of the target directly connected port exists in the AP information table, the AC modifies the serial number corresponding to the target model and the MAC address of the target directly connected port in the AP information table to The target serial number.
  • Step 505 is: if the second working parameter information exists in the AP information table, the AC changes the to-be-updated serial number in the AP information table to the target serial number, and the to-be-updated serial number corresponds to the target model and the MAC address of the target directly connected port .
  • Step 506 If the working parameter information corresponding to the target model and the MAC address of the target directly connected port exists in the AP information table, the AC sends a configuration response message to the target AP2.
  • Step 506 is: if the second working parameter information exists in the AP information table, sending a configuration response message to the target AP2.
  • the configuration response message carries the second working parameter information, so that the target AP2 provides a wireless access service according to the second working parameter information after being associated with the AC.
  • steps 501 to 506 are similar to the specific processing procedures of steps 201 to 204 and steps 301 to 302, which are not described in the embodiment of the present application.
  • An embodiment of the present application provides an AP management method.
  • An AC receives a first communication packet sent by a target AP, where the first communication packet carries a target model number, a target serial number, and a target obtained by the target AP. MAC address of the directly connected port. Then, the AC queries the pre-stored AP information table to query the first working parameter information corresponding to the target model and target serial number. If the first working parameter information does not exist in the AP information table, the AC queries the second working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table. If the second working parameter information exists in the AP information table, the AC sends a second communication packet to the target AP.
  • the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The second working parameter information provides wireless access service.
  • the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP.
  • the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
  • an embodiment of the present application further provides an AP management device.
  • the device is applied to an AC.
  • the device includes:
  • the receiving module 610 is configured to receive a first communication packet sent by a target AP.
  • the first communication packet carries a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP.
  • the target directly connects
  • the port is the port directly connected to the target AP on the switch;
  • the first query module 620 is configured to query the working parameter information corresponding to the target model and the target serial number in the pre-stored AP information table.
  • the AP information table includes the AP model, serial number, and direct The correspondence between the MAC address of the connected port and the working parameter information;
  • the second query module 630 is configured to query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table if the first working parameter information does not exist in the AP information table as the second work.
  • Parameter information
  • the first sending module 640 is configured to send a second communication packet to the target AP if the second working parameter information exists in the AP information table, and the second communication packet carries the second working parameter information, so that the target AP can After being associated with the AC, a wireless access service is provided according to the second operating parameter information.
  • the device may further include:
  • the first modification module 650 is configured to modify the to-be-updated serial number in the AP information table to the target serial number if the second working parameter information exists in the AP information table, and the to-be-updated serial number is related to the target model and the MAC address of the directly connected port. Address correspondence.
  • the device further includes:
  • the second sending module 660 is configured to send a third communication packet to the target AP if the first working parameter information exists in the AP information table, and the third communication packet carries the first working parameter information, so that the target AP can After being associated with the AC, a wireless access service is provided according to the first operating parameter information.
  • the device further includes:
  • a judging module 670 is configured to determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port if the first working parameter information exists in the AP information table, and the MAC of the directly connected port to be updated The address corresponds to the target model and target serial number;
  • the second modification module 680 is configured to modify the MAC address of the directly connected port to be updated to the MAC of the target directly connected port if the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port. address.
  • An AP management device provided in an embodiment of the present application.
  • An AC receives a first communication packet sent by a target AP, where the first communication packet carries a target model number, a target serial number, and a target obtained by the target AP. MAC address of the directly connected port. Then, the AC queries the pre-stored AP information table to query the first working parameter information corresponding to the target model and target serial number. If the first working parameter information does not exist in the AP information table, the AC queries the second working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table. If the second working parameter information exists in the AP information table, the AC sends a second communication packet to the target AP.
  • the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The second working parameter information provides wireless access service.
  • the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP.
  • the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
  • an embodiment of the present application further provides an AC, as shown in FIG. 10, including a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004.
  • the processor 1001, the communication interface 1002, and the memory 1003 completes communication with each other through a communication bus 1004,
  • the processor 1001 is configured to execute the program stored in the memory 1003, and the processor 1001 is caused to execute by the computer program:
  • the first communication packet carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP.
  • the target directly connected port is the destination of the switch and the target.
  • the AP information table In the pre-stored AP information table, query the working parameter information corresponding to the target model and target serial number.
  • the AP information table includes the AP model, serial number, MAC address of the directly connected port, and working parameters. Correspondence of information;
  • the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information;
  • a second communication packet is sent to the target AP, and the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it
  • the working parameter information provides wireless access services.
  • the processor 1001 is caused by a computer program to execute:
  • the serial number to be updated in the AP information table is modified to the target serial number, and the serial number to be updated corresponds to the target model and the MAC address of the target directly connected port.
  • the processor 1001 is caused by a computer program to execute:
  • a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
  • the processor 1001 is caused by a computer program to execute:
  • the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC address of the directly connected port to be updated and the target model and target. Serial number corresponding;
  • the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
  • An AC provided in the embodiment of the present application can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
  • the embodiments of the present application further provide a machine-readable storage medium.
  • the machine-readable storage medium stores machine-executable instructions that can be executed by a processor. When called and executed by the processor, the machine may Executing instructions causes the processor to execute:
  • the first communication packet carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP.
  • the target directly connected port is the destination of the switch and the target.
  • the AP information table In the pre-stored AP information table, query the working parameter information corresponding to the target model and target serial number.
  • the AP information table includes the AP model, serial number, MAC address of the directly connected port, and working parameters. Correspondence of information;
  • the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information;
  • a second communication packet is sent to the target AP, and the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it
  • the working parameter information provides wireless access services.
  • machine-executable instructions cause the processor to execute:
  • the serial number to be updated in the AP information table is modified to the target serial number, and the serial number to be updated corresponds to the target model and the MAC address of the target directly connected port.
  • machine-executable instructions cause the processor to execute:
  • a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
  • machine-executable instructions cause the processor to execute:
  • the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC address of the directly connected port to be updated and the target model and target. Serial number corresponding;
  • the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
  • the embodiment of the present application provides a machine-readable storage medium, which can be applied to an AC. Based on this, the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
  • the embodiments of the present application further provide a machine-executable instruction.
  • the machine-executable instruction When called and executed by a processor, the machine-executable instruction causes the processor to execute:
  • the first communication packet carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP.
  • the target directly connected port is the destination of the switch and the target.
  • the AP information table In the pre-stored AP information table, query the working parameter information corresponding to the target model and target serial number.
  • the AP information table includes the AP model, serial number, MAC address of the directly connected port, and working parameters. Correspondence of information;
  • the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information;
  • a second communication packet is sent to the target AP, and the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it
  • the working parameter information provides wireless access services.
  • machine-executable instructions cause the processor to execute:
  • the serial number to be updated in the AP information table is modified to the target serial number, and the serial number to be updated corresponds to the target model and the MAC address of the target directly connected port.
  • machine-executable instructions cause the processor to execute:
  • a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
  • machine-executable instructions cause the processor to execute:
  • the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC address of the directly connected port to be updated and the target model and target. Serial number corresponding;
  • the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
  • a machine-executable instruction provided in the embodiments of the present application may be stored in a machine-readable storage medium and applied to an AC. Based on this, the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An AP management method and apparatus, relating to the technical field of wireless communication. The method is applied to an AC, and comprises: receiving a first communication packet sent by a target AP, the first communication packet carrying the target model number and the target serial number of the target AP, and an MAC address of a target direct-connection port obtained by the target AP; querying working parameter information corresponding to the target model number and the target serial number in a pre-stored AP information sheet; if no working parameter information corresponding to the target model number and the target serial number exists in the AP information sheet, querying working parameter information corresponding to the target model number and the MAC address of the target direct-connection port in the AP information sheet; and if the working parameter information corresponding to the target model number and the MAC address of the target direct-connection port exists in the AP information sheet, sending a second communication packet to the target AP, the second communication packet carrying the queried working parameter information. By means of the technical solution provided by embodiments of the present application, the maintenance efficiency can be improved.

Description

接入点管理Access point management
本申请要求于2018年9月27日提交中国专利局、申请号为201811135629.1发明名称为“一种AP的管理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 27, 2018, with application number 201811135629.1 and entitled "A Method and Device for Managing APs", the entire contents of which are incorporated herein by reference. .
背景技术Background technique
随着无线局域网(英文:Wireless Local Area Network,简称:WLAN)的广泛应用,WLAN的规模也越来越大。WLAN中通常包括接入控制器(英文:Access Controller,简称:AC)、以太网供电(英文:Power over Ethernet,简称:POE)交换机和接入点(英文:Access Point,简称:AP),AC通过POE交换机与AP相连。其中,POE交换机用于为AP进行供电,AC用于对AP进行管理。With the widespread application of wireless local area networks (English: Wireless Local Area Network, WLAN for short), the scale of WLANs is also getting larger and larger. WLAN usually includes access controller (English: Access Controller, AC for short), power over Ethernet (English: Power over Ethernet, POE for short) switches and access points (English: Access Point, AP for short), AC Connect to the AP through the POE switch. Among them, the POE switch is used to power the AP, and the AC is used to manage the AP.
在WLAN中,当启动某AP时,管理人员需要在AC上对该AP进行配置,具体过程为:为该AP创建AP模板,并在AP模板中设置该AP对应的属性信息,比如AP的型号和序列号。然后,管理人员可以将该AP模板与预先配置的服务模板进行绑定。其中,服务模板中包括该AP提供无线接入服务所需的工作参数信息,比如服务集标识和信道等。这样,当AP启动后,AP可以向AC发送关联请求消息。其中,关联请求消息中可以携带有AP的型号和序列号。AC可以将关联请求中携带的该AP的型号和序列号与AP模板中的属性信息进行匹配,如果匹配成功,则允许该AP进行关联。后续,AC可以根据AP模板绑定的服务模板向该AP发送对应的工作参数信息,以使AP根据工作参数信息提供无线接入服务。In a WLAN, when an AP is started, the administrator needs to configure the AP on the AC. The specific process is to create an AP template for the AP and set the attribute information corresponding to the AP in the AP template, such as the model of the AP. And serial number. Managers can then bind the AP template to a pre-configured service template. The service template includes working parameter information required by the AP to provide wireless access services, such as a service set identifier and a channel. In this way, when the AP starts, the AP can send an association request message to the AC. The association request message may carry the model and serial number of the AP. The AC can match the model and serial number of the AP carried in the association request with the attribute information in the AP template. If the match is successful, the AP is allowed to associate. Subsequently, the AC may send corresponding working parameter information to the AP according to the service template bound to the AP template, so that the AP provides wireless access services according to the working parameter information.
附图简要说明Brief description of the drawings
图1为本申请实施例提供的一种系统框架图;FIG. 1 is a system framework diagram provided by an embodiment of the present application; FIG.
图2为本申请实施例提供的一种AP的管理方法的一种流程图;2 is a flowchart of an AP management method according to an embodiment of the present application;
图3为本申请实施例提供的一种AP的管理方法的另一种流程图;FIG. 3 is another flowchart of an AP management method according to an embodiment of the present application; FIG.
图4为本申请实施例提供的一种AP的管理方法的示例一的流程图;4 is a flowchart of Example 1 of an AP management method according to an embodiment of the present application;
图5为本申请实施例提供的一种AP的管理方法的示例二的流程图;5 is a flowchart of Example 2 of an AP management method according to an embodiment of the present application;
图6为本申请实施例提供的一种AP的管理装置的一种结构示意图;6 is a schematic structural diagram of an AP management device according to an embodiment of the present application;
图7为本申请实施例提供的一种AP的管理装置的另一种结构示意图;FIG. 7 is another schematic structural diagram of an AP management device according to an embodiment of the present application; FIG.
图8为本申请实施例提供的一种AP的管理装置的结构示意图;8 is a schematic structural diagram of an AP management device according to an embodiment of the present application;
图9为本申请实施例提供的一种AP的管理装置的一种结构示意图;9 is a schematic structural diagram of an AP management device according to an embodiment of the present application;
图10为本申请实施例提供的一种AC的一种结构示意图。FIG. 10 is a schematic structural diagram of an AC provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
现有技术中,管理人员需要在AC上对AP进行配置,以使该AP能够提供无线接入服务。当WLAN中某一个AP发生故障需要被新的AP替换时,管理人员需要在AC上对新的AP进行配置,以使新的AP能够提供无线接入服务。然而,当WLAN的规模较大时,WLAN中的AP发生故障的概率也较大,这样,每次将故障AP替换成新AP均需要在AC上进行相应的配置,导致维护效率较低。In the prior art, a manager needs to configure an AP on the AC so that the AP can provide wireless access services. When an AP in a WLAN fails and needs to be replaced by a new AP, the administrator needs to configure the new AP on the AC so that the new AP can provide wireless access services. However, when the scale of a WLAN is large, the probability of failure of the APs in the WLAN is also large. In this way, each time a faulty AP is replaced with a new AP, corresponding configuration needs to be performed on the AC, resulting in low maintenance efficiency.
为解决上述问题,本申请实施例提供了一种AP的管理方法,该方法可以由WLAN中的AC和AP共同实现。如图1所示,图1为本申请实施例提供的一种系统框架图,其中,WLAN通常包括AC、交换机、AP和终端。AC可以通过交换机与AP相连,对AP进行关联管理和配置管理;AP可以用于为终端提供无线接入服务。AC和AP之间可以通过CAPWAP协议进行通信。交换机可以为POE交换机,也可以为其他类型的交换机,本申请实施例不作限定。In order to solve the foregoing problem, an embodiment of the present application provides an AP management method, which can be implemented by an AC and an AP in a WLAN. As shown in FIG. 1, FIG. 1 is a system framework diagram provided by an embodiment of the present application. A WLAN generally includes an AC, a switch, an AP, and a terminal. The AC can be connected to the AP through a switch to perform association management and configuration management on the AP; the AP can be used to provide wireless access services for the terminal. The AC and AP can communicate through the CAPWAP protocol. The switch may be a POE switch, or may be another type of switch, which is not limited in the embodiment of the present application.
下面将结合具体实施方式,对AC执行上述AP的管理方法时的处理过程进行详细说明,如图2所示,具体步骤如下。The following will describe in detail the processing process when the AC executes the AP management method described above in combination with specific embodiments, as shown in FIG. 2, and the specific steps are as follows.
步骤201,接收目标AP发送的第一通信报文。Step 201: Receive a first communication message sent by a target AP.
其中,第一通信报文中可以携带有目标AP的型号(即目标型号)、序列 号(即目标序列号)和目标AP获取的目标直连端口的MAC地址,目标直连端口为交换机上与目标AP直连的端口。The first communication packet may carry the model of the target AP (that is, the target model), the serial number (that is, the target serial number), and the MAC address of the target directly connected port obtained by the target AP. The port directly connected to the target AP.
在实施中,当目标AP启动后,目标AP可以通过链路层发现协议(英文:Link Layer Discovery Protocol,简称:LLDP)获取交换机上与目标AP直连的端口的MAC地址。然后,目标AP可以向AC发送第一通信报文。其中,该第一通信报文中可以携带有目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址。AC接收到目标AP发送的第一通信报文后,可以对该第一通信报文进行解析,得到该第一通信报文中携带的目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址。In implementation, after the target AP is started, the target AP can obtain the MAC address of a port directly connected to the target AP on the switch through a link layer discovery protocol (English: Link Layer Discovery Protocol (LLDP)). Then, the target AP may send a first communication packet to the AC. The first communication message may carry a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP. After receiving the first communication message sent by the target AP, the AC can parse the first communication message to obtain the target model, target serial number, and target obtained by the target AP carried in the first communication message. MAC address of the directly connected port.
可选的,第一通信报文可以为发现请求报文(即Discovery Request报文),也可以为加入请求报文(即Join Request报文)。本申请实施例以第一通信报文为发现请求报文为例进行介绍。相应的,当目标AP获取到目标直连端口的MAC地址后,可以将目标直连端口的MAC地址、目标型号和目标序列号添加到发现请求报文中,然后,向AC发送该发现请求报文。其中,该发现请求报文中携带有目标AP的目标型号、目标序列号和目标直连端口的MAC地址。AC接收到目标AP发送的发现请求报文后,可以对该发现请求报文进行解析,得到该发现请求报文中携带的目标AP的目标型号、目标序列号和目标直连端口的MAC地址。第一通信报文为加入请求报文的情况与之类似,本申请实施例不再赘述。Optionally, the first communication message may be a discovery request message (ie, a Discovery Request message) or a join request message (ie, a Join Request message). The embodiment of the present application is described by using the first communication message as a discovery request message as an example. Correspondingly, after the target AP obtains the MAC address of the target directly connected port, it can add the MAC address, target model, and target serial number of the target directly connected port to the discovery request message, and then send the discovery request message to the AC. Text. The discovery request message carries the target model, target serial number, and MAC address of the target directly connected port of the target AP. After receiving the discovery request message sent by the target AP, the AC can parse the discovery request message to obtain the target model, target serial number, and MAC address of the directly connected port of the target AP carried in the discovery request message. The situation in which the first communication message is a join request message is similar, and details are not described in the embodiment of the present application.
其中,目标AP可以通过在发现请求报文中增加类型长度数值(英文:Type Length Value,简称:TLV)字段来携带目标直连端口的MAC地址。The target AP may carry the MAC address of the target directly connected port by adding a Type Length Value (English: Type, Value, TLV) field to the discovery request message.
步骤202,在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息。Step 202: Query the working parameter information corresponding to the target model and the target serial number in a pre-stored AP information table.
步骤202即为:在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息。Step 202 is to query the working parameter information corresponding to the target model and target serial number in the AP information table stored in advance as the first working parameter information.
其中,AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系。The AP information table includes the correspondence between the AP model, serial number, MAC address of the directly connected port, and working parameter information.
在实施中,AC中可以预先存储有AP信息表。AP信息表中可以包括AP 的型号、序列号、直连端口的MAC地址和工作参数信息等字段。其中,工作参数信息可以为服务模板中设置的AP提供无线接入服务所需的参数信息,比如服务集标识(英文:Service Set Identifier,简称:SSID)、信道(Channel)和最大功率(Max_Power)等。AP的型号、序列号和工作参数信息可以由管理人员进行配置;直连端口的MAC地址可以由管理人员进行配置,也可以根据AP发送的第一通信报文(比如发现请求报文或加入请求报文)进行确定。AC根据AP发送的第一通信报文确定直连端口的MAC地址的具体流程后续会进行介绍,此处暂不详述。In implementation, the AP information table may be stored in the AC in advance. The AP information table may include fields such as the AP model, serial number, MAC address of directly connected ports, and working parameter information. Among them, the working parameter information can provide parameter information required by the AP set in the service template to provide wireless access services, such as a service set identifier (English: Service Set Identifier, SSID for short), channel (Channel) and maximum power (Max_Power) Wait. The AP's model, serial number, and working parameter information can be configured by the management staff; the MAC address of the directly connected port can be configured by the management staff, or according to the first communication packet sent by the AP (such as a discovery request message or a join request Message). The specific process for the AC to determine the MAC address of the directly connected port according to the first communication packet sent by the AP will be described later, and will not be described in detail here.
例如,表一为本申请实施例提供的AP信息表的示例,其中,AP1的型号为A,序列号为123,直连端口的MAC地址为00-00-00-00-00-01,工作参数信息中的SSID为X;信道为1;最大功率为20。AP2的型号为A,序列号为456,直连端口的MAC地址为00-00-00-00-00-02,工作参数信息中的SSID为Y;Channel为6;Max_Power为20。AP3的型号为A,序列号为789,直连端口的MAC地址为空,工作参数信息中的SSID为Z;Channel为11;Max_Power为20。For example, Table 1 is an example of an AP information table provided in the embodiment of the present application. The model of AP1 is A, the serial number is 123, and the MAC address of the directly connected port is 00-00-00-00-00-01. The SSID in the parameter information is X; the channel is 1; the maximum power is 20. The model of AP2 is A, the serial number is 456, the MAC address of the directly connected port is 00-00-00-00-00-02, the SSID in the working parameter information is Y; Channel is 6; Max_Power is 20. The model of AP3 is A, the serial number is 789, the MAC address of the directly connected port is empty, the SSID in the working parameter information is Z; Channel is 11; Max_Power is 20.
表一Table I
Figure PCTCN2019106906-appb-000001
Figure PCTCN2019106906-appb-000001
AC获取到发现请求报文中携带的目标AP的目标型号、目标序列号和目标直连端口的MAC地址后,可以在AP信息表中,查询与目标型号和目标序列号对应的第一工作参数信息。如果AP信息表中不存在第一工作参数信息,则AC执行步骤203。如果AP信息表中存在第一工作参数信息,则AC可以 不进行处理。After the AC obtains the target model, target serial number, and MAC address of the directly connected port of the target AP carried in the discovery request message, it can query the first working parameter corresponding to the target model and target serial number in the AP information table. information. If the first working parameter information does not exist in the AP information table, the AC performs step 203. If the first working parameter information exists in the AP information table, the AC may not process it.
步骤203,如果AP信息表中不存在与目标型号和目标序列号对应的工作参数信息,则在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息。Step 203: If the working parameter information corresponding to the target model and the target serial number does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table.
步骤203即为:如果AP信息表中不存在第一工作参数信息,则在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息。Step 203 is: if the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information.
在实施中,如果AP信息表中不存在第一工作参数信息,则说明该目标AP不是原已上线的AP,也就是,确定目标AP为新启用的AP。其中,新启用的AP可能为原有AP的替换AP,也可以为新上线的AP。原有AP的替换AP的型号必须与原有AP的型号相同。另外,对于原有AP的替换AP,若原有AP与交换机直连的端口为第一端口,原有AP的替换AP与交换机直连的端口为第二端口,则第一端口和第二端口相同。也就是,替换AP的直连端口的MAC地址与原有AP的直连端口的MAC地址相同。新上线的AP的信息与当前在线的其他AP的信息不同。AP的信息包括型号、序列号和直连端口的MAC地址等。In the implementation, if the first working parameter information does not exist in the AP information table, it means that the target AP is not the AP that was originally online, that is, it is determined that the target AP is a newly enabled AP. Among them, the newly enabled AP may be a replacement AP of the original AP or a newly launched AP. The replacement AP model of the original AP must be the same as the original AP model. In addition, for the replacement AP of the original AP, if the port directly connected to the switch of the original AP is the first port, and the port directly connected to the switch of the original AP is the second port, the first port is the same as the second port . That is, the MAC address of the directly connected port of the replacement AP is the same as the MAC address of the directly connected port of the original AP. The information of the newly launched AP is different from the information of other APs currently online. AP information includes model, serial number, and MAC address of directly connected ports.
基于此,AC可以在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的第二工作参数信息。如果AP信息表中存在第二工作参数信息,则说明目标AP是原有AP的替换AP,AC执行步骤204。如果AP信息表中不存在第二工作参数信息,则说明目标AP为新上线的AP,AC可以不进行处理或返回失败响应消息。Based on this, the AC can query the AP information table for the second working parameter information corresponding to the target model and the MAC address of the target directly connected port. If the second working parameter information exists in the AP information table, it indicates that the target AP is a replacement AP of the original AP, and the AC performs step 204. If the second working parameter information does not exist in the AP information table, the target AP is a newly launched AP, and the AC may not process or return a failure response message.
本申请实施例中,AC中还可以预先存储有默认工作参数信息。默认工作参数信息可以由管理人员进行配置。如果AP信息表中不存在第二工作参数信息,则AC可以向目标AP发送发现响应报文。目标AP接收到AC发送的发现响应报文后,可以向AC发送加入请求报文。AC则会向目标AP发送加入响应报文。目标AP接收到AC发送的加入响应报文后,可以向AC发送配置请求报文。AC接收到目标AP发送的配置请求报文后,可以向目标AP发送配置响应报文。其中,该配置响应报文中携带有默认工作参数信息。这样,目标AP接收到AC发送的配置响应报文后,可以根据配置响应报文中携带的 默认工作参数信息为终端提供无线接入服务,从而实现AP的自动配置。In the embodiment of the present application, the AC may further store default working parameter information in advance. The default working parameter information can be configured by the management staff. If the second working parameter information does not exist in the AP information table, the AC may send a discovery response message to the target AP. After receiving the discovery response message sent by the AC, the target AP can send a join request message to the AC. The AC sends a join response message to the target AP. After receiving the join response message sent by the AC, the target AP can send a configuration request message to the AC. After the AC receives the configuration request message sent by the target AP, it can send a configuration response message to the target AP. The configuration response message carries default working parameter information. In this way, after receiving the configuration response message sent by the AC, the target AP can provide wireless access services to the terminal according to the default working parameter information carried in the configuration response message, thereby achieving automatic configuration of the AP.
可选的,如果AP信息表中存在第一工作参数信息,则向目标AP发送第三通信报文,第三通信报文中携带有第一工作参数信息,以使目标AP在与AC关联之后,根据第一工作参数信息提供无线接入服务。Optionally, if the first working parameter information exists in the AP information table, a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that the target AP is associated with the AC , Providing a wireless access service according to the first working parameter information.
在实施中,如果AP信息表中存在第一工作参数信息,则AC可以向目标AP发送发现响应报文。目标AP接收到AC发送的发现响应报文后,可以向AC发送加入请求报文。AC接收到AP发送的加入请求报文后,可以对目标AP进行认证。如果认证通过,则AC可以向目标AP发送加入响应报文。目标AP接收到AC发送的加入响应报文后,可以向AC发送配置请求报文。AC接收到目标AP发送的配置请求报文后,可以向目标AP发送配置响应报文(即第三通信报文)。其中,该配置响应报文中携带有第一工作参数信息。这样,目标AP接收到AC发送的配置响应报文后,可以根据配置响应报文中携带的第一工作参数信息为终端提供无线接入服务。In implementation, if the first working parameter information exists in the AP information table, the AC may send a discovery response message to the target AP. After receiving the discovery response message sent by the AC, the target AP can send a join request message to the AC. After receiving the join request message sent by the AP, the AC can authenticate the target AP. If the authentication succeeds, the AC can send a join response packet to the target AP. After receiving the join response message sent by the AC, the target AP can send a configuration request message to the AC. After receiving the configuration request message sent by the target AP, the AC may send a configuration response message (ie, a third communication message) to the target AP. The configuration response message carries first working parameter information. In this way, after receiving the configuration response message sent by the AC, the target AP can provide the terminal with a wireless access service according to the first working parameter information carried in the configuration response message.
例如,目标AP的目标型号为A;目标序列号为123。AC可以在AP信息表中,查询与目标型号和目标序列号对应的工作参数信息。如表一所示,查询到的工作参数信息中的SSID为X;Channel为1;Max_Power为20。然后,AC在接收到目标AP发送的配置请求报文后,向目标AP发送配置响应报文。其中,该配置响应报文中携带有上述查询到的工作参数信息:SSID为X;Channel为1;Max_Power为20。目标AP则可以根据SSID为X;Channel为1;Max_Power为20,为终端提供无线接入服务。For example, the target model of the target AP is A; the target serial number is 123. The AC can query the working parameter information corresponding to the target model and target serial number in the AP information table. As shown in Table 1, the SSID in the queried working parameter information is X; Channel is 1; Max_Power is 20. Then, after receiving the configuration request message sent by the target AP, the AC sends a configuration response message to the target AP. The configuration response message carries the working parameter information queried above: SSID is X; Channel is 1; Max_Power is 20. The target AP can provide X based on the SSID; 1 for the Channel; and 20 for Max_Power to provide wireless access services to the terminal.
可选的,如果AP信息表中存在第一工作参数信息,则AC还可以进一步判断AP信息表中待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同。其中,待更新直连端口的MAC地址与目标型号和目标序列号对应。如果AP信息表中待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则将待更新直连端口的MAC地址修改为目标直连端口的MAC地址。Optionally, if the first working parameter information exists in the AP information table, the AC may further determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port. The MAC address of the directly connected port to be updated corresponds to the target model and target serial number. If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
在实施中,如果AP信息表中存在第一工作参数信息,则AC可以进一步查询AP信息表中待更新直连端口的MAC地址,然后判断该待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同。如果该待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则说明目标AP的直连端 口发生变更,AC可以将AP信息表中,待更新直连端口的MAC地址修改为目标直连端口的MAC地址。如果该待更新直连端口的MAC地址与目标直连端口的MAC地址相同,则说明目标AP的直连端口未发生变更,AC无需对待更新直连端口的MAC地址进行更新。In implementation, if the first working parameter information exists in the AP information table, the AC may further query the MAC address of the port to be updated in the AP information table, and then determine whether the MAC address of the port to be updated is directly connected to the target. The MAC addresses of the ports are the same. If the MAC address of the directly connected port to be updated is different from the MAC address of the target directly connected port, it means that the directly connected port of the target AP has changed. The AC can modify the MAC address of the directly connected port in the AP information table to MAC address of the target directly connected port. If the MAC address of the directly connected port to be updated is the same as the MAC address of the target directly connected port, it means that the directly connected port of the target AP has not changed, and the AC does not need to update the MAC address of the directly connected port.
例如,目标AP的目标型号为A;目标序列号为123;目标直连端口的MAC地址为00-00-00-00-00-04。AC可以在AP信息表中,查询到与目标型号和目标序列号对应的第一工作参数信息后,进一步查询待更新直连端口的MAC地址,如表一所示,查询到的待更新直连端口的MAC地址为00-00-00-00-00-01,00-00-00-00-00-01与00-00-00-00-00-04不同,则说明目标AP的直连端口发生变更,AC可以将待更新直连端口的MAC地址(即00-00-00-00-00-01)修改为目标直连端口的MAC地址(即00-00-00-00-00-04),如表二所示。For example, the target model of the target AP is A; the target serial number is 123; and the MAC address of the target directly connected port is 00-00-00-00-00-04. The AC can query the first working parameter information corresponding to the target model and target serial number in the AP information table, and then further query the MAC address of the directly connected port to be updated. As shown in Table 1, the inquired directly connected to be updated The MAC address of the port is 00-00-00-00-00-01, and 00-00-00-00-00-01 is different from 00-00-00-00-00-04, which means that the target AP's directly connected port When a change occurs, the AC can modify the MAC address of the directly connected port (ie, 00-00-00-00-00-01) to the MAC address of the directly connected port (ie, 00-00-00-00-00-04). ), As shown in Table 2.
表二Table II
Figure PCTCN2019106906-appb-000002
Figure PCTCN2019106906-appb-000002
步骤204,如果AP信息表中存在与目标型号和目标直连端口的MAC地址对应的工作参数信息,则向目标AP发送第二通信报文,第二通信报文中携带有查询到的工作参数信息,以使目标AP在与AC关联之后,根据查询到的工作参数信息提供无线接入服务。Step 204: If the working parameter information corresponding to the target model and the MAC address of the target directly connected port exists in the AP information table, send a second communication packet to the target AP, and the second communication packet carries the queried working parameters. Information to enable the target AP to provide a wireless access service according to the queried working parameter information after it is associated with the AC.
步骤204即为:如果AP信息表中存在第二工作参数信息,则向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数信息提供无线接入服务。Step 204 is: if the second working parameter information exists in the AP information table, send a second communication message to the target AP, and the second communication message carries the second working parameter information, so that the target AP is associated with the AC After that, a wireless access service is provided according to the second working parameter information.
在实施中,如果AP信息表中存在第二工作参数信息,则说明目标AP为原有AP的替换AP,则AC可以向目标AP发送发现响应报文。目标AP接收到AC发送的发现响应报文后,可以向AC发送加入请求报文。AC接收到AP发送的加入请求报文后,直接向目标AP发送加入响应报文。目标AP接收到AC发送的加入响应报文后,可以向AC发送配置请求报文。AC接收到目标AP发送的配置请求报文后,可以向目标AP发送配置响应报文(即第二通信报文)。其中,该配置响应报文中携带有查询到的第二工作参数信息。这样,目标AP接收到AC发送的配置响应报文后(即目标AP在与AC关联之后),可以根据配置响应报文中携带的第二工作参数信息为终端提供无线接入服务,实现了AP的自动配置,无需管理人员对目标AP进行配置,提高了维护效率。In implementation, if the second working parameter information exists in the AP information table, it indicates that the target AP is a replacement AP of the original AP, and the AC can send a discovery response message to the target AP. After receiving the discovery response message sent by the AC, the target AP can send a join request message to the AC. After receiving the join request message sent by the AP, the AC directly sends a join response message to the target AP. After receiving the join response message sent by the AC, the target AP can send a configuration request message to the AC. After the AC receives the configuration request message sent by the target AP, it can send a configuration response message (that is, a second communication message) to the target AP. The configuration response message carries the queried second working parameter information. In this way, after receiving the configuration response message sent by the AC (that is, after the target AP is associated with the AC), the target AP can provide wireless access services to the terminal according to the second working parameter information carried in the configuration response message, thereby achieving the AP Automatic configuration without the need for administrators to configure the target AP, improving maintenance efficiency.
例如,目标AP的目标型号为A;目标直连端口的MAC地址为00-00-00-00-00-01。AC可以在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的第二工作参数信息,如表一所示,工作参数信息中的SSID为X;Channel为1;Max_Power为20。然后,AC在接收到目标AP发送的配置请求报文后,向目标AP发送配置响应报文。其中,该配置响应报文中携带有上述查询到的工作参数信息:SSID为X;Channel为1;Max_Power为20。For example, the target model of the target AP is A; the MAC address of the target directly connected port is 00-00-00-00-00-01. The AC can query the second working parameter information corresponding to the target model and the MAC address of the directly connected port in the AP information table. As shown in Table 1, the SSID in the working parameter information is X; Channel is 1; Max_Power is 20 . Then, after receiving the configuration request message sent by the target AP, the AC sends a configuration response message to the target AP. The configuration response message carries the working parameter information queried above: SSID is X; Channel is 1; Max_Power is 20.
可选的,如果AP信息表中存在第二工作参数信息,则AC还可以将AP信息表中待更新序列号修改为目标序列号,待更新序列号与目标型号和目标直连端口的MAC地址对应。Optionally, if the second working parameter information exists in the AP information table, the AC may also modify the serial number to be updated in the AP information table to the target serial number, and the serial number to be updated is related to the target model and the MAC address of the target directly connected port. correspond.
在实施中,如果AP信息表中存在第二工作参数信息,则说明目标AP为原有AP的替换AP,AC可以进一步将AP信息表中待更新序列号修改为目标序列号。这样,后续该目标AP启动后,AC可以直接在AP信息表中,查询到与目标型号和目标序列号对应的第一工作参数信息。In implementation, if the second working parameter information exists in the AP information table, it indicates that the target AP is a replacement AP of the original AP, and the AC may further modify the sequence number to be updated in the AP information table to the target sequence number. In this way, after the target AP is subsequently started, the AC can directly query the first working parameter information corresponding to the target model and target serial number in the AP information table.
例如,目标AP的目标型号为A;目标直连端口的MAC地址为00-00-00-00-00-01;目标序列号为321。如表三所示,AC可以在AP信息表中,查找与目标型号和目标直连端口的MAC地址对应的待更新序列号(即123),将AP信息表中待更新序列号(即123)修改为目标序列号(即321)。For example, the target model of the target AP is A; the MAC address of the target directly connected port is 00-00-00-00-00-01; and the target serial number is 321. As shown in Table 3, the AC can find the to-be-updated serial number (ie, 123) corresponding to the target model and the MAC address of the directly connected port in the AP information table, and the to-be-updated serial number (ie, 123) in the AP information table. Modify it to the target serial number (ie 321).
表三Table three
Figure PCTCN2019106906-appb-000003
Figure PCTCN2019106906-appb-000003
本申请实施例还提供了一种AP的管理方法,该方法可以应用于目标AP,如图3所示,具体步骤如下:An embodiment of the present application further provides an AP management method, which can be applied to a target AP, as shown in FIG. 3, and the specific steps are as follows:
步骤301,向AC发送第一通信报文。Step 301: Send a first communication message to the AC.
其中,第一通信报文中可以携带有目标AP的目标型号、目标序列号和该目标AP获取的目标直连端口的MAC地址,目标直连端口为交换机上与目标AP直连的端口。The first communication packet may carry a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP. The target directly connected port is a port on the switch that is directly connected to the target AP.
在实施中,当目标AP启动后,目标AP可以通过LLDP获取交换机上与目标AP直连的端口的MAC地址。然后,目标AP可以向AC发送第一通信报文。其中,该第一通信报文中携带有目标AP的目标型号、目标序列号和该目标AP获取的目标直连端口的MAC地址。In implementation, after the target AP is started, the target AP can obtain the MAC address of a port on the switch directly connected to the target AP through LLDP. Then, the target AP may send a first communication packet to the AC. The first communication message carries a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP.
可选的,第一通信报文可以为发现请求报文,也可以为加入请求报文。本申请实施例以第一通信报文为发现请求报文为例进行介绍。相应的,当目标AP启动后,目标AP可以通过LLDP获取交换机上与目标AP直连的端口的MAC地址。然后,目标AP可以在WLAN中向AC发送发现请求报文。其中,该发现请求报文中携带有目标AP的目标型号、目标序列号和目标直连端口的MAC地址。第一通信报文为加入请求报文的情况与之类似,本申请实施例不再赘述。Optionally, the first communication message may be a discovery request message or a join request message. The embodiment of the present application is described by using the first communication message as a discovery request message as an example. Correspondingly, after the target AP starts, the target AP can obtain the MAC address of the port on the switch directly connected to the target AP through LLDP. Then, the target AP can send a discovery request message to the AC in the WLAN. The discovery request message carries the target model, target serial number, and MAC address of the target directly connected port of the target AP. The situation in which the first communication message is a join request message is similar, and details are not described in the embodiment of the present application.
其中,目标AP可以通过在发现请求报文中增加TLV字段来携带目标直 连端口的MAC地址。Among them, the target AP can carry the MAC address of the target directly connected port by adding a TLV field to the discovery request message.
步骤302,接收AC发送的携带有工作参数信息的第二通信报文,并根据工作参数信息提供无线接入服务。Step 302: Receive a second communication message carrying working parameter information sent by the AC, and provide a wireless access service according to the working parameter information.
在实施中,目标AP接收到AC发送的加入响应报文后,可以向AC发送配置请求报文。然后,目标AP接收到AC发送的配置响应报文(即第二通信报文)后,可以对配置响应报文进行解析,得到配置响应报文中携带的工作参数信息。这样,目标AP可以根据工作参数信息为终端提供无线接入服务。In implementation, after receiving the join response message sent by the AC, the target AP may send a configuration request message to the AC. Then, after receiving the configuration response message (that is, the second communication message) sent by the AC, the target AP can analyze the configuration response message to obtain the working parameter information carried in the configuration response message. In this way, the target AP can provide wireless access services to the terminal according to the working parameter information.
可选的,目标AP可以通过LLDP协议获取目标直连端口的MAC地址。Optionally, the target AP can obtain the MAC address of the directly connected port through the LLDP protocol.
在实施中,目标AP与交换机连接后,交换机可以通过与目标AP相连的目标直连端口,向目标AP发送LLDP报文。其中,LLDP报文中携带有目标直连端口的MAC地址。目标AP接收到该LLDP报文后,对该LLDP报文进行解析,得到该LLDP报文中携带的目标直连端口的MAC地址。In implementation, after the target AP is connected to the switch, the switch can send LLDP packets to the target AP through the target directly connected port connected to the target AP. The LLDP packet carries the MAC address of the directly connected port. After receiving the LLDP packet, the target AP parses the LLDP packet to obtain the MAC address of the directly connected port carried in the LLDP packet.
图4为本申请实施例提供的一种AP的管理方法的示例,通过该示例对目标AP1启用后,目标AP1与AC进行关联的处理流程进行说明,如图4所示,具体步骤如下。FIG. 4 is an example of an AP management method according to an embodiment of the present application. This example describes the processing flow of association between the target AP1 and the AC after the target AP1 is enabled. As shown in FIG. 4, the specific steps are as follows.
步骤401,目标AP1通过LLDP获取目标直连端口的MAC地址。Step 401: The target AP1 obtains the MAC address of the target directly connected port through LLDP.
步骤402,目标AP1向AC发送发现请求报文。Step 402: The target AP1 sends a discovery request message to the AC.
其中,发现请求报文中携带有目标AP1的目标型号、目标序列号和目标AP1获取的目标直连端口的MAC地址。The discovery request message carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP1.
步骤403,AC在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息。Step 403: The AC queries the working parameter information corresponding to the target model and the target serial number in a pre-stored AP information table.
步骤403即为:AC在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息。Step 403 is that the AC queries the working parameter information corresponding to the target model and target serial number in the AP information table stored in advance as the first working parameter information.
步骤404,如果AP信息表中存在与目标型号和目标序列号对应的工作参数信息,则AC判断AP信息表中与目标型号和目标序列号对应的直连端口的 MAC地址是否与目标直连端口的MAC地址相同。Step 404: If the working parameter information corresponding to the target model and target serial number exists in the AP information table, the AC determines whether the MAC address of the directly connected port corresponding to the target model and target serial number in the AP information table is the same as the target directly connected port. The MAC address is the same.
步骤404即为:如果AP信息表中存在第一工作参数信息,则AC判断AP信息表中待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同,待更新直连端口的MAC地址与目标型号和目标序列号对应。Step 404 is: if the first working parameter information exists in the AP information table, the AC determines whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC of the directly connected port to be updated The address corresponds to the target model and target serial number.
步骤405,如果AP信息表中与目标型号和目标序列号对应的直连端口的MAC地址,与目标直连端口的MAC地址不相同,则AC将与目标型号和目标序列号对应的直连端口的MAC地址修改为目标直连端口的MAC地址。In step 405, if the MAC address of the directly connected port corresponding to the target model and the target serial number in the AP information table is different from the MAC address of the target directly connected port, the AC will directly connect the port corresponding to the target model and target serial number. Change the MAC address of the target to the MAC address of the directly connected port.
步骤405即为:如果AP信息表中待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则AC将待更新直连端口的MAC地址修改为目标直连端口的MAC地址。Step 405 is: if the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, the AC changes the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
步骤406,AC向目标AP1发送配置响应报文。Step 406: The AC sends a configuration response message to the target AP1.
其中,配置响应报文中携带有第一工作参数信息,以使目标AP1在与AC关联之后,根据第一工作参数信息提供无线接入服务。The configuration response message carries first working parameter information, so that the target AP1 provides a wireless access service according to the first working parameter information after being associated with the AC.
步骤401至步骤406的具体处理过程与步骤201至步骤204以及步骤301至步骤302的具体处理过程类似,本申请实施例不再赘述。The specific processing procedures of steps 401 to 406 are similar to the specific processing procedures of steps 201 to 204 and steps 301 to 302, and details are not described in the embodiment of the present application.
图5为本申请实施例提供的一种AP的管理方法的示例,通过该示例对目标AP2替换目标AP1后,目标AP2与AC进行关联的处理流程进行说明,如图5所示,具体步骤如下:FIG. 5 is an example of an AP management method according to an embodiment of the present application. This example describes a processing flow of association between the target AP2 and the AC after the target AP2 replaces the target AP1. As shown in FIG. 5, the specific steps are as follows :
步骤501,目标AP2通过LLDP获取目标直连端口的MAC地址。Step 501: The target AP2 obtains the MAC address of the directly connected port through LLDP.
步骤502,目标AP2向AC发送发现请求报文。Step 502: The target AP2 sends a discovery request message to the AC.
其中,发现请求报文中携带有目标AP2的目标型号、目标序列号和目标AP2获取的目标直连端口的MAC地址。The discovery request message carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP2.
步骤503,AC在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息。Step 503: The AC queries the working parameter information corresponding to the target model and the target serial number in a pre-stored AP information table.
步骤503即为:AC在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息。Step 503 is that the AC queries the working parameter information corresponding to the target model and the target serial number in the AP information table stored in advance as the first working parameter information.
步骤504,如果AP信息表中不存在与目标型号和目标序列号对应的工作参数信息,则AC在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息。Step 504: If the working parameter information corresponding to the target model and the target serial number does not exist in the AP information table, the AC queries the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table.
步骤504即为:如果AP信息表中不存在第一工作参数信息,则AC在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的第二工作参数信息。Step 504 is: if the first working parameter information does not exist in the AP information table, the AC queries the second working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table.
步骤505,如果AP信息表中存在与目标型号和目标直连端口的MAC地址对应的工作参数信息,则AC将AP信息表中与目标型号和目标直连端口的MAC地址对应的序列号修改为目标序列号。Step 505: If the working parameter information corresponding to the target model and the MAC address of the target directly connected port exists in the AP information table, the AC modifies the serial number corresponding to the target model and the MAC address of the target directly connected port in the AP information table to The target serial number.
步骤505即为:如果AP信息表中存在第二工作参数信息,则AC将AP信息表中待更新序列号修改为目标序列号,待更新序列号与目标型号和目标直连端口的MAC地址对应。Step 505 is: if the second working parameter information exists in the AP information table, the AC changes the to-be-updated serial number in the AP information table to the target serial number, and the to-be-updated serial number corresponds to the target model and the MAC address of the target directly connected port .
步骤506,如果AP信息表中存在与目标型号和目标直连端口的MAC地址对应的工作参数信息,则AC向目标AP2发送配置响应报文。Step 506: If the working parameter information corresponding to the target model and the MAC address of the target directly connected port exists in the AP information table, the AC sends a configuration response message to the target AP2.
步骤506即为:如果AP信息表中存在第二工作参数信息,则向目标AP2发送配置响应报文。Step 506 is: if the second working parameter information exists in the AP information table, sending a configuration response message to the target AP2.
其中,配置响应报文中携带有第二工作参数信息,以使目标AP2在与AC关联之后,根据第二工作参数信息提供无线接入服务。The configuration response message carries the second working parameter information, so that the target AP2 provides a wireless access service according to the second working parameter information after being associated with the AC.
步骤501至步骤506的具体处理过程与步骤201至步骤204以及步骤301至步骤302的具体处理过程类似,本申请实施例不再赘述。The specific processing procedures of steps 501 to 506 are similar to the specific processing procedures of steps 201 to 204 and steps 301 to 302, which are not described in the embodiment of the present application.
本申请实施例提供的一种AP的管理方法,AC接收目标AP发送的第一通信报文,其中,第一通信报文中携带有目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址。然后,AC在预先存储的AP信息表中,查询与目标型号和目标序列号对应的第一工作参数信息。如果AP信息表中不存在第一工作参数信息,则AC在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的第二工作参数信息。如果AP信息表中存在第二工作参数信息,则AC向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数 信息提供无线接入服务。这样,AC能够通过目标AP的目标直连端口的MAC地址和目标型号,确定目标AP所替换的AP的工作参数信息,并将该工作参数信息发送给目标AP。后续,目标AP可以继续使用替换的AP的工作参数信息,为终端提供无线接入服务,无需管理人员对目标AP进行配置,提高了维护效率。An embodiment of the present application provides an AP management method. An AC receives a first communication packet sent by a target AP, where the first communication packet carries a target model number, a target serial number, and a target obtained by the target AP. MAC address of the directly connected port. Then, the AC queries the pre-stored AP information table to query the first working parameter information corresponding to the target model and target serial number. If the first working parameter information does not exist in the AP information table, the AC queries the second working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table. If the second working parameter information exists in the AP information table, the AC sends a second communication packet to the target AP. The second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The second working parameter information provides wireless access service. In this way, the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
基于相同的技术构思,如图6所示,本申请实施例还提供了一种AP的管理装置,该装置应用于AC,该装置包括:Based on the same technical concept, as shown in FIG. 6, an embodiment of the present application further provides an AP management device. The device is applied to an AC. The device includes:
接收模块610,用于接收目标AP发送的第一通信报文,第一通信报文中携带有目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址,目标直连端口为交换机上与目标AP直连的端口;The receiving module 610 is configured to receive a first communication packet sent by a target AP. The first communication packet carries a target model, a target serial number, and a MAC address of a target directly connected port obtained by the target AP. The target directly connects The port is the port directly connected to the target AP on the switch;
第一查询模块620,用于在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息,AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系;The first query module 620 is configured to query the working parameter information corresponding to the target model and the target serial number in the pre-stored AP information table. As the first working parameter information, the AP information table includes the AP model, serial number, and direct The correspondence between the MAC address of the connected port and the working parameter information;
第二查询模块630,用于如果AP信息表中不存在第一工作参数信息,则在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息;The second query module 630 is configured to query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table if the first working parameter information does not exist in the AP information table as the second work. Parameter information;
第一发送模块640,用于如果AP信息表中存在第二工作参数信息,则向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数信息提供无线接入服务。The first sending module 640 is configured to send a second communication packet to the target AP if the second working parameter information exists in the AP information table, and the second communication packet carries the second working parameter information, so that the target AP can After being associated with the AC, a wireless access service is provided according to the second operating parameter information.
可选的,如图7所示,该装置还可以包括:Optionally, as shown in FIG. 7, the device may further include:
第一修改模块650,用于如果AP信息表中存在第二工作参数信息,则将AP信息表中待更新序列号修改为目标序列号,待更新序列号与目标型号和目标直连端口的MAC地址对应。The first modification module 650 is configured to modify the to-be-updated serial number in the AP information table to the target serial number if the second working parameter information exists in the AP information table, and the to-be-updated serial number is related to the target model and the MAC address of the directly connected port. Address correspondence.
可选的,如图8所示,该装置还包括:Optionally, as shown in FIG. 8, the device further includes:
第二发送模块660,用于如果AP信息表中存在第一工作参数信息,则向目标AP发送第三通信报文,第三通信报文中携带有第一工作参数信息,以使目标AP在与AC关联之后,根据第一工作参数信息提供无线接入服务。The second sending module 660 is configured to send a third communication packet to the target AP if the first working parameter information exists in the AP information table, and the third communication packet carries the first working parameter information, so that the target AP can After being associated with the AC, a wireless access service is provided according to the first operating parameter information.
可选的,如图9所示,该装置还包括:Optionally, as shown in FIG. 9, the device further includes:
判断模块670,用于如果AP信息表中存在第一工作参数信息,则判断AP信息表中待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同,待更新直连端口的MAC地址与目标型号和目标序列号对应;A judging module 670 is configured to determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port if the first working parameter information exists in the AP information table, and the MAC of the directly connected port to be updated The address corresponds to the target model and target serial number;
第二修改模块680,用于如果AP信息表中待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则将待更新直连端口的MAC地址修改为目标直连端口的MAC地址。The second modification module 680 is configured to modify the MAC address of the directly connected port to be updated to the MAC of the target directly connected port if the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port. address.
本申请实施例提供的一种AP的管理装置,AC接收目标AP发送的第一通信报文,其中,第一通信报文中携带有目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址。然后,AC在预先存储的AP信息表中,查询与目标型号和目标序列号对应的第一工作参数信息。如果AP信息表中不存在第一工作参数信息,则AC在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的第二工作参数信息。如果AP信息表中存在第二工作参数信息,则AC向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数信息提供无线接入服务。这样,AC能够通过目标AP的目标直连端口的MAC地址和目标型号,确定目标AP所替换的AP的工作参数信息,并将该工作参数信息发送给目标AP。后续,目标AP可以继续使用替换的AP的工作参数信息,为终端提供无线接入服务,无需管理人员对目标AP进行配置,提高了维护效率。An AP management device provided in an embodiment of the present application. An AC receives a first communication packet sent by a target AP, where the first communication packet carries a target model number, a target serial number, and a target obtained by the target AP. MAC address of the directly connected port. Then, the AC queries the pre-stored AP information table to query the first working parameter information corresponding to the target model and target serial number. If the first working parameter information does not exist in the AP information table, the AC queries the second working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table. If the second working parameter information exists in the AP information table, the AC sends a second communication packet to the target AP. The second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The second working parameter information provides wireless access service. In this way, the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
基于相同的技术构思,本申请实施例还提供了一种AC,如图10所示,包括处理器1001、通信接口1002、存储器1003和通信总线1004,其中,处理器1001,通信接口1002,存储器1003通过通信总线1004完成相互间的通信,Based on the same technical concept, an embodiment of the present application further provides an AC, as shown in FIG. 10, including a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004. Among them, the processor 1001, the communication interface 1002, and the memory 1003 completes communication with each other through a communication bus 1004,
存储器1003,用于存放计算机程序;A memory 1003, configured to store a computer program;
处理器1001,用于执行存储器1003上所存放的程序时,处理器1001被计算机程序促使执行:The processor 1001 is configured to execute the program stored in the memory 1003, and the processor 1001 is caused to execute by the computer program:
接收目标AP发送的第一通信报文,第一通信报文中携带有目标AP的目 标型号、目标序列号和目标AP获取的目标直连端口的MAC地址,目标直连端口为交换机上与目标AP直连的端口;Receive the first communication packet sent by the target AP. The first communication packet carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP. The target directly connected port is the destination of the switch and the target. AP directly connected port;
在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息,AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系;In the pre-stored AP information table, query the working parameter information corresponding to the target model and target serial number. As the first working parameter information, the AP information table includes the AP model, serial number, MAC address of the directly connected port, and working parameters. Correspondence of information;
如果AP信息表中不存在第一工作参数信息,则在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息;If the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information;
如果AP信息表中存在第二工作参数信息,则向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数信息提供无线接入服务。If the second working parameter information exists in the AP information table, a second communication packet is sent to the target AP, and the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
可选的,处理器1001被计算机程序促使还可以执行:Optionally, the processor 1001 is caused by a computer program to execute:
如果AP信息表中存在第二工作参数信息,则将AP信息表中待更新序列号修改为目标序列号,待更新序列号与目标型号和目标直连端口的MAC地址对应。If the second working parameter information exists in the AP information table, the serial number to be updated in the AP information table is modified to the target serial number, and the serial number to be updated corresponds to the target model and the MAC address of the target directly connected port.
可选的,处理器1001被计算机程序促使还可以执行:Optionally, the processor 1001 is caused by a computer program to execute:
如果AP信息表中存在第一工作参数信息,则向目标AP发送第三通信报文,第三通信报文中携带有第一工作参数信息,以使目标AP在与AC关联之后,根据第一工作参数信息提供无线接入服务。If the first working parameter information exists in the AP information table, a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
可选的,处理器1001被计算机程序促使还可以执行:Optionally, the processor 1001 is caused by a computer program to execute:
如果AP信息表中存在第一工作参数信息,则判断AP信息表中待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同,待更新直连端口的MAC地址与目标型号和目标序列号对应;If the first working parameter information exists in the AP information table, determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC address of the directly connected port to be updated and the target model and target. Serial number corresponding;
如果AP信息表中待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则将待更新直连端口的MAC地址修改为目标直连端口的MAC地址。If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
本申请实施例提供的一种AC,AC能够通过目标AP的目标直连端口的 MAC地址和目标型号,确定目标AP所替换的AP的工作参数信息,并将该工作参数信息发送给目标AP。后续,目标AP可以继续使用替换的AP的工作参数信息,为终端提供无线接入服务,无需管理人员对目标AP进行配置,提高了维护效率。An AC provided in the embodiment of the present application can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
基于相同的技术构思,本申请实施例还提供了一种机器可读存储介质,机器可读存储介质存储有能够被处理器执行的机器可执行指令,在被处理器调用和执行时,机器可执行指令促使处理器执行:Based on the same technical concept, the embodiments of the present application further provide a machine-readable storage medium. The machine-readable storage medium stores machine-executable instructions that can be executed by a processor. When called and executed by the processor, the machine may Executing instructions causes the processor to execute:
接收目标AP发送的第一通信报文,第一通信报文中携带有目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址,目标直连端口为交换机上与目标AP直连的端口;Receive the first communication packet sent by the target AP. The first communication packet carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP. The target directly connected port is the destination of the switch and the target. AP directly connected port;
在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息,AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系;In the pre-stored AP information table, query the working parameter information corresponding to the target model and target serial number. As the first working parameter information, the AP information table includes the AP model, serial number, MAC address of the directly connected port, and working parameters. Correspondence of information;
如果AP信息表中不存在第一工作参数信息,则在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息;If the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information;
如果AP信息表中存在第二工作参数信息,则向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数信息提供无线接入服务。If the second working parameter information exists in the AP information table, a second communication packet is sent to the target AP, and the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
可选的,机器可执行指令促使处理器还可以执行:Optionally, the machine-executable instructions cause the processor to execute:
如果AP信息表中存在第二工作参数信息,则将AP信息表中待更新序列号修改为目标序列号,待更新序列号与目标型号和目标直连端口的MAC地址对应。If the second working parameter information exists in the AP information table, the serial number to be updated in the AP information table is modified to the target serial number, and the serial number to be updated corresponds to the target model and the MAC address of the target directly connected port.
可选的,机器可执行指令促使处理器还可以执行:Optionally, the machine-executable instructions cause the processor to execute:
如果AP信息表中存在第一工作参数信息,则向目标AP发送第三通信报文,第三通信报文中携带有第一工作参数信息,以使目标AP在与AC关联之后,根据第一工作参数信息提供无线接入服务。If the first working parameter information exists in the AP information table, a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
可选的,机器可执行指令促使处理器还可以执行:Optionally, the machine-executable instructions cause the processor to execute:
如果AP信息表中存在第一工作参数信息,则判断AP信息表中待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同,待更新直连端口的MAC地址与目标型号和目标序列号对应;If the first working parameter information exists in the AP information table, determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC address of the directly connected port to be updated and the target model and target. Serial number corresponding;
如果AP信息表中待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则将待更新直连端口的MAC地址修改为目标直连端口的MAC地址。If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
本申请实施例提供的一种机器可读存储介质,该机器可读存储介质可以应用于AC上。基于此,AC能够通过目标AP的目标直连端口的MAC地址和目标型号,确定目标AP所替换的AP的工作参数信息,并将该工作参数信息发送给目标AP。后续,目标AP可以继续使用替换的AP的工作参数信息,为终端提供无线接入服务,无需管理人员对目标AP进行配置,提高了维护效率。The embodiment of the present application provides a machine-readable storage medium, which can be applied to an AC. Based on this, the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
基于相同的技术构思,本申请实施例还提供了一种机器可执行指令,在被处理器调用和执行时,机器可执行指令促使处理器执行:Based on the same technical concept, the embodiments of the present application further provide a machine-executable instruction. When called and executed by a processor, the machine-executable instruction causes the processor to execute:
接收目标AP发送的第一通信报文,第一通信报文中携带有目标AP的目标型号、目标序列号和目标AP获取的目标直连端口的MAC地址,目标直连端口为交换机上与目标AP直连的端口;Receive the first communication packet sent by the target AP. The first communication packet carries the target model, target serial number, and MAC address of the target directly connected port obtained by the target AP. The target directly connected port is the destination of the switch and the target. AP directly connected port;
在预先存储的AP信息表中,查询与目标型号和目标序列号对应的工作参数信息,作为第一工作参数信息,AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系;In the pre-stored AP information table, query the working parameter information corresponding to the target model and target serial number. As the first working parameter information, the AP information table includes the AP model, serial number, MAC address of the directly connected port, and working parameters. Correspondence of information;
如果AP信息表中不存在第一工作参数信息,则在AP信息表中,查询与目标型号和目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息;If the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the second working parameter information;
如果AP信息表中存在第二工作参数信息,则向目标AP发送第二通信报文,第二通信报文中携带有第二工作参数信息,以使目标AP在与AC关联之后,根据第二工作参数信息提供无线接入服务。If the second working parameter information exists in the AP information table, a second communication packet is sent to the target AP, and the second communication packet carries the second working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
可选的,机器可执行指令促使处理器还可以执行:Optionally, the machine-executable instructions cause the processor to execute:
如果AP信息表中存在第二工作参数信息,则将AP信息表中待更新序列号修改为目标序列号,待更新序列号与目标型号和目标直连端口的MAC地址对应。If the second working parameter information exists in the AP information table, the serial number to be updated in the AP information table is modified to the target serial number, and the serial number to be updated corresponds to the target model and the MAC address of the target directly connected port.
可选的,机器可执行指令促使处理器还可以执行:Optionally, the machine-executable instructions cause the processor to execute:
如果AP信息表中存在第一工作参数信息,则向目标AP发送第三通信报文,第三通信报文中携带有第一工作参数信息,以使目标AP在与AC关联之后,根据第一工作参数信息提供无线接入服务。If the first working parameter information exists in the AP information table, a third communication packet is sent to the target AP, and the third communication packet carries the first working parameter information, so that after the target AP is associated with the AC, it The working parameter information provides wireless access services.
可选的,机器可执行指令促使处理器还可以执行:Optionally, the machine-executable instructions cause the processor to execute:
如果AP信息表中存在第一工作参数信息,则判断AP信息表中待更新直连端口的MAC地址是否与目标直连端口的MAC地址相同,待更新直连端口的MAC地址与目标型号和目标序列号对应;If the first working parameter information exists in the AP information table, determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the MAC address of the directly connected port to be updated and the target model and target. Serial number corresponding;
如果AP信息表中待更新直连端口的MAC地址与目标直连端口的MAC地址不相同,则将待更新直连端口的MAC地址修改为目标直连端口的MAC地址。If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the MAC address of the target directly connected port.
本申请实施例提供的一种机器可执行指令,机器可执行指令可以存储于机器可读存储介质,并应用于AC上。基于此,AC能够通过目标AP的目标直连端口的MAC地址和目标型号,确定目标AP所替换的AP的工作参数信息,并将该工作参数信息发送给目标AP。后续,目标AP可以继续使用替换的AP的工作参数信息,为终端提供无线接入服务,无需管理人员对目标AP进行配置,提高了维护效率。A machine-executable instruction provided in the embodiments of the present application may be stored in a machine-readable storage medium and applied to an AC. Based on this, the AC can determine the working parameter information of the AP replaced by the target AP through the MAC address and the target model of the target directly connected port of the target AP, and send the working parameter information to the target AP. Subsequently, the target AP can continue to use the working parameter information of the replacement AP to provide wireless access services for the terminal without the need for the manager to configure the target AP, which improves maintenance efficiency.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除 在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order among them. Moreover, the terms "including", "comprising", or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also those that are not explicitly listed Or other elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude the existence of other identical elements in the process, method, article, or equipment including the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、AC、机器可读存储介质和机器可执行指令实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, the embodiments of the device, the AC, the machine-readable storage medium, and the machine-executable instructions are basically similar to the method embodiments, so the description is relatively simple. For the related parts, refer to the description of the method embodiments.
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above descriptions are merely preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and principle of this application are included in the protection scope of this application.

Claims (10)

  1. 一种接入点AP的管理方法,所述方法应用于接入控制器AC,所述方法包括:A method for managing an access point AP. The method is applied to an access controller AC, and the method includes:
    接收目标AP发送的第一通信报文,所述第一通信报文中携带有所述目标AP的目标型号、目标序列号和所述目标AP获取的目标直连端口的MAC地址,所述目标直连端口为交换机上与所述目标AP直连的端口;Receiving a first communication message sent by a target AP, where the first communication message carries a target model number, a target serial number, and a MAC address of a target directly connected port obtained by the target AP, and the target The directly connected port is a port on the switch that is directly connected to the target AP;
    在预先存储的AP信息表中,查询与所述目标型号和所述目标序列号对应的工作参数信息,作为第一工作参数信息,所述AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系;In the pre-stored AP information table, query the working parameter information corresponding to the target model and the target serial number as the first working parameter information. The AP information table includes the AP model, serial number, and directly connected port. The corresponding relationship between the MAC address and the working parameter information;
    如果所述AP信息表中不存在所述第一工作参数信息,则在所述AP信息表中,查询与所述目标型号和所述目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息;If the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the first Two working parameter information;
    如果所述AP信息表中存在所述第二工作参数信息,则向所述目标AP发送第二通信报文,所述第二通信报文中携带有所述第二工作参数信息,以使所述目标AP在与所述AC关联之后,根据所述第二工作参数信息提供无线接入服务。If the second working parameter information exists in the AP information table, sending a second communication packet to the target AP, where the second communication packet carries the second working parameter information, so that all the After the target AP is associated with the AC, the target AP provides a wireless access service according to the second working parameter information.
  2. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    如果所述AP信息表中存在所述第二工作参数信息,则将所述AP信息表中待更新序列号修改为所述目标序列号,所述待更新序列号与所述目标型号和所述目标直连端口的MAC地址对应。If the second working parameter information exists in the AP information table, modify the to-be-updated serial number in the AP information table to the target serial number, the to-be-updated serial number and the target model and the Corresponds to the MAC address of the directly connected port.
  3. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    如果所述AP信息表中存在所述第一工作参数信息,则向所述目标AP发送第三通信报文,所述第三通信报文中携带有所述第一工作参数信息,以使所述目标AP在与所述AC关联之后,根据所述第一工作参数信息提供无线接入服务。If the first working parameter information exists in the AP information table, sending a third communication packet to the target AP, where the third communication packet carries the first working parameter information, so that all the After the target AP is associated with the AC, the target AP provides a wireless access service according to the first working parameter information.
  4. 根据权利要求3所述的方法,所述方法还包括:The method according to claim 3, further comprising:
    如果所述AP信息表中存在所述第一工作参数信息,则判断所述AP信息 表中待更新直连端口的MAC地址是否与所述目标直连端口的MAC地址相同,所述待更新直连端口的MAC地址与所述目标型号和所述目标序列号对应;If the first working parameter information exists in the AP information table, determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the to-be-updated directly The MAC address of the connected port corresponds to the target model and the target serial number;
    如果所述AP信息表中所述待更新直连端口的MAC地址与所述目标直连端口的MAC地址不相同,则将所述待更新直连端口的MAC地址修改为所述目标直连端口的MAC地址。If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the target directly connected port MAC address.
  5. 一种接入控制器AC,包括处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口、所述存储器通过通信总线完成相互间的通信;所述存储器,用于存放计算机程序;所述处理器,用于执行存储器上所存放的程序时,所述处理器被所述计算机程序促使执行:An access controller AC includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through a communication bus; the memory is used for A computer program is stored; when the processor is configured to execute a program stored in a memory, the processor is caused to execute by the computer program:
    接收目标AP发送的第一通信报文,所述第一通信报文中携带有所述目标AP的目标型号、目标序列号和所述目标AP获取的目标直连端口的MAC地址,所述目标直连端口为交换机上与所述目标AP直连的端口;Receiving a first communication message sent by a target AP, where the first communication message carries a target model number, a target serial number, and a MAC address of a target directly connected port obtained by the target AP, and the target The directly connected port is a port on the switch that is directly connected to the target AP;
    在预先存储的AP信息表中,查询与所述目标型号和所述目标序列号对应的工作参数信息,作为第一工作参数信息,所述AP信息表包括AP的型号、序列号、直连端口的MAC地址和工作参数信息的对应关系;In the pre-stored AP information table, query the working parameter information corresponding to the target model and the target serial number as the first working parameter information. The AP information table includes the AP model, serial number, and directly connected port. The corresponding relationship between the MAC address and the working parameter information;
    如果所述AP信息表中不存在所述第一工作参数信息,则在所述AP信息表中,查询与所述目标型号和所述目标直连端口的MAC地址对应的工作参数信息,作为第二工作参数信息;If the first working parameter information does not exist in the AP information table, query the working parameter information corresponding to the target model and the MAC address of the target directly connected port in the AP information table as the first Two working parameter information;
    如果所述AP信息表中存在所述第二工作参数信息,则向所述目标AP发送第二通信报文,所述第二通信报文中携带有所述第二工作参数信息,以使所述目标AP在与所述AC关联之后,根据所述第二工作参数信息提供无线接入服务。If the second working parameter information exists in the AP information table, sending a second communication packet to the target AP, where the second communication packet carries the second working parameter information, so that all the After the target AP is associated with the AC, the target AP provides a wireless access service according to the second working parameter information.
  6. 根据权利要求5所述的AC,所述处理器被所述计算机程序促使还执行:The AC according to claim 5, said processor being further caused by said computer program to execute:
    如果所述AP信息表中存在所述第二工作参数信息,则将所述AP信息表中待更新序列号修改为所述目标序列号,所述待更新序列号与所述目标型号和所述目标直连端口的MAC地址对应。If the second working parameter information exists in the AP information table, modify the to-be-updated serial number in the AP information table to the target serial number, the to-be-updated serial number and the target model and the Corresponds to the MAC address of the directly connected port.
  7. 根据权利要求5所述的AC,所述处理器被所述计算机程序促使还执行:The AC according to claim 5, said processor being further caused by said computer program to execute:
    如果所述AP信息表中存在所述第一工作参数信息,则向所述目标AP发送第三通信报文,所述第三通信报文中携带有所述第一工作参数信息,以使所述目标AP在与所述AC关联之后,根据所述第一工作参数信息提供无线接入服务。If the first working parameter information exists in the AP information table, sending a third communication packet to the target AP, where the third communication packet carries the first working parameter information, so that all the After the target AP is associated with the AC, the target AP provides a wireless access service according to the first working parameter information.
  8. 根据权利要求7所述的AC,所述处理器被所述计算机程序促使还执行:The AC according to claim 7, said processor being further caused by said computer program to execute:
    如果所述AP信息表中存在所述第一工作参数信息,则判断所述AP信息表中待更新直连端口的MAC地址是否与所述目标直连端口的MAC地址相同,所述待更新直连端口的MAC地址与所述目标型号和所述目标序列号对应;If the first working parameter information exists in the AP information table, determine whether the MAC address of the directly connected port to be updated in the AP information table is the same as the MAC address of the target directly connected port, and the to-be-updated directly The MAC address of the connected port corresponds to the target model and the target serial number;
    如果所述AP信息表中所述待更新直连端口的MAC地址与所述目标直连端口的MAC地址不相同,则将所述待更新直连端口的MAC地址修改为所述目标直连端口的MAC地址。If the MAC address of the directly connected port to be updated in the AP information table is different from the MAC address of the target directly connected port, modify the MAC address of the directly connected port to be updated to the target directly connected port MAC address.
  9. 一种机器可读存储介质,存储有机器可执行指令,在被处理器调用和执行时,所述机器可执行指令促使所述处理器:实现权利要求1-4任一所述的方法步骤。A machine-readable storage medium stores machine-executable instructions. When called and executed by a processor, the machine-executable instructions cause the processor to: implement the method steps of any one of claims 1-4.
  10. 一种机器可执行指令,在被处理器调用和执行时,所述机器可执行指令促使所述处理器:实现权利要求1-4任一所述的方法步骤。A machine-executable instruction which, when called and executed by a processor, causes the processor to: implement the method steps of any one of claims 1-4.
PCT/CN2019/106906 2018-09-27 2019-09-20 Access point management WO2020063466A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811135629.1A CN109195199B (en) 2018-09-27 2018-09-27 AP management method and device
CN201811135629.1 2018-09-27

Publications (1)

Publication Number Publication Date
WO2020063466A1 true WO2020063466A1 (en) 2020-04-02

Family

ID=64906589

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/106906 WO2020063466A1 (en) 2018-09-27 2019-09-20 Access point management

Country Status (2)

Country Link
CN (1) CN109195199B (en)
WO (1) WO2020063466A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195199B (en) * 2018-09-27 2020-11-13 新华三技术有限公司 AP management method and device
CN111031561B (en) * 2019-11-26 2022-07-12 新华三技术有限公司成都分公司 AP template processing method, device, server and computer readable storage medium
CN114158036B (en) * 2021-12-06 2024-01-23 成都飞鱼星科技股份有限公司 Method, equipment, system and medium for configuration management of AP

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008034357A1 (en) * 2006-09-20 2008-03-27 Huawei Technologies Co., Ltd. Method and system for capwap intradomain authentication using 802.11r
CN104125662A (en) * 2014-08-11 2014-10-29 醴陵恒茂电子科技有限公司 Wireless access point centralized management device and method
CN104219094A (en) * 2014-08-29 2014-12-17 杭州华三通信技术有限公司 AP (access point) grouping configuration method and AP grouping configuration equipment
CN105592483A (en) * 2015-08-20 2016-05-18 杭州华三通信技术有限公司 Configuration information transmitting method and device
CN106879005A (en) * 2017-01-17 2017-06-20 新华三技术有限公司 The collocation method and device of a kind of AP
CN109195199A (en) * 2018-09-27 2019-01-11 新华三技术有限公司 A kind of management method and device of AP

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101439534B1 (en) * 2011-09-16 2014-09-12 주식회사 케이티 Web Redirect Authentication Method and Apparatus of WiFi Roaming Based on AC-AP Association
CN103200601B (en) * 2013-03-26 2016-07-06 北京华信傲天网络技术有限公司 The fat or thin mode switching method of WAP
CN103476023B (en) * 2013-09-11 2016-08-24 福建星网锐捷网络有限公司 The collocation method of access point apparatus, access controller and communication system
US9078137B1 (en) * 2014-09-26 2015-07-07 Fortinet, Inc. Mobile hotspot managed by access controller
CN105306619A (en) * 2015-10-19 2016-02-03 苏州汉明科技有限公司 Management method of AC for multiple AP in NAT
CN106535299B (en) * 2016-11-30 2021-04-30 新华三技术有限公司 Correlation method and device
CN107548113B (en) * 2017-07-28 2021-07-20 新华三技术有限公司 Wireless service providing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008034357A1 (en) * 2006-09-20 2008-03-27 Huawei Technologies Co., Ltd. Method and system for capwap intradomain authentication using 802.11r
CN104125662A (en) * 2014-08-11 2014-10-29 醴陵恒茂电子科技有限公司 Wireless access point centralized management device and method
CN104219094A (en) * 2014-08-29 2014-12-17 杭州华三通信技术有限公司 AP (access point) grouping configuration method and AP grouping configuration equipment
CN105592483A (en) * 2015-08-20 2016-05-18 杭州华三通信技术有限公司 Configuration information transmitting method and device
CN106879005A (en) * 2017-01-17 2017-06-20 新华三技术有限公司 The collocation method and device of a kind of AP
CN109195199A (en) * 2018-09-27 2019-01-11 新华三技术有限公司 A kind of management method and device of AP

Also Published As

Publication number Publication date
CN109195199B (en) 2020-11-13
CN109195199A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
US20210044481A1 (en) Network Function Information Management Method and Related Device
US9940153B2 (en) Method for generating configuration information, and network control unit
RU2420029C2 (en) Method to configure access point and to control access point and access controller
EP2725737B1 (en) Network policy configuration method, management device and network management centre device
WO2019223447A1 (en) Routing generation method and device
WO2020063466A1 (en) Access point management
US9749182B2 (en) Method and apparatus for configuring network policy of virtual network
WO2015149563A1 (en) Communication method and system, resource pool management system, switch and control device
WO2019184752A1 (en) Network device management method, apparatus and system
US9716719B2 (en) Communication managing method and communication system
EP3099032A1 (en) A load balancing method, device, system and computer storage medium
WO2022011883A1 (en) Method and system for docking multi-operator core network with mec
US11419171B2 (en) Method for establishing subflow of multipath connection, apparatus, and system
US9755909B2 (en) Method, device and system for controlling network path
CN111464454A (en) Load sharing method and system for virtual BRAS (broadband remote Access Server) equipment in data center
CN110062060A (en) A kind of system and method for IP address distribution
JP2019519146A (en) Routing establishment, packet transmission
US11929851B2 (en) Gateway selection method, device, and system
CN108881027B (en) Method and device for realizing radius message forwarding of router based on Linux system
CN108494679B (en) Linux system based SSH message forwarding method and device for realizing router
CN107528788B (en) Method and device for realizing automatic stacking between network devices
CN108881026B (en) Linux system based BGP message forwarding method and device for realizing router
CN110753135A (en) IP address configuration method, configuration equipment and storage medium
CN112994928B (en) Virtual machine management method, device and system
CN104717216A (en) Network access control method, device and core equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19867093

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19867093

Country of ref document: EP

Kind code of ref document: A1