CN107154867A - Network fault detecting method and device - Google Patents

Network fault detecting method and device Download PDF

Info

Publication number
CN107154867A
CN107154867A CN201710269405.9A CN201710269405A CN107154867A CN 107154867 A CN107154867 A CN 107154867A CN 201710269405 A CN201710269405 A CN 201710269405A CN 107154867 A CN107154867 A CN 107154867A
Authority
CN
China
Prior art keywords
message
network equipment
network
switching
data stream
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.)
Pending
Application number
CN201710269405.9A
Other languages
Chinese (zh)
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 Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201710269405.9A priority Critical patent/CN107154867A/en
Publication of CN107154867A publication Critical patent/CN107154867A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of network fault detecting method and device, this method includes:Determine Ingress Network equipment and other network equipments that data to be tested stream sequentially passes through;Switching cycle and mark switching law are issued to Ingress Network equipment, so that Ingress Network equipment determines the corresponding mark of each switching cycle according to mark switching law, the corresponding mark of each switching cycle is added in the message for belonging to data to be tested stream received in each switching cycle, statistics is added the first message amount of the corresponding mark of each switching cycle and reported after each switching cycle expires;And, count and instruct to other network equipment downward messages so that other network equipments monitor current message carrying the first mark it is different with the second mark that adjacent previous message is carried when, the second message amount of the message that statistics carrying second is identified simultaneously is reported;Determine the network equipment of failure.The program can automatically determine failed network device, it is ensured that Network Fault Detection accuracy.

Description

Network fault detection method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting a network fault.
Background
With the rapid development of network technology, the number of users is increasing. To ensure the internet experience of the user, it becomes a new challenge to detect the network failure accurately in time.
At present, network fault detection is usually performed in a manual mode, and the specific process is as follows: technical personnel determine a path (namely passing network equipment) from a source Internet Protocol (IP) address to a destination IP address after acquiring failure reporting user information (namely a source IP address) and destination server information (namely a destination IP address), then adopt a Ping message to check the path hop by hop, wherein the network equipment which can normally forward the Ping message is normal, the network equipment which can not normally forward the Ping message is failed, and if the network equipment which can not normally forward the Ping message exists, the network failure is detected.
In the above scheme, the faulty network devices need to be determined manually, and because the number of the network devices is huge and the number of users is more and more at present, the network fault detection efficiency is very low; meanwhile, the forwarding path of the Ping packet may be different from the actual forwarding path of the data packet, which results in poor accuracy of network fault detection.
Disclosure of Invention
The embodiment of the invention provides a network fault detection method and a network fault detection device, which are used for solving the problems of low network fault detection efficiency and poor network fault detection accuracy in the conventional network fault detection method.
According to an embodiment of the present invention, a method for detecting a network fault is provided, including:
determining an entrance network device and other network devices which are sequentially passed by a data stream to be detected;
issuing a switching period and an identification switching rule to the inlet network equipment so that the inlet network equipment determines an identification corresponding to each switching period according to the identification switching rule, adding the identification corresponding to each switching period in a message which belongs to the data stream to be detected and is received in each switching period, counting the number of first messages added with the identification corresponding to each switching period after each switching period expires, and reporting the number of the first messages; and the number of the first and second groups,
sending a message counting instruction to other network equipment to enable the other network equipment to count the number of second messages of the messages carrying the second identifiers when monitoring that a first identifier carried by a current message is different from a second identifier carried by an adjacent previous message, and reporting the number of the second messages;
and determining the network equipment with the fault according to the first message quantity reported by the entrance network equipment and the second message quantity reported by the other network equipment.
Optionally, the method further includes:
acquiring a specified first source Internet Protocol (IP) address, a first destination IP address, a first port, a first source Media Access Control (MAC) address and a first destination MAC address to obtain the data stream to be detected; or,
and receiving all data stream detection instructions, and sequentially acquiring a second IP address, a second destination IP address, a second port, a second source MAC address and a second destination MAC address from the received data streams to obtain the data streams to be detected.
Specifically, determining the entry network device and other network devices through which the data stream to be detected sequentially passes specifically includes:
acquiring a topological graph of the whole network;
and searching the inlet network equipment and other network equipment which are sequentially passed by the data stream to be detected from the whole network topological graph.
Specifically, determining the failed network device according to the first packet quantity reported by the ingress network device and the second packet quantity reported by the other network devices includes:
performing for each of the switching cycles:
acquiring the first message quantity reported by the inlet network equipment and the second message quantity reported by other network equipment to obtain n message quantities, wherein n is equal to the sum of the quantity of the inlet network equipment and the quantity of the other network equipment;
sequencing the n message quantities according to the sequence of the data stream to be detected passing through the network equipment to obtain a message quantity sequence;
and if the third message quantity in the message quantity sequence is smaller than the adjacent previous message quantity in the message quantity sequence, determining that the network equipment reporting the third message quantity has a fault.
Optionally, the method further includes:
and if the network equipment reporting the third message number is determined to have faults in the switching period of the set number, sending fault warning information and prompting the network equipment reporting the third message number to have faults.
According to an embodiment of the present invention, there is also provided a network fault detection apparatus, including:
the first determining module is used for determining the entrance network equipment and other network equipment which the data stream to be detected sequentially passes through;
a first sending module, configured to send a switching cycle and an identifier switching rule to the ingress network device, so that the ingress network device determines, according to the identifier switching rule, an identifier corresponding to each switching cycle, adds, in a packet belonging to the data stream to be detected, the identifier corresponding to each switching cycle, counts, after expiration of each switching cycle, a first packet number to which the identifier corresponding to each switching cycle is added, and reports the first packet number; and the number of the first and second groups,
a second issuing module, configured to issue a message statistic instruction to the other network devices, so that when the other network devices monitor that a first identifier carried in a current message is different from a second identifier carried in an adjacent previous message, the second issuing module counts the number of second messages of the messages carrying the second identifier, and reports the number of the second messages;
and a second determining module, configured to determine a faulty network device according to the first packet quantity reported by the ingress network device and the second packet quantity reported by the other network devices.
Optionally, the system further includes an obtaining module, configured to:
acquiring a specified first source Internet Protocol (IP) address, a first destination IP address, a first port, a first source Media Access Control (MAC) address and a first destination MAC address to obtain the data stream to be detected; or,
and receiving all data stream detection instructions, and sequentially acquiring a second IP address, a second destination IP address, a second port, a second source MAC address and a second destination MAC address from the received data streams to obtain the data streams to be detected.
Specifically, the first determining module is specifically configured to:
acquiring a topological graph of the whole network;
and searching the inlet network equipment and other network equipment which are sequentially passed by the data stream to be detected from the whole network topological graph.
Specifically, the second determining module is specifically configured to:
performing for each of the switching cycles:
acquiring the first message quantity reported by the inlet network equipment and the second message quantity reported by other network equipment to obtain n message quantities, wherein n is equal to the sum of the quantity of the inlet network equipment and the quantity of the other network equipment;
sequencing the n message quantities according to the sequence of the data stream to be detected passing through the network equipment to obtain a message quantity sequence;
and if the third message quantity in the message quantity sequence is smaller than the adjacent previous message quantity in the message quantity sequence, determining that the network equipment reporting the third message quantity has a fault.
Optionally, the system further includes a prompt module, configured to:
and if the network equipment reporting the first message quantity is determined to have faults in the switching period of the set quantity, sending fault warning information and prompting the network equipment reporting the third message quantity to have faults.
The invention has the following beneficial effects:
the embodiment of the invention provides a network fault detection method and a network fault detection device, which are characterized in that an entrance network device and other network devices through which a data stream to be detected sequentially passes are determined; issuing a switching period and an identification switching rule to the inlet network equipment so that the inlet network equipment determines an identification corresponding to each switching period according to the identification switching rule, adding the identification corresponding to each switching period in a message which belongs to the data stream to be detected and is received in each switching period, counting the number of first messages added with the identification corresponding to each switching period after each switching period expires, and reporting the number of the first messages; and issuing a message counting instruction to the other network equipment so that the other network equipment counts the number of second messages of the messages carrying the second identification and reports the number of the second messages when monitoring that the first identification carried by the current message is different from the second identification carried by the adjacent previous message; and determining the network equipment with the fault according to the first message quantity reported by the entrance network equipment and the second message quantity reported by the other network equipment. According to the scheme, the fault network equipment can be automatically determined without manual determination, and even if the number of the network equipment is large and the number of users is more and more, the network fault detection efficiency can be ensured; meanwhile, the identifier corresponding to each switching period is added to the actually received message according to the switching period, and the message carrying the identifier corresponding to each switching period is counted, so that the accuracy of network fault detection can be ensured.
Drawings
FIG. 1 is a flow chart of a network fault detection method in an embodiment of the invention;
FIG. 2 is a flowchart of S14 in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network fault detection apparatus according to an embodiment of the present invention.
Detailed Description
Aiming at the problems of low network fault detection efficiency and poor network fault detection accuracy in the existing network fault detection method, the embodiment of the invention provides a network fault detection method which can be applied to a controller, the flow is shown in figure 1, and the execution steps are as follows:
s11: and determining the entrance network equipment and other network equipment which the data stream to be detected sequentially passes through.
Generally, a data stream to be detected needs to pass through a series of network devices to reach a destination server, a network device passing through first is defined as an ingress network device, and network devices passing through except the ingress network device are defined as other network devices.
When determining the ingress network device and other network devices that the data stream to be detected sequentially passes through, the method may first obtain a whole network topology map, and then search the ingress network device and other network devices that the data stream to be detected sequentially passes through from the whole network topology map; or may be determined one by one using Ping messages.
S12: the method comprises the steps of issuing switching periods and identification switching rules to the entrance network equipment so that the entrance network equipment determines an identification corresponding to each switching period according to the identification switching rules, adding the identification corresponding to each switching period to a message which belongs to the data stream to be detected and is received in each switching period, counting the number of first messages added with the identification corresponding to each switching period after each switching period is expired, and reporting the number of the first messages.
In order to ensure the accuracy of network fault detection, a switching period and an identifier switching rule can be set, and the controller issues the switching period and the identifier switching rule to the ingress network device, that is, the action of adding the identifier in the received message is only completed by the ingress network device. After receiving the switching period and the identifier switching rule, the inlet network device firstly determines the identifier corresponding to each switching period according to the switching rule, then monitors the switching period, adds the identifier corresponding to the switching period in the received message in the switching period, counts the number of the first messages added with the identifier corresponding to the switching period after the switching period expires, reports the number of the first messages, enters the next switching period, and repeats the executing process.
The switching period may be set according to actual needs, for example, set to 5 seconds, 10 seconds, and the like; the mark switching rule may also be set according to actual needs, for example, the X color and the Y color may be set to be added in the switching period in turn, or 1 to 100 may be set to be added in the switching period in turn, and so on.
S13: and sending a message counting instruction to other network equipment so that the other network equipment counts the number of second messages of the messages carrying the second identifiers and reports the number of the second messages when monitoring that the first identifier carried by the current message is different from the second identifier carried by the adjacent previous message.
In order to ensure the accuracy of network fault detection, the controller issues the message statistical instruction to other network equipment. After receiving the message counting instruction, the other network devices start to monitor whether the first identifier carried by the current message is the same as the second identifier carried by the previous adjacent message, and if the first identifier carried by the current message is monitored to be different from the second identifier carried by the previous adjacent message, the message carrying the second identifier is considered to be received completely, so that the actions of counting and reporting are triggered, that is, the number of the second messages of the message carrying the second identifier is counted, and the number of the second messages is reported. If there are a plurality of other network devices, each of the other network devices will report a second packet quantity, that is, there are a plurality of second packet quantities that are reported finally, and the number of the second packet quantities is the same as the number of the other network devices.
S14: and determining the failed network equipment according to the first message quantity reported by the inlet network equipment and the second message quantity reported by other network equipment.
In an alternative mode, after the failed network device is determined, the failure warning message is sent out, and the failed network device is prompted.
According to the scheme, the fault network equipment can be automatically determined without manual determination, and even if the number of the network equipment is large and the number of users is more and more, the network fault detection efficiency can be ensured; meanwhile, the identifier corresponding to each switching period is added to the actually received message according to the switching period, and the message carrying the identifier corresponding to each switching period is counted, so that the accuracy of network fault detection can be ensured.
Optionally, the acquiring manner of the data stream to be detected in S11 may include, but is not limited to, the following two manners:
in the first mode, a specified first source IP address, a first destination IP address, a first port, a first source MAC address and a first destination MAC address are obtained, and a data stream to be detected is obtained.
Some data flows can be designated as data flows to be detected, and at this time, the data flows to be detected can be obtained only by acquiring the five-tuple information of the designated first source IP address, the first destination IP address, the first port, the first source MAC address and the first destination MAC address.
In the second mode, all data stream detection instructions are received, and a second IP address, a second destination IP address, a second port, a second source MAC address and a second destination MAC address are sequentially obtained from the received data streams to obtain the data streams to be detected.
All received data streams can also be designated as data streams to be detected, and the indication can be performed through all data stream detection instructions. Once the controller receives all the data stream detection instructions, the controller can sequentially acquire the second IP address, the second destination IP address, the second port, the second source MAC address and the second destination MAC address from the received data stream to obtain the data stream to be detected.
Two methods for acquiring the data stream to be detected are listed above, and certainly, other acquisition methods exist, which are not described in detail herein.
Specifically, in the above S14, the network device with the fault is determined according to the first packet number reported by the ingress network device and the second packet number reported by the other network device, and the implementation process is as shown in fig. 2, and for each switching cycle, the following is performed:
s141: acquiring the number of first messages reported by the entrance network equipment and the number of second messages reported by other network equipment to obtain the number of n messages.
The first packet quantity is the first packet quantity of the identifier added to each switching cycle by the ingress network device after each switching cycle expires, the second packet quantity is the packet quantity of the packet carrying the second identifier when other network devices monitor that the first identifier carried by the current packet is different from the second identifier carried by the adjacent previous packet, and since the number of other network devices determines the number of the second packet quantity, the number of the second packet quantity may not be a fixed value, it can be assumed that the total number of the first packet quantity and the second packet quantity is n, and n is equal to the sum of the number of the ingress network devices and the number of other network devices. Assuming that the ingress network device is a, and the other network devices are B and C, n is 3, the number of first messages reported by a in the current switching period is 100, the number of second messages reported by B in the current switching period is 98, and the number of second messages reported by C in the current switching period is 98.
S142: and sequencing the n message quantities according to the sequence of the data stream to be detected passing through the network equipment to obtain a message quantity sequence.
Since the sequence of the data stream to be detected flowing through the network device is first through the ingress network device and then through the other network devices, the first packet number is always ranked first in the packet number sequence obtained for each switching period.
Continuing with the above example, the number sequence of the obtained messages is 100, 98.
S143: and if the third message quantity in the message quantity sequence is smaller than the adjacent previous message quantity in the message quantity sequence, determining that the network equipment reporting the third message quantity has a fault.
Continuing with the above example, since the first 98 is smaller than the previous 100, it can be determined that B is malfunctioning. Wherein the third message number may be one of the message number sequences.
An optional mode is provided, in order to avoid misjudgment, if the network devices reporting the third message number are determined to have faults within the set number of switching cycles, fault warning information is sent out, and the network devices reporting the third message number are prompted to have faults, so that subsequent network fault removal is facilitated, and user internet experience is ensured.
Based on the same inventive concept, an embodiment of the present invention provides a network fault detection apparatus, which may be but is not limited to be applied in a controller, and has a structure as shown in fig. 3, including:
a first determining module 31, configured to determine an ingress network device and other network devices through which a data stream to be detected sequentially passes;
a first sending module 32, configured to send a switching cycle and an identifier switching rule to an ingress network device, so that the ingress network device determines an identifier corresponding to each switching cycle according to the identifier switching rule, adds the identifier corresponding to each switching cycle to a message belonging to a data stream to be detected received in each switching cycle, counts, after expiration of each switching cycle, a first message quantity of the identifier corresponding to each switching cycle, and reports the first message quantity; and the number of the first and second groups,
the second issuing module 33 is configured to issue a message statistic instruction to other network devices, so that when the other network devices monitor that a first identifier carried in a current message is different from a second identifier carried in an adjacent previous message, the second issuing module counts the number of second messages of the messages carrying the second identifier, and reports the number of the second messages;
the second determining module 34 is configured to determine a failed network device according to the first packet quantity reported by the ingress network device and the second packet quantity reported by other network devices.
According to the scheme, the fault network equipment can be automatically determined without manual determination, and even if the number of the network equipment is large and the number of users is more and more, the network fault detection efficiency can be ensured; meanwhile, the identifier corresponding to each switching period is added to the actually received message according to the switching period, and the message carrying the identifier corresponding to each switching period is counted, so that the accuracy of network fault detection can be ensured.
Optionally, the system further includes an obtaining module, configured to:
acquiring a specified first source IP address, a specified first destination IP address, a specified first port, a specified first source MAC address and a specified first destination MAC address to obtain a data stream to be detected; or,
and receiving all data stream detection instructions, and sequentially acquiring a second IP address, a second destination IP address, a second port, a second source MAC address and a second destination MAC address from the received data streams to obtain the data streams to be detected.
Specifically, the first determining module 31 is specifically configured to:
acquiring a topological graph of the whole network;
and searching the inlet network equipment and other network equipment which are sequentially passed by the data stream to be detected from the whole network topological graph.
Specifically, the second determining module 34 is specifically configured to:
performing for each switching cycle:
acquiring a first message quantity reported by an entrance network device and a second message quantity reported by other network devices to obtain n message quantities, wherein n is equal to the sum of the quantity of the entrance network device and the quantity of the other network devices;
sequencing the number of n messages according to the sequence of the data stream to be detected passing through the network equipment to obtain a message number sequence;
and if the third message quantity in the message quantity sequence is smaller than the adjacent previous message quantity in the message quantity sequence, determining that the network equipment reporting the third message quantity has a fault.
Optionally, the system further includes a prompt module, configured to:
and if the network equipment reporting the third message number is determined to have faults in the set number of switching periods, sending fault warning information and prompting the network equipment reporting the third message number of faults.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A method for detecting network faults is characterized by comprising the following steps:
determining an entrance network device and other network devices which are sequentially passed by a data stream to be detected;
issuing a switching period and an identification switching rule to the inlet network equipment so that the inlet network equipment determines an identification corresponding to each switching period according to the identification switching rule, adding the identification corresponding to each switching period in a message which belongs to the data stream to be detected and is received in each switching period, counting the number of first messages added with the identification corresponding to each switching period after each switching period expires, and reporting the number of the first messages; and the number of the first and second groups,
sending a message counting instruction to other network equipment to enable the other network equipment to count the number of second messages of the messages carrying the second identifiers when monitoring that a first identifier carried by a current message is different from a second identifier carried by an adjacent previous message, and reporting the number of the second messages;
and determining the network equipment with the fault according to the first message quantity reported by the entrance network equipment and the second message quantity reported by the other network equipment.
2. The method of claim 1, further comprising:
acquiring a specified first source Internet Protocol (IP) address, a first destination IP address, a first port, a first source Media Access Control (MAC) address and a first destination MAC address to obtain the data stream to be detected; or,
and receiving all data stream detection instructions, and sequentially acquiring a second IP address, a second destination IP address, a second port, a second source MAC address and a second destination MAC address from the received data streams to obtain the data streams to be detected.
3. The method according to claim 1, wherein determining the ingress network device and other network devices through which the data stream to be detected sequentially passes specifically comprises:
acquiring a topological graph of the whole network;
and searching the inlet network equipment and other network equipment which are sequentially passed by the data stream to be detected from the whole network topological graph.
4. The method according to any one of claims 1 to 3, wherein determining the failed network device according to the first packet number reported by the ingress network device and the second packet number reported by the other network device specifically includes:
performing for each of the switching cycles:
acquiring the first message quantity reported by the inlet network equipment and the second message quantity reported by other network equipment to obtain n message quantities, wherein n is equal to the sum of the quantity of the inlet network equipment and the quantity of the other network equipment;
sequencing the n message quantities according to the sequence of the data stream to be detected passing through the network equipment to obtain a message quantity sequence;
and if the third message quantity in the message quantity sequence is smaller than the adjacent previous message quantity in the message quantity sequence, determining that the network equipment reporting the third message quantity has a fault.
5. The method of claim 4, further comprising:
and if the network equipment reporting the third message number is determined to have faults in the switching period of the set number, sending fault warning information and prompting the network equipment reporting the third message number to have faults.
6. A network fault detection apparatus, comprising:
the first determining module is used for determining the entrance network equipment and other network equipment which the data stream to be detected sequentially passes through;
a first sending module, configured to send a switching cycle and an identifier switching rule to the ingress network device, so that the ingress network device determines, according to the identifier switching rule, an identifier corresponding to each switching cycle, adds, in a packet belonging to the data stream to be detected, the identifier corresponding to each switching cycle, counts, after expiration of each switching cycle, a first packet number to which the identifier corresponding to each switching cycle is added, and reports the first packet number; and the number of the first and second groups,
a second issuing module, configured to issue a message statistic instruction to the other network devices, so that when the other network devices monitor that a first identifier carried in a current message is different from a second identifier carried in an adjacent previous message, the second issuing module counts the number of second messages of the messages carrying the second identifier, and reports the number of the second messages;
and a second determining module, configured to determine a faulty network device according to the first packet quantity reported by the ingress network device and the second packet quantity reported by the other network devices.
7. The apparatus of claim 6, further comprising an acquisition module to:
acquiring a specified first source Internet Protocol (IP) address, a first destination IP address, a first port, a first source Media Access Control (MAC) address and a first destination MAC address to obtain the data stream to be detected; or,
and receiving all data stream detection instructions, and sequentially acquiring a second IP address, a second destination IP address, a second port, a second source MAC address and a second destination MAC address from the received data streams to obtain the data streams to be detected.
8. The apparatus of claim 6, wherein the first determining module is specifically configured to:
acquiring a topological graph of the whole network;
and searching the inlet network equipment and other network equipment which are sequentially passed by the data stream to be detected from the whole network topological graph.
9. The apparatus of any one of claims 6-8, wherein the second determining module is specifically configured to:
performing for each of the switching cycles:
acquiring the first message quantity reported by the inlet network equipment and the second message quantity reported by other network equipment to obtain n message quantities, wherein n is equal to the sum of the quantity of the inlet network equipment and the quantity of the other network equipment;
sequencing the n message quantities according to the sequence of the data stream to be detected passing through the network equipment to obtain a message quantity sequence;
and if the third message quantity in the message quantity sequence is smaller than the adjacent previous message quantity in the message quantity sequence, determining that the network equipment reporting the third message quantity has a fault.
10. The apparatus of claim 9, further comprising a hint module to:
and if the network equipment reporting the first message quantity is determined to have faults in the switching period of the set quantity, sending fault warning information and prompting the network equipment reporting the third message quantity to have faults.
CN201710269405.9A 2017-04-24 2017-04-24 Network fault detecting method and device Pending CN107154867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710269405.9A CN107154867A (en) 2017-04-24 2017-04-24 Network fault detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710269405.9A CN107154867A (en) 2017-04-24 2017-04-24 Network fault detecting method and device

Publications (1)

Publication Number Publication Date
CN107154867A true CN107154867A (en) 2017-09-12

Family

ID=59793244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710269405.9A Pending CN107154867A (en) 2017-04-24 2017-04-24 Network fault detecting method and device

Country Status (1)

Country Link
CN (1) CN107154867A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809771A (en) * 2018-08-10 2018-11-13 锐捷网络股份有限公司 SDN network data stream monitoring method, SDN controllers, switching equipment and system
CN109495311A (en) * 2018-11-30 2019-03-19 锐捷网络股份有限公司 A kind of network fault detecting method and device
CN114422178A (en) * 2021-12-10 2022-04-29 锐捷网络股份有限公司 Statistical result reporting method, device and medium based on access control list

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2427236A1 (en) * 2000-09-08 2002-03-14 The Regents Of The University Of Michigan Method and system for reconstructing a path taken by undesirable network traffic through a computer network from a source of the traffic
CN101404599A (en) * 2008-11-12 2009-04-08 华为技术有限公司 Network fault detection method, primary device, slave device, control terminal and system
CN101808021A (en) * 2010-04-16 2010-08-18 华为技术有限公司 Fault detection method, device and system, message statistical method and node equipment
CN102137282A (en) * 2010-12-15 2011-07-27 华为技术有限公司 Method, device, nodes and system for detecting faulted link
CN104917641A (en) * 2014-03-11 2015-09-16 中国电信股份有限公司 Method, device and system for testing packet loss

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2427236A1 (en) * 2000-09-08 2002-03-14 The Regents Of The University Of Michigan Method and system for reconstructing a path taken by undesirable network traffic through a computer network from a source of the traffic
CN101404599A (en) * 2008-11-12 2009-04-08 华为技术有限公司 Network fault detection method, primary device, slave device, control terminal and system
CN101808021A (en) * 2010-04-16 2010-08-18 华为技术有限公司 Fault detection method, device and system, message statistical method and node equipment
CN102137282A (en) * 2010-12-15 2011-07-27 华为技术有限公司 Method, device, nodes and system for detecting faulted link
CN104917641A (en) * 2014-03-11 2015-09-16 中国电信股份有限公司 Method, device and system for testing packet loss

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809771A (en) * 2018-08-10 2018-11-13 锐捷网络股份有限公司 SDN network data stream monitoring method, SDN controllers, switching equipment and system
CN109495311A (en) * 2018-11-30 2019-03-19 锐捷网络股份有限公司 A kind of network fault detecting method and device
CN109495311B (en) * 2018-11-30 2022-05-20 锐捷网络股份有限公司 Network fault detection method and device
CN114422178A (en) * 2021-12-10 2022-04-29 锐捷网络股份有限公司 Statistical result reporting method, device and medium based on access control list
CN114422178B (en) * 2021-12-10 2024-04-16 锐捷网络股份有限公司 Statistical result reporting method, device and medium based on access control list

Similar Documents

Publication Publication Date Title
CN113328872B (en) Fault repairing method, device and storage medium
CN107154867A (en) Network fault detecting method and device
CN108282497A (en) For the ddos attack detection method of SDN control planes
CN108156046B (en) Distributed routing detection method and device
EP3222003B1 (en) Inline packet tracing in data center fabric networks
CN105721184A (en) Network link quality monitoring method and apparatus
WO2016033897A1 (en) Network link monitoring method and device, network system and storage medium
CN104601394A (en) Business chain connectivity detection method, device and system
CN110740065B (en) Method, device and system for identifying degradation fault point
EP3222004A1 (en) Diagnostic testing in networks
CN107356284A (en) A kind of detection method, apparatus and system
CN111355670B (en) Traffic identification method and device, electronic equipment and storage medium
CN112787843B (en) Method for detecting fault node, storage medium and electronic device
WO2016177048A1 (en) Method and apparatus for generating operation, administration and maintenance alarm, and storage medium
CN111585833B (en) Method and device for detecting public network quality of CDN node and computer equipment
CN112702221B (en) BGP abnormal route monitoring method and device
CN106730847B (en) Game plug-in detection method and device
CN112380047A (en) Method and device for restarting switch, terminal equipment and storage medium
CN105471667A (en) Multicast link detection method, network equipment and server
CN108156019B (en) SDN-based network derived alarm filtering system and method
CN109587520A (en) A kind of method and apparatus of positioning video traffic failure
CN115225455B (en) Abnormal device detection method and device, electronic device and storage medium
CN103532937B (en) Application identification verifying method and device
JP2016146555A (en) Device, program and method for estimating service influence cause
CN112995071B (en) Problem chip positioning method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170912