CN112152868B - Network fault detection method and device, electronic equipment and storage medium - Google Patents

Network fault detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112152868B
CN112152868B CN201910580432.7A CN201910580432A CN112152868B CN 112152868 B CN112152868 B CN 112152868B CN 201910580432 A CN201910580432 A CN 201910580432A CN 112152868 B CN112152868 B CN 112152868B
Authority
CN
China
Prior art keywords
historical
value
network
jitter value
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910580432.7A
Other languages
Chinese (zh)
Other versions
CN112152868A (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 Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology 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 Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201910580432.7A priority Critical patent/CN112152868B/en
Publication of CN112152868A publication Critical patent/CN112152868A/en
Application granted granted Critical
Publication of CN112152868B publication Critical patent/CN112152868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/0852Delays
    • H04L43/087Jitter
    • 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/0681Configuration of triggering conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

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

Abstract

The embodiment of the invention provides a network fault detection method, a network fault detection device, electronic equipment and a storage medium, wherein the network fault detection method comprises the following steps: acquiring a historical network jitter value of a first historical moment, wherein the first historical moment is as follows: each time before the preset time and 1-N times of a first preset time from the preset time, wherein N is a positive integer; acquiring a network jitter value at the preset moment; and determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment. When the scheme provided by the embodiment of the invention is adopted to detect the network fault, the phenomenon of network jitter at the preset time can be determined to be sporadic or periodic, so that the phenomenon that the normal condition of the network jitter which occurs periodically is determined to be the network fault can be reduced, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.

Description

Network fault detection method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a network fault detection method and apparatus, an electronic device, and a storage medium.
Background
In order to provide stable internet services, it is generally necessary to detect whether a Network fails, for example, in a CDN (Content Delivery Network), it is necessary to detect whether a current Network fails, and after the Network fails, a worker may find the failure in time in an alarm manner.
The prior art method for detecting whether a network fails generally includes: determining current network data, and judging whether the network has a fault according to whether the current network data is greater than a preset value, wherein the current network data is as follows: index data indicating the network state at the present time, for example, network bandwidth, concurrency, packet loss rate, error code, packet transmission duration, and the like.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention: in the prior art, when the current network data is larger than the preset value, the network is judged to have a fault, but in practical application, the fact that the network data is larger than the preset value may be caused by some specific periodic settings, and the network does not have a fault, at this time, the normal condition is determined as the fault condition by mistake by using the existing fault detection method, so that the accuracy of network fault detection is low, and the false alarm phenomenon is more.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for detecting a network fault, an electronic device, and a storage medium, so as to reduce a phenomenon that a normal condition is determined as a fault condition, thereby improving accuracy of network fault detection and reducing a false alarm phenomenon. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a network fault detection method, where the method includes:
acquiring a historical network jitter value of a first historical moment, wherein the first historical moment is as follows: each time before the preset time and 1-N times of a first preset time from the preset time, wherein N is a positive integer;
acquiring a network jitter value at the preset moment;
determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment; wherein the network jitter value is a numerical value representing network data change.
Optionally, before determining whether the network at the predetermined time has a fault according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time, the method further includes:
judging whether the absolute value of the network jitter value at the preset moment is greater than a first preset value or not;
if the network failure rate is not greater than the first preset value, judging that the network at the preset moment has no failure;
the step of determining whether the network at the predetermined time has a fault according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time includes:
and if the network jitter value is larger than the first preset value, determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment.
Optionally, the step of determining whether the network at the predetermined time has a fault according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time includes:
determining a centralized trend numerical value of the historical network jitter values of the first historical moments and a time interval between the moment corresponding to the historical network jitter value of each first historical moment and the preset moment;
according to the determined time interval and the centralized trend value, adjusting the historical network jitter value of each first historical moment to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment; the adjusted amplitude of the reference network jitter value corresponding to the historical network jitter value at each first historical moment to the concentration trend value is inversely proportional to the time interval between the moment corresponding to the historical network jitter value at each first historical moment and the preset moment;
and determining whether the network at the preset moment has a fault according to the reference network jitter value and the network jitter value at the preset moment.
Optionally, the step of adjusting the historical network jitter value at each first historical time according to the determined time interval and the central tendency value to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time includes:
determining a validity value of the historical network jitter value at the first historical time according to the determined time interval, wherein the validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval;
and adjusting the historical network jitter value of each first historical moment according to the determined effectiveness value and the concentration trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
Optionally, the step of determining a validity value of the historical network jitter value at the first historical time according to the determined time interval includes:
substituting the determined time interval into a first validity determination formula, and taking an output result of the first validity determination formula as a validity value of the historical network jitter value at the first historical moment; wherein the first validity determination formula is:
Figure BDA0002112948050000031
the time corresponding to the historical network jitter value at the first historical time is i times a first preset time from the preset time; f (i) is the validity value of the historical network jitter value with the time interval from the preset time being i times the first preset time length;
the step of adjusting the historical network jitter value at each first historical time according to the determined validity value and the centralized trend value to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time includes:
substituting the historical network jitter value of each first historical moment, the concentration trend numerical value of the historical network jitter value of each first historical moment and the effectiveness value corresponding to the historical network jitter value of each first historical moment into a jitter value adjusting function, and taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function is:
v`i=(Vi-a)×f(i)+a;
wherein, v ″, isiUpdating the historical network jitter value of the first historical moment corresponding to the moment with the time interval from the preset moment being i times of the first preset time; viThe network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment; and a is a centralized trend numerical value of the historical network jitter value at each first historical moment.
Optionally, the step of adjusting the historical network jitter value at each first historical time according to the determined time interval and the central tendency value to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time includes:
according to a jitter value adjusting function, taking an output result of the jitter value adjusting function as an adjusted historical network jitter value of a first historical moment; wherein the jitter value adjustment function is:
Figure BDA0002112948050000041
wherein i represents i times of a first preset time, the value of i is 1, …, N represents the number of historical network jitter values at a first historical moment, N is a positive integer not less than 2, j is the iteration number, and j is greater than or equal to 1; g (i) is a decreasing function of i; a represents a central tendency value of the historical network jitter values at the first historical time,
Figure BDA0002112948050000042
Figure BDA0002112948050000043
the network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment; a isjIs the centralized trend value of the adjusted historical network jitter value at the first historical moment after the jth iteration,
Figure BDA0002112948050000044
and adjusting the adjusted historical network jitter value for the j iteration.
Optionally, the step of adjusting the historical network jitter value at each first historical time according to the determined time interval and the central tendency value to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time includes:
s1: adjusting the historical network jitter value of the first historical moment according to the determined time interval and the concentration trend value to obtain an adjusted jitter value;
s2: determining a centralized trend value of each adjusted jitter value to obtain an adjusted centralized trend value;
s3: determining a difference between the adjusted central tendency value and the pre-adjusted central tendency value;
s4: judging whether the determined difference is smaller than a second preset difference or not;
s5: if not, updating the value of the historical network jitter value at the first historical moment to the value of the adjusted jitter value, and executing the step S1;
s6: and if the difference is smaller than a second preset difference, taking the adjusted jitter value as a reference network jitter value.
Optionally, the step of determining whether the network at the predetermined time has a fault according to the reference network jitter value and the network jitter value at the predetermined time includes:
acquiring the maximum value and the minimum value of the reference network jitter value, and determining the network abnormality at the preset time if the network jitter value at the preset time exceeds the maximum value or is smaller than the minimum value;
and/or the presence of a gas in the gas,
and acquiring a concentration trend numerical value of the reference network jitter value, and determining the network abnormality at the preset time if the difference value between the network jitter value at the preset time and the concentration trend threshold value exceeds a preset threshold value.
Optionally, the historical network jitter value at the first historical time is a ratio of a difference between the network data at the first historical time and the network data at the historical time before the first historical time and before the first historical time, the network data at the historical time before the first historical time and at the historical time when the first historical time is a second predetermined time length, to the second predetermined time length;
the network jitter value at the preset time is the ratio of the difference between the network data at the preset time and the network data at the historical time before the preset time and before the preset time, wherein the distance between the preset time and the network data at the historical time is the second preset time length, and the second preset time length.
In a second aspect, an embodiment of the present invention provides a network fault detection apparatus, where the apparatus includes:
a historical jitter obtaining unit, configured to obtain a historical network jitter value at a first historical time, where the first historical time is: each time before the preset time and 1-N times of a first preset time from the preset time, wherein N is a positive integer;
a preset jitter obtaining unit, configured to obtain a network jitter value at the preset time;
the network fault detection unit is used for determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment; wherein the network jitter value is a numerical value representing network data change.
Optionally, the apparatus further comprises:
the jitter judgment unit is used for judging whether the absolute value of the network jitter value at the preset moment is larger than a first preset value or not;
the judging unit is used for judging that the network at the preset moment has no fault when the judgment result of the jitter judging unit is negative;
the network fault detection unit includes:
and the first fault detection subunit is used for determining whether the network at the preset time has a fault according to the network jitter value at the preset time and the historical network jitter value at the first historical time when the judgment result of the jitter judgment unit is yes.
Optionally, the network failure detection unit includes:
a time interval determining subunit, configured to determine a central trend value of the historical network jitter values at the first historical time and a time interval between a time corresponding to the historical network jitter value at each of the first historical times and the predetermined time;
a jitter value adjusting subunit, configured to adjust the historical network jitter value at each first historical time according to the determined time interval and the concentration trend value, to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time; the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at each first historical moment approaching the concentration trend value is inversely proportional to the time interval from the time corresponding to the historical network jitter value at each first historical moment to the preset time;
and the second fault detection subunit is used for determining whether the network at the preset moment has a fault according to the reference network jitter value and the network jitter value at the preset moment.
Optionally, the jitter value adjusting subunit includes:
a validity determination module, configured to determine a validity value of the historical network jitter value at the first historical time according to the determined time interval, where the validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval;
and the first jitter value adjusting module is used for adjusting the historical network jitter value of each first historical moment according to the determined effectiveness value and the centralized trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
Optionally, the validity determining module is specifically configured to:
substituting the determined time interval into a first validity determination formula, and taking an output result of the first validity determination formula as a validity value of the historical network jitter value at the first historical moment; wherein the first validity determination formula is:
Figure BDA0002112948050000061
the time corresponding to the historical network jitter value at the first historical time is i times a first preset time from the preset time; f (i) is the validity value of the historical network jitter value with the time interval from the preset time being i times the first preset time length;
the first jitter value adjusting module is specifically configured to:
substituting the historical network jitter value of each first historical moment, the concentration trend numerical value of the historical network jitter value of each first historical moment and the effectiveness value corresponding to the historical network jitter value of each first historical moment into a jitter value adjusting function, and taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function is:
v`i=(Vi-a)×f(i)+a;
wherein, v ″, isiUpdating the historical network jitter value of the first historical moment corresponding to the moment with the time interval from the preset moment being i times of the first preset time; viThe network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment; and a is a centralized trend numerical value of the historical network jitter value at each first historical moment.
Optionally, the jitter value adjusting subunit is specifically configured to:
according to a jitter value adjusting function, taking an output result of the jitter value adjusting function as an adjusted historical network jitter value of a first historical moment; wherein the jitter value adjustment function is:
Figure BDA0002112948050000071
wherein i represents i times of a first preset time, the value of i is 1, …, N represents the number of historical network jitter values at a first historical moment, N is a positive integer not less than 2, j is the iteration number, and j is greater than or equal to 1; g (i) is a decreasing function of i; a represents a central tendency value of the historical network jitter values at the first historical time,
Figure BDA0002112948050000072
Figure BDA0002112948050000073
corresponding to the time with the time interval from the preset time being i times of the first preset timeA historical network jitter value at a first historical time; a isjIs the centralized trend value of the adjusted historical network jitter value at the first historical moment after the jth iteration,
Figure BDA0002112948050000074
and adjusting the adjusted historical network jitter value for the j iteration.
Optionally, the jitter value adjusting subunit includes:
the second jitter value adjusting module is used for adjusting the historical network jitter value at the first historical moment according to the determined time interval and the concentration trend value to obtain an adjusted jitter value;
the centralized trend value determining module is used for determining the centralized trend value of each adjusted jitter value to obtain an adjusted centralized trend value;
a difference determining module for determining a difference between the adjusted central tendency value and the adjusted central tendency value;
the difference judging module is used for judging whether the determined difference is smaller than a second preset difference or not;
the jitter value updating module is used for updating the value of the historical network jitter value at the first historical moment to the value of the adjusted jitter value and triggering the second jitter value adjusting module to execute a task when the judgment result of the difference judging module is negative;
and the reference network jitter value determining module is used for taking the adjusted jitter value as a reference network jitter value when the judgment result of the difference judging module is yes.
Optionally, the network failure detection unit includes:
the first determining subunit is configured to obtain a maximum value and a minimum value of the reference network jitter value, and determine that the network at the predetermined time is abnormal if the network jitter value at the predetermined time exceeds the maximum value or is smaller than the minimum value;
and the second determining subunit is configured to obtain a centralized trend numerical value of the reference network jitter value, and determine that the network at the predetermined time is abnormal if a difference between the network jitter value at the predetermined time and the centralized trend threshold exceeds a preset threshold.
Optionally, the historical network jitter value at the first historical time is a ratio of a difference between the network data at the first historical time and the network data at the historical time before the first historical time and before the first historical time, the network data at the historical time is a second predetermined time from the first historical time to the second predetermined time;
the network jitter value at the preset time is the ratio of the difference between the network data at the preset time and the network data at the historical time before the preset time and before the preset time, wherein the distance between the preset time and the network data at the historical time is the second preset time length, and the second preset time length.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the bus;
the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the network failure detection method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the network failure detection method according to the first aspect is implemented.
In a fifth aspect, an embodiment of the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute a network failure detection method according to the first aspect.
In the scheme provided by the embodiment of the invention, when the network at the preset time is detected to be in fault, the judgment is carried out according to the network jitter value at the preset time and also according to the historical network jitter value at the first historical time of each historical time with the preset time being 1-N times of the first preset time, so that the network jitter value represents the change of the network data, even if the specific setting of the network data is made in the same period of time of different time periods, although the network data may vary significantly, however, the change, namely jitter, does not have obvious difference with the historical jitter in the same period, so that the phenomenon that the normal condition of the specific setting of the periodically generated network data, namely the periodic network jitter, is determined as the network fault can be reduced by utilizing the jitter to carry out network detection, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a first method for detecting a network fault according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second network fault detection method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a third flowchart of a network fault detection method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a network fault detection apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to reduce the phenomenon that a normal condition, namely, a periodically occurring network jitter, is determined as a network fault, thereby improving the accuracy of network fault detection and reducing the false alarm phenomenon, embodiments of the present invention provide a network fault detection method, an apparatus, an electronic device, and a storage medium.
First, a network failure detection method provided by the embodiment of the present invention is described below.
It should be noted that the network fault detection method provided by the embodiment of the present invention can be applied to the internet technology industry.
The execution main body of the network fault detection method provided by the embodiment of the invention can be electronic equipment, and the electronic equipment can be equipment such as a server, a computer, a router and the like. As shown in fig. 1, the method may include the steps of:
s110: and acquiring a historical network jitter value of the first historical moment.
Acquiring a historical network jitter value of a first historical moment, wherein the first historical moment is as follows: and each time before the preset time and at a distance from the preset time which is 1-N times of the first preset time, wherein N is a positive integer.
S120: and acquiring a network jitter value at a preset moment.
The network detected by the embodiment of the present invention may be a CDN or other types of networks.
The network jitter value is a numerical value representing network data change, and the network data may specifically be data such as network traffic, network peak bandwidth, concurrency, packet loss rate, error codes, packet sending duration, and the like, and may also be other network data.
In one embodiment, the historical network jitter value at the first historical time may be: and the ratio of the difference between the network data at the first historical moment and the network data at the historical moment before the first historical moment and with the first historical moment and the second historical moment with the second preset time length from the first historical moment.
In one embodiment, the network jitter value at the predetermined time may be: and the ratio of the difference between the network data at the preset moment and the network data at the historical moment before the preset moment and with the preset moment as a second preset time length to the second preset time length.
For example, if the network jitter value represents a network data change rate, assuming that a preset time span (duration) is m, the network data is a bandwidth, and the bandwidth at a certain time is a, the network jitter value of the bandwidth at the certain time is: (A-Am)/m, wherein Am is the bandwidth value of the time before the certain time and at the time interval of m. For another example, assuming that the time span is 5 minutes, the bandwidth at the current time is 5, and the bandwidth before 5 minutes is 3, the network jitter value is: 5-3/5 ═ 0.4.
Based on the above description, the historical network jitter value at the first historical time is a ratio of a difference between the network data at the first historical time and the network data at the historical time before the first historical time and before the first historical time, the network data at the historical time before the first historical time and before the first historical time is a second predetermined time length, to the second predetermined time length. And setting the time needing network detection as a preset time, wherein the network jitter value of the preset time is the ratio of the difference between the network data of the preset time and the network data of the historical time before the preset time and the historical time with the preset time as a second preset time length to the second preset time length.
The network jitter generally refers to that the network has a large variation within a short time period, so the second preset time period may be a short time period, for example, the second preset time period may be any one of 1 to 10 minutes, and the second preset time period may also be other short time periods.
Preferably, in order to improve the accuracy of network detection, the generation time of the acquired historical network data and the time of network detection may be the same time in different time periods, for example, the time of network detection is three pm a day, and the acquired network jitter value may be a network jitter value of three pm in a period of date before the day.
The first preset duration may represent a time period, and each time period, the network data and the network jitter value may be similar, for example, the first preset duration is 1 day. The first preset time period may be determined according to a network jitter rule, for example, the network jitter may occur at a fixed time every day, so the first preset time period may be 1 day, or, for example, the network jitter may occur every 12 hours, and the first preset time period may be 12 hours. N may be any value from 1 to 20, or may be other positive integers, and a person skilled in the art may determine the value of N according to accuracy of network fault detection, update speed of network data, and the like, for example, N may be set to be larger as the requirement on accuracy of network fault detection is higher; the faster the update speed of the network data is, the lower the referenceability of the historical network jitter value which is farther from the predetermined time is, and at this time, N may be set smaller. In an embodiment, the first preset time period may be 1 day, and N may be 7, so that the first historical time is: and each time before the preset time and with the time length of 1 day, 2 days and … … 7 days from the preset time. In another embodiment, the first preset duration may be 12 hours, N may be 10, and then the first historical time is: and time intervals of 12 hours, 24 hours, 36 hours and … … 120 hours from the predetermined time before the predetermined time. In other embodiments, the first preset time period may also be other time periods, and the size of N may be determined according to the accuracy of network fault detection. Since the network usually has similar change trends every day, that is, the similarity of the network data is higher at the same time every day, when the first preset time duration is 1 day (i.e., 24 hours), the acquired historical network jitter value at the first historical time is: and when the network jitter values corresponding to the time intervals from the preset time to the preset time are 1 day, 2 days and … … N days before the preset time, the obtained historical network jitter value of the first historical time has higher referential performance on network fault detection.
The predetermined time may be any time that the network needs to be detected, for example, the predetermined time may be a current time that the network needs to be detected, or a network state at a time corresponding to several hours before the current time, and the embodiment of the present invention is not limited herein.
In one embodiment, the network jitter value at the predetermined time may be obtained as follows:
acquiring network data and first historical network data at a preset moment, wherein the first historical network data is as follows: network data corresponding to historical time before the preset time and a second preset time from the preset time;
and calculating a difference value between the network data at the preset moment and the first historical network data, and determining a network jitter value at the preset moment according to the difference value.
The network detected by the embodiment of the present invention may be a CDN or other types of networks, and correspondingly, the network data may be network data in the CDN or network data in other types of networks. The network data is data representing a network state, and the network data may specifically be data such as network traffic, network bandwidth, and the like, and may also be other data representing a network state. The network jitter value may specifically be a traffic jitter value, a bandwidth jitter value, or the like.
The network jitter value may be a network jitter amount or a network jitter rate. The difference may be determined as a network jitter value at a predetermined time corresponding to the predetermined time, where the network jitter value at the predetermined time is a network jitter amount at the predetermined time. The quotient of the difference and the second preset time length may also be determined as the network jitter value at the predetermined time, where the network jitter value at the predetermined time is the network jitter rate at the predetermined time. Since the network jitter rate may better reflect the quality of the network, and the network state may be analyzed conveniently through the network jitter rate, in the embodiment of the present invention, the network jitter value may be the network jitter rate.
In this embodiment of the present invention, in order to enable the electronic device to obtain the network jitter values at each time, after step S120, the method may further include the following steps: and saving the network jitter value at a preset time.
S130: and determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment.
In the embodiment of the present invention, the network jitter value may be a numerical value representing a change in network data.
In one embodiment, before performing step S130, the following steps may be further included: and judging whether the absolute value of the network jitter value at the preset moment is greater than a third preset difference, if not, judging that the network at the preset moment is not in fault, and if so, judging that the network at the preset moment is in fault. The third preset difference may be determined according to the accuracy requirement for network fault detection, and when the accuracy requirement for network fault detection is higher, the third preset difference may be set to be smaller.
When the network fault detection method provided by the embodiment of the invention detects whether the network has a fault, the network fault detection method not only can be used for indicating the change rate of the network data according to the network jitter value at the preset time, but also according to the historical network jitter value at the first historical time of each historical time, which is 1-N times of the first preset time length from the preset time, so that the network jitter value indicates the change rate of the network data, even if the specific setting of the network data is carried out in the same time period of different time periods, although the network data can change obviously, the change, namely the jitter and the historical change do not have obvious difference, therefore, the phenomenon that the normal condition that the specific setting of the periodically generated network data, namely the periodic network jitter is determined as the network fault can be reduced by utilizing the jitter to carry out network detection, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
In one embodiment, the following steps may be further included before step S130 shown in fig. 1:
judging whether the absolute value of the network jitter value at the preset moment is greater than a first preset value or not;
if the judgment result is negative, judging that the network at the preset moment has no fault;
step S130 shown in fig. 1 may be implemented as follows:
if the judgment result is yes, determining whether the network at the preset time has a fault according to the network jitter value at the preset time and the historical network jitter value at the first historical time.
The first preset value may be determined according to the type of network jitter value and the daily operation condition of the network, and those skilled in the art may also set the first preset value according to an empirical value. For example, the network jitter value is a network jitter rate, the first preset value may be any one of 3G/min to 7G/min, and the first preset value may be other specific values.
In this embodiment, when it is determined that the absolute value of the network jitter value at the predetermined time is not greater than the first preset value, it is determined that the network at the predetermined time does not have large jitter, and at this time, it is directly determined that the network at the predetermined time does not have a fault, so that whether the network has a fault can be detected more quickly.
In one embodiment, as shown in fig. 2, step S130 shown in fig. 1 can be implemented as following steps S131 to S133:
s131: and determining the concentration trend numerical value of the historical network jitter values at the first historical time and the time interval between the time corresponding to the historical network jitter values at the first historical time and a preset time.
Wherein, the central tendency value may be: the centralized trend value may be any one of an average value of the historical network jitter values at the first historical times, a median of the historical network jitter values at the first historical times, and a mode of the historical network jitter values at the first historical times, or another value representing a centralized trend of the historical network jitter values at the first historical times.
S132: and adjusting the historical network jitter value of each first historical moment according to the determined time interval and the concentration trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
The amplitude of the reference network jitter value close to the concentration trend value corresponding to the adjusted historical network jitter value at each first historical moment is inversely proportional to the time interval between the moment corresponding to the historical network jitter value at each first historical moment and the preset moment.
It can be understood that the longer the time interval between the historical network jitter value of the first historical time and the predetermined time or other time needing network detection is, the smaller the referenceability of the historical network jitter value of the first historical time to the network state at the time of detection is, the more the historical network jitter value of the first historical time close to the time of detection is, the more the network state is likely to be closer to the time of detection, and the higher the referenceability of the network state is. Therefore, based on the above analysis, in the embodiment of the present application, the historical network jitter value at the first historical time is adjusted according to the time interval between the historical network jitter value at the first historical time and the detection time, so that the influence of data farther away from the detection time on the detection time is smaller. Specifically, the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at each first historical time toward the concentration trend value is inversely proportional to the time interval between the time corresponding to the historical network jitter value at each first historical time and the preset time.
In the embodiment of the present invention, the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at each first historical time approaching the concentration trend value is inversely proportional to the time interval between the time corresponding to the historical network jitter value at each first historical time and the predetermined time, that is, the longer the time interval between the time corresponding to the historical network jitter value at the first historical time and the predetermined time, the smaller the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the concentration trend value, and after the historical network jitter value at the first historical time is adjusted according to the above principle, the longer the time interval between the time corresponding to the historical network jitter value at the first historical time and the predetermined time, the larger the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the concentration trend value, thus, the influence of data farther away from the detection time on the detection is smaller.
The amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the concentration trend value can be represented by a ratio of a difference between the adjusted historical network jitter value at the first historical time and the concentration trend value to a difference between the unadjusted historical network jitter value at the first historical time and the concentration trend value, and the larger the ratio is, the larger the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the concentration trend value is. For example, when the central tendency value is an average value of the historical network jitter at each first historical time, the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the central tendency value may be: and the ratio of the difference between the adjusted historical network jitter value at the first historical moment and the average value of the historical network jitter values at the first historical moments to the difference between the historical network jitter value at the first historical moment before adjustment and the average value of the historical network jitter values at the first historical moments.
In this embodiment of the present invention, the formula for adjusting the historical network jitter value at the first historical time may be: v ═ V-a) × f (x) + a; wherein V is the historical network jitter value of the first historical moment after adjustment, V is the historical network jitter value of the first historical moment before adjustment, x is the time interval between the moment corresponding to the historical network jitter value of the first historical moment and the preset moment, f (x) is a decreasing function related to x, and a is a concentration trend value. The expression of f (x) may specifically be:
Figure BDA0002112948050000151
or
Figure BDA0002112948050000152
The expression for f (x) may also be other decreasing functions with respect to x. The formula for adjusting the historical network jitter value at the first historical time may also be other specific formulas, and the specific formula for adjusting the historical network jitter value at the first historical time and the specific expression of f (x) are not limited in the embodiment of the present invention.
In a specific embodiment, the following embodiments may be implemented to adjust the historical network jitter value at each first historical time according to the determined time interval and the concentration trend value, so as to obtain the reference network jitter value corresponding to the historical network jitter value at each first historical time:
according to the following jitter value adjusting function, taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein, the jitter value adjusting function may be:
Figure BDA0002112948050000161
wherein i represents i times of a first preset time, the value of i is 1, …, N represents the number of historical network jitter values at a first historical moment, N is a positive integer not less than 2, j is the iteration number, and j is greater than or equal to 1; g (i) is a decreasing function of i; a represents a central tendency value of the historical network jitter values at the first historical time,
Figure BDA0002112948050000162
Figure BDA0002112948050000163
the network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment; a isjIs the centralized trend value of the adjusted historical network jitter value at the first historical moment after the jth iteration,
Figure BDA0002112948050000164
and the adjusted historical network jitter value for the jth iteration.
Substituting the historical network jitter values of the first historical moments, the centralized trend values of the historical network jitter values of the first historical moments and the effectiveness values corresponding to the historical network jitter values of the first historical moments into the jitter value adjustment function, changing the output adjusted historical network jitter values of the first historical moments after each iterative calculation, changing the obtained centralized trend values of the historical network jitter values of the first historical moments, and continuing the second iterative calculation until the difference value of the centralized trend values of the historical network jitter values of the first historical moments obtained by the iterative calculation of the previous iteration and the next iteration is smaller than a preset value, namely | a |j-aj-1| is less than or equal to delta, wherein deltaThe iteration is stopped for a preset value, and the value of the preset value can be set by a person skilled in the art according to actual requirements, for example, the value can be 0.1 or 0.01.
Wherein, the expression of g (i) may specifically be:
Figure BDA0002112948050000165
or
Figure BDA0002112948050000166
The expression for g (i) may also be other decreasing functions with respect to i. The formula for adjusting the historical network jitter value at the first historical time may also be other specific formulas, and the embodiment of the present invention does not limit the specific formula for adjusting the historical network jitter value at the first historical time and the specific expression of g (i).
S133: and determining whether the network at the preset moment has a fault according to the reference network jitter value and the network jitter value at the preset moment.
In one embodiment, the electronic device may detect the predetermined network as follows:
and acquiring the maximum value and the minimum value of the reference network jitter value, and determining the network abnormality at the preset time if the network jitter value at the preset time exceeds the maximum value or is less than the minimum value.
And acquiring the maximum value and the minimum value of each reference network jitter value, judging the relationship between the network jitter value at the preset time and the acquired maximum value and minimum value, and determining the network at the preset time as a fault network when the network jitter value at the preset time exceeds the maximum value or is smaller than the minimum value. Alarm information can be sent out; and when the network jitter value at the preset moment is between the maximum value and the minimum value, determining that the network at the preset moment is a normal network, and at the moment, not sending alarm information.
In another embodiment, the electronic device may also detect the predetermined network as follows:
and acquiring a concentration trend numerical value of the reference network jitter value, and determining the network abnormality at the preset time if the difference value between the network jitter value at the preset time and the concentration trend threshold value exceeds a preset threshold value.
Acquiring a concentration trend numerical value of a reference network jitter value, obtaining a difference value between the network jitter value at a preset moment and a concentration trend threshold value, judging the relation between the difference value and a preset threshold value, and determining that the network at the preset moment is a fault network when the difference value exceeds the preset threshold value; and when the difference value does not exceed the preset threshold value, determining the network at the preset moment as a normal network. The value of the preset threshold can be set by a person skilled in the art according to actual requirements, when network fault detection is required to be strict and accurate, the preset threshold can be set to be larger, and when the network fault detection is not required to be strict and accurate, the preset threshold can be set to be smaller.
In the embodiment, when the network is subjected to fault detection, the judgment is carried out according to the network jitter value at the preset time and the historical network jitter value at the first historical time of each historical time which is 1-N times of the first preset time from the preset time, so that the network jitter value represents the change of the network data, even if the specific setting of the network data is carried out in the same time period of different time periods, although the network data can change obviously, the change, namely the jitter and the historical jitter at the same time do not have obvious difference, therefore, the normal condition that the specific setting of the periodically occurring network data, namely the periodic network jitter, is determined as the network fault by utilizing the jitter to carry out network detection can be reduced, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
In one embodiment, step S132 can be implemented as follows:
the method comprises the following steps: and determining the validity value of the historical network jitter value at the first historical moment according to the determined time interval.
Wherein the validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval.
Step two: and adjusting the historical network jitter value of each first historical moment according to the determined effectiveness value and the centralized trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
The validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval, that is, the validity value of the determined historical network jitter value at the first historical time is inversely proportional to the time interval of the time corresponding to the historical network jitter value at the first historical time from the predetermined time, that is, the longer the time interval of the time corresponding to the historical network jitter value at the first historical time from the predetermined time, the lower the validity of the determined historical network jitter value at the first historical time.
The expression for calculating the validity value may be: η ═ f (x); where η is a validity value of the historical network jitter value at the first historical time, x is a time interval between a time corresponding to the historical network jitter value at the first historical time and a predetermined time, and f (x) is a decreasing function with respect to x. The expression of f (x) may specifically be:
Figure BDA0002112948050000181
or
Figure BDA0002112948050000182
The expression of f (x) may also be other decreasing functions related to x, and the embodiment of the present invention does not limit the specific expression of f (x).
The amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at each first historical time approaching the concentration trend value is inversely proportional to the time interval between the time corresponding to the historical network jitter value at each first historical time and the preset time, and the validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval, that is, the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the concentration trend value is proportional to the validity value of the historical network jitter value at the first historical time, that is, the lower the validity value of the historical network jitter value at the first historical time is, the lower the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at the first historical time approaching the concentration trend value is, and after the historical network jitter value at the first historical time is adjusted according to the above principle, the lower the validity value of the historical network jitter value at the first historical time is, the larger the amplitude of the adjusted reference network jitter value corresponding to the historical network jitter value at the first historical time toward the concentration trend value is.
According to the embodiment, the reference network jitter value is obtained by determining the validity value and the centralized trend value of the historical network jitter value at the first historical moment and then adjusting the historical network jitter value at the first historical moment according to the determined validity value and the centralized trend value, so that the adjustment of the historical network jitter value is facilitated.
In one embodiment, the first step may be implemented as follows:
the first preset time interval can be 1 day, and the number of days of the difference between the date corresponding to the historical network jitter value of the first historical moment and the preset date is determined;
and determining the validity value of the historical network jitter value at the first historical moment according to the determined days.
The date corresponding to the historical network jitter value of the first historical time, that is, the date when the historical network jitter value of the first historical time is generated, may be, for example, 2019.2.1, 2019.2.2 … … 2019.2.7, or the like.
The validity value of the historical network jitter value at the first historical time is inversely proportional to the number of days that the date corresponding to the historical network jitter value at the first historical time differs from the predetermined date, that is, the more days that the date corresponding to the historical network jitter value at the first historical time differs from the predetermined date, the lower the validity of the determined historical network jitter value at the first historical time is.
In one embodiment, the first step may also be implemented as follows:
substituting the determined time interval into a first effectiveness determination formula, and taking an output result of the first effectiveness determination formula as the effectiveness of the historical network jitter value at the first historical moment; wherein the first validity determination formula may be:
Figure BDA0002112948050000191
the time corresponding to the historical network jitter value at the first historical time is i times a first preset time from the preset time; and f, (i) the validity value of the historical network jitter values with the time interval from the preset time being i times of the first preset time, wherein N is the total number of the historical network jitter values.
In another embodiment, the first step can be implemented as follows:
arranging the historical network jitter values of the first historical moment into a sequence according to the time interval between the corresponding moment and a preset moment from long to short; acquiring the arrangement serial number of the historical network jitter value of each first historical moment in the arranged sequence; substituting the arrangement serial number corresponding to the historical network jitter value at the first historical moment into a second validity determination formula, and taking the output result of the second validity determination formula as the validity value of the historical network jitter value at the first historical moment; wherein the second validity determination formula may be:
Figure BDA0002112948050000201
wherein N is the total number of the historical network jitter values; j is the arrangement serial number corresponding to the historical network jitter value; f (j) is the validity value of the jth historical network jitter value.
According to the embodiment, the validity value of the historical network jitter value at the first historical moment is directly calculated according to the formula, and the validity value of the historical network jitter value at the first historical moment can be determined more quickly and conveniently, so that the historical network jitter value at the first historical moment can be adjusted more quickly, and the speed and efficiency of network fault detection are improved.
In one embodiment, the central tendency value may be: the average value of the historical network jitter values of the first historical moments;
correspondingly, the second step can be implemented as follows: calculating the average value of the historical network jitter values of the first historical moments; calculating the difference value between the historical network jitter value at the first historical moment and the average value; calculating the product of the difference value and the validity value corresponding to the difference value aiming at each calculated difference value, and taking the sum of the calculated product and the average value as the adjustment result of the historical network jitter value of the first historical moment corresponding to the difference value; and taking the adjustment result as a reference network jitter value.
In one embodiment, the second step can be implemented as follows:
substituting the historical network jitter values of the first historical moments, the concentration trend numerical values of the historical network jitter values of the first historical moments and the effectiveness corresponding to the historical network jitter values of the first historical moments into a jitter value adjusting function, and taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function may be:
v`i=(Vi-a)×f(i)+a
wherein, v ″, isiUpdating the historical network jitter value of the first historical moment corresponding to the moment with the time interval from the preset moment being i times of the first preset time; viThe network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment; and a is a centralized trend numerical value of the historical network jitter value at each first historical moment.
The jitter value adjustment function may specifically be:
v`i=(Vi-avg) x f (i) + avg; or v ″i=(Vi-mod) × f (i) + mod; or, v ″i=(Vi-med) x f (i) + med; wherein avg is an average value of the historical network jitter values of the first historical moments, mod is a mode of the historical network jitter values of the first historical moments, and med is a median of the historical network jitter values of the first historical moments.
According to the embodiment, the historical network jitter value at the first historical moment is adjusted through the formula, so that the speed of adjusting the historical network jitter value at the first historical moment is higher and more convenient, and the network fault detection speed is higher and the efficiency is higher.
In one embodiment, as shown in FIG. 3, step S132 shown in FIG. 2 can be implemented as the following steps S1-S6:
s1: adjusting the historical network jitter value at the first historical moment according to the determined time interval and the concentration trend value to obtain an adjusted jitter value;
s2: determining a centralized trend value of each adjusted jitter value to obtain an adjusted centralized trend value;
s3: determining the difference between the adjusted central tendency value and the adjusted central tendency value;
s4: judging whether the determined difference is smaller than a second preset difference or not;
s5: if not, updating the value of the historical network jitter value at the first historical moment to the value of the adjusted jitter value, and executing the step S1;
s6: and if the difference is smaller than the second preset difference, taking the adjusted jitter value as a reference network jitter value.
When the adjusted central tendency value obtained in step S2 is the average value of each adjusted network jitter value, the difference between the adjusted central tendency value and the adjusted central tendency value in step S3 may be the difference between the average value of each adjusted network jitter value and the average value of the historical network jitter values at each first historical time.
The second preset difference may be determined according to the accuracy of network fault detection, and when the requirement on the accuracy of network fault detection is high, the second preset difference may be set to be smaller.
In this embodiment, when the difference between the adjusted central trend value and the central trend value before adjustment is not less than the second preset difference, it indicates that the historical network jitter value at the first historical time farther from the predetermined time needs to be further adjusted toward the central trend value, so that the amplitude of the reference network jitter value corresponding to the historical network jitter value at the first historical time after adjustment approaching the central trend value is more matched with the time interval corresponding to the historical network jitter value at the first historical time, and when the difference between the adjusted central trend value and the central trend value before adjustment is less than the preset difference, it indicates that the adjustment of the historical network jitter value at the first historical time does not cause a large change in the central trend value of the historical network jitter values at the first historical times, and at this time, the adjusted historical network jitter value at the first historical time after adjustment is taken as the reference network jitter value, the accuracy of the network detection can be made higher. According to the embodiment, the historical network jitter value at the first historical moment is adjusted for multiple times in an iterative manner to obtain the reference network jitter value, so that the accuracy of network fault detection can be further improved.
Corresponding to the network detection method, an embodiment of the present invention further provides a network detection apparatus, as shown in fig. 4, the apparatus includes:
a historical jitter obtaining unit 410, configured to obtain a historical network jitter value at a first historical time, where the first historical time is: and each time before the preset time and at a distance from the preset time which is 1-N times of the first preset time, wherein N is a positive integer.
A predetermined jitter obtaining unit 420, configured to obtain a network jitter value at a predetermined time.
A network failure detection unit 430, configured to determine whether a network at a predetermined time fails according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time; the network jitter value is a numerical value representing network data change.
When detecting whether the network has a fault, the network fault detection device provided in the embodiment of the present invention determines, according to the network jitter value at the predetermined time and also according to the historical network jitter value at the first historical time of each historical time, which is 1-N times of the first preset time from the predetermined time, so that the network jitter value indicates the change of the network data, even if the specific setting of the network data is made in the same period of time of different time periods, although the network data may vary significantly, however, the change, namely jitter, does not have obvious difference with the historical jitter in the same period, so that the phenomenon that the normal condition of the specific setting of the periodically generated network data, namely the periodic network jitter, is determined as the network fault can be reduced by utilizing the jitter to carry out network detection, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
In one embodiment, the apparatus further comprises:
the jitter judgment unit is used for judging whether the absolute value of the network jitter value at the preset moment is larger than a first preset value or not;
the judging unit is used for judging that the network at the preset moment has no fault when the judgment result of the jitter judging unit is negative;
a network fault detection unit comprising:
and the first fault detection subunit is used for determining whether the network at the preset time has a fault according to the network jitter value at the preset time and the historical network jitter value at the first historical time when the judgment result of the jitter judgment unit is yes.
In one embodiment, the network failure detection unit 430 includes:
the time interval determining subunit is used for determining the concentration trend numerical value of the historical network jitter values at the first historical time and the time interval between the time corresponding to the historical network jitter values at each first historical time and a preset time;
the jitter value adjusting subunit is used for adjusting the historical network jitter value of each first historical moment according to the determined time interval and the concentration trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment; the amplitude of the reference network jitter value close to the concentration trend value corresponding to the adjusted historical network jitter value at each first historical moment is inversely proportional to the time interval between the moment corresponding to the historical network jitter value at each first historical moment and the preset moment;
and the second fault detection subunit is used for determining whether the network at the preset moment has a fault according to the reference network jitter value and the network jitter value at the preset moment.
In one embodiment, the jitter value adjusting subunit includes:
the validity determining module is used for determining a validity value of the historical network jitter value at a first historical moment according to the determined time interval, wherein the validity value of the historical network jitter value at the first historical moment is inversely proportional to the time interval;
and the first jitter value adjusting module is used for adjusting the historical network jitter value of each first historical moment according to the determined validity value and the centralized trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
In one embodiment, the validity determination module is specifically configured to:
substituting the determined time interval into a first effectiveness determination formula, and taking an output result of the first effectiveness determination formula as an effectiveness value of a historical network jitter value at a first historical moment; wherein the first validity determination formula is:
Figure BDA0002112948050000241
the network jitter value of the first historical time is a preset time length which is i times the preset time length from the time corresponding to the historical network jitter value of the first historical time to the preset time; f (i) is the validity value of the historical network jitter value with the time interval from the preset time being i times the first preset time.
The first jitter value adjusting module is specifically configured to:
substituting the historical network jitter value of each first historical moment, the concentration trend numerical value of the historical network jitter value of each first historical moment and the validity value corresponding to the historical network jitter value of each first historical moment into a jitter value adjusting function, and taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function is:
v`i=(Vi-a)×f(i)+a;
wherein, v ″, isiUpdating the historical network jitter value of the first historical moment corresponding to the moment with the time interval from the preset moment being i times of the first preset time; viA first preset time interval of i times from a preset timeHistorical network jitter values of a first historical moment corresponding to the time of the duration; and a is a centralized trend numerical value of the historical network jitter value at each first historical moment.
In an embodiment, the jitter value adjusting subunit is specifically configured to:
according to the following jitter value adjusting function, taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function is:
Figure BDA0002112948050000242
wherein i represents i times of a first preset time, the value of i is 1, …, N represents the number of historical network jitter values at a first historical moment, N is a positive integer not less than 2, j is the iteration number, and j is greater than or equal to 1; g (i) is a decreasing function of i; a represents a central tendency value of the historical network jitter values at the first historical time,
Figure BDA0002112948050000251
Figure BDA0002112948050000252
the network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment; a isjIs the centralized trend value of the adjusted historical network jitter value at the first historical moment after the jth iteration,
Figure BDA0002112948050000253
and adjusting the adjusted historical network jitter value for the j iteration.
In one embodiment, the jitter value adjusting subunit includes:
the second jitter value adjusting module is used for adjusting the historical network jitter value at the first historical moment according to the determined time interval and the centralized trend value to obtain an adjusted jitter value;
the centralized trend value determining module is used for determining the centralized trend value of each adjusted jitter value to obtain an adjusted centralized trend value;
the difference determining module is used for determining the difference between the adjusted central tendency value and the adjusted central tendency value;
the difference judging module is used for judging whether the determined difference is smaller than a second preset difference or not;
the jitter value updating module is used for updating the value of the historical network jitter value at the first historical moment to the value of the adjusted jitter value and triggering the second jitter value adjusting module to execute the task when the judgment result of the difference judging module is negative;
and the reference network jitter value determining module is used for taking the adjusted jitter value as the reference network jitter value when the judgment result of the difference judging module is yes.
In one embodiment, a network failure detection unit includes:
the first determining subunit is used for acquiring the maximum value and the minimum value of the reference network jitter value, and determining the network abnormality at the preset time if the network jitter value at the preset time exceeds the maximum value or is smaller than the minimum value;
and the second determining subunit is used for acquiring a concentration trend numerical value of the reference network jitter value, and if the difference value between the network jitter value at the preset moment and the concentration trend threshold value exceeds a preset threshold value, determining the network abnormality at the preset moment.
In one embodiment, the historical network jitter value at the first historical time is the ratio of the difference between the network data at the first historical time and the network data at the historical time before the first historical time and the historical time with the first historical time being a second preset time length to the second preset time length;
the network jitter value at the preset time is the ratio of the difference between the network data at the preset time and the network data before the preset time and at the historical time with the preset time being a second preset time length to the second preset time length.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501, when executing the program stored in the memory 503, implements the following steps:
acquiring a historical network jitter value at a first historical moment, wherein the first historical moment is as follows: each time before the preset time and 1-N times of the first preset time from the preset time, wherein N is a positive integer;
acquiring a network jitter value at a preset moment;
determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment;
the network jitter value is a numerical value representing network data change.
When the electronic equipment provided by the embodiment of the invention detects whether the network has a fault, the electronic equipment judges according to the network jitter value of the preset time and the historical network jitter value of the first historical time of each historical time, which is 1-N times of the first preset time from the preset time, so that the network jitter value represents the change of the network data, even if the specific setting of the network data is carried out in the same time period of different time periods, although the network data can change obviously, the change, namely jitter and the historical jitter of the same period do not have obvious difference, therefore, the normal condition that the specific setting of the periodically generated network data, namely the periodic network jitter, is determined as the network fault can be reduced by utilizing the jitter to carry out network detection, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
An embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
acquiring a historical network jitter value at a first historical moment, wherein the first historical moment is as follows: each time before the preset time and 1-N times of the first preset time from the preset time, wherein N is a positive integer;
acquiring a network jitter value at a preset moment;
determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment; the network jitter value is a numerical value representing network data change.
When detecting whether the network has a fault, the network fault detection method provided by the embodiment of the invention judges according to the network jitter value at the preset time and also according to the historical network jitter value at the first historical time of each historical time with the distance from the preset time being 1-N times of the first preset time, so that the network jitter value represents the change of network data, even if the specific setting of the network data is made in the same period of time of different time periods, although the network data may vary significantly, however, the change, namely the jitter, does not have obvious difference with the historical jitter in the same period, so that the phenomenon that the normal condition of the specific setting of the periodically generated network data, namely the periodic network jitter, is determined as the network fault can be reduced by utilizing the jitter to carry out network detection, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
Embodiments of the present invention also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the following method steps:
acquiring a historical network jitter value of a first historical moment, wherein the first historical moment is as follows: each time before the preset time and 1-N times of the first preset time from the preset time, wherein N is a positive integer;
acquiring a network jitter value at a preset moment;
determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment; the network jitter value is a numerical value representing network data change.
When the program product provided by the embodiment of the invention detects whether the network has a fault, the program product judges according to the network jitter value of the preset time and the historical network jitter value of the first historical time of each historical time, which is 1-N times of the first preset time from the preset time, so that the network jitter value represents the change of the network data, even if the specific setting of the network data is carried out in the same time period of different time periods, although the network data can change obviously, the change, namely the jitter and the historical jitter of the same period do not have obvious difference, therefore, the normal condition that the specific setting of the periodically generated network data, namely the periodic network jitter, is determined as the network fault can be reduced by utilizing the jitter to carry out network detection, the accuracy of network fault detection is improved, and the false alarm phenomenon is reduced.
For the apparatus/electronic device/storage medium/program product embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus/electronic device/storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (18)

1. A method of network fault detection, the method comprising:
acquiring a historical network jitter value of a first historical moment, wherein the first historical moment is as follows: each time before the preset time and 1-N times of a first preset time from the preset time, wherein N is a positive integer;
acquiring a network jitter value at the preset moment;
determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment; wherein the network jitter value is a numerical value representing network data change;
the step of determining whether the network at the predetermined time has a fault according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time includes:
determining a centralized trend numerical value of the historical network jitter values of the first historical moments and a time interval between the moment corresponding to the historical network jitter value of each first historical moment and the preset moment;
according to the determined time interval and the concentration trend value, the historical network jitter value of each first historical moment is adjusted to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment; the adjusted amplitude of the reference network jitter value corresponding to the historical network jitter value at each first historical moment to the concentration trend value is inversely proportional to the time interval between the moment corresponding to the historical network jitter value at each first historical moment and the preset moment;
and determining whether the network at the preset moment has a fault according to the reference network jitter value and the network jitter value at the preset moment.
2. The method according to claim 1, wherein before determining whether the network at the predetermined time has failed according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time, the method further comprises:
judging whether the absolute value of the network jitter value at the preset moment is greater than a first preset value or not;
if the network failure rate is not greater than the first preset value, judging that the network at the preset moment has no failure;
the step of determining whether the network at the predetermined time has a fault according to the network jitter value at the predetermined time and the historical network jitter value at the first historical time includes:
and if the network jitter value is larger than the first preset value, determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment.
3. The method according to claim 1, wherein the step of adjusting the historical network jitter value at each of the first historical times according to the determined time interval and the central tendency value to obtain the reference network jitter value corresponding to the historical network jitter value at each of the first historical times comprises:
determining a validity value of the historical network jitter value at the first historical time according to the determined time interval, wherein the validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval;
and adjusting the historical network jitter value of each first historical moment according to the determined effectiveness value and the concentration trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
4. The method according to claim 3, wherein the step of determining the validity value of the historical network jitter value at the first historical time based on the determined time interval comprises:
substituting the determined time interval into a first validity determination formula, and taking an output result of the first validity determination formula as a validity value of the historical network jitter value at the first historical moment; wherein the first validity determination formula is:
Figure 456524DEST_PATH_IMAGE001
wherein i is the distance between the time corresponding to the historical network jitter value of the first historical time and the pre-thresholdI times of a first preset time length at a fixed time;
Figure 435981DEST_PATH_IMAGE002
the time interval from the preset moment is the validity value of the historical network jitter value which is i times of the first preset time;
the step of adjusting the historical network jitter value at each first historical time according to the determined validity value and the centralized trend value to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time includes:
substituting the historical network jitter value of each first historical moment, the concentration trend numerical value of the historical network jitter value of each first historical moment and the effectiveness value corresponding to the historical network jitter value of each first historical moment into a jitter value adjusting function, and taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function is:
Figure 12456DEST_PATH_IMAGE003
wherein the content of the first and second substances,
Figure 217785DEST_PATH_IMAGE004
updating the historical network jitter value of the first historical moment corresponding to the moment with the time interval from the preset moment being i times of the first preset time;
Figure 828895DEST_PATH_IMAGE005
the historical network jitter value of a first historical moment corresponding to a moment with a time interval which is i times a first preset duration from a preset moment;
Figure 198828DEST_PATH_IMAGE006
the central tendency value of the historical network jitter value at each first historical moment.
5. The method according to claim 1, wherein the step of adjusting the historical network jitter value at each of the first historical times according to the determined time interval and the central tendency value to obtain the reference network jitter value corresponding to the historical network jitter value at each of the first historical times comprises:
according to a jitter value adjusting function, taking an output result of the jitter value adjusting function as an adjusted historical network jitter value of a first historical moment; wherein the jitter value adjustment function is:
Figure 528178DEST_PATH_IMAGE007
wherein i represents i times of a first preset time, the value of i is 1, …, N represents the number of historical network jitter values at a first historical moment, N is a positive integer not less than 2, j is the iteration number, and j is greater than or equal to 1;
Figure 274548DEST_PATH_IMAGE008
a decreasing function of i;
Figure 740164DEST_PATH_IMAGE006
a central tendency value representing historical network jitter values for a first historical time instance,
Figure 530266DEST_PATH_IMAGE009
=
Figure 832065DEST_PATH_IMAGE010
,
Figure 365815DEST_PATH_IMAGE011
the network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment;
Figure 685938DEST_PATH_IMAGE012
is the centralized trend value of the adjusted historical network jitter value at the first historical moment after the jth iteration,
Figure 660323DEST_PATH_IMAGE013
and adjusting the adjusted historical network jitter value for the j iteration.
6. The method according to claim 1, wherein the step of adjusting the historical network jitter value at each of the first historical time points according to the determined time interval and the central tendency value to obtain the reference network jitter value corresponding to the historical network jitter value at each of the first historical time points comprises:
s1: adjusting the historical network jitter value of the first historical moment according to the determined time interval and the concentration trend value to obtain an adjusted jitter value;
s2: determining a centralized trend value of each adjusted jitter value to obtain an adjusted centralized trend value;
s3: determining a difference between the adjusted central tendency value and the adjusted central tendency value;
s4: judging whether the determined difference is smaller than a second preset difference or not;
s5: if not, updating the value of the historical network jitter value at the first historical moment to the value of the adjusted jitter value, and executing the step S1;
s6: and if the difference is smaller than a second preset difference, taking the adjusted jitter value as a reference network jitter value.
7. The method according to claim 1, wherein the step of determining whether the network at the predetermined time has a failure according to the reference network jitter value and the network jitter value at the predetermined time comprises:
acquiring the maximum value and the minimum value of the reference network jitter value, and determining the network abnormality at the preset time if the network jitter value at the preset time exceeds the maximum value or is smaller than the minimum value;
and/or the presence of a gas in the gas,
and acquiring a centralized trend numerical value of the reference network jitter value, and determining the network abnormality at the preset time if the difference value between the network jitter value at the preset time and the centralized trend numerical value exceeds a preset threshold value.
8. The network fault detection method according to any one of claims 1 to 7, wherein the historical network jitter value at the first historical time is a ratio of a difference between the network data at the first historical time and the network data at the historical time before the first historical time and before the first historical time, the historical time being a second predetermined time from the first historical time to the second predetermined time;
the network jitter value at the preset time is the ratio of the difference between the network data at the preset time and the network data at the historical time before the preset time and before the preset time, wherein the distance between the preset time and the network data at the historical time is the second preset time length, and the second preset time length.
9. An apparatus for network fault detection, the apparatus comprising:
a history jitter obtaining unit, configured to obtain a history network jitter value at a first history time, where the first history time is: each time before the preset time and 1-N times of a first preset time from the preset time, wherein N is a positive integer;
a preset jitter obtaining unit, configured to obtain a network jitter value at the preset time;
the network fault detection unit is used for determining whether the network at the preset moment has a fault according to the network jitter value at the preset moment and the historical network jitter value at the first historical moment; wherein the network jitter value is a numerical value representing network data change;
a network fault detection unit comprising:
a time interval determining subunit, configured to determine a central trend value of the historical network jitter values at the first historical time and a time interval between a time corresponding to the historical network jitter value at each of the first historical times and the predetermined time;
a jitter value adjusting subunit, configured to adjust the historical network jitter value at each first historical time according to the determined time interval and the concentration trend value, to obtain a reference network jitter value corresponding to the historical network jitter value at each first historical time; the amplitude of the reference network jitter value corresponding to the adjusted historical network jitter value at each first historical moment approaching the concentration trend value is inversely proportional to the time interval from the time corresponding to the historical network jitter value at each first historical moment to the preset time;
and the second fault detection subunit is used for determining whether the network at the preset time has a fault according to the reference network jitter value and the network jitter value at the preset time.
10. The network failure detection apparatus of claim 9, wherein the apparatus further comprises:
the jitter judgment unit is used for judging whether the absolute value of the network jitter value at the preset moment is larger than a first preset value or not;
the judging unit is used for judging that the network at the preset moment has no fault when the judgment result of the jitter judging unit is negative;
the network fault detection unit includes:
and the first fault detection subunit is used for determining whether the network at the preset time has a fault according to the network jitter value at the preset time and the historical network jitter value at the first historical time when the judgment result of the jitter judgment unit is yes.
11. The network failure detection apparatus of claim 9, wherein the jitter value adjusting subunit comprises:
a validity determination module, configured to determine a validity value of the historical network jitter value at the first historical time according to the determined time interval, where the validity value of the historical network jitter value at the first historical time is inversely proportional to the time interval;
and the first jitter value adjusting module is used for adjusting the historical network jitter value of each first historical moment according to the determined effectiveness value and the centralized trend value to obtain a reference network jitter value corresponding to the historical network jitter value of each first historical moment.
12. The network failure detection device according to claim 11, wherein the validity determination module is specifically configured to:
substituting the determined time interval into a first validity determination formula, and taking an output result of the first validity determination formula as a validity value of the historical network jitter value at the first historical moment; wherein the first validity determination formula is:
Figure 229844DEST_PATH_IMAGE001
the time corresponding to the historical network jitter value at the first historical time is i times a first preset time from the preset time;
Figure 52438DEST_PATH_IMAGE002
the time interval from the preset moment is the validity value of the historical network jitter value which is i times of the first preset time;
the first jitter value adjusting module is specifically configured to:
substituting the historical network jitter value of each first historical moment, the concentration trend numerical value of the historical network jitter value of each first historical moment and the effectiveness value corresponding to the historical network jitter value of each first historical moment into a jitter value adjusting function, and taking the output result of the jitter value adjusting function as the adjusted historical network jitter value of the first historical moment; wherein the jitter value adjustment function is:
Figure 492646DEST_PATH_IMAGE003
wherein the content of the first and second substances,
Figure 375283DEST_PATH_IMAGE004
updating the historical network jitter value of the first historical moment corresponding to the moment with the time interval from the preset moment being i times of the first preset time;
Figure 900942DEST_PATH_IMAGE005
the network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment;
Figure 776494DEST_PATH_IMAGE006
and the central tendency numerical value is the historical network jitter value of each first historical moment.
13. The network failure detection device according to claim 9, wherein the jitter value adjusting subunit is specifically configured to:
according to a jitter value adjusting function, taking an output result of the jitter value adjusting function as an adjusted historical network jitter value of a first historical moment; wherein the jitter value adjustment function is:
Figure 821942DEST_PATH_IMAGE007
wherein i represents i times of a first preset time, the value of i is 1, …, N represents the number of historical network jitter values at a first historical moment, N is a positive integer not less than 2, j is the iteration number, and j is greater than or equal to 1;
Figure 390326DEST_PATH_IMAGE008
a decreasing function of i;
Figure 137703DEST_PATH_IMAGE006
a central tendency value representing historical network jitter values for a first historical time instance,
Figure 830328DEST_PATH_IMAGE009
=
Figure 979549DEST_PATH_IMAGE010
,
Figure 203988DEST_PATH_IMAGE011
the network jitter value is a historical network jitter value of a first historical moment corresponding to a moment with a time interval of i times a first preset time from a preset moment;
Figure 704240DEST_PATH_IMAGE012
is the centralized trend value of the adjusted historical network jitter value at the first historical moment after the jth iteration,
Figure 921594DEST_PATH_IMAGE013
and adjusting the adjusted historical network jitter value for the j iteration.
14. The network failure detection apparatus of claim 9, wherein the jitter value adjusting subunit comprises:
the second jitter value adjusting module is used for adjusting the historical network jitter value of the first historical moment according to the determined time interval and the centralized trend value to obtain an adjusted jitter value;
the centralized trend value determining module is used for determining the centralized trend value of each adjusted jitter value to obtain an adjusted centralized trend value;
a difference determining module for determining a difference between the adjusted central tendency value and the adjusted central tendency value;
the difference judging module is used for judging whether the determined difference is smaller than a second preset difference or not;
the jitter value updating module is used for updating the value of the historical network jitter value at the first historical moment to the value of the adjusted jitter value and triggering the second jitter value adjusting module to execute a task when the judgment result of the difference judging module is negative;
and the reference network jitter value determining module is used for taking the adjusted jitter value as a reference network jitter value when the judgment result of the difference judging module is yes.
15. The network failure detection apparatus according to claim 9, wherein the network failure detection unit includes:
the first determining subunit is configured to obtain a maximum value and a minimum value of the reference network jitter value, and determine that the network at the predetermined time is abnormal if the network jitter value at the predetermined time exceeds the maximum value or is smaller than the minimum value;
and the second determining subunit is configured to obtain a centralized trend value of the reference network jitter value, and determine that the network at the predetermined time is abnormal if a difference between the network jitter value at the predetermined time and the centralized trend value exceeds a preset threshold.
16. The network fault detection device according to any one of claims 9 to 15, wherein the historical network jitter value at the first historical time is a ratio of a difference between the network data at the first historical time and the network data at the historical time before the first historical time and before the first historical time, the historical time being a second predetermined time from the first historical time to the second predetermined time;
the network jitter value at the preset time is the ratio of the difference between the network data at the preset time and the network data at the historical time before the preset time and before the preset time, wherein the distance between the preset time and the network data at the historical time is the second preset time length, and the second preset time length.
17. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the bus;
the memory is used for storing a computer program;
the processor, configured to execute the program stored in the memory, implements the method steps of any of claims 1-8.
18. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-8.
CN201910580432.7A 2019-06-28 2019-06-28 Network fault detection method and device, electronic equipment and storage medium Active CN112152868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910580432.7A CN112152868B (en) 2019-06-28 2019-06-28 Network fault detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910580432.7A CN112152868B (en) 2019-06-28 2019-06-28 Network fault detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112152868A CN112152868A (en) 2020-12-29
CN112152868B true CN112152868B (en) 2022-05-06

Family

ID=73892065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910580432.7A Active CN112152868B (en) 2019-06-28 2019-06-28 Network fault detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112152868B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039892B (en) * 2021-11-26 2022-11-29 中电信数智科技有限公司 Network jitter analysis and visualization method and system
CN114466392B (en) * 2022-04-11 2022-06-24 天津艾洛克通讯设备科技有限公司 Intelligent WIFI diagnostic expert speed measuring terminal
CN115882944A (en) * 2022-12-06 2023-03-31 中国联合网络通信集团有限公司 Detection method, detection device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094207A (en) * 2017-06-26 2017-08-25 携程旅游信息技术(上海)有限公司 A kind of traffic indicator abnormal automatic testing method and its automatic detection device
CN107705149A (en) * 2017-09-22 2018-02-16 平安科技(深圳)有限公司 Data method for real-time monitoring, device, terminal device and storage medium
CN108599995A (en) * 2018-03-28 2018-09-28 北京大米科技有限公司 Network line failure judgment method and server
CN109714180A (en) * 2017-10-26 2019-05-03 中兴通讯股份有限公司 Pressure subtracts method, relevant device and the storage medium of redundant alarm
CN109743187A (en) * 2018-11-23 2019-05-10 北京奇安信科技有限公司 Industry control network method for detecting abnormality and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9565203B2 (en) * 2014-11-13 2017-02-07 Cyber-Ark Software Ltd. Systems and methods for detection of anomalous network behavior
CN108063676A (en) * 2016-11-08 2018-05-22 中国移动通信集团山西有限公司 Communication network failure method for early warning and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094207A (en) * 2017-06-26 2017-08-25 携程旅游信息技术(上海)有限公司 A kind of traffic indicator abnormal automatic testing method and its automatic detection device
CN107705149A (en) * 2017-09-22 2018-02-16 平安科技(深圳)有限公司 Data method for real-time monitoring, device, terminal device and storage medium
CN109714180A (en) * 2017-10-26 2019-05-03 中兴通讯股份有限公司 Pressure subtracts method, relevant device and the storage medium of redundant alarm
CN108599995A (en) * 2018-03-28 2018-09-28 北京大米科技有限公司 Network line failure judgment method and server
CN109743187A (en) * 2018-11-23 2019-05-10 北京奇安信科技有限公司 Industry control network method for detecting abnormality and device

Also Published As

Publication number Publication date
CN112152868A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN112152868B (en) Network fault detection method and device, electronic equipment and storage medium
CN109558295B (en) Performance index abnormality detection method and device
CN107871190B (en) Service index monitoring method and device
TWI819385B (en) Abnormal alarm methods, devices, equipment and storage media
US9141914B2 (en) System and method for ranking anomalies
CN112188531B (en) Abnormality detection method, abnormality detection device, electronic apparatus, and computer storage medium
CN108920336B (en) Service abnormity prompting method and device based on time sequence
US20130173215A1 (en) Adaptive trend-change detection and function fitting system and method
US20230070276A1 (en) Prediction method and apparatus, readable medium and electronic device
CN112152833B (en) Network abnormity alarm method and device and electronic equipment
WO2021185182A1 (en) Anomaly detection method and apparatus
CN107222497B (en) Network flow abnormity monitoring method and electronic equipment
CN110661717A (en) Current limiting method and device and electronic equipment
CN107682354B (en) Network virus detection method, device and equipment
CN114444827A (en) Cluster performance evaluation method and device
CN111601329B (en) Port interrupt alarm processing method and device
CN112152869B (en) Network detection method and device, electronic equipment and storage medium
CN115296979B (en) Fault processing method, device, equipment and storage medium
CN110336680B (en) Network broadcast control method, system, electronic equipment and storage medium
CN108959415B (en) Abnormal dimension positioning method and device and electronic equipment
CN114157486B (en) Communication flow data abnormity detection method and device, electronic equipment and storage medium
CN107370618B (en) Troubleshooting method and device and electronic equipment
CN115378794A (en) Gateway fault detection method and device based on snapshot mode
CN111651503B (en) Power distribution network data anomaly identification method and system and terminal equipment
CN113094241B (en) Method, device, equipment and storage medium for determining accuracy of real-time program

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