CN107995644B - Method, switch, system and storage medium for automatic recovery of wireless access point - Google Patents

Method, switch, system and storage medium for automatic recovery of wireless access point Download PDF

Info

Publication number
CN107995644B
CN107995644B CN201711126213.9A CN201711126213A CN107995644B CN 107995644 B CN107995644 B CN 107995644B CN 201711126213 A CN201711126213 A CN 201711126213A CN 107995644 B CN107995644 B CN 107995644B
Authority
CN
China
Prior art keywords
access point
wireless access
switch
wireless
layer
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
CN201711126213.9A
Other languages
Chinese (zh)
Other versions
CN107995644A (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.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN201711126213.9A priority Critical patent/CN107995644B/en
Publication of CN107995644A publication Critical patent/CN107995644A/en
Application granted granted Critical
Publication of CN107995644B publication Critical patent/CN107995644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

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

Abstract

The invention discloses a method, a switch, a system and a storage medium for automatically recovering a wireless access point, wherein the switch respectively and sequentially detects a two-layer data link layer and a three-layer data link layer to judge whether a current network is unblocked, if the current network is unblocked, the switch detects whether the transmitting function of the wireless access point is normal, if the current network is abnormal, the switch restarts the wireless access point to be detected to recover, so that whether the wireless access point is abnormal can be automatically and accurately judged even if the wireless access points of different manufacturers are mixed for use, the wireless access point can be automatically restarted to recover the current network when the wireless access point is abnormal, a user does not need to manually restart the wireless access point, and the user experience is improved.

Description

Method, switch, system and storage medium for automatic recovery of wireless access point
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an exchange, a system, and a storage medium for automatically recovering a wireless access point.
Background
Because the wireless access point may be deployed at various positions, including a ceiling, a telegraph pole, and the like, and the deployment cost may be increased by additionally pulling a wire to supply power, under many deployment conditions, the wireless access point is connected to a POE (power Over ethernet) switch, and the POE switch supplies power.
At present, in a network, a switch, a controller and a wireless access point are probably not of one manufacturer, especially in a large-scale topology, various cost problems need to be comprehensively considered, and due to the fact that the deployment period is long, various network devices are often not of one manufacturer. Therefore, when the access point has a problem, automatic recovery often cannot be performed, and the problem mainly includes the following scenes:
scene one:
all POE switches and wireless access points are managed by a wireless controller of a manufacturer A in a unified mode, when a program is abnormal in logic, the network of the wireless access points is not smooth, and at the moment, a user cannot use the wireless network. Typically, in this case, the user will attempt to resolve the problem by restarting the wireless access point. But this operation is cumbersome to implement due to the specific deployment location of the wireless access points.
Scene two:
as shown in fig. 1, if a program abnormality occurs in the wireless access point of the manufacturer B, an abnormality that a network is not available or a wireless signal cannot be searched may occur, and the wireless access point needs to be restarted. However, since there is no management of the wireless controller corresponding to the vendor B, and the wireless controller of the vendor a cannot restart the wireless access point of the vendor B due to protocol incompatibility, the wireless access point of the vendor B can only be manually restarted. This operation is cumbersome to implement when the wireless access points are deployed in specific locations.
The current technology for solving the problem of access point failure and unable automatic recovery is as follows: the access point finds itself in an abnormal state by itself, and the wireless access point is actively restarted. The drawback of this solution is that the wireless access point itself does not collect its own information well. For example, at this time, the wireless access point does not transmit a wireless signal, and the wireless access point itself considers that the wireless access point itself is transmitted, but the wireless access point cannot detect the abnormal message. In this case, it is impossible to automatically correct the error. Moreover, the scheme cannot solve the problem of simultaneously monitoring the functions of wireless access points of different manufacturers.
Disclosure of Invention
The invention mainly aims to provide a method, a switch, a system and a storage medium for automatically recovering a wireless access point, and aims to solve the problem that the wireless access point cannot automatically restart and recover in the prior art because the wireless access point cannot accurately judge whether the wireless access point has a fault.
In order to achieve the above object, the present invention provides a method for automatically recovering a wireless access point, including the following steps:
when the data link layer is unblocked, judging whether an LLDP protocol message transmitted by the first wireless access point is received;
when an LLDP protocol message transmitted by the first wireless access point is received, extracting source address information of the first wireless access point from the LLDP protocol message, and judging whether a network layer to which the current network belongs is smooth or not according to the source address information;
receiving state information of the first wireless access point when the network layer is unblocked;
analyzing the state information of the first wireless access point;
and restarting the first wireless access point when the state information of the first wireless access point is in an abnormal state, so that the first wireless access point automatically recovers.
Preferably, the status information of the first wireless access point includes preset transmission power information of the first wireless access point reported by the wireless controller according to the first wireless access point, and actual transmission power information of the first wireless access point reported by a second wireless access point, where the second wireless access point is a wireless access point adjacent to the first wireless access point.
Preferably, the abnormal state is that when an error between preset transmission power information acquired by the wireless controller and the actual transmission power information is not within a preset threshold range, the wireless controller sets the state information of the first wireless access point to be in an abnormal state.
Preferably, before determining whether the LLDP protocol packet transmitted by the first wireless access point is received when the data link layer is clear, the method further includes:
the switch judges whether a data link layer message transmitted by the first wireless access point is received, and if so, the data link layer is determined to be smooth.
Optionally, after determining whether the first wireless access point transmits an LLDP protocol packet, the method further includes:
and restarting the first wireless access point when the first wireless access point does not receive the transmission LLDP protocol message of the first wireless access point.
Optionally, after determining whether a network layer to which the current network belongs is unblocked according to the source address information, the method further includes:
restarting the first wireless access point when the network layer is not unblocked.
Preferably, before determining whether the LLDP protocol packet transmitted by the first wireless access point is received when the data link layer is clear, the method includes:
the switch judges whether the physical layer of the current network is smooth or not according to the physical layer protocol;
if the physical layer is unblocked, executing the step of judging whether a second-layer message transmitted by a first wireless access point is received;
and restarting the first wireless access point if the physical layer is not smooth.
In addition, to achieve the above object, the present invention further provides a switch, including:
a memory, a processor, and a wireless access point auto-recovery program stored on the memory and executable on the processor, the wireless access point auto-recovery program configured to implement the steps of the method of wireless access point auto-recovery as described above.
In addition, in order to achieve the above object, the present invention further provides an automatic recovery system for a wireless access point, including:
as described above, the switch, the wireless controller, and the wireless access point are connected to the switch and the wireless controller, respectively.
In addition, to achieve the above object, the present invention further provides a storage medium, which stores thereon an automatic recovery program for a wireless access point, wherein the automatic recovery program for a wireless access point, when executed by a processor, implements the steps of the above method for automatically recovering a wireless access point.
The invention respectively and sequentially detects the two-layer data link layer and the three-layer data link layer through the switch to judge whether the current network is unblocked, if the current network is unblocked, whether the transmitting function of the wireless access point is abnormal is detected, if the current network is abnormal, the switch restarts the wireless access point to be detected to recover, thereby realizing that whether the wireless access point is abnormal can be automatically and accurately judged even if the wireless access points of different manufacturers are mixed for use, the wireless access point can be automatically restarted in a wireless way when the wireless access point is abnormal to recover the current network, a user does not need to manually restart the wireless access point, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a wireless controller, a POE switch, and a wireless controller connection;
FIG. 2 is a switch fabric diagram of a hardware operating environment in which embodiments of the invention are concerned;
FIG. 3 is a flowchart illustrating a first embodiment of a method for automatically recovering a wireless access point according to the present invention;
fig. 4 is a flowchart illustrating an automatic recovery method for a wireless access point according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a switch of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the switch may include: a processor 1001, such as a Micro Control Unit (MCU), a communication bus 1002, a power port 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. A power supply port 1003. The network interface 1004 may optionally include a standard RJ-45 interface, a SC fiber interface, a FDDI interface, a Console interface, or other communication interfaces. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory).
Those skilled in the art will appreciate that the switch fabric shown in fig. 1 does not constitute a limitation of switches and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. The switch may be a POE switch.
As shown in fig. 2, a memory 1005, which is a storage medium, may include a network communication module, a power supply module, and a wireless access point automatic recovery program therein.
In the switch shown in fig. 2, the network interface 1004 is mainly used for connecting the wireless access point and the wireless controller, and performing data communication with the wireless access point and the wireless controller; the power supply port 1003 is mainly used for outputting voltage to the outside so as to supply power to devices such as a wireless access point; the processor 1001 and the memory 1005 in the switch of the present invention may be provided in the switch, and the switch calls the wireless access point automatic recovery program stored in the memory 1005 through the processor 1001 and performs the following operations:
when the data Link Layer is unblocked, judging whether an LLDP (Link Layer Discovery Protocol) Protocol message transmitted by the first wireless access point is received;
when an LLDP protocol message transmitted by the first wireless access point is received, extracting source address information of the first wireless access point from the LLDP protocol message, and judging whether a network layer to which the current network belongs is smooth or not according to the source address information;
receiving state information of the first wireless access point when the network layer is unblocked;
analyzing the state information of the first wireless access point;
and restarting the first wireless access point when the state information of the first wireless access point is in an abnormal state, so that the first wireless access point automatically recovers.
Further, the processor 1001 may invoke a wireless access point auto-recovery program stored in the memory 1005, and further perform the following operations:
the switch judges whether a data link layer message transmitted by the first wireless access point is received, and if so, the data link layer is determined to be smooth.
Further, the processor 1001 may invoke a wireless access point auto-recovery program stored in the memory 1005, and further perform the following operations:
and restarting the first wireless access point when the first wireless access point does not receive the transmission LLDP protocol message of the first wireless access point.
Further, the processor 1001 may invoke a wireless access point auto-recovery program stored in the memory 1005, and further perform the following operations:
restarting the first wireless access point when the network layer is not unblocked.
Further, the processor 1001 may invoke a wireless access point auto-recovery program stored in the memory 1005, and further perform the following operations:
the switch judges whether the physical layer of the current network is smooth or not according to the physical layer protocol;
if the physical layer is unblocked, executing the step of judging whether a second-layer message transmitted by a first wireless access point is received;
and restarting the first wireless access point if the physical layer is not smooth.
The two-layer data link layer and the three-layer data link layer are sequentially detected through the switch respectively to judge whether the current network is smooth, if the current network is smooth, whether the transmitting function of the wireless access point is abnormal is detected, if the current network is abnormal, the switch restarts the wireless access point to be detected so as to recover, and therefore the wireless access point can accurately judge whether the wireless access point is abnormal or not, can automatically restart and recover when the wireless access point is abnormal, a user does not need to manually restart the wireless access point by himself, and user experience is improved.
Based on the hardware structure, the embodiment of the automatic recovery method of the wireless access point is provided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of an automatic recovery method for a wireless access point according to the present invention.
In a first embodiment, the wireless access point automatic recovery method comprises the following steps:
s10: the switch judges whether a data link layer message transmitted by a first wireless access point is received;
s20: when receiving a data link layer message transmitted by the first wireless access point, judging whether the LLDP protocol message transmitted by the first wireless access point is received;
it should be noted that, in this embodiment, the switch takes a POE switch as an example, and the execution main body of the wireless access point automatic recovery method is the POE switch; the first wireless access point may be understood to be a detecting wireless access point.
It can be understood that a two-layer data link layer protocol is used to determine whether forwarding between hosts in the two layers is smooth, for example, the first wireless access point sends a two-layer message to the POE switch at regular time, and if the POE switch can receive the two-layer message, the current network belonging to the data link layer is in a smooth state; and if the POE switch does not receive the two-layer message transmitted by the first wireless access point, the POE switch proves that the data link layer to which the current network belongs is not in a smooth state, and the first wireless access point is restarted.
The LLDP protocol, namely a link layer discovery protocol, is a vendor-independent two-layer protocol, which allows a network device to notify own device identification and performance to own neighbor devices in a local subnet; correspondingly, in this embodiment, the POE switch is equivalent to the neighbor device of the first wireless access point, and the first wireless access point reports the basic information including the source address information to the POE switch, that is, the first wireless access point transmits an LLDP protocol packet to the POE switch, and then extracts the source address information of the first wireless access point from the LLDP protocol packet, where the source address information may be ip (internet protocol) address information of the wireless access point.
S30: when an LLDP protocol message transmitted by the first wireless access point is received, extracting source address information of the first wireless access point from the LLDP protocol message, and judging whether a network layer to which the current network belongs is smooth or not according to the source address information;
it should be noted that, when the network layer is not unblocked, the first wireless access point is restarted; when the network layer is unblocked, executing the following step S40;
understandably, the source address information of the first wireless access point is extracted from the LLDP protocol message, that is, the IP address information of the first wireless access point can be extracted from the LLDP protocol message, the POE switch can determine whether the third layer (network layer) is clear according to the extracted IP address information of the first wireless access point, in a specific implementation, the POE switch may actively probe the first wireless Access point, by sending a broadcast to the first wireless Access point, without knowing the mac (media Access control) address of the first wireless Access point, that is, an Address Resolution Protocol (ARP) request including the target IP Address (i.e., the IP Address of the first wireless access point) is broadcast to all hosts on the current network, and if the first wireless access point replies a message, it indicates that the three-layer network layer is smooth; meanwhile, in the concrete implementation, the method of an internet packet detector command (namely ping + blank space + IP address) can be adopted to detect whether the network layer is smooth or not.
S40: receiving state information of the first wireless access point when the network layer is unblocked;
s501, analyzing the state information of the first wireless access point;
s502: and restarting the first wireless access point when the state information of the first wireless access point is in an abnormal state, so that the first wireless access point automatically recovers.
It is understood that, in step S30, it has been determined that the communication statuses of the two-layer data link layer and the three-layer data link layer are normal, i.e. it is proved that the current network is clear. If the user still cannot use the wireless access point in the current network, the problem of the current network can be directly eliminated, and then whether the signal transmission of the wireless access point is abnormal or not is judged in the next step; because the wireless controller can collect the online state information of each wireless access point in the current network, under the condition that the current network communication state is normal, the wireless controller can send the online state information of each wireless access point to the POE switch, and the POE switch can perform power-off restart on the wireless access point with an abnormal state according to the received state information of the wireless access point.
The two-layer data link layer and the three-layer data link layer are sequentially detected through the switch respectively to judge whether the current network is unblocked, if unblocked, whether the transmitting function of the wireless access point is abnormal is detected, if abnormal, the switch restarts the wireless access point to be detected so as to recover, so that whether the wireless access point is abnormal can be automatically and accurately judged even if the wireless access points of different manufacturers are mixed for use, the wireless access point can be automatically restarted when abnormal occurs, the current network is recovered, a user does not need to manually restart the wireless access point, and user experience is improved.
Further, as shown in fig. 4, a second embodiment of the wireless access point automatic recovery method according to the present invention is proposed based on the first embodiment.
In this embodiment, before the step S10, the method further includes:
s01: the switch judges whether the physical layer of the current network is smooth or not according to the physical layer protocol;
if the physical layer is in a communication state and is unblocked, executing step S10;
and if the physical layer is not in a smooth communication state, restarting the first wireless access point.
It can be understood that, the embodiment may initially detect whether the physical layer to which the current network belongs is in a communication state, and if the physical layer is in a communication state, it is proved that the physical lines in the current network are connected normally, and then the step S10 is executed; and if the physical layer is not in a smooth communication state, directly restarting the first wireless access point.
The receiving the state information of the first wireless access point, and restarting the first wireless access point according to the state information of the first wireless access point, so that the first wireless access point automatically recovers, specifically including:
correspondingly, in the step S10, if the POE switch receives the data link layer packet transmitted by the first wireless access point, the step S20 is further executed; and if the POE switch does not receive the data link layer message transmitted by the first wireless access point, executing a power-off instruction to restart the first wireless access point.
Correspondingly, the step S20 determines whether the LLDP protocol message transmitted by the first wireless access point is received, and if the LLDP protocol message transmitted by the first wireless access point is received, the step S30 is executed; if the LLDP protocol packet transmitted by the first wireless access point is not received, referring to fig. 4, the process may directly proceed to the step of analyzing the state information of the first wireless access point in S501 below, and if the state information of the first wireless access point is in an abnormal state, a power-off instruction may be executed to restart the first wireless access point.
Correspondingly, in the step S30, it is determined whether the network layer to which the current network belongs is unblocked according to the source address information, and if unblocked, the step S40 of receiving the status information of the first wireless access point is executed; if the network layer is not smooth, a power-off instruction can be executed to restart the first wireless access point.
The state information of the first wireless access point in step S40 includes the preset transmission power information of the first wireless access point reported by the wireless controller according to the first wireless access point, and the actual transmission power information of the first wireless access point reported by the second wireless access point, where the second wireless access point is a wireless access point adjacent to the first wireless access point.
Correspondingly, step S501 after step S40 is to analyze the status information of the first wireless access point, specifically, to analyze and compare the preset transmission power information of the first wireless access point reported by the first wireless access point and the actual transmission power information of the first wireless access point reported by the second wireless access point, specifically, if an error between the preset transmission power information of the first wireless access point and the actual transmission power information of the first wireless access point reported by the second wireless access point is within a certain preset range, it may be considered that the information reported by the first wireless access point is accurate and is in a normal operating state; otherwise, the first wireless access point is in an abnormal state;
correspondingly, in S502, when the state information of the first wireless access point is an abnormal state, the first wireless access point is restarted to enable the first wireless access point to automatically recover, where the abnormal state is that when the error between the preset transmit power information obtained by the wireless controller and the actual transmit power information is not within the preset threshold range, the wireless controller sets the state information of the first wireless access point to be an abnormal state.
It will be appreciated that in general, a wireless access point will typically default to being able to transmit itself when the current network is clear and when the wireless access point itself is not transmitting wireless signals; that is, when the wireless access point does not transmit wireless signals or other abnormalities occur, the channel power information reported to the wireless controller by the wireless access point is still the normal transmission power value.
In the specific implementation, adjacent endless access points are firstly divided into the same group, each endless access point only collects wireless signals transmitted by own neighbors (wireless access points), then each wireless access point can report information such as channel power transmitted by itself to a wireless controller, and the wireless controller can receive the information of the wireless access point reported by each access point and the information of other neighbors reported by the wireless access point. If the error between the transmission power information reported by the wireless access point and the transmission power information reported by the neighbor is in a certain range, the wireless access point can be considered to report accurately and be in a normal working state; otherwise, the wireless access point is in an abnormal state, the wireless controller can uniformly notify the POE switch, and the wireless access point in the abnormal state is restarted in a power-off mode, so that the purpose of recovering the network is achieved.
The invention detects a physical layer, a two-layer data link layer and a three-layer network layer in sequence respectively through the switch to judge whether the current network is smooth, if so, the state information of the wireless access point to be detected transmitted by the wireless controller is received, and the wireless access point with abnormal state is restarted. The state information of the wireless access point to be detected is generated by the wireless controller according to the transmitting power information reported by the wireless access point to be detected and the neighbor access points thereof, so that whether the wireless access point to be detected is abnormal or not is accurately judged, the wireless access point to be detected can be automatically restarted when the wireless access point is abnormal, the current network is recovered, a user does not need to manually restart the wireless access point, and the user experience is improved.
In addition, the invention also provides an automatic recovery system of the wireless access point, which comprises:
the switch, wireless controller, and wireless access point as described above, the switch being connected to the wireless access point and the wireless controller, respectively.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a wireless access point automatic recovery program, and when the wireless access point automatic recovery program is executed by a processor, the wireless access point automatic recovery program implements the following operations:
when the data link layer is unblocked, judging whether an LLDP protocol message transmitted by the first wireless access point is received;
when an LLDP protocol message transmitted by the first wireless access point is received, extracting source address information of the first wireless access point from the LLDP protocol message, and judging whether a network layer to which the current network belongs is smooth or not according to the source address information;
receiving state information of the first wireless access point when the network layer is unblocked;
analyzing the state information of the first wireless access point;
and restarting the first wireless access point when the state information of the first wireless access point is in an abnormal state, so that the first wireless access point automatically recovers.
Further, the wireless access point automatic recovery program when executed by the processor further performs the following operations:
the switch judges whether a data link layer message transmitted by the first wireless access point is received, and if so, the data link layer is determined to be smooth.
Further, the wireless access point automatic recovery program when executed by the processor further performs the following operations:
and restarting the first wireless access point when the first wireless access point does not receive the transmission LLDP protocol message of the first wireless access point.
Further, the wireless access point automatic recovery program when executed by the processor further performs the following operations:
restarting the first wireless access point when the network layer is not unblocked.
Further, the wireless access point automatic recovery program when executed by the processor further performs the following operations:
the switch judges whether the physical layer of the current network is smooth or not according to the physical layer protocol;
if the physical layer is unblocked, executing the step of judging whether a second-layer message transmitted by a first wireless access point is received;
and restarting the first wireless access point if the physical layer is not smooth.
According to the scheme, even if the wireless access points of different manufacturers are used in a mixed mode, the system can automatically and accurately judge whether the wireless access points are abnormal or not, and can automatically restart the wireless access points in a wireless mode when the wireless access points are abnormal, so that the current network can be recovered, a user does not need to manually restart the wireless access points, and user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method for automatic recovery of a wireless access point, the method comprising:
when the data link layer is unblocked, judging whether an LLDP protocol message transmitted by a first wireless access point is received;
when an LLDP protocol message transmitted by the first wireless access point is received, extracting source address information of the first wireless access point from the LLDP protocol message, and judging whether a network layer to which the current network belongs is smooth or not according to the source address information;
receiving state information of the first wireless access point when the network layer is unblocked;
analyzing the state information of the first wireless access point, wherein the state information of the first wireless access point comprises preset transmitting power information of the first wireless access point reported by a wireless controller according to the first wireless access point and actual transmitting power information of the first wireless access point reported by a second wireless access point, and the second wireless access point is a wireless access point adjacent to the first wireless access point;
and restarting the first wireless access point when the state information of the first wireless access point is in an abnormal state, so that the first wireless access point automatically recovers.
2. The method of claim 1, wherein the abnormal state is that the wireless controller sets the state information of the first wireless access point to an abnormal state when an error between preset transmission power information acquired by the wireless controller and the actual transmission power information is not within a preset threshold range.
3. The method of claim 1, wherein before determining whether the LLDP protocol packet transmitted by the first wireless access point is received while the data link layer is clear, the method further comprises:
the switch judges whether a data link layer message transmitted by the first wireless access point is received, and if so, the data link layer is determined to be smooth.
4. The method of claim 1, wherein after determining whether the first wireless access point has received transmission of an LLDP protocol packet, the method further comprises:
and restarting the first wireless access point when the first wireless access point does not receive the transmission LLDP protocol message of the first wireless access point.
5. The method of claim 1, wherein after determining whether a network layer to which a current network belongs is clear according to the source address information, the method further comprises:
restarting the first wireless access point when the network layer is not unblocked.
6. The method according to any of claims 1-5, wherein before determining whether the LLDP protocol message transmitted by the first wireless access point is received while the data link layer is clear, the method comprises:
the switch judges whether the physical layer of the current network is smooth or not according to the physical layer protocol;
if the physical layer is unblocked, executing the step of judging whether a second-layer message transmitted by a first wireless access point is received;
and restarting the first wireless access point if the physical layer is not smooth.
7. A switch, characterized in that the switch comprises:
memory, a processor and a wireless access point auto-recovery program stored on the memory and executable on the processor, the wireless access point auto-recovery program being configured to implement the steps of the method of wireless access point auto-recovery of any one of claims 1 to 6.
8. A wireless access point automatic recovery system, the system comprising: the switch, wireless controller, and wireless access point of claim 7, the switch being connected to the wireless access point and the wireless controller, respectively.
9. A storage medium having stored thereon a wireless access point auto-recovery program which, when executed by a processor, performs the steps of the method of wireless access point auto-recovery according to any one of claims 1 to 6.
CN201711126213.9A 2017-11-14 2017-11-14 Method, switch, system and storage medium for automatic recovery of wireless access point Active CN107995644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711126213.9A CN107995644B (en) 2017-11-14 2017-11-14 Method, switch, system and storage medium for automatic recovery of wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711126213.9A CN107995644B (en) 2017-11-14 2017-11-14 Method, switch, system and storage medium for automatic recovery of wireless access point

Publications (2)

Publication Number Publication Date
CN107995644A CN107995644A (en) 2018-05-04
CN107995644B true CN107995644B (en) 2021-08-17

Family

ID=62031004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711126213.9A Active CN107995644B (en) 2017-11-14 2017-11-14 Method, switch, system and storage medium for automatic recovery of wireless access point

Country Status (1)

Country Link
CN (1) CN107995644B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833604B (en) * 2018-05-28 2021-08-13 新华三技术有限公司 Table entry updating method and device
CN109005569B (en) * 2018-07-10 2022-05-17 北京小米移动软件有限公司 Network connection method and device and routing equipment
JP7552051B2 (en) 2020-03-26 2024-09-18 セイコーエプソン株式会社 Electronic device and communication control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722130A (en) * 2016-02-04 2016-06-29 中国科学院上海高等研究院 Method and system for monitoring Metro AP (Access Point) equipment
CN106060859A (en) * 2016-06-30 2016-10-26 杭州华三通信技术有限公司 AP (Access Point) fault detection and restoration method and device
CN106301955A (en) * 2016-09-27 2017-01-04 杭州华三通信技术有限公司 A kind of message processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6600734B1 (en) * 1998-12-17 2003-07-29 Symbol Technologies, Inc. Apparatus for interfacing a wireless local network and a wired voice telecommunications system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722130A (en) * 2016-02-04 2016-06-29 中国科学院上海高等研究院 Method and system for monitoring Metro AP (Access Point) equipment
CN106060859A (en) * 2016-06-30 2016-10-26 杭州华三通信技术有限公司 AP (Access Point) fault detection and restoration method and device
CN106301955A (en) * 2016-09-27 2017-01-04 杭州华三通信技术有限公司 A kind of message processing method and device

Also Published As

Publication number Publication date
CN107995644A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN110661669B (en) Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols
CN107332726B (en) Communication link detection method and device
JP4704120B2 (en) Network failure detection apparatus and network failure detection method
CN106130761B (en) The recognition methods of the failed network device of data center and device
CN107995644B (en) Method, switch, system and storage medium for automatic recovery of wireless access point
US8432833B2 (en) Auto MEP ID assignment within CFM maintenance association
CN106161109B (en) Network abnormity self-recovery method
CN112738834A (en) MESH networking network emergency management method and electronic equipment
JP4619940B2 (en) Network fault location detection apparatus and network fault location detection method
CN102710450B (en) Fault location method and device thereof
JP4510751B2 (en) Network failure detection device
CN105704789A (en) Method and device for restoring network connection
CN112134775B (en) Switch loop detection method and device
CN104104596A (en) Intelligent resilient framework (IRF) split processing method and device
WO2012070274A1 (en) Communication system and network malfunction detection method
CN105357078A (en) Detection method and system of network state of intelligent equipment
WO2017146718A1 (en) Ring protection network division
CN103501240B (en) A kind of method of discovering device, apparatus and system
CN113824595B (en) Link switching control method and device and gateway equipment
CN107733677B (en) Alarm generation method and device for overlay network
CN104168132A (en) Fault diagnosis method, equipment and system
CN111385520B (en) Automatic networking method and device of video monitoring equipment
CN107248935B (en) System and method for network management to discover and monitor network elements
JP5278358B2 (en) Network connection device
CN106302248B (en) Neighbor establishing method and device

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