CN110418394B - AP management method and device - Google Patents

AP management method and device Download PDF

Info

Publication number
CN110418394B
CN110418394B CN201910682404.6A CN201910682404A CN110418394B CN 110418394 B CN110418394 B CN 110418394B CN 201910682404 A CN201910682404 A CN 201910682404A CN 110418394 B CN110418394 B CN 110418394B
Authority
CN
China
Prior art keywords
aps
online
difference
offline
target number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910682404.6A
Other languages
Chinese (zh)
Other versions
CN110418394A (en
Inventor
杨宁
陈金花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd Chengdu Branch
Original Assignee
New H3C Technologies Co Ltd Chengdu Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd Chengdu Branch filed Critical New H3C Technologies Co Ltd Chengdu Branch
Priority to CN201910682404.6A priority Critical patent/CN110418394B/en
Publication of CN110418394A publication Critical patent/CN110418394A/en
Application granted granted Critical
Publication of CN110418394B publication Critical patent/CN110418394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic conditions
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides an AP management method and device, relates to the technical field of communication, and aims to reduce the possibility that an AP executing important services is forced to be offline and reduce the possibility that risks and defects occur in an AP offline mechanism. The scheme of this application includes: counting the total amount of the online Access Points (APs) connected with the ACs in the AC group every other first preset time length, if it is determined that a first difference value between the total amount of the online APs and the license total amount of the AC group is larger than zero and a second difference value between the number of the online APs connected with the APs and the number of the licenses installed on the APs is larger than zero, determining the target number of the APs to be offline according to the first difference value and the second difference value, and then performing offline processing on the target number of the online APs connected with the APs according to the acquired flow value of each online AP connected with the APs.

Description

AP management method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to an AP management method and apparatus.
Background
The number of Access Points (APs) allowed to Access in an Access Controller (AC) is generally limited by the number of licenses (licenses) installed in the AC, for example, if 100 licenses are installed in the AC, the AC allows 100 APs to Access. In a multi-link backup networking environment, taking a dual-link backup networking environment as an example, as shown in fig. 1, AC1 and AC2 are primary and secondary to each other, and when AC1 fails, an AP connected to AC1 may be switched to AC 2. Under the condition, the AC group license sharing technology can be used, and after the AP connected with the AC1 is switched to the AC2, the AC2 does not need to additionally install the license. That is, if 100 licenses are installed in the AC1 and 200 licenses are installed in the AC2, 300 licenses can be shared by the AC1 and the AC 2.
In the above scenario, if the AC1 accesses 150 APs, and the AC2 accesses 200 APs, that is, the AC1 and the AC2 access 350 APs in total, the total number of licenses shared by the AC1 and the AC2 is exceeded, and at this time, the APs exceeding the total number of licenses need to be kicked off the line. Since the number of APs accessed by the AC2 does not exceed the number of licenses installed by itself, but the number of APs accessed by the AC1 exceeds the number of licenses installed by itself, the AC1 randomly kicks off 50 APs exceeding the total number of licenses.
However, there may be an AP executing an important service in the APs that are randomly off-line, and the AP executing the important service cannot provide network connection for the user after being off-line, so that the service cannot be executed. It can be seen that the existing AP offline mechanism has certain risks and defects.
Disclosure of Invention
In view of this, embodiments of the present application provide an AP management method and apparatus, so as to reduce the possibility that an AP executing an important service is forced to be offline, and reduce the possibility that an AP offline mechanism has risks and defects. The specific technical scheme is as follows:
in a first aspect, the present application provides an AP management method, where the method is applied to any one AC in an AC group included in a multilink backup networking, where the AC group includes multiple ACs that backup each other, and the multiple ACs share a license installed in each AC, and the method includes:
counting the total amount of the online Access Points (APs) connected with the ACs in the AC group every other first preset time;
if it is determined that a first difference value between the total amount of the online APs and the license total amount of the AC group is greater than zero and a second difference value between the number of the online APs connected to the network and the number of the licenses installed on the network is greater than zero, determining the target number of the APs to be offline according to the first difference value and the second difference value, wherein the license total amount is the sum of the number of the licenses installed on each AC in the AC group;
and according to the acquired flow value of each online AP connected to the AP, performing offline processing on the target number of online APs connected to the AP.
In one possible implementation, the method further includes:
in each statistical period, counting the flow value of each online AP connected with the online AP per se from the starting time of the statistical period to the current statistical time every second preset time, wherein the flow value is the sum of uplink flow and downlink flow between the online AP and a terminal;
and updating the flow value corresponding to each online AP stored in the flow table entry.
In one possible implementation, the method further includes:
and when the first AP connected to the flow table entry is offline, deleting the flow value of the first AP in the flow table entry.
In a possible implementation manner, the offline processing on the target number of online APs connected to the device according to the flow value of each online AP connected to the device includes:
arranging all online APs in the flow table entry according to the flow value from small to large;
and according to the arrangement sequence of the online APs, performing offline processing on the previous target number of online APs in the flow table entry.
In a possible implementation manner, the determining, according to the first difference and the second difference, the target number of the APs to be offline includes:
if the first difference is larger than the second difference, determining that the target number of the APs to be offline is the second difference;
if the first difference is smaller than the second difference, determining that the target number of the APs to be offline is the first difference;
and if the first difference is equal to the second difference, determining that the target number of the APs waiting for offline is the first difference or the second difference.
In a second aspect, the present application provides an AP management apparatus, where the AP management apparatus is applied to any one AC in an AC group included in a multilink backup networking, where the AC group includes a plurality of ACs that are backups of each other, and the plurality of ACs share a license installed in each other, the AP management apparatus includes:
the counting module is used for counting the total amount of the online Access Points (APs) connected with the ACs in the AC group once every first preset time;
a determining module, configured to determine, if it is determined that a first difference between a total amount of the online APs and a total amount of licenses of the AC group is greater than zero, and a second difference between a number of online APs connected to the determining module and a number of licenses installed on the determining module, a target number of APs to be offline according to the first difference and the second difference, where the total amount of licenses is a sum of numbers of licenses installed on each AC in the AC group;
and the offline processing module is used for offline processing the target number of online APs connected to the offline processing module according to the acquired flow value of each online AP connected to the offline processing module.
In a possible implementation manner, the statistical module is further configured to:
in each statistical period, counting the flow value of each online AP connected with the online AP per se from the starting time of the statistical period to the current statistical time every second preset time, wherein the flow value is the sum of uplink flow and downlink flow between the online AP and a terminal;
and updating the flow value corresponding to each online AP stored in the flow table entry.
In a possible implementation manner, the statistical module is further configured to delete the traffic value of the first AP in the traffic table entry when the first AP connected to the statistical module is offline.
In a possible implementation manner, the offline processing module is specifically configured to:
arranging all online APs in the flow table entry according to the flow value from small to large;
and according to the arrangement sequence of the online APs, performing offline processing on the previous target number of online APs in the flow table entry.
In a possible implementation manner, the determining module is specifically configured to:
if the first difference is larger than the second difference, determining that the target number of the APs to be offline is the second difference;
if the first difference is smaller than the second difference, determining that the target number of the APs to be offline is the first difference;
and if the first difference is equal to the second difference, determining that the target number of the APs waiting for offline is the first difference or the second difference.
In a third aspect, an embodiment of the present application provides an AC, including: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the AP management method described in the first aspect is implemented.
In a fourth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the AP management method in the first aspect is implemented.
In a fifth aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the AP management method described in the first aspect.
It can be seen that, with the AP management method and apparatus provided in this embodiment of the present application, the AC may count the total amount of online APs connected to the AC in the AC group once every first preset time period, and if it is determined that a first difference between the total amount of the online APs and the total amount of licenses of the AC group is greater than zero and a second difference between the number of the online APs connected to the AC group and the number of licenses installed in the AC group is greater than zero, determine the target number of APs to be offline according to the first difference and the second difference, and then perform offline processing on the target number of online APs connected to the AC according to the acquired flow value of each online AP connected to the AC group. Therefore, in the embodiment of the application, when the AC determines that the total amount of the online APs exceeds the license total amount of the AC group and the number of the online APs connected to the AC exceeds the license number installed in the AC group, the online APs to be offline processed are not randomly selected, but the APs are offline processed according to the traffic values of the online APs connected to the AC group.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a dual link backup networking provided in the background art;
fig. 2 is a flowchart of an AP management method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an AP management device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an AC according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an AP management method, which is applied to any one AC in an AC group included in a multilink backup networking, wherein the AC group comprises a plurality of ACs which are backed up with each other, and the plurality of ACs share respective installed licenses.
For example, taking the dual link backup networking of fig. 1 as an example, AC1 and AC2 are backup of each other, i.e., AC1 and AC2 belong to one AC group and can share the licenses installed in each.
The AP management method provided in the embodiment of the present application is executed by each AC in an AC group, and as shown in fig. 2, the method specifically includes the following steps:
s201, counting the total amount of online APs connected to the ACs in the AC group every first preset time.
Wherein the total number of online APs connected to an AC in the AC group is the sum of the number of online APs connected to each AC in the AC group.
For example, if the AC group includes the AC1 and the AC2, the number of online APs currently connected to the AC1 is 100, and the number of online APs currently connected to the AC2 is 200, it may be determined that the total number of online APs is 300.
The first preset time period may be set according to an actual requirement, for example, the first preset time period may be 10 minutes, that is, the total amount of the online APs is counted every 10 minutes.
In a first implementation manner, the AC may obtain the number of its own online APs counted by other ACs by communicating with other ACs in the AC group, and further add the number of online APs connected to itself and the number of online APs counted by other ACs, thereby determining the total number of online APs.
For example, the AC1 obtains the number of online APs of the AC2 from the AC2, and then adds the number of online APs of the AC1 itself to the number of online APs of the AC2 to determine the total number of online APs.
In a second implementation, the AC may obtain the total number of online APs from the main AC in the AC group.
That is, each slave AC in the AC group may report the number of its own online APs to the master AC, and the master AC calculates the total number of online APs, and then the slave AC may obtain the total number of online APs from the master AC.
S202, if it is determined that a first difference value between the total amount of the online APs and the total amount of the licenses of the AC group is larger than zero and a second difference value between the number of the online APs connected to the AC group and the number of the licenses installed on the AC group is larger than zero, determining the target number of the APs to be offline according to the first difference value and the second difference value.
The total license amount is the sum of the license amounts of the AC installations in the AC group, for example, if the license amount of the AC1 installation is 100 and the license amount of the AC2 connection is 200, the total license amount of the AC group can be determined to be 300.
In a possible implementation manner, the AC may determine the target number of the APs to be offline when it determines that the first difference is greater than zero and the second difference is greater than zero at one time, and perform the subsequent steps.
In another possible implementation manner, the AC determines the target number of the APs to be offline only when the first difference is determined to be greater than zero and the second difference is determined to be greater than zero for a preset number of consecutive times, and performs the subsequent steps.
As an example, the preset number of times is 3, that is, if the first preset duration is 10 minutes, the total number of online APs counted by one AC at 12:00, 12:10, and 12:20 is 310, 330, and 320, respectively, and is greater than the license total number 300, and the number of online APs counted three times and connected to the AC is 110, 130, and 120, respectively, and is greater than the license number installed by the AC, it may be determined that offline processing needs to be performed on a part of APs.
In another possible implementation manner, the AC determines that the first difference is greater than zero for consecutive preset times, and determines the target number of the APs to be offline if the second difference is greater than zero for the last time of the preset times, and performs the subsequent steps.
For example, if the preset number of times is 3, that is, if the first preset duration is 10 minutes, the total amounts of online APs counted by one AC at 12:00, 12:10, and 12:20 are 310, 330, and 320, respectively, which are all greater than the license total amount 300, and the number 120 of online APs counted at 12:20 and connected to itself is greater than the number 100 of licenses installed, it may be determined that offline processing needs to be performed on a part of APs.
In this embodiment of the application, the target number of the APs to be offline may be determined according to a size relationship between the first difference and the second difference, and specifically includes the following three situations:
in case one, if the first difference is greater than the second difference, the target number of the APs to be offline is determined to be the second difference.
For example, the total amount of online APs is 350 and the total amount of license is 300, i.e., the first difference is 50.
The number of online APs connected to the AC1 is 130 and the number of licenses installed at the AC1 is 100, i.e. for the AC1 the second difference is 30.
It can be seen that the first difference is 50 greater than the second difference 30, although the total amount of the online APs exceeds the license total amount by 50, the number of the online APs connected to the AC1 only exceeds the license number installed by 30, so that the AC can offline 30 APs exceeding the license number installed by itself, that is, the target number of the APs to be offline determined by the AC1 is 30.
In this case, the number of online APs connected to the AC2 is 220, the number of licenses installed in the AC2 is 200, that is, for the AC2, the second difference is 20, and according to the comparison method, the AC2 may offline 20 APs exceeding the number of licenses installed in the AC2, that is, the target number of APs to be offline determined by the AC2 is 20.
It can be understood that if the AC1 goes offline for 30 APs and the AC2 goes offline for 20 APs, the total amount of the online APs in the AC group can be reduced by 50, that is, the total amount of the reduced online APs is 300, and the total amount of the licenses is not exceeded.
And in case two, if the first difference is smaller than the second difference, determining that the target number of the APs to be offline is the first difference.
For example, the total amount of online APs is 350 and the total amount of license is 300, i.e., the first difference is 50.
The number of online APs connected to the AC1 is 170 and the number of licenses installed at the AC1 is 100, i.e. for the AC1 the second difference is 70.
It can be seen that the first difference 50 is smaller than the second difference 70, the number of the online APs connected to the network exceeds the number of the licenses installed in the network by 70, but since the total number of the online APs exceeds the total number of the licenses by only 50, and since the AC1 and the AC2 share 300 licenses, the total number of the online APs is reduced to 300, that is, the AC1 may offline 50 APs exceeding the total number of the licenses, that is, the number of the APs to be offline determined by the AC1 is 50.
In this case, the number of online APs connected to the AC2 is 180, and the number of licenses installed in the AC2 is 200, and it can be seen that the number of online APs connected to the AC2 does not exceed the number of licenses installed in itself, so the AC2 does not need to take offline the AP connected to itself.
And thirdly, if the first difference is equal to the second difference, determining that the target number of the APs waiting for offline is the first difference or the second difference.
For example, the total amount of online APs is 350 and the total amount of license is 300, i.e., the first difference is 50.
The number of online APs connected to the AC1 is 150 and the number of licenses installed at the AC1 is 100, i.e. for the AC1 the second difference is 50.
In this case, since the number of online APs connected to the AC1 is 50 more than the number of licenses installed at the AC1, resulting in 50 more total number of online APs than the total number of licenses, the AC1 may determine that the target number of APs to be offline is 50.
And S203, performing offline processing on the target number of online APs connected to the user according to the acquired flow value of each online AP connected to the user.
Specifically, the target number of online APs with smaller flow values may be selected to perform offline processing according to the order from small to large of the flow values of the online APs connected to the AP.
It can be seen that, by using the method for managing APs provided in this application, an AC may count the total amount of online APs connected to the AC in an AC group once every a first preset time period, and if it is determined that a first difference between the total amount of the online APs and the total amount of licenses of the AC group is greater than zero and a second difference between the number of the online APs connected to the AC group and the number of licenses installed in the AC group is greater than zero, determine the target number of APs to be offline according to the first difference and the second difference, and then perform offline processing on the target number of online APs connected to the AC according to the acquired flow value of each online AP connected to the AC group. Therefore, in the embodiment of the application, when the AC determines that the total amount of the online APs exceeds the license total amount of the AC group and the number of the online APs connected to the AC exceeds the license number installed in the AC group, the online APs to be offline processed are not randomly selected, but the APs are offline processed according to the traffic values of the online APs connected to the AC group.
It can be understood that, in order to enable the AC to perform offline processing on a target number of online APs connected to the AC according to the acquired traffic values of the online APs connected to the AC, statistics needs to be performed on the traffic values of the online APs. The following describes a method for counting the traffic value of the online AP.
And in each statistical period, the AC counts the flow value of each online AP connected with the AC once every second preset time length from the starting time of the statistical period to the current statistical time, and updates the flow value corresponding to each online AP stored in the flow table item.
The statistical period and the second preset time can be set according to actual requirements, and the flow value is the sum of uplink flow and downlink flow between the online AP and the terminal.
Taking the counting period as one day and the second preset time duration as 1 hour as an example, the AC counts the sum of uplink and downlink traffic of each online AP connected to the AC from 00:00 to the current time every other hour from 00:00, for example, at 01:00, the sum of uplink and downlink traffic of each current online AP in the time period of 00:00-01:00 is counted, and at 02:00, the sum of uplink and downlink traffic of each current online AP in the time period of 00:00-02:00 is counted.
As an example, assuming that the online APs to which the AC1 is currently connected have AP1, AP2 and AP3, the traffic table entries corresponding to the AC1 are shown in Table 1.
TABLE 1
AP identification Flow rate value
AP1 50M
AP2 100M
AP3 200M
Assuming that the flow values in the time period of 00:00-01:00 in table 1 are calculated, the flow values in table 1 can be updated after the flow values of all the online APs in the time period of 00:00-02:00 are counted at 02: 00.
It should be noted that table 1 is only an example, and in an actual implementation, the number of online APs connected to the AC and the flow value of each online AP are not limited thereto.
It can be understood that, after one statistical period is finished, the AC deletes the traffic values of the online APs stored in the traffic table entry, and restarts statistics in the next statistical period.
In addition, if there is an AP on the line in the AC, the AC adds the identifier of the AP to the flow table entry, and stores the flow value of the AP in the flow table entry in correspondence with the identifier of the AP after performing subsequent statistics on the flow value of the AP. For example, if at 03:00, it is determined that the online AP connected to AC1 includes AP4 in addition to the APs shown in table 1, then the sum of the uplink and downlink traffic of AP4 from the time of going online to between 03:00 and AC1 will be increased in table 1.
Correspondingly, when the first AP connected to the flow table entry is offline, the flow value of the first AP in the flow table entry is deleted. For example, if at 03:00, it is determined that AP1 in table 1 is in the down state, the row corresponding to AP1 in table 1 is deleted.
Note that, if the AP1 goes offline and goes online again, the traffic value corresponding to the AP1 may be added to table 1, and when the traffic value of the AP1 is counted again, the traffic value from the latest online time of the AP1 to the current counted time is counted.
Optionally, based on the traffic values of the online APs counted in the embodiment of the present application, in step S203, the offline processing is performed on the target number of online APs connected to the offline processing according to the acquired traffic values of the online APs connected to the offline processing, which may specifically be implemented as:
and arranging all online APs in the flow table entry according to the flow value from small to large, and performing offline processing on the previous target number of online APs in the flow table entry according to the arrangement sequence of the online APs.
It can be understood that, after the AC performs offline processing on the target number of online APs, the AC may delete the traffic value corresponding to the offline AP stored in the traffic table entry.
Optionally, after the AP is offline, the AC may delete the traffic value corresponding to the offline AP from the traffic table entry immediately. Or, the AC may delete the traffic value corresponding to the offline AP from the traffic table entry at the next statistical time.
Based on the same technical concept, an embodiment of the present application further provides an AP management apparatus, where the AP management apparatus is applied to any one AC in an AC group included in a multilink backup networking, where the AC group includes multiple ACs that backup each other, and the multiple ACs share a license installed in each AC, as shown in fig. 3, the AP management apparatus includes: a statistics module 301, a determination module 302 and an offline processing module 303.
A counting module 301, configured to count the total amount of the online access points AP connected to the AC in the AC group every first preset time;
a determining module 302, configured to determine, if it is determined that a first difference between a total amount of the online APs and a total amount of licenses of the AC group is greater than zero, and a second difference between a number of the online APs connected to the determining module and a number of the licenses installed on the determining module is greater than zero, a target number of APs to be offline according to the first difference and the second difference, where the total amount of the licenses is a sum of numbers of licenses installed on each AC in the AC group;
and the offline processing module 303 is configured to perform offline processing on a target number of online APs connected to the offline processing module according to the acquired flow value of each online AP connected to the offline processing module.
Optionally, the statistical module 301 is further configured to:
in each statistical period, counting the flow value of each online AP connected with the online AP per se from the starting time of the statistical period to the current statistical time every second preset time, wherein the flow value is the sum of uplink flow and downlink flow between the online AP and the terminal;
and updating the flow value corresponding to each online AP stored in the flow table entry.
Optionally, the statistical module 301 is further configured to delete the traffic value of the first AP in the traffic table entry when the first AP connected to the statistical module is offline.
Optionally, the offline processing module 303 is specifically configured to:
arranging all online APs in the flow table entry according to the flow value from small to large;
and according to the arrangement sequence of the online APs, performing offline processing on the online APs with the previous target number in the flow table entry.
Optionally, the determining module 302 is specifically configured to:
if the first difference is larger than the second difference, determining that the target number of the APs to be offline is the second difference;
if the first difference is smaller than the second difference, determining that the target number of the APs to be offline is the first difference;
and if the first difference is equal to the second difference, determining that the target number of the APs waiting for offline is the first difference or the second difference.
The embodiment of the present application further provides an AC, as shown in fig. 4, which includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication via the communication bus 404,
a memory 403 for storing a computer program;
the processor 401 is configured to implement the method steps executed by the AC in the AC group in the above-described method embodiment when executing the program stored in the memory 403.
The communication bus mentioned in the above AC may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the AC and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above AP management methods.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the AP management methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. An AP management method is applied to any one AC in an AC group included in a multilink backup networking, wherein the AC group includes a plurality of ACs which are backups of each other, and the plurality of ACs share a license installed in each AC, and the method comprises the following steps:
counting the total amount of the online Access Points (APs) connected with the ACs in the AC group every other first preset time;
if it is determined that a first difference value between the total amount of the online APs and the license total amount of the AC group is greater than zero and a second difference value between the number of the online APs connected to the network and the number of the licenses installed on the network is greater than zero, determining the target number of the APs to be offline according to the first difference value and the second difference value, wherein the license total amount is the sum of the number of the licenses installed on each AC in the AC group;
according to the acquired flow value of each online AP connected to the AP, offline processing is carried out on the target number of online APs connected to the AP;
the determining the target number of the APs to be offline according to the first difference and the second difference includes:
if the first difference is larger than the second difference, determining that the target number of the APs to be offline is the second difference;
if the first difference is smaller than the second difference, determining that the target number of the APs to be offline is the first difference;
and if the first difference is equal to the second difference, determining that the target number of the APs waiting for offline is the first difference or the second difference.
2. The method of claim 1, further comprising:
in each statistical period, counting the flow value of each online AP connected with the online AP per se from the starting time of the statistical period to the current statistical time every second preset time, wherein the flow value is the sum of uplink flow and downlink flow between the online AP and a terminal;
and updating the flow value corresponding to each online AP stored in the flow table entry.
3. The method of claim 2, further comprising:
and when the first AP connected to the flow table entry is offline, deleting the flow value of the first AP in the flow table entry.
4. The method according to claim 2 or 3, wherein the offline processing of the target number of online APs connected to the device according to the flow value of each online AP connected to the device comprises:
arranging all online APs in the flow table entry according to the flow value from small to large;
and according to the arrangement sequence of the online APs, performing offline processing on the previous target number of online APs in the flow table entry.
5. An AP management apparatus, wherein the apparatus is applied to any one AC in an AC group included in a multilink backup networking, the AC group includes a plurality of ACs that are backups of each other, and the plurality of ACs share a license installed in each AC, and the apparatus includes:
the counting module is used for counting the total amount of the online Access Points (APs) connected with the ACs in the AC group once every first preset time;
a determining module, configured to determine, if it is determined that a first difference between a total amount of the online APs and a total amount of licenses of the AC group is greater than zero, and a second difference between a number of online APs connected to the determining module and a number of licenses installed on the determining module, a target number of APs to be offline according to the first difference and the second difference, where the total amount of licenses is a sum of numbers of licenses installed on each AC in the AC group;
the offline processing module is used for offline processing the target number of online APs connected to the offline processing module according to the acquired flow value of each online AP connected to the offline processing module;
the determining module is specifically configured to:
if the first difference is larger than the second difference, determining that the target number of the APs to be offline is the second difference;
if the first difference is smaller than the second difference, determining that the target number of the APs to be offline is the first difference;
and if the first difference is equal to the second difference, determining that the target number of the APs waiting for offline is the first difference or the second difference.
6. The apparatus of claim 5, wherein the statistics module is further configured to:
in each statistical period, counting the flow value of each online AP connected with the online AP per se from the starting time of the statistical period to the current statistical time every second preset time, wherein the flow value is the sum of uplink flow and downlink flow between the online AP and a terminal;
and updating the flow value corresponding to each online AP stored in the flow table entry.
7. The apparatus of claim 6,
the statistical module is further configured to delete the traffic value of the first AP in the traffic table entry when the first AP connected to the statistical module is offline.
8. The apparatus according to claim 6 or 7, wherein the offline processing module is specifically configured to:
arranging all online APs in the flow table entry according to the flow value from small to large;
and according to the arrangement sequence of the online APs, performing offline processing on the previous target number of online APs in the flow table entry.
9. An AC comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 4.
CN201910682404.6A 2019-07-26 2019-07-26 AP management method and device Active CN110418394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910682404.6A CN110418394B (en) 2019-07-26 2019-07-26 AP management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910682404.6A CN110418394B (en) 2019-07-26 2019-07-26 AP management method and device

Publications (2)

Publication Number Publication Date
CN110418394A CN110418394A (en) 2019-11-05
CN110418394B true CN110418394B (en) 2021-09-10

Family

ID=68363582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910682404.6A Active CN110418394B (en) 2019-07-26 2019-07-26 AP management method and device

Country Status (1)

Country Link
CN (1) CN110418394B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333357A (en) * 2011-08-11 2012-01-25 杭州华三通信技术有限公司 Management method in wireless local area network and wireless access controller
CN102833815A (en) * 2012-08-21 2012-12-19 南京智达康无线通信科技股份有限公司 AP (access point) accessing control method for AC (access controller)
CN102905343A (en) * 2012-10-10 2013-01-30 福建星网锐捷网络有限公司 Wireless access method and wireless access controller
CN103428734A (en) * 2013-08-02 2013-12-04 杭州华三通信技术有限公司 Method and device for optimizing network resources
CN106102131A (en) * 2016-06-08 2016-11-09 上海斐讯数据通信技术有限公司 A kind of wireless channel equalization method and system
CN106211254A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method for connecting network and mobile terminal
CN107172653A (en) * 2017-06-01 2017-09-15 上海斐讯数据通信技术有限公司 A kind of method, control system and system for connecting many wireless access points
CN107613538A (en) * 2016-07-12 2018-01-19 中兴通讯股份有限公司 A kind of wireless network access method, equipment, terminal and system
CN107659948A (en) * 2017-09-21 2018-02-02 新华三技术有限公司 A kind of method and device of control AP accesses
CN108391268A (en) * 2018-02-09 2018-08-10 新华三技术有限公司 Upper line control method and device
CN108924953A (en) * 2018-07-05 2018-11-30 新华三技术有限公司 A kind of management method and device of AP
CN109495930A (en) * 2018-12-20 2019-03-19 迈普通信技术股份有限公司 A kind of load-balancing method, AC and system
CN109661005A (en) * 2019-02-20 2019-04-19 新华三技术有限公司 The load balancing method of adjustment and device of local access controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10638391B2 (en) * 2015-11-02 2020-04-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for controlling selection of the solution for WLAN and unlicensed spectrum usage

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333357A (en) * 2011-08-11 2012-01-25 杭州华三通信技术有限公司 Management method in wireless local area network and wireless access controller
CN102833815A (en) * 2012-08-21 2012-12-19 南京智达康无线通信科技股份有限公司 AP (access point) accessing control method for AC (access controller)
CN102905343A (en) * 2012-10-10 2013-01-30 福建星网锐捷网络有限公司 Wireless access method and wireless access controller
CN103428734A (en) * 2013-08-02 2013-12-04 杭州华三通信技术有限公司 Method and device for optimizing network resources
CN106102131A (en) * 2016-06-08 2016-11-09 上海斐讯数据通信技术有限公司 A kind of wireless channel equalization method and system
CN106211254A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method for connecting network and mobile terminal
CN107613538A (en) * 2016-07-12 2018-01-19 中兴通讯股份有限公司 A kind of wireless network access method, equipment, terminal and system
CN107172653A (en) * 2017-06-01 2017-09-15 上海斐讯数据通信技术有限公司 A kind of method, control system and system for connecting many wireless access points
CN107659948A (en) * 2017-09-21 2018-02-02 新华三技术有限公司 A kind of method and device of control AP accesses
CN108391268A (en) * 2018-02-09 2018-08-10 新华三技术有限公司 Upper line control method and device
CN108924953A (en) * 2018-07-05 2018-11-30 新华三技术有限公司 A kind of management method and device of AP
CN109495930A (en) * 2018-12-20 2019-03-19 迈普通信技术股份有限公司 A kind of load-balancing method, AC and system
CN109661005A (en) * 2019-02-20 2019-04-19 新华三技术有限公司 The load balancing method of adjustment and device of local access controller

Also Published As

Publication number Publication date
CN110418394A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
US9911148B2 (en) Querying for business service processing status information
CN108897628B (en) Method and device for realizing distributed lock and electronic equipment
CN109190070B (en) Data processing method, device and system and application server
CN112650576A (en) Resource scheduling method, device, equipment, storage medium and computer program product
CN106230997B (en) Resource scheduling method and device
CN107315825B (en) Index updating system, method and device
CN109842694B (en) Method for synchronizing MAC addresses, network equipment and computer readable storage medium
CN108829738B (en) Data storage method and device in ceph
CN107122271B (en) Method, device and system for recovering node event
WO2020133995A1 (en) Copy deployment method, cloud server, and storage medium
US20230153211A1 (en) Method, electronic device and computer program product for storage management
EP4181475A1 (en) Method, apparatus and system for processing fault
CN110418394B (en) AP management method and device
CN109976896B (en) Service re-ranking processing method and device
CN110955587A (en) Method and device for determining equipment to be replaced
CN113779412B (en) Message touch method, node and system based on blockchain network
CN111431764B (en) Node determining method, device, system and medium
CN114745277A (en) Elastic expansion method and device for public cloud cross-domain private line, electronic equipment and medium
CN113835905A (en) Message queue load balancing method and device, electronic equipment and medium
CN113918504A (en) Method and device for realizing isolation group
CN116028196A (en) Data processing method, device and storage medium
CN109831385B (en) Message processing method and device and electronic equipment
US11366794B1 (en) Data store item count service
CN108924953B (en) AP management method and device
CN113660353A (en) Method, device, equipment and medium for managing Provisioner address based on Bluetooth Mesh

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant