CN110995463B - AP self-recovery method and device - Google Patents

AP self-recovery method and device Download PDF

Info

Publication number
CN110995463B
CN110995463B CN201911060886.8A CN201911060886A CN110995463B CN 110995463 B CN110995463 B CN 110995463B CN 201911060886 A CN201911060886 A CN 201911060886A CN 110995463 B CN110995463 B CN 110995463B
Authority
CN
China
Prior art keywords
main program
notification message
installation package
information
information notification
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
CN201911060886.8A
Other languages
Chinese (zh)
Other versions
CN110995463A (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201911060886.8A priority Critical patent/CN110995463B/en
Publication of CN110995463A publication Critical patent/CN110995463A/en
Application granted granted Critical
Publication of CN110995463B publication Critical patent/CN110995463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Abstract

The invention discloses a method and a device for self-recovery of a wireless Access Point (AP), wherein the method comprises the following steps: when the AP loads a main program for starting and is not started successfully for more than preset times, actively sending an information notification message encapsulated with self characteristic information to a corresponding AC to acquire a new main program for starting; after receiving the information notification message, the AC analyzes the information notification message to obtain the characteristic information of the AP, searches the main program installation package requested by the AP in a local global manner according to the characteristic information, and if the main program installation package is found, the found main program installation package is in soft connection for the AP to obtain for self-recovery. The embodiment of the invention can solve the problem that in the prior art, the manual maintenance cost is high due to the exception of the main program of the AP.

Description

AP self-recovery method and device
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and an apparatus for self-recovery of an Access Point (AP).
Background
A Wireless Local Area Network (WLAN) system generally includes an Access Controller (AC) and an AP. The AP is at a far end and provides a network access function; the AC provides AP and network management functions in the machine room.
In the long-time operation and maintenance process of the AC, due to factors such as operation of different personnel, the same version file can be stored by different names at different positions of the AC; if the AP initiates a version request to a corresponding AC when the AP is abnormal due to a problem of a main program of the AP itself, if a version name location stored in the AP itself is not consistent with the AC, the AC cannot find a version file requested by the AP, and at this time, the AC only needs not to perform feedback, but the AP falls into a loop that continuously sends the version request to the AC. The current solution is to require manual intervention for maintenance.
However, because the WLAN has a wide application range, the AP devices have different shapes, the deployment environment is complex and changeable, and there is inconvenience in manually intervening to perform operation and maintenance of the AP device end version, a mechanism capable of recovering the abnormal AP of the main program is urgently needed to reduce the cost of manual maintenance in the wireless networking.
Disclosure of Invention
The embodiment of the invention provides a method and a device for AP self-recovery, which are used for solving the problem of high manual maintenance cost caused by abnormal main program of an AP in the prior art.
The embodiment of the invention provides a method for self-recovery of a wireless Access Point (AP), which is applied to the AP and comprises the following steps:
the AP counts the main program once when the main program is loaded, and when the main program is not loaded, the counting value is increased by one;
judging whether the count value is greater than a preset time threshold value or not;
if the count value is larger than the frequency threshold value, the internet protocol IP address of the corresponding wireless controller AC is obtained, the characteristic information of the wireless controller AC is packaged into an information notification message and sent to the corresponding AC to obtain the main program again for starting.
Further, the method further comprises:
and when the main program is loaded successfully, clearing the count value.
Wherein, the encapsulating the characteristic information of the self into the information notification message comprises:
and packaging the product type, the product identification ID, the Media Access Control (MAC) address and the version name of the main program of the AP into an information notification message.
The embodiment of the invention also provides a method for self-recovery of the AP of the wireless access point, which is applied to the AC of the wireless controller and comprises the following steps:
receiving an information notification message sent by an AP, wherein the information notification message comprises the characteristic information of the AP, the information notification message is that the AP counts once when a main program is loaded once, when the main program is loaded unsuccessfully, the count value is increased by one, and whether the count value is greater than a preset time threshold value is judged; if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the wireless controller (AC) corresponding to the wireless controller, and packaging the characteristic information of the wireless controller into an information notification message and then sending the information notification message;
analyzing the information notification message to obtain the characteristic information of the AP;
globally searching for a main program installation package of the AP according to the characteristic information;
and if the main program installation package is found, performing soft connection on the found main program installation package according to the characteristic information so as to be acquired by the AP.
Wherein, the analyzing the information notification message to obtain the feature information of the AP includes:
and analyzing the information notification message to obtain the product type, the product identification ID, the MAC address and the version name of the main program of the AP.
Wherein, the searching the main program installation package of the AP globally according to the feature information comprises:
and comparing the product type and the product identification ID in the version information of the installation package locally stored in the AC with the product type and the product identification ID in the characteristic information respectively, and searching the main program installation package of the AP.
Wherein, the soft connection of the found main program installation package according to the characteristic information comprises:
and performing soft connection on the searched main program installation package according to the main program version name in the characteristic information.
Further, the method further comprises:
if the main program installation package is found, generating and storing a recovery success record, wherein the recovery success record comprises the MAC address of the AP, the request date and the version name of the requested main program;
and if the main program installation package is not found, generating and storing a recovery failure record, wherein the recovery failure record comprises the MAC address of the AP, the product type, the product identification ID and the version name of the main program.
Further, the method further comprises:
and when the management interface login information is received, pushing recovery prompt information according to the recovery success record and/or the recovery failure record for the user to look up.
The embodiment of the invention also provides a device for self-recovery of the wireless access point AP, which is applied to the AP and comprises the following steps: a counting unit, a judging unit and a sending unit; wherein the content of the first and second substances,
the counting unit is used for counting the main program once the main program is loaded, and when the main program is not loaded, the counting value is increased by one;
the judging unit is used for judging whether the counting value is larger than a preset frequency threshold value or not;
and the sending unit is used for acquiring the internet protocol IP address of the corresponding wireless controller AC if the count value is greater than the frequency threshold value, packaging the characteristic information of the wireless controller AC into an information notification message, and sending the information notification message to the corresponding AC to reacquire the main program for starting.
Further, the counting unit is further configured to clear the count value when the main program is successfully loaded.
The sending unit is specifically configured to encapsulate the product type, the product identifier ID, the MAC address, and the version name of the main program of the AP in an information notification message.
The embodiment of the present invention further provides a device for self-recovery of an AP in a wireless access point, where the device is applied to an AC, and the device includes: the device comprises a receiving unit, an analysis unit, a searching unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is configured to receive an information notification message sent by an AP, where the information notification message includes feature information of the AP; the information notification message is that the AP counts the main program once when the main program is loaded, when the main program is failed to be loaded, the count value is increased by one, and whether the count value is greater than a preset time threshold value or not is judged; if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the wireless controller (AC) corresponding to the wireless controller, and packaging the characteristic information of the wireless controller into an information notification message and then sending the information notification message;
the analysis unit is used for analyzing the information notification message to obtain the characteristic information of the AP;
the searching unit is used for searching the main program installation package of the AP globally according to the characteristic information;
and the processing unit is used for performing soft connection on the searched main program installation package according to the characteristic information after the main program installation package is searched, so that the AP can obtain the soft connection.
The analysis unit is specifically configured to analyze the information notification message to obtain a product type, a product identifier ID, an MAC address, and a version name of the main program of the AP.
The searching unit is specifically configured to compare the product type and the product identifier ID in the version information of the installation package locally stored in the AC with the product type and the product identifier ID in the feature information, respectively, and search for the main program installation package of the AP.
The processing unit is specifically configured to perform soft connection on the found main program installation package according to the version name of the main program in the feature information.
Further, still include: the log unit is used for generating and storing a recovery success record if the main program installation package is found, wherein the recovery success record comprises the MAC address of the AP, the request date and the version name of the requested main program; and if the main program installation package is not found, generating and storing a recovery failure record, wherein the recovery failure record comprises the MAC address of the AP, the product type, the product identification ID and the version name of the main program.
Further, the apparatus further comprises: and the prompting unit is used for pushing recovery prompting information according to the recovery success record and/or the recovery failure record for the user to look up when the management interface login information is received.
The invention has the following beneficial effects:
according to the AP self-recovery method and device provided by the embodiment of the invention, when the AP loads the main program to start and is not started successfully for more than the preset times, the information notification message encapsulated with the characteristic information of the AP is actively sent to the corresponding AC to acquire a new main program to start; after receiving the information notification message, the AC analyzes the information notification message to obtain the characteristic information of the AP, searches the main program installation package requested by the AP in a local global manner according to the characteristic information, and if the main program installation package is found, the found main program installation package is in soft connection for the AP to obtain for self-recovery. When the AP is abnormal due to the main program problem, the embodiment of the invention sends multiple version requests to obtain the required main program, and no matter whether the main program version maintained by the AC is consistent with the main program version requested by the AP or not, the AC can globally search the installation package of the required main program through the characteristic information reported by the AP and place the installation package to the position which can be obtained by the AP through soft connection for obtaining by the AP, thereby completing self-recovery, realizing better management of the AP, reducing the cost of manual operation and maintenance and improving the self-recovery of equipment.
Drawings
Fig. 1 is a flowchart of a method for self-recovery of an AP in an embodiment of the present invention;
fig. 2 is another flowchart of a method for self-recovery of an AP in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for self-recovery of an AP in an embodiment of the present invention;
fig. 4 is another schematic structural diagram of an apparatus for self-recovery of an AP in an embodiment of the present invention.
Detailed Description
Aiming at the problem that the manual maintenance cost of the AP is high due to the fact that a main program is abnormal in the prior art, the AP self-recovery method provided by the embodiment of the invention actively reports the characteristic information of the AP to a corresponding AC when the starting failure frequency of the AP reaches a preset frequency threshold value, and the AC globally searches a main program installation package required by the AP according to the characteristic information to achieve the self-recovery of the AP.
The flow of the method of the present invention is shown in fig. 1, and the method is applied to an AP and comprises the following steps:
step 101, the AP counts once when the main program is loaded, and when the main program is loaded unsuccessfully, the count value is increased by one;
here, when the AP needs to be restarted due to an abnormal disconnection or the like, the main program is loaded and started.
Step 102, judging whether the count value is greater than a preset time threshold value;
the preset number threshold may be determined as needed, for example, may be 3 times, 5 times, and the like, which is not limited in the embodiment of the present invention.
And 103, if the count value is greater than the frequency threshold value, acquiring the Internet Protocol (IP) address of the corresponding wireless controller (AC), packaging the characteristic information of the wireless controller into an information notification message, and sending the information notification message to the corresponding AC to reacquire the main program for starting.
Here, after the AP needs to acquire the IP address of the AC, the corresponding AC is determined and performs communication.
Further, the method further comprises:
and when the main program is loaded successfully, clearing the count value.
Wherein, the encapsulating the characteristic information of the self into the information notification message comprises:
packaging the product type, the product identification ID, the Media Access Control (MAC) address and the version name of the main program of the AP into an information notification message; the main program installation package comprises version information, and the version information comprises a product type and a product identification ID; therefore, here, the AP characteristic information needs to include a product type and a product identification ID. And the MAC address of the AP is used for generating a recovery success/failure record of the AP according to the MAC address for subsequent inquiry after the AC searches the main program installation package of the AP.
The embodiment of the invention also provides a wireless access point AP self-recovery method, which is applied to the AC, and the implementation flow is as shown in figure 2, and comprises the following steps:
step 201, receiving an information notification message sent by an AP, where the information notification message includes characteristic information of the AP; the information notification message is that the AP counts the main program once when the main program is loaded, when the main program is failed to be loaded, the count value is increased by one, and whether the count value is greater than a preset time threshold value or not is judged; if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the wireless controller (AC) corresponding to the wireless controller, and packaging the characteristic information of the wireless controller into an information notification message and then sending the information notification message;
step 202, analyzing the information notification message to obtain the characteristic information of the AP;
step 203, globally searching for a main program installation package of the AP according to the characteristic information;
and 204, if the main program installation package is found, performing soft connection on the found main program installation package according to the characteristic information so as to be acquired by the AP.
Here, the soft connection is to establish a different connection for a file at another location, and the two connections are externally represented as two connections, but actually point to the same file. For example, the AP stores a main program version name of 123.bin, and after a certain maintenance, the main program version name is newly named 456. bin; when the AP restarts to request to acquire the main program, the version name in the characteristic information is 456. bin; but the AC determines that 123.bin can also be used by the AP through global lookup, and at this time, the 123.bin stored by the AC is softly connected to 456.bin for the AP to acquire.
Analyzing the information notification message to obtain the feature information of the AP, including:
and analyzing the information notification message to obtain the product type, the product identification ID, the MAC address and the version name of the main program of the AP.
Wherein, the searching the main program installation package of the AP globally according to the feature information comprises:
and comparing the product type and the product identification ID in the version information of the installation package locally stored in the AC with the product type and the product identification ID in the characteristic information respectively, and searching the main program installation package of the AP.
Wherein, the soft connection of the found main program installation package according to the characteristic information comprises:
and performing soft connection on the searched main program installation package according to the main program version name in the characteristic information.
Further, the method further comprises:
if the main program installation package is found, generating and storing a recovery success record, wherein the recovery success record comprises the MAC address of the AP, the request date and the version name of the requested main program;
and if the main program installation package is not found, generating and storing a recovery failure record, wherein the recovery failure record comprises the MAC address of the AP, the product type, the product identification ID and the version name of the main program.
Further, the method further comprises:
and when the management interface login information is received, pushing recovery prompt information according to the recovery success record and/or the recovery failure record for the user to look up.
According to the AP self-recovery method provided by the embodiment of the invention, when the AP loads the main program to start and is not started successfully after the preset times, the AP actively sends the information notification message encapsulated with the characteristic information of the AP to the corresponding AC to acquire a new main program to start; after receiving the information notification message, the AC analyzes the information notification message to obtain the characteristic information of the AP, searches the main program installation package requested by the AP locally and globally according to the characteristic information, and if the main program installation package is found, performs soft connection on the found main program installation package so as to allow the AP to obtain the information for self-recovery. When the AP is abnormal due to the main program problem, the embodiment of the invention sends multiple version requests to obtain the required main program, and no matter whether the main program version maintained by the AC is consistent with the main program version requested by the AP or not, the AC can globally search the installation package of the required main program through the characteristic information reported by the AP and place the installation package to the position which can be obtained by the AP through soft connection for obtaining by the AP, thereby completing self-recovery, realizing better management of the AP, reducing the cost of manual operation and maintenance and improving the self-recovery of equipment.
Based on the same inventive concept, an embodiment of the present invention provides an AP self-recovery apparatus, which may be disposed in an AP, and has a structure as shown in fig. 3, including: a counting unit 31, a judging unit 32, a transmitting unit 33; wherein the content of the first and second substances,
the counting unit 31 is used for counting the main program once the main program is loaded, and when the main program is not loaded, the counting value is increased by one;
the judging unit 32 is configured to judge whether the count value is greater than a preset number threshold;
the sending unit 33 is configured to, if the count value is greater than the frequency threshold, obtain an internet protocol IP address of the wireless controller AC corresponding to the sending unit, encapsulate the characteristic information of the sending unit into the information notification message, and send the information notification message to the corresponding AC to reacquire the main program for starting.
The counting unit 31 is further configured to clear a count value when the main program is successfully loaded.
The sending unit 33 is specifically configured to package the product type, the product identification ID, the MAC address, and the version name of the main program of the AP into an information notification message.
It should be understood that the implementation principle and the process of the AP self-recovery apparatus provided in the embodiment of the present invention are similar to those of the foregoing fig. 1 and the illustrated embodiment, and are not described herein again.
Based on the same inventive concept, an embodiment of the present invention further provides an AP self-recovery apparatus, which may be applied to a wireless controller AC, and the structure of the AP self-recovery apparatus is shown in fig. 4, where the AP self-recovery apparatus includes: a receiving unit 41, an analyzing unit 42, a searching unit 43, and a processing unit 44; wherein the content of the first and second substances,
the receiving unit 41 is configured to receive an information notification message sent by an AP, where the information notification message includes characteristic information of the AP, and the information notification message is obtained by counting the number of times that the AP loads a main program every time, and when the main program fails to be loaded, adding one to a count value, and determining whether the count value is greater than a preset threshold value of times; if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the wireless controller (AC) corresponding to the wireless controller, and packaging the characteristic information of the wireless controller into an information notification message and then sending the information notification message;
the analyzing unit 42 is configured to analyze the information notification packet to obtain the feature information of the AP;
the searching unit 43 is configured to globally search the main program installation package of the AP according to the feature information;
and the processing unit 44 is configured to, after finding the main program installation package, perform soft connection on the found main program installation package according to the feature information, so as to be obtained by the AP.
The analyzing unit 42 is specifically configured to analyze the information notification packet to obtain a product type, a product identifier ID, an MAC address, and a version name of the main program of the AP.
The searching unit 43 is specifically configured to compare the product type and the product identification ID in the version information of the installation package locally stored by the AC with the product type and the product identification ID in the feature information, respectively, and search for the main program installation package of the AP.
The processing unit 44 is specifically configured to perform soft connection on the found main program installation package according to the version name of the main program in the feature information.
Further, the apparatus further comprises: the log unit is used for generating and storing a recovery success record if the main program installation package is found, wherein the recovery success record comprises the MAC address of the AP, the request date and the version name of the requested main program; and if the main program installation package is not found, generating and storing a recovery failure record, wherein the recovery failure record comprises the MAC address of the AP, the product type, the product identification ID and the version name of the main program.
Further, the apparatus further comprises: and the prompting unit is used for pushing recovery prompting information according to the recovery success record and/or the recovery failure record for the user to look up when the management interface login information is received.
It should be understood that the principle and process of implementing the AP self-recovery apparatus according to the embodiment of the present invention are similar to those of the embodiment shown in fig. 2 and described above, and are not described herein again.
According to the AP self-recovery method and device provided by the embodiment of the invention, when the AP loads the main program to start and is not started successfully for more than the preset times, the information notification message encapsulated with the characteristic information of the AP is actively sent to the corresponding AC to acquire a new main program to start; after receiving the information notification message, the AC analyzes the information notification message to obtain the characteristic information of the AP, searches the main program installation package requested by the AP locally and globally according to the characteristic information, and if the main program installation package is found, performs soft connection on the found main program installation package so as to allow the AP to obtain the information for self-recovery. When the AP is abnormal due to the main program problem, the embodiment of the invention sends multiple version requests to obtain the required main program, and no matter whether the main program version maintained by the AC is consistent with the main program version requested by the AP or not, the AC can globally search the installation package of the required main program through the characteristic information reported by the AP and place the installation package to the position which can be obtained by the AP through soft connection for obtaining by the AP, thereby completing self-recovery, realizing better management of the AP, reducing the cost of manual operation and maintenance and improving the self-recovery of equipment.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 201, 202, 203, etc., are merely used for distinguishing different operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications of those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (14)

1. A method for self-recovery of a wireless Access Point (AP), the method being applied to the AP and comprising:
the AP counts the main program once when the main program is loaded, and when the main program is not loaded, the counting value is increased by one;
judging whether the count value is greater than a preset time threshold value or not;
if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the corresponding wireless controller (AC), packaging the characteristic information of the wireless controller (AC) into an information notification message, and sending the information notification message to the corresponding AC to reacquire the main program for starting;
and the characteristic information comprises the version name of the main program, so that the AC can perform soft connection on the re-acquired main program according to the version name.
2. The method of claim 1, further comprising:
and when the main program is loaded successfully, clearing the count value.
3. The method according to claim 1 or 2, wherein encapsulating the own feature information into an information notification message comprises:
and packaging the product type, the product identification ID, the Media Access Control (MAC) address and the version name of the main program of the AP into an information notification message.
4. A method for self-recovery of a wireless Access Point (AP), the method being applied to a wireless controller (AC) and comprising:
receiving an information notification message sent by an AP, wherein the information notification message is obtained by counting a main program once the AP loads the main program, and when the main program fails to load, adding one to a count value and judging whether the count value is greater than a preset time threshold value or not; if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the wireless controller (AC) corresponding to the wireless controller, and packaging the characteristic information of the wireless controller into an information notification message and then sending the information notification message;
analyzing the information notification message to obtain the characteristic information of the AP;
globally searching for a main program installation package of the AP according to the characteristic information;
if the main program installation package is found, performing soft connection on the found main program installation package according to the characteristic information so as to be obtained by the AP;
wherein, the soft connection of the found main program installation package according to the characteristic information comprises:
and performing soft connection on the searched main program installation package according to the main program version name in the characteristic information.
5. The method according to claim 4, wherein the parsing the information notification packet to obtain the feature information of the AP includes:
and analyzing the information notification message to obtain the product type, the product identification ID, the MAC address and the version name of the main program of the AP.
6. The method of claim 4, wherein the globally finding the main program installation package of the AP according to the feature information comprises:
and comparing the product type and the product identification ID in the version information of the installation package locally stored in the AC with the product type and the product identification ID in the characteristic information respectively, and searching the main program installation package of the AP.
7. The method of claim 4, further comprising:
if the main program installation package is found, generating and storing a recovery success record, wherein the recovery success record comprises the MAC address of the AP, the request date and the version name of the requested main program;
and if the main program installation package is not found, generating and storing a recovery failure record, wherein the recovery failure record comprises the MAC address of the AP, the product type, the product identification ID and the version name of the main program.
8. An apparatus for self-recovery of a wireless Access Point (AP), the apparatus being applied to the AP and comprising: a counting unit, a judging unit and a sending unit; wherein the content of the first and second substances,
the counting unit is used for counting the main program once the main program is loaded, and when the main program is not loaded, the counting value is increased by one;
the judging unit is used for judging whether the counting value is larger than a preset frequency threshold value or not;
the sending unit is used for acquiring the internet protocol IP address of the corresponding wireless controller AC if the count value is greater than the frequency threshold value, packaging the characteristic information of the sending unit into an information notification message, and sending the information notification message to the corresponding AC to acquire the main program again for starting;
and the characteristic information comprises the version name of the main program, so that the AC can perform soft connection on the re-acquired main program according to the version name.
9. The apparatus of claim 8, wherein the count unit is further configured to clear the count value when the main program load is successful.
10. The apparatus according to claim 8 or 9, wherein the sending unit is specifically configured to encapsulate the product type, the product identification ID, the media access control MAC address, and the version name of the primary program of the AP in an information notification message.
11. An apparatus for self-recovery of a wireless Access Point (AP), the apparatus being applied to a wireless controller (AC), and comprising: the device comprises a receiving unit, an analysis unit, a searching unit and a processing unit; wherein, the first and the second end of the pipe are connected with each other,
the receiving unit is used for receiving an information notification message sent by an AP, wherein the information notification message comprises the characteristic information of the AP, the information notification message is that the AP counts once when a main program is loaded once, when the main program is not loaded, a count value is increased by one, and whether the count value is greater than a preset time threshold value or not is judged; if the count value is larger than the frequency threshold value, acquiring the Internet Protocol (IP) address of the wireless controller (AC) corresponding to the wireless controller, and packaging the characteristic information of the wireless controller into an information notification message and then sending the information notification message;
the analysis unit is used for analyzing the information notification message to obtain the characteristic information of the AP;
the searching unit is used for searching the main program installation package of the AP globally according to the characteristic information;
the processing unit is used for performing soft connection on the searched main program installation package according to the characteristic information after the main program installation package is searched, so that the AP can obtain the soft connection;
the processing unit is specifically configured to perform soft connection on the found main program installation package according to the version name of the main program in the feature information.
12. The apparatus according to claim 11, wherein the parsing unit is specifically configured to parse the information notification message to obtain a product type, a product identifier ID, a MAC address, and a version name of a main program of the AP.
13. The apparatus according to claim 11, wherein the lookup unit is specifically configured to compare a product type and a product identification ID in the version information of the installation package locally stored by the AC with a product type and a product identification ID in the feature information, respectively.
14. The apparatus of claim 11, further comprising: the log unit is used for generating and storing a recovery success record if the main program installation package is found, wherein the recovery success record comprises the MAC address of the AP, the request date and the version name of the requested main program; and if the main program installation package is not found, generating and storing a recovery failure record, wherein the recovery failure record comprises the MAC address of the AP, the product type, the product identification ID and the version name of the main program.
CN201911060886.8A 2019-11-01 2019-11-01 AP self-recovery method and device Active CN110995463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911060886.8A CN110995463B (en) 2019-11-01 2019-11-01 AP self-recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911060886.8A CN110995463B (en) 2019-11-01 2019-11-01 AP self-recovery method and device

Publications (2)

Publication Number Publication Date
CN110995463A CN110995463A (en) 2020-04-10
CN110995463B true CN110995463B (en) 2022-09-20

Family

ID=70082852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911060886.8A Active CN110995463B (en) 2019-11-01 2019-11-01 AP self-recovery method and device

Country Status (1)

Country Link
CN (1) CN110995463B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095625A (en) * 2016-07-13 2016-11-09 上海斐讯数据通信技术有限公司 Radio reception device starts method and system
CN106470124A (en) * 2016-11-25 2017-03-01 杭州迪普科技股份有限公司 A kind of upgrade method of WAP and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105848168B (en) * 2015-01-16 2019-08-02 新华三技术有限公司 A kind of method and device managing wireless access point AP
CN107547245B (en) * 2017-05-27 2021-05-28 新华三技术有限公司 Version upgrading method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095625A (en) * 2016-07-13 2016-11-09 上海斐讯数据通信技术有限公司 Radio reception device starts method and system
CN106470124A (en) * 2016-11-25 2017-03-01 杭州迪普科技股份有限公司 A kind of upgrade method of WAP and device

Also Published As

Publication number Publication date
CN110995463A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
EP3824599B1 (en) Fault detection methods
EP3386150B1 (en) Terminal failure processing method, device and system
US20210083925A1 (en) Network fault analysis method and apparatus
CN110995513B (en) Data sending and receiving method in Internet of things system, internet of things equipment and platform
CN103763121A (en) Method and device for quickly issuing network configuration information
CN110336848B (en) Scheduling method, scheduling system and scheduling equipment for access request
CN104580085A (en) Business data updating method, system, client side and server
CN103973421A (en) File transmitting method and device
US10091672B2 (en) Fault handling method, apparatus and system
CN109684155B (en) Monitoring configuration method, device, equipment and readable storage medium
EP2908497B1 (en) Method, device and system for remote management of terminal peripheral
CN108833565A (en) A kind of method, apparatus of monitoring server, server and storage medium
CN105721203A (en) Upgrade processing method and device
CN115002013B (en) Method and device for determining running state, storage medium and electronic device
CN111327448A (en) Method and device for locating and alarming abnormality of business of internet of things and storage medium
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN103634166A (en) Equipment survival detection method and equipment survival detection device
EP3171565B1 (en) Methods, devices and system for netconf hello packets interaction
JP2017536759A (en) Method and apparatus for self-healing after disconnection of base station
CN110784358A (en) Method and device for constructing network call relation topological graph
US11190301B2 (en) Method and device for setting out-of-order value of network
CN110995463B (en) AP self-recovery method and device
CN107425994B (en) Method, terminal and server for realizing remote parameter management
CN104243483A (en) Message processing method and message processing equipment
CN106230658A (en) A kind of method and apparatus monitoring the network equipment

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