CN112020093A - Network diagnosis method and device - Google Patents

Network diagnosis method and device Download PDF

Info

Publication number
CN112020093A
CN112020093A CN201910473240.6A CN201910473240A CN112020093A CN 112020093 A CN112020093 A CN 112020093A CN 201910473240 A CN201910473240 A CN 201910473240A CN 112020093 A CN112020093 A CN 112020093A
Authority
CN
China
Prior art keywords
network
access point
diagnosis
abnormal event
terminal
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.)
Granted
Application number
CN201910473240.6A
Other languages
Chinese (zh)
Other versions
CN112020093B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910473240.6A priority Critical patent/CN112020093B/en
Publication of CN112020093A publication Critical patent/CN112020093A/en
Application granted granted Critical
Publication of CN112020093B publication Critical patent/CN112020093B/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/08Testing, supervising or monitoring using real traffic
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

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

Abstract

The disclosure relates to a network diagnosis method and device. The method comprises the following steps: acquiring a network abnormal event; when the access point and the terminal are in a network connection state, sending a network abnormal event to the access point, so that when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule by the wireless controller, sending the diagnosis strategy to the access point, and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal by the access point, sending the diagnosis strategy to the terminal by the access point; and the terminal repairs the network abnormal event according to the diagnosis strategy. According to the technical scheme, when the terminal obtains the diagnosis strategy, the terminal repairs the network abnormal event according to the diagnosis strategy, automatic repair of the network abnormality is achieved, and maintenance efficiency is high.

Description

Network diagnosis method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network diagnosis method and apparatus.
Background
With the popularization of wireless networks, users using wireless networks are more and more, and when users use wireless networks, they usually encounter some problems regarding wireless connections, and users need to report the problems regarding wireless connections to network operators, and the network operators perform one-to-one feedback on the problems regarding wireless connections.
In the related art, when a user encounters a wireless connection problem, the user usually calls to consult a network operator, so that a worker of the network operator gives online guidance, or the specified worker is used to solve the wireless connection problem.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a network diagnosis method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a network diagnosis method applied to a terminal, including:
acquiring a network abnormal event;
sending the network exception event to an access point, so that the access point sends the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the access point;
and repairing the network abnormal event according to the diagnosis strategy.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the terminal sends the acquired network abnormal event to the wireless controller through the access point, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, the access point sends the diagnosis strategy to the terminal when determining that the diagnosis strategy is the diagnosis strategy of the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the network abnormal event is automatically repaired, and the maintenance efficiency is high.
In one embodiment, said sending said network exception event to an access point comprises:
and sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, said sending said network exception event to an access point comprises:
receiving an abnormal reporting request sent by the access point through a management frame of the access point;
and sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, said sending said network exception event to an access point comprises:
when the terminal and the access point are in a network connection state, receiving an abnormal reporting request sent by the access point;
and sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
In one embodiment, said sending said network exception event to an access point comprises:
and when the network connection between the terminal and the access point fails to be successfully connected again, sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
In one embodiment, the acquiring a network exception event includes:
and determining a network abnormal event according to a feedback message sent by the access point, wherein the feedback message carries network abnormal information.
In one embodiment, the acquiring a network exception event includes:
and determining a network abnormal event according to the abnormal information of the terminal.
According to a second aspect of the embodiments of the present disclosure, there is provided a network diagnosis method applied to an access point, including:
receiving a network abnormal event sent by a terminal;
sending the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the wireless controller;
when the diagnosis strategy is determined to be the diagnosis strategy of the access point, repairing the network abnormal event according to the diagnosis strategy;
and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, sending the diagnosis strategy to the terminal so that the terminal can repair the network abnormal event according to the diagnosis strategy.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the access point receives a network abnormal event sent by the terminal, the network abnormal event is sent to the wireless controller, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and when the access point determines that the diagnosis strategy is the diagnosis strategy of the access point, the access point repairs the network abnormal event according to the diagnosis strategy; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
In one embodiment, before the network abnormal event sent by the receiving terminal, the method further includes:
and sending an abnormal reporting request to the terminal through the management frame of the access point.
In one embodiment, before the network abnormal event sent by the receiving terminal, the method further includes:
and when the access point and the terminal are in a network connection state, sending an abnormal reporting request to the terminal through a second data packet.
According to a third aspect of the embodiments of the present disclosure, there is provided a network diagnosis method applied to a wireless controller, including:
receiving a network abnormal event;
searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
and when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule, sending the diagnosis strategy to an access point.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when receiving a network abnormal event sent by a terminal, an access point sends the network abnormal event to a wireless controller, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and when determining that the diagnosis strategy is the diagnosis strategy of the access point, the access point repairs the network abnormal event according to the diagnosis strategy; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
In one embodiment, further comprising:
and when the diagnosis strategy corresponding to the network abnormal event is not found in the preset diagnosis rule, storing the network abnormal event so as to conveniently establish the corresponding diagnosis strategy for the network abnormal event.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a network diagnostic apparatus including:
the acquisition module is used for acquiring network abnormal events;
a first sending module, configured to send the network exception event to an access point, so that the access point sends the network exception event to a wireless controller;
the first receiving module is used for receiving the diagnosis strategy sent by the access point;
and the first repairing module is used for repairing the network abnormal event according to the diagnosis strategy.
In one embodiment, the first transmission module includes a first transmission submodule;
the first sending submodule is used for sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, the first transmitting module comprises a first receiving sub-module and a second transmitting sub-module;
the first receiving submodule is used for receiving an abnormal reporting request sent by the access point through a management frame of the access point;
and the second sending submodule is used for sending the network abnormal event to the access point through the management frame of the terminal.
In one embodiment, the first transmitting module comprises a second receiving submodule and a third transmitting submodule;
the second receiving submodule is used for receiving an abnormal reporting request sent by the access point when the terminal and the access point are in a network connection state;
the third sending submodule is configured to send the network abnormal event to the access point through a first data packet, where the first data packet is an encapsulation packet for carrying the network abnormal event.
In one embodiment, the first transmission module includes a fourth transmission submodule;
the fourth sending submodule is configured to send the network abnormal event to the access point through a first data packet when the network connection between the terminal and the access point fails to be successful again, where the first data packet is an encapsulation packet for carrying the network abnormal event.
In one embodiment, the obtaining module includes a first determining submodule;
the first determining submodule is used for determining a network abnormal event according to a feedback message sent by the access point, wherein the feedback message carries network abnormal information.
In one embodiment, the obtaining module includes a second determining submodule;
and the second determining submodule is used for determining a network abnormal event according to the abnormal information of the terminal.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a network diagnostic apparatus including:
the second receiving module is used for receiving the network abnormal event sent by the terminal;
the second sending module is used for sending the network abnormal event to the wireless controller;
the third receiving module is used for receiving the diagnosis strategy sent by the wireless controller;
the second repairing module is used for repairing the network abnormal event according to the diagnosis strategy when the diagnosis strategy is determined to be the diagnosis strategy of the access point;
and a third sending module, configured to send the diagnosis policy to the terminal when it is determined that the diagnosis policy is the diagnosis policy of the terminal, so that the terminal repairs the network abnormal event according to the diagnosis policy.
In one embodiment, the system further comprises a fourth sending module;
and the fourth sending module is configured to send an exception reporting request to the terminal through the management frame of the access point.
In one embodiment, the system further comprises a fifth sending module;
the fifth sending module is configured to send an exception reporting request to the terminal through a second data packet when the access point and the terminal are in a network connection state.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a network diagnostic apparatus including:
the fourth receiving module is used for receiving the network abnormal event;
the searching module is used for searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
and the sixth sending module is used for sending the diagnosis strategy to the access point when the diagnosis strategy corresponding to the network abnormal event is found in the preset diagnosis rule.
In one embodiment, the system further comprises a storage module;
the storage module is used for storing the network abnormal event when the diagnosis strategy corresponding to the network abnormal event is not found in the preset diagnosis rule, so as to conveniently formulate the corresponding diagnosis strategy for the network abnormal event.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a network diagnostic apparatus including:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring a network abnormal event;
sending the network exception event to an access point, so that the access point sends the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the access point;
and repairing the network abnormal event according to the diagnosis strategy.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a network diagnostic apparatus including:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving a network abnormal event sent by a terminal;
sending the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the wireless controller;
when the diagnosis strategy is determined to be the diagnosis strategy of the access point, repairing the network abnormal event according to the diagnosis strategy;
and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, sending the diagnosis strategy to the terminal so that the terminal can repair the network abnormal event according to the diagnosis strategy.
According to a ninth aspect of the embodiments of the present disclosure, there is provided a network diagnostic apparatus including:
a third processor;
a third memory for storing third processor-executable instructions;
wherein the third processor is configured to:
receiving a network abnormal event;
searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
and when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule, sending the diagnosis strategy to an access point.
According to a tenth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the first aspect.
According to an eleventh aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the second aspect.
According to a twelfth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the third aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a network diagnostic method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a network diagnostic method according to an exemplary embodiment.
Fig. 3a is a flow chart illustrating a network diagnostic method according to an example embodiment.
Fig. 3b is a flow chart illustrating a network diagnostic method according to an example embodiment.
Fig. 4a is an interaction diagram illustrating a network diagnostic method according to an example embodiment.
Fig. 4b is an interaction diagram illustrating a network diagnostic method according to an example embodiment.
Fig. 5a is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 5b is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 5c is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 5d is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 5e is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 5f is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 5g is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 6a is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 6b is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 6c is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 7a is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 7b is a schematic structural diagram illustrating a network diagnostic apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a network diagnostic apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements, unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to a terminal, an access point and a wireless controller, wherein the terminal can be a mobile phone, a tablet computer, a notebook computer and other devices configured with a wireless connection module, which are used by a user. In the related art, when a user encounters a wireless connection problem, the user usually calls to consult a network operator, so that an operator of the network operator gives online guidance, or a designated operator goes on to solve the wireless connection problem. However, the above wireless connection solution requires manual operation and is inefficient in maintenance. According to the technical scheme provided by the embodiment of the disclosure, the terminal sends the acquired network abnormal event to the wireless controller through the access point, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, and sends the diagnosis strategy to the access point, so that the access point sends the diagnosis strategy to the terminal when determining that the diagnosis strategy is the diagnosis strategy of the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, thereby realizing automatic repair of the network abnormality and having high maintenance efficiency.
The embodiment of the disclosure provides a network diagnosis method, and an execution main body for implementing the method comprises a terminal, an access point and a wireless controller. According to the different implementation main bodies of the method, the disclosed embodiment arranges three sets of embodiments as follows:
terminal side
Fig. 1 is a flowchart illustrating a network diagnosis method applied to a terminal according to an exemplary embodiment, and as shown in fig. 1, the network diagnosis method includes the following steps 101 to 104:
in step 101, a network exception event is obtained.
Illustratively, the network abnormal event includes a radio connection failure event and a network quality difference event, and the specific acquisition of the network abnormal event includes the following two methods:
in a first method, a network anomaly event is determined based on a feedback message sent by an access point.
Wherein, the feedback message carries network abnormal information.
Specifically, when receiving a feedback message sent by the access point, the terminal analyzes the feedback message to obtain network abnormal information carried by the feedback message, and then determines a network abnormal event according to the network abnormal information.
For example, the network abnormal event is a radio connection failure event, for example, when the terminal connects to a radio network, it needs to send related packets related to the radio connection between the terminal and the access point. The method comprises the steps that a terminal sends related packets related to wireless connection to an access point, if the access point does not receive the related packets within a preset time period or does not receive other related packets after receiving a first packet, the access point sends a response message of connection failure to the terminal, the response message of connection failure is a feedback message sent by the access point, after the terminal receives the response message of connection failure, the response message of connection failure is analyzed, network connection failure is determined, and the access point obtained through analysis does not receive the related packets within the preset time period or does not receive other related packets after receiving the first packet is taken as a network abnormal event.
For example, when the access point receives a packet sent by the terminal through a certain channel, and it is determined that the access point does not have a channel identical to a channel through which the terminal transmits the packet, it is determined that the access point is not matched with the channel of the terminal, the access point sends a channel, which is sent by the access point to the terminal and is not identical to the channel through which the terminal transmits the packet, that is, the access point sends a channel feedback message to the terminal, which carries that the access point does not have the channel identical to the channel through which the terminal transmits the packet, and after the terminal analyzes the channel feedback message, the channel, which is not identical to the channel through which the terminal.
For example, the network abnormal event includes a network quality poor event, for example, the terminal sends an uplink packet to the access point after being connected to the wireless network, if the access point does not receive the uplink packet sent by the access point within a preset time, the access point sends a response message that the access point does not receive the uplink packet to the terminal, which is a feedback message sent by the access point, and if the terminal receives the response message, the response message is analyzed to obtain information that the access point does not receive the uplink packet, and the information that the access point does not receive the uplink packet is taken as the network abnormal event.
In the second method, the terminal determines the network abnormal event according to the abnormal information of the terminal.
For example, the network abnormal event includes a network connection failure event, for example, the access point sends a packet related to the wireless connection to the terminal, and if the terminal does not receive the packet related to the wireless connection sent by the access point within the preset time, that is, the abnormal information, the terminal takes the packet related to the wireless connection that the terminal does not receive the packet related to the wireless connection sent by the access point within the preset time as the network abnormal event.
For example, when the terminal receives a related packet sent by the access point and determines that the analysis of the received related packet fails, the analysis of the received related packet by the terminal is abnormal information, and the analysis of the received related packet by the terminal is failed as a network abnormal event.
For example, when the terminal verifies the identity information about the wireless connection input by the user, the verification error of the identity information is abnormal information, and the terminal takes the verification error of the terminal on the identity information about the wireless connection as a network abnormal event.
For example, when the terminal receives an encrypted message generated by using a preset encryption rule and sent by the access point, if it is determined that the terminal cannot identify the encrypted message, the encrypted message that cannot be identified is abnormal information, and the terminal takes the encrypted message that cannot be identified by using the preset encryption rule as a network abnormal event.
For example, when the terminal receives a packet sent by the access point at a rate in the preset rate set, if it is determined that the terminal does not support the rate, which is abnormal information, and the terminal takes the rate that the terminal does not support the access point as a network abnormal event.
For example, the network abnormal event includes a network quality poor event, for example, when the terminal sends an uplink packet to the access point after connecting to the wireless network, the channel access right for sending the uplink packet is not obtained, and the channel access right for sending the uplink packet that the terminal does not obtain is abnormal information, and at this time, the terminal regards the channel access right for sending the uplink packet that the terminal does not obtain as the network abnormal event.
For example, if the terminal does not receive the response message of the uplink packet sent by the access point within the preset time, and the terminal determines that the uplink packet is failed to be sent to the access point again, the uplink packet is sent to the access point again and is abnormal information, and the terminal takes the uplink packet failure sent to the access point again by the terminal as a network abnormal event.
For example, if the terminal does not receive the response message of the uplink packet sent by the access point within the preset time, the response message of the uplink packet sent by the access point is abnormal information, and the terminal takes the response message of the uplink packet sent by the access point, which is not received by the terminal within the preset time, as a network abnormal event.
For example, after the terminal is connected to the wireless network, the access point sends a downlink packet to the terminal, if the terminal does not receive the downlink packet within the preset time, the terminal does not receive the downlink packet, and the terminal takes the downlink packet which is not received within the preset time as a network abnormal event; if the terminal receives the downlink packet within the preset time, and when the downlink packet is analyzed and the frame check sequence in the downlink packet is determined to be abnormal, the terminal determines that the frame check sequence in the downlink packet is abnormal and takes the frame check sequence in the downlink packet as a network abnormal event.
In step 102, the network abnormal event is sent to an access point, so that the access point sends the network abnormal event to a wireless controller, the wireless controller sends a diagnosis policy to the access point when finding a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, and the access point sends the diagnosis policy to the terminal when determining that the diagnosis policy is the diagnosis policy of the terminal.
Wherein the diagnostic policy is used to fix the network exception.
For example, when the terminal acquires a network abnormal event, at this time, since the terminal does not establish network connection with the access point, the terminal may send the network abnormal event to the access point through a management frame of the terminal; or, under the condition that the terminal fails to establish the network with the access point, the terminal receives an abnormal reporting request sent by the access point through a management frame of the access point, and at the moment, the terminal sends the network abnormal event to the access point through the management frame of the terminal.
Illustratively, when the terminal acquires a network abnormal event, the network abnormal event is stored, and when the network connection between the terminal and the access point fails and is successfully connected again, the stored network abnormal event is sent to the access point through a first data packet; or when the terminal and the access point are in a network connection state, the terminal receives an abnormal reporting request sent by the access point, and at the moment, the stored network abnormal event is sent to the access point through a first data packet, wherein the first data packet is an encapsulation packet used for bearing the network abnormal event.
Illustratively, the terminal transmits the network exception event according to a preset format, as shown in table 1.
TABLE 1
Figure BDA0002081354540000131
Wherein, Source BSSID represents the MAC address of the terminal, Target BSSID represents the MAC address of the access point, Transition Time represents the Time of the network abnormal event, Transition person represents the request of the terminal to connect the access point, Transition Result represents the wireless connection failure, Source RCPI represents the receiving channel power parameter of the terminal, Source RSNI represents the receiving signal noise indicator of the terminal, Target RCPI represents the receiving channel power parameter of the access point, and Target RSNI represents the receiving signal noise indicator of the access point.
In step 103, a diagnostic policy sent by the access point is received.
In step 104, the network abnormal event is repaired according to the diagnosis strategy.
The terminal sends the acquired network abnormal event to the wireless controller through the access point, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, and sends the diagnosis strategy to the access point, so that the access point sends the diagnosis strategy to the terminal when determining that the diagnosis strategy is the diagnosis strategy of the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, thereby realizing automatic repair of the network abnormal event and having high maintenance efficiency.
Wireless controller side
Fig. 2 is a flowchart illustrating a network diagnosis method applied to a wireless controller according to an exemplary embodiment, where the network diagnosis method includes the following steps 201 to 204, as shown in fig. 2:
in step 201, a network exception event is received.
In step 202, searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between the network abnormal event and the diagnosis strategy.
Wherein the diagnostic policy is used to fix the network exception.
Illustratively, the wireless controller stores preset diagnosis rules in advance, the preset diagnosis rules comprise a corresponding relation between network abnormal events and diagnosis strategies, the diagnosis strategies are specific processing methods established by research and development personnel according to the network abnormal events, before the preset diagnosis rules are formed, the research and development personnel can collect the network abnormal events frequently encountered by users, establish corresponding diagnosis strategies aiming at each network abnormal event, correspondingly store the network abnormal events and the corresponding diagnosis strategies one by one, and finally form the preset diagnosis rules; when the wireless controller receives a network abnormal event, whether a diagnosis strategy corresponding to the network abnormal event exists needs to be searched in a preset diagnosis rule.
Exemplary diagnostic strategies include the following:
if the network abnormal event is that the access point does not receive the related packet within the preset time period, or only receives the first packet and then does not receive other related packets, the corresponding diagnosis strategy is to start the automatic anti-interference function of the access point.
If the network abnormal event is that the access point does not receive the uplink packet, the corresponding diagnosis strategy is to start the automatic anti-interference function of the access point.
If the network abnormal event is that the terminal does not receive related packets about wireless connection sent by the access point within the preset time, the corresponding diagnosis strategy is to increase the transmitting power of the access point.
If the network abnormal event is that the terminal fails to analyze the received related packet, the corresponding diagnosis strategy is to increase the transmission power of the access point, or decrease the transmission rate of the access point management frame when increasing the transmission power of the access point.
And if the network abnormal event is that the terminal has an error in the authentication of the identity information related to the wireless connection, the corresponding diagnosis strategy is the reason for controlling the access point to send the authentication error of the identity information to the terminal.
If the network abnormal event is that the access point does not have the same channel as the channel of the terminal for transmitting the packets, the corresponding diagnosis strategy is to configure the access point with the program code of the same channel as the channel of the terminal for transmitting the packets.
If the network abnormal event is that the terminal cannot identify the encrypted message generated by adopting the preset encryption rule, the corresponding diagnosis strategy is to configure a program code related to the preset encryption rule for the terminal.
If the network abnormal event is that the terminal does not support the rate adopted by the access point, the corresponding diagnosis strategy is a program code for configuring the rate adopted by the access point for the terminal.
If the network abnormal event is that the terminal does not acquire the channel access right for sending the uplink packet, the corresponding diagnosis strategy is to control the access point to broadcast a silence frame, wherein the silence frame carries the MAC address of the terminal except the terminal for sending the network abnormal event; or the corresponding diagnosis strategy is to control the access point to switch to the channel with less interference, and the access point informs the terminal to synchronously switch to the channel with less interference.
If the network abnormal event is that the terminal does not receive the response message of the uplink packet sent by the access point within the preset time, the corresponding diagnosis strategy is to increase the transmitting power of the access point.
If the network abnormal event is that the terminal does not receive the downlink packet within the preset time, the corresponding diagnosis strategy is to increase the transmitting power of the access point.
If the network abnormal event is that the frame check sequence in the downlink packet is determined to be abnormal by the terminal, and the abnormality is caused by the transmission of the access point, the corresponding diagnosis strategy is to configure a program code of a transmission module for upgrading and transmitting the downlink packet for the access point.
It should be noted that, according to the difference between the results of finding whether there is a diagnosis policy corresponding to the network abnormal event in the preset diagnosis rule, the following steps are also performed, and when there is a diagnosis policy corresponding to the network abnormal event in the preset diagnosis rule, step 303 is performed; if the diagnosis policy corresponding to the network abnormal event is not found in the preset diagnosis rule, step 304 is executed.
In step 203, when a diagnosis policy corresponding to the network abnormal event is found in a preset diagnosis rule, the diagnosis policy is sent to an access point, so that the access point repairs the network abnormal event according to the diagnosis policy when determining that the diagnosis policy is the diagnosis policy of the access point, and when determining that the diagnosis policy is the diagnosis policy of the terminal, the diagnosis policy is sent to the terminal, so that the terminal repairs the network abnormal event according to the diagnosis policy.
For example, if a diagnosis policy corresponding to the network abnormal event is found in a preset diagnosis rule, the wireless controller determines whether the network abnormal event is the network abnormal event of the access point or the network abnormal event of the terminal according to an MAC address carried in the network abnormal event, if the network abnormal event is the network abnormal event of the access point, the MAC address of the access point is added to the corresponding diagnosis policy, and if the network abnormal event is the network abnormal event of the terminal, the MAC address of the terminal is added to the corresponding diagnosis policy, and the diagnosis policy with the added MAC address is sent to the access point, so that when the access point receives the diagnosis policy, the access point determines whether the diagnosis policy is the diagnosis policy of the access point or the diagnosis policy of the terminal according to the MAC address.
In step 204, when the diagnosis policy corresponding to the network abnormal event is not found in the preset diagnosis rule, the network abnormal event is stored, so as to customize the corresponding diagnosis policy for the network abnormal event.
For example, when the wireless controller does not find the diagnosis policy corresponding to the network abnormal event in the preset diagnosis rule, it indicates that the diagnosis policy corresponding to the network abnormal event is not stored in the wireless controller, at this time, the network abnormal event is stored, so that a later research and development worker can conveniently make a corresponding diagnosis policy for the stored network abnormal event, and the network abnormal event and the corresponding diagnosis policy are correspondingly stored in the preset diagnosis rule, so that the wireless controller can find the diagnosis policy corresponding to the network abnormal event in the preset diagnosis rule when receiving the network abnormal event next time.
The embodiment of the disclosure provides a network diagnosis method, wherein an access point sends a network abnormal event to a wireless controller when receiving the network abnormal event sent by a terminal, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and the access point repairs the network abnormal event according to the diagnosis strategy when determining that the diagnosis strategy is the diagnosis strategy of the access point; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
Access point side
Fig. 3a is a flowchart illustrating a network diagnosis method applied to an access point according to an exemplary embodiment, and as shown in fig. 3a, the network diagnosis method includes the following steps 301 to 305:
in step 301, a network exception event sent by the terminal is received.
In step 302, the network abnormal event is sent to a wireless controller, so that the wireless controller sends the diagnosis policy to the access point when finding a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule.
Wherein the diagnostic policy is used to fix the network exception.
In step 303, a diagnostic policy sent by the wireless controller is received.
For example, when receiving a diagnosis policy sent by a wireless controller, an access point determines the attribution of the diagnosis policy according to an MAC address carried in the diagnosis policy, and if the diagnosis policy carries the MAC address of the access point, the access point determines that the diagnosis policy is the diagnosis policy of the access point; and if the diagnosis strategy carries the MAC address of the terminal, determining the diagnosis strategy as the diagnosis strategy of the terminal.
It should be noted that, the access point performs different steps according to different determination results of the diagnostic policy, and when the diagnostic policy is determined to be the diagnostic policy of the access point, step 204 is performed; when the diagnosis policy is determined to be the diagnosis policy of the terminal, step 205 is executed.
In step 304, when it is determined that the diagnosis policy is the diagnosis policy of the access point, the network abnormal event is repaired according to the diagnosis policy.
For example, if the network abnormal event is that the access point does not receive the relevant packet within the preset time period, and the corresponding diagnosis policy is to start the automatic anti-interference function of the access point, the access point automatically starts the automatic anti-interference function of the access point when receiving the diagnosis policy, and the access point automatically adjusts the anti-noise level according to the surrounding signal environment to cancel the surrounding radio frequency interference, so that the surrounding interference of the access point is small, and the relevant packet about the wireless connection sent by the terminal can be normally received.
For example, if the network abnormal event is that the access point does not receive the uplink packet, and the corresponding diagnosis policy is to start the automatic anti-interference function of the access point, the access point automatically starts the automatic anti-interference function of the access point when receiving the diagnosis policy, and the access point automatically adjusts the anti-noise level according to the ambient signal environment to counteract the ambient radio frequency interference, so that the ambient interference of the access point is small, and the uplink packet can be normally received.
For example, if the network abnormal event is that the terminal does not receive the related packet about the wireless connection sent by the access point within the preset time, and the corresponding diagnosis policy is to increase the transmission power of the access point, the access point automatically increases the transmission power when receiving the diagnosis policy, and transmits the related packet about the wireless connection by using the increased transmission power, so that the transmission distance of the related packet is longer, and the transmission signal is strong, so that the terminal can receive the related packet about the wireless connection sent by the access point.
For example, if the network abnormal event is that the terminal fails to analyze the received related packet, and the corresponding diagnostic policy is to increase the transmission power of the access point, the access point automatically increases the transmission power when receiving the diagnostic policy, and transmits the related packet related to the wireless connection by using the increased transmission power, so that the related packet is transmitted at a longer distance and the transmission signal is strong, and thus the terminal ensures that the received related packet is correct, and further, the analysis can be successful.
For example, if the network abnormal event is that the terminal has an error in the authentication of the identity information related to the wireless connection, and the corresponding diagnosis policy is the reason for controlling the access point to send the error in the authentication of the identity information to the terminal, the access point sends the reason for the error in the authentication of the identity information to the terminal when receiving the diagnosis policy, so that the terminal displays the reason for the error in the authentication of the identity information when receiving the reason for the error in the authentication of the identity information sent by the access point, and the user can know the specific reason for the error in the authentication.
For example, if the network abnormal event is that the access point does not have a channel that is the same as a channel through which the terminal transmits the packet, and the corresponding diagnostic policy is to configure a program code of the channel that is the same as the channel through which the terminal transmits the packet for the access point, after receiving the program code, runs the program code, and configures the channel that is the same as the channel through which the terminal transmits the packet for the access point, so that the access point matches the channel adopted by the terminal.
For example, if the network abnormal event is that the terminal does not acquire the access right of the channel for sending the uplink packet, and the corresponding diagnosis policy is to control the access point to switch to the channel with less interference, the access point switches the adopted signal to the channel with less interference when receiving the diagnosis policy, and notifies the terminal to synchronously switch to the channel with less interference.
For example, if the network abnormal event is that the terminal does not receive the downlink packet within the preset time, and the corresponding diagnosis policy is to increase the transmission power of the access point, the access point automatically increases the transmission power when receiving the diagnosis policy, and transmits the downlink packet by using the increased transmission power, so that the downlink packet is transmitted at a longer distance and has a strong transmission signal, and the terminal can receive the downlink packet transmitted by the access point.
For example, if a network abnormal event is an abnormality of a frame check sequence in a downlink packet determined by the terminal, and the abnormality is an abnormality caused by sending of the access point itself, the corresponding diagnostic policy is to configure a program code for upgrading a sending module that sends the downlink packet for the access point, and when the access point receives the diagnostic policy, the access point runs the program code, so that the sending module of the access point is upgraded, and the downlink packet sent by the access point is guaranteed to be correct.
In step 305, when it is determined that the diagnosis policy is the diagnosis policy of the terminal, the diagnosis policy is sent to the terminal, so that the terminal repairs the network abnormal event according to the diagnosis policy.
For example, if the network abnormal event is that the terminal cannot recognize the encrypted message generated by using the preset encryption rule, and the corresponding diagnosis policy is to configure a program code related to the preset encryption rule for the terminal, the access point forwards the program code to the terminal after receiving the program code, and the terminal runs the program code and configures the preset encryption rule for the terminal, so that the terminal can recognize the encrypted message generated by using the preset encryption rule.
For example, if the network abnormal event is that the terminal does not support the rate used by the access point, and the corresponding diagnostic policy is a program code for configuring the rate used by the access point for the terminal, the access point forwards the program code to the terminal after receiving the program code, and the terminal runs the program code to configure the rate used by the access point for the terminal, so that the access point matches the rate used by the terminal.
For example, if the network abnormal event is that the terminal does not obtain the channel access right to send the uplink packet, and the corresponding diagnosis policy is to control the access point to broadcast the silence frame, the access point broadcasts the silence frame when receiving the diagnosis policy, so that the terminal sending the network abnormal event determines that other terminals temporarily stop sending packets when receiving the silence frame after receiving the silence frame, and the terminal sending the network abnormal event can obtain the channel access right to send the uplink packet.
It should be noted that, as shown in fig. 3b, before executing step 301, step 306 or step 307 is further included.
In step 306, an exception report request is sent to the terminal through the management frame of the access point.
For example, when the access point fails to establish network connection with the terminal, the access point may send an exception report request to the terminal through a management frame of the access point, so that the terminal feeds back a network exception event to the access point through the management frame of the terminal when receiving the exception report request.
In step 307, when the access point and the terminal are in a network connection state, an exception reporting request is sent to the terminal through a second data packet.
And the second data packet is an encapsulation packet for bearing the abnormal reporting request.
For example, when the access point determines that the network quality is poor after performing network connection with the terminal or after the network connection is successful, an abnormal reporting request is sent to the terminal, so that the terminal feeds back a network abnormal event to the access point when receiving the abnormal reporting request.
The embodiment of the disclosure provides a network diagnosis method, wherein an access point sends a network abnormal event to a wireless controller when receiving the network abnormal event sent by a terminal, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and the access point repairs the network abnormal event according to the diagnosis strategy when determining that the diagnosis strategy is the diagnosis strategy of the access point; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
Fig. 4a is an interaction diagram illustrating a network diagnosis method according to an exemplary embodiment, in which a repairing body is a terminal, an access point, and a wireless controller, as shown in fig. 4a, the method includes the following steps 401a to 409 a:
in step 401a, the terminal acquires a network exception event.
In step 402a, the terminal sends the network exception event to the access point, and the access point receives the network exception event.
In step 403a, the access point sends the network exception event to the wireless controller, and the wireless controller receives the network exception event.
In step 404a, the wireless controller searches in preset diagnosis rules whether there is a diagnosis policy corresponding to the network abnormal event.
In step 405a, when a wireless controller finds a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, the wireless controller sends the diagnosis policy to an access point; the access point receives the diagnostic policy.
In step 406a, when the wireless controller does not find a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, the wireless controller stores the network abnormal event so as to make a corresponding diagnosis policy for the network abnormal event.
In step 407a, when determining that the diagnosis policy is the diagnosis policy of the access point, the access point repairs the network abnormal event according to the diagnosis policy.
In step 408a, the access point sends the diagnosis policy to the terminal when determining that the diagnosis policy is the diagnosis policy of the terminal; the terminal receives a diagnostic policy.
In step 409a, the terminal repairs the network abnormal event according to the diagnosis strategy.
The embodiment of the disclosure provides a network diagnosis method, wherein a terminal sends a network abnormal event to an access point, and when the access point receives the network abnormal event sent by the terminal, the access point sends the network abnormal event to a wireless controller, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, and sends the diagnosis strategy to the access point, so that the access point repairs the network abnormal event according to the diagnosis strategy when determining that the diagnosis strategy is the diagnosis strategy of the access point; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
Fig. 4b is an interaction diagram illustrating a network diagnosis method according to an exemplary embodiment, where the executing entities are a terminal, an access point, and a wireless controller, and as shown in fig. 4b, the method includes the following steps 401b to 411 b:
in step 401b, the terminal acquires a network exception event.
It should be noted that, after the step 401b is executed, the steps 402b, 404b to 411b may be executed; steps 403b through 411b may also be performed.
In step 402b, the access point sends an exception report request to the terminal through a management frame of the access point.
In step 403b, when the access point and the terminal are in a network connection state, the access point sends an exception reporting request to the terminal through a second data packet; and the terminal receives the abnormal reporting request.
In step 404b, the network exception event is sent to the access point, and the access point receives the network exception event.
In step 405b, the access point sends the network exception event to the wireless controller, and the wireless controller receives the network exception event.
In step 406b, the wireless controller searches in preset diagnosis rules whether there is a diagnosis policy corresponding to the network abnormal event.
In step 407b, when the wireless controller finds a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, the wireless controller sends the diagnosis policy to an access point; the access point receives the diagnostic policy.
In step 408b, when the wireless controller does not find the diagnosis policy corresponding to the network abnormal event in the preset diagnosis rule, the wireless controller stores the network abnormal event so as to make a corresponding diagnosis policy for the network abnormal event.
In step 409b, when determining that the diagnosis policy is the diagnosis policy of the access point, the access point repairs the network abnormal event according to the diagnosis policy.
In step 410b, when determining that the diagnosis policy is the diagnosis policy of the terminal, the access point sends the diagnosis policy to the terminal; the terminal receives a diagnostic policy.
In step 411b, the terminal repairs the network abnormal event according to the diagnosis policy.
The embodiment of the disclosure provides a network diagnosis method, wherein a terminal sends a network abnormal event to an access point when receiving an abnormal reporting request sent by the access point, and the access point sends the network abnormal event to a wireless controller when receiving the network abnormal event sent by the terminal, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and the access point repairs the network abnormal event according to the diagnosis strategy when determining that the diagnosis strategy is the diagnosis strategy of the access point; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 5a is a schematic structural diagram illustrating a network diagnostic apparatus 50 according to an exemplary embodiment, where the apparatus 50 may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 5a, the network diagnosis apparatus 50 includes an obtaining module 501, a first sending module 502, a first receiving module 503, and a first repairing module 504.
The obtaining module 501 is configured to obtain a network abnormal event.
A first sending module 502, configured to send the network abnormal event to an access point when the access point and the terminal are in a network connection state, so that the access point sends the network abnormal event to a wireless controller, the wireless controller sends a diagnosis policy to the access point when finding a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, and the access point sends the diagnosis policy to the terminal when determining that the diagnosis policy is the diagnosis policy of the terminal; the diagnostic policy is used to fix the network exception event.
A first receiving module 503, configured to receive the diagnostic policy sent by the access point.
A first repairing module 504, configured to repair the network abnormal event according to the diagnosis policy.
In one embodiment, as shown in fig. 5b, the first transmitting module 502 comprises a first transmitting sub-module 5021.
The first sending submodule 5021 is configured to send the network exception event to the access point through a management frame of the terminal.
In one embodiment, as shown in FIG. 5c, the first transmitting module 502 includes a first receiving submodule 5022 and a second transmitting submodule 5023.
The first receiving sub-module 5022 is configured to receive an exception reporting request sent by the access point through a management frame of the access point.
The second sending submodule 5023 is configured to send the network exception event to the access point through a management frame of the terminal.
In one embodiment, as shown in FIG. 5d, the first transmit module 502 includes a second receive submodule 5024 and a third transmit submodule 5025.
The second receiving sub-module 5024 is configured to receive an abnormal reporting request sent by the access point when the terminal and the access point are in a network connection state.
The third sending submodule 5025 is configured to send the network exception event to the access point through a first data packet, where the first data packet is an encapsulation packet for carrying the network exception event.
In one embodiment, as shown in FIG. 5e, the first transmitting module 502 further comprises a fourth transmitting submodule 5026.
The fourth sending sub-module 5026 is configured to send the network exception event to the access point through a first data packet when the network connection between the terminal and the access point is lost to be successfully connected again, where the first data packet is an encapsulation packet for carrying the network exception event.
In one embodiment, as shown in fig. 5f, the acquisition module 501 includes a first determination submodule 5011.
The first determining submodule 5011 is configured to determine a network abnormal event according to a feedback message sent by an access point, where the feedback message carries network abnormal information.
In one embodiment, as shown in fig. 5g, the acquisition module 501 further comprises a second determination submodule 5012.
The second determining submodule 5012 is configured to determine a network abnormal event according to the abnormal information of the terminal.
The embodiment of the disclosure provides a network diagnosis device, in which a terminal sends an acquired network abnormal event to a wireless controller through an access point, so that the wireless controller searches a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, and sends the diagnosis policy to the access point, so that the access point sends the diagnosis policy to the terminal when determining that the diagnosis policy is the diagnosis policy of the terminal, and the terminal repairs the network abnormal event according to the diagnosis policy, thereby realizing automatic repair of the network abnormal event and having high maintenance efficiency.
Fig. 6a is a schematic structural diagram illustrating a network diagnostic apparatus 60 according to an exemplary embodiment, where the apparatus 60 may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 6a, the network diagnostic apparatus 60 includes: a second receiving module 601, a second sending module 602, a third receiving module 603, a second repairing module 604, and a third sending module 605.
The second receiving module 601 is configured to receive a network abnormal event sent by a terminal.
A second sending module 602, configured to send the network abnormal event to a wireless controller, so that when the wireless controller finds a diagnosis policy corresponding to the network abnormal event in a preset diagnosis rule, the wireless controller sends the diagnosis policy to the access point; the diagnostic policy is used to fix the network exception event.
A third receiving module 603, configured to receive the diagnostic policy sent by the wireless controller.
A second repairing module 604, configured to repair the network abnormal event according to the diagnosis policy when it is determined that the diagnosis policy is the diagnosis policy of the access point.
A third sending module 605, configured to send the diagnosis policy to the terminal when the diagnosis policy is determined to be the diagnosis policy of the terminal, so that the terminal repairs the network abnormal event according to the diagnosis policy.
In one embodiment, as shown in fig. 6b, the apparatus 60 further comprises a fourth sending module 606.
The fourth sending module 606 is configured to send an exception reporting request to the terminal through the management frame of the access point.
In one embodiment, as shown in fig. 6c, the apparatus 60 further comprises a fifth sending module 607.
The fifth sending module 607 is configured to send an exception reporting request to the terminal through a second data packet when the access point and the terminal are in a network connection state.
The embodiment of the disclosure provides a network diagnosis device, wherein an access point sends a network abnormal event to a wireless controller when receiving the network abnormal event sent by a terminal, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and the access point repairs the network abnormal event according to the diagnosis strategy when determining that the diagnosis strategy is the diagnosis strategy of the access point; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
Fig. 7a is a schematic structural diagram illustrating a network diagnostic apparatus 70 according to an exemplary embodiment, where the apparatus 70 may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 7a, the network diagnostic apparatus 70 includes: a fourth receiving module 701, a searching module 702 and a sixth sending module 703.
The fourth receiving module 701 is configured to receive a network exception event.
A searching module 702, configured to search, in a preset diagnosis rule, whether a diagnosis policy corresponding to the network abnormal event exists; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnostic policy is used to fix the network exception event.
A sixth sending module 703 is configured to, when a diagnosis policy corresponding to the network exception event is found in a preset diagnosis rule, send the diagnosis policy to an access point, so that the access point repairs the network exception event according to the diagnosis policy when determining that the diagnosis policy is the diagnosis policy of the access point, and send the diagnosis policy to the terminal when determining that the diagnosis policy is the diagnosis policy of the terminal, so that the terminal repairs the network exception event according to the diagnosis policy.
In one embodiment, as shown in FIG. 7b, the apparatus 70 further comprises a storage module 704.
The storage module 704 is configured to store the network abnormal event when the diagnosis policy corresponding to the network abnormal event is not found in a preset diagnosis rule, so as to formulate a corresponding diagnosis policy for the network abnormal event.
The embodiment of the disclosure provides a network diagnosis device, wherein an access point sends a network abnormal event to a wireless controller when receiving the network abnormal event sent by a terminal, so that the wireless controller searches a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule and sends the diagnosis strategy to the access point, and the access point repairs the network abnormal event according to the diagnosis strategy when determining that the diagnosis strategy is the diagnosis strategy of the access point; when the access point determines that the diagnosis strategy is the diagnosis strategy of the terminal, the access point sends the diagnosis strategy to the terminal, and the terminal repairs the network abnormal event according to the diagnosis strategy, so that the automatic repair of the network abnormality is realized, and the maintenance efficiency is high.
An embodiment of the present disclosure provides a network diagnostic apparatus, including:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring a network abnormal event;
sending the network abnormal event to an access point so that the access point sends the network abnormal event to a wireless controller, the wireless controller sends the diagnosis strategy to the access point when finding a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, and the access point sends the diagnosis strategy to the terminal when determining that the diagnosis strategy is the diagnosis strategy of the terminal; the diagnosis strategy is used for repairing the network abnormal event;
receiving a diagnosis strategy sent by the access point;
and repairing the network abnormal event according to the diagnosis strategy.
In one embodiment, the first processor may be further configured to:
and sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, the first processor may be further configured to:
receiving an abnormal reporting request sent by the access point through a management frame of the access point;
and sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, the first processor may be further configured to:
when the terminal and the access point are in a network connection state, receiving an abnormal reporting request sent by the access point;
and sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
In one embodiment, the first processor may be further configured to:
and when the network connection between the terminal and the access point fails to be successfully connected again, sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
In one embodiment, the first processor may be further configured to:
and determining a network abnormal event according to a feedback message sent by the access point, wherein the feedback message carries network abnormal information.
In one embodiment, the first processor may be further configured to:
and determining a network abnormal event according to the abnormal information of the terminal.
An embodiment of the present disclosure provides a network diagnostic apparatus, including:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving a network abnormal event sent by a terminal;
sending the network abnormal event to a wireless controller, so that when the wireless controller finds a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, the wireless controller sends the diagnosis strategy to the access point; the diagnosis strategy is used for repairing the network abnormal event;
receiving a diagnosis strategy sent by the wireless controller;
when the diagnosis strategy is determined to be the diagnosis strategy of the access point, repairing the network abnormal event according to the diagnosis strategy;
and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, sending the diagnosis strategy to the terminal so that the terminal can repair the network abnormal event according to the diagnosis strategy.
In one embodiment, the second processor may be further configured to:
and sending an abnormal reporting request to the terminal through the management frame of the access point.
In one embodiment, the second processor may be further configured to:
and when the access point and the terminal are in a network connection state, sending an abnormal reporting request to the terminal through a second data packet.
An embodiment of the present disclosure provides a network diagnostic apparatus, including:
a third processor;
a third memory for storing third processor-executable instructions;
wherein the third processor is configured to:
receiving a network abnormal event;
searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule, the diagnosis strategy is sent to an access point, so that the access point repairs the network abnormal event according to the diagnosis strategy when the diagnosis strategy is determined to be the diagnosis strategy of the access point, and the diagnosis strategy is sent to the terminal when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, so that the terminal repairs the network abnormal event according to the diagnosis strategy.
In one embodiment, the third processor may be further configured to:
and when the diagnosis strategy corresponding to the network abnormal event is not found in the preset diagnosis rule, storing the network abnormal event so as to conveniently establish the corresponding diagnosis strategy for the network abnormal event.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a configuration of a network diagnosis apparatus 80 according to an exemplary embodiment, and the apparatus 80 is applied to a terminal. For example, the apparatus 80 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 80 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 80, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 80. Examples of such data include instructions for any application or method operating on the device 80, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 80. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 80.
The multimedia component 808 includes a screen that provides an output interface between the device 80 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 80 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in memory 804 or transmitted via communications component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 80. For example, the sensor assembly 814 may detect the open/closed status of the device 80, the relative positioning of components, such as a display and keypad of the device 80, the sensor assembly 814 may also detect a change in the position of the device 80 or a component of the device 80, the presence or absence of user contact with the device 80, the orientation or acceleration/deceleration of the device 80, and a change in the temperature of the device 80. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 80 and other devices in a wired or wireless manner. The device 80 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 80 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The disclosed embodiments provide a non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the above network diagnosis method, and the method includes:
acquiring a network abnormal event;
sending the network abnormal event to an access point so that the access point sends the network abnormal event to a wireless controller, the wireless controller sends the diagnosis strategy to the access point when finding a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, and the access point sends the diagnosis strategy to the terminal when determining that the diagnosis strategy is the diagnosis strategy of the terminal; the diagnosis strategy is used for repairing the network abnormal event;
receiving a diagnosis strategy sent by the access point;
and repairing the network abnormal event according to the diagnosis strategy.
In one embodiment, said sending said network exception event to an access point comprises:
and sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, said sending said network exception event to an access point comprises:
receiving an abnormal reporting request sent by the access point through a management frame of the access point;
and sending the network abnormal event to the access point through a management frame of the terminal.
In one embodiment, said sending said network exception event to an access point comprises:
when the terminal and the access point are in a network connection state, receiving an abnormal reporting request sent by the access point;
and sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
In one embodiment, said sending said network exception event to an access point comprises:
and when the network connection between the terminal and the access point fails to be successfully connected again, sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
In one embodiment, the acquiring a network exception event includes:
and determining a network abnormal event according to a feedback message sent by the access point, wherein the feedback message carries network abnormal information.
In one embodiment, the acquiring a network exception event includes:
and determining a network abnormal event according to the abnormal information of the terminal.
The disclosed embodiments provide a non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an access point, enable the access point to perform the above-mentioned network diagnosis method, the method including:
receiving a network abnormal event sent by a terminal;
sending the network abnormal event to a wireless controller, so that when the wireless controller finds a diagnosis strategy corresponding to the network abnormal event in a preset diagnosis rule, the wireless controller sends the diagnosis strategy to the access point; the diagnosis strategy is used for repairing the network abnormal event;
receiving a diagnosis strategy sent by the wireless controller;
when the diagnosis strategy is determined to be the diagnosis strategy of the access point, repairing the network abnormal event according to the diagnosis strategy;
and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, sending the diagnosis strategy to the terminal so that the terminal can repair the network abnormal event according to the diagnosis strategy.
In one embodiment, before the network abnormal event sent by the receiving terminal, the method further includes:
and sending an abnormal reporting request to the terminal through the management frame of the access point.
In one embodiment, before the network abnormal event sent by the receiving terminal, the method further includes:
and when the access point and the terminal are in a network connection state, sending an abnormal reporting request to the terminal through a second data packet.
The disclosed embodiments provide a non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a wireless controller, enable the wireless controller to perform the above-mentioned network diagnosis method, the method including:
receiving a network abnormal event;
searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule, the diagnosis strategy is sent to an access point, so that the access point repairs the network abnormal event according to the diagnosis strategy when the diagnosis strategy is determined to be the diagnosis strategy of the access point, and the diagnosis strategy is sent to the terminal when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, so that the terminal repairs the network abnormal event according to the diagnosis strategy.
In one embodiment, further comprising:
and when the diagnosis strategy corresponding to the network abnormal event is not found in the preset diagnosis rule, storing the network abnormal event so as to conveniently establish the corresponding diagnosis strategy for the network abnormal event.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (30)

1. A network diagnosis method is applied to a terminal and comprises the following steps:
acquiring a network abnormal event;
sending the network exception event to an access point, so that the access point sends the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the access point;
and repairing the network abnormal event according to the diagnosis strategy.
2. The method of claim 1, wherein the sending the network exception event to an access point comprises:
and sending the network abnormal event to the access point through a management frame of the terminal.
3. The method of claim 1, wherein the sending the network exception event to an access point comprises:
receiving an abnormal reporting request sent by the access point through a management frame of the access point;
and sending the network abnormal event to the access point through a management frame of the terminal.
4. The method of claim 1, wherein the sending the network exception event to an access point comprises:
when the terminal and the access point are in a network connection state, receiving an abnormal reporting request sent by the access point;
and sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
5. The method of claim 1, wherein the sending the network exception event to an access point comprises:
and when the network connection between the terminal and the access point fails to be successfully connected again, sending the network abnormal event to the access point through a first data packet, wherein the first data packet is an encapsulation packet for bearing the network abnormal event.
6. The method of claim 1, wherein the obtaining a network exception event comprises:
and determining a network abnormal event according to a feedback message sent by the access point, wherein the feedback message carries network abnormal information.
7. The method of claim 1, wherein the obtaining a network exception event comprises:
and determining a network abnormal event according to the abnormal information of the terminal.
8. A network diagnosis method applied to an access point comprises the following steps:
receiving a network abnormal event sent by a terminal;
sending the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the wireless controller;
when the diagnosis strategy is determined to be the diagnosis strategy of the access point, repairing the network abnormal event according to the diagnosis strategy;
and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, sending the diagnosis strategy to the terminal so that the terminal can repair the network abnormal event according to the diagnosis strategy.
9. The method according to claim 8, further comprising, before the network abnormal event sent by the receiving terminal:
and sending an abnormal reporting request to the terminal through the management frame of the access point.
10. The method according to claim 8, further comprising, before the network abnormal event sent by the receiving terminal:
and when the access point and the terminal are in a network connection state, sending an abnormal reporting request to the terminal through a second data packet.
11. A network diagnosis method is applied to a wireless controller and comprises the following steps:
receiving a network abnormal event;
searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
and when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule, sending the diagnosis strategy to an access point.
12. The method of claim 11, further comprising:
and when the diagnosis strategy corresponding to the network abnormal event is not found in the preset diagnosis rule, storing the network abnormal event so as to conveniently establish the corresponding diagnosis strategy for the network abnormal event.
13. A network diagnostic apparatus, comprising:
the acquisition module is used for acquiring network abnormal events;
a first sending module, configured to send the network exception event to an access point, so that the access point sends the network exception event to a wireless controller;
the first receiving module is used for receiving the diagnosis strategy sent by the access point;
and the first repairing module is used for repairing the network abnormal event according to the diagnosis strategy.
14. The apparatus of claim 10, wherein the first sending module comprises a first sending submodule;
the first sending submodule is configured to send the network abnormal event to the access point through a management frame of the terminal.
15. The apparatus of claim 10, wherein the first transmitting module comprises a first receiving submodule and a second transmitting submodule;
the first receiving submodule is used for receiving an abnormal reporting request sent by the access point through a management frame of the access point;
and the second sending submodule is used for sending the network abnormal event to the access point through the management frame of the terminal.
16. The apparatus of claim 10, wherein the first transmitting module comprises a second receiving submodule and a third transmitting submodule;
the second receiving submodule is used for receiving an abnormal reporting request sent by the access point when the terminal and the access point are in a network connection state;
the third sending submodule is configured to send the network abnormal event to the access point through a first data packet, where the first data packet is an encapsulation packet for carrying the network abnormal event.
17. The apparatus of claim 10, wherein the first sending module comprises a fourth sending submodule;
the fourth sending submodule is configured to send the network abnormal event to the access point through a first data packet when the network connection between the terminal and the access point fails to be successful again, where the first data packet is an encapsulation packet for bearing the network abnormal event.
18. The apparatus of claim 10, wherein the obtaining module comprises a first determining sub-module;
the first determining submodule is used for determining a network abnormal event according to a feedback message sent by the access point, wherein the feedback message carries network abnormal information.
19. The apparatus of claim 10, wherein the obtaining module comprises a second determining submodule;
and the second determining submodule is used for determining a network abnormal event according to the abnormal information of the terminal.
20. A network diagnostic apparatus, comprising:
the second receiving module is used for receiving the network abnormal event sent by the terminal;
the second sending module is used for sending the network abnormal event to the wireless controller;
the third receiving module is used for receiving the diagnosis strategy sent by the wireless controller;
the second repairing module is used for repairing the network abnormal event according to the diagnosis strategy when the diagnosis strategy is determined to be the diagnosis strategy of the access point;
and a third sending module, configured to send the diagnosis policy to the terminal when it is determined that the diagnosis policy is the diagnosis policy of the terminal, so that the terminal repairs the network abnormal event according to the diagnosis policy.
21. The apparatus of claim 20, further comprising a fourth sending module;
and the fourth sending module is configured to send an exception reporting request to the terminal through the management frame of the access point.
22. The apparatus of claim 20, further comprising a fifth transmitting module;
the fifth sending module is configured to send an exception reporting request to the terminal through a second data packet when the access point and the terminal are in a network connection state.
23. A network diagnostic apparatus, comprising:
the fourth receiving module is used for receiving the network abnormal event;
the searching module is used for searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
and the sixth sending module is used for sending the diagnosis strategy to the access point when the diagnosis strategy corresponding to the network abnormal event is found in the preset diagnosis rule.
24. The apparatus of claim 23, further comprising a storage module;
the storage module is used for storing the network abnormal event when the diagnosis strategy corresponding to the network abnormal event is not found in the preset diagnosis rule, so as to conveniently formulate the corresponding diagnosis strategy for the network abnormal event.
25. A network diagnostic apparatus, comprising:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring a network abnormal event;
sending the network exception event to an access point, so that the access point sends the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the access point;
and repairing the network abnormal event according to the diagnosis strategy.
26. A network diagnostic apparatus, comprising:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving a network abnormal event sent by a terminal;
sending the network exception event to a wireless controller;
receiving a diagnosis strategy sent by the wireless controller;
when the diagnosis strategy is determined to be the diagnosis strategy of the access point, repairing the network abnormal event according to the diagnosis strategy;
and when the diagnosis strategy is determined to be the diagnosis strategy of the terminal, sending the diagnosis strategy to the terminal so that the terminal can repair the network abnormal event according to the diagnosis strategy.
27. A network diagnostic apparatus, comprising:
a third processor;
a third memory for storing third processor-executable instructions;
wherein the third processor is configured to:
receiving a network abnormal event;
searching whether a diagnosis strategy corresponding to the network abnormal event exists in a preset diagnosis rule; the preset diagnosis rule comprises a corresponding relation between a network abnormal event and a diagnosis strategy; the diagnosis strategy is used for repairing the network abnormal event;
and when a diagnosis strategy corresponding to the network abnormal event is found in a preset diagnosis rule, sending the diagnosis strategy to an access point.
28. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 7.
29. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 8 to 10.
30. A computer readable storage medium having computer instructions stored thereon, which when executed by a processor, perform the steps of the method of claim 11 or claim 12.
CN201910473240.6A 2019-05-31 2019-05-31 Network diagnosis method and device Active CN112020093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910473240.6A CN112020093B (en) 2019-05-31 2019-05-31 Network diagnosis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910473240.6A CN112020093B (en) 2019-05-31 2019-05-31 Network diagnosis method and device

Publications (2)

Publication Number Publication Date
CN112020093A true CN112020093A (en) 2020-12-01
CN112020093B CN112020093B (en) 2023-12-29

Family

ID=73507176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910473240.6A Active CN112020093B (en) 2019-05-31 2019-05-31 Network diagnosis method and device

Country Status (1)

Country Link
CN (1) CN112020093B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116669084A (en) * 2023-07-31 2023-08-29 浙江大华技术股份有限公司 Fault restoration method, device, equipment and storage medium based on cellular network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060233114A1 (en) * 2005-04-15 2006-10-19 Microsoft Corporation Method and apparatus for performing wireless diagnsotics and troubleshooting
CN101427596A (en) * 2006-02-17 2009-05-06 思科技术公司 Troubleshooting link and protocol in a wireless network
US20120182877A1 (en) * 2009-07-28 2012-07-19 Koninklijke Philips Electronics N.V. Diagnosing and resolving wireless network malfunctions
CN103813368A (en) * 2012-11-12 2014-05-21 中国移动通信集团公司 Method, device and system for monitoring network running states
CN104641595B (en) * 2013-09-18 2018-06-05 华为技术有限公司 The method and device that a kind of problem is delimited
CN109600261A (en) * 2018-12-14 2019-04-09 锐捷网络股份有限公司 Network restoration method, cloud server, user terminal and network restoration system
CN109769261A (en) * 2019-03-25 2019-05-17 新华三技术有限公司 A kind of network failure processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060233114A1 (en) * 2005-04-15 2006-10-19 Microsoft Corporation Method and apparatus for performing wireless diagnsotics and troubleshooting
CN101427596A (en) * 2006-02-17 2009-05-06 思科技术公司 Troubleshooting link and protocol in a wireless network
US20120182877A1 (en) * 2009-07-28 2012-07-19 Koninklijke Philips Electronics N.V. Diagnosing and resolving wireless network malfunctions
CN103813368A (en) * 2012-11-12 2014-05-21 中国移动通信集团公司 Method, device and system for monitoring network running states
CN104641595B (en) * 2013-09-18 2018-06-05 华为技术有限公司 The method and device that a kind of problem is delimited
CN109600261A (en) * 2018-12-14 2019-04-09 锐捷网络股份有限公司 Network restoration method, cloud server, user terminal and network restoration system
CN109769261A (en) * 2019-03-25 2019-05-17 新华三技术有限公司 A kind of network failure processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116669084A (en) * 2023-07-31 2023-08-29 浙江大华技术股份有限公司 Fault restoration method, device, equipment and storage medium based on cellular network
CN116669084B (en) * 2023-07-31 2023-11-10 浙江大华技术股份有限公司 Fault restoration method, device, equipment and storage medium based on cellular network

Also Published As

Publication number Publication date
CN112020093B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US9769667B2 (en) Methods for controlling smart device
CN106603667B (en) Screen information sharing method and device
EP3076716A1 (en) Method and apparatus for network access
US10764934B2 (en) Method, apparatus for terminal device to access wireless network
CN105828281B (en) Equipment connection method and device
CN109219036B (en) Method and device for unbinding equipment and electronic equipment
US20170105237A1 (en) Methods and apparatuses for network connection
EP3076632B1 (en) Method and apparatus for accessing a network
CN106375096B (en) short message verification method and device
CN108811179B (en) Wireless network connection method, device and storage medium
CN107820684B (en) Channel detection method, information sending method, device and communication equipment
CN107562500B (en) Debugging device, method and equipment
CN104994541A (en) Network flow correction method and device
CN109040651B (en) Video communication method and device
CN107911380B (en) Identity verification method and device
CN112020093B (en) Network diagnosis method and device
CN112116803B (en) Information processing method and device, electronic device and storage medium
CN110944407B (en) Dialing networking method and device
CN106878654B (en) Video communication method and device
CN112584547A (en) Method, device, storage medium and terminal equipment for establishing data connection
CN111025921A (en) Local automation control method, local automation control device and electronic equipment
CN107168731B (en) System update control method and device
CN106161808B (en) Method and device for updating information of telephone number, terminal equipment and server
CN106375727B (en) Method and device for controlling use state of image pickup equipment
CN110913055B (en) Terminal device searching method and device and electronic 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