[go: up one dir, main page]

CN113904956B - Network health degree detection method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113904956B
CN113904956B CN202111277210.1A CN202111277210A CN113904956B CN 113904956 B CN113904956 B CN 113904956B CN 202111277210 A CN202111277210 A CN 202111277210A CN 113904956 B CN113904956 B CN 113904956B
Authority
CN
China
Prior art keywords
health
network
determining
retransmission rate
application
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
CN202111277210.1A
Other languages
Chinese (zh)
Other versions
CN113904956A (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.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202111277210.1A priority Critical patent/CN113904956B/en
Publication of CN113904956A publication Critical patent/CN113904956A/en
Application granted granted Critical
Publication of CN113904956B publication Critical patent/CN113904956B/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/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

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

Abstract

The invention discloses a network health degree detection method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining the health degree of equipment according to the network state of the equipment in the target network, and determining the link health degree according to the fault state of a physical link contained in the target network; determining network perceived health and application perceived health by using index parameters for establishing TCP connection in a target network; outputting the device health, the link health, the network perceived health and the application perceived health. The equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree can reflect the network health problem from multiple dimensions, so that network operation and maintenance personnel can know different reasons for generating network faults or network blocking from different dimensions, and the judgment error rate is reduced.

Description

Network health degree detection method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for detecting network health, an electronic device, and a storage medium.
Background
With the development of the interconnection communication technology, the network health condition is related to the experience of the user, and high-complexity monitoring difficulty is brought to network maintenance personnel.
Currently, for monitoring network health, the health of a device link belonging to a physical layer is generally monitored. Thus, only the condition of off-network or physical link failure of the equipment can be fed back, and the condition of unstable application access caused by network blockage can not be fed back.
Disclosure of Invention
The invention aims at providing a network health degree detection method, a device, an electronic device and a storage medium aiming at the defects of the prior art, and the aim is achieved through the following technical scheme.
The first aspect of the present invention proposes a network health detection method, the method comprising:
determining the health degree of equipment according to the network state of the equipment in a target network, and determining the link health degree according to the fault state of a physical link contained in the target network;
determining network perceived health and application perceived health by using index parameters for establishing TCP connection in the target network;
outputting the equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree.
A second aspect of the present invention proposes a network health detection device, the device comprising:
the device and link detection module is used for determining the health degree of the device according to the network state of the device in the target network and determining the link health degree according to the fault state of the physical link contained in the target network;
the network and application detection module is used for determining network perceived health and application perceived health by utilizing index parameters for establishing TCP connection in the target network;
and the output module is used for outputting the equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree.
A third aspect of the invention proposes an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, said processor implementing the steps of the method according to the first aspect described above when said program is executed.
A fourth aspect of the invention proposes a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method according to the first aspect described above.
Based on the network health detection method and device described in the first and second aspects, the present invention has at least the following beneficial effects or advantages:
the device health and the link health in the network can be determined to reflect the device network health of the physical layer and the data link layer, and the network perceived health and the application perceived health can reflect the network health of the transmission layer and the comprehensive network health of the physical layer, the data link layer, the transmission layer and the application layer can be determined by utilizing the two index data of the response time delay and the retransmission rate of the TCP link establishment performed by the client in the network. The equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree can reflect the network health problem from multiple dimensions, so that network operation and maintenance personnel can know different reasons for generating network faults or network blocking from different dimensions, and the judgment error rate is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart illustrating an embodiment of a network health detection method according to an exemplary embodiment of the present invention;
FIG. 2 is a flow chart illustrating the determination of overall network perceived health according to the embodiment of FIG. 1;
FIG. 3 is a flow chart illustrating a determination of application perceived health according to the embodiment of FIG. 1;
fig. 4 is a schematic structural diagram of a network health detecting device according to an exemplary embodiment of the present invention;
fig. 5 is a schematic diagram showing a hardware structure of an electronic device according to an exemplary embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a structure of a storage medium according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the invention. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
At present, the health degree of the equipment and the link at the physical layer can only feed back the condition of the off-network of the equipment or the physical link failure, and the network health condition of the application layer or the transmission layer cannot be fed back. In practical applications, network congestion may occur due to excessive application access heat or cross-domain authentication, but the health of devices and links cannot be fed back.
In order to solve the problem of network health feedback one-sided, the application provides an improved network health detection method, namely, the health of equipment is determined according to the network state of the equipment in a target network, the link health is determined according to the fault state of a physical link contained in the target network, and meanwhile, the network perceived health and the application perceived health are determined by using the response time delay and the retransmission rate for establishing TCP connection in the target network, so that the equipment health, the link health, the network perceived health and the application perceived health are output.
The technical effects which can be achieved based on the above description are as follows:
the device health and the link health in the network can be determined to reflect the device network health of the physical layer and the data link layer, and the network perceived health and the application perceived health can reflect the network health of the transmission layer and the comprehensive network health of the physical layer, the data link layer, the transmission layer and the application layer can be determined by utilizing the two index data of the response time delay and the retransmission rate of the TCP link establishment performed by the client in the network. The equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree can reflect the network health problem from multiple dimensions, so that network operation and maintenance personnel can know different reasons for generating network faults or network blocking from different dimensions, and the judgment error rate is reduced.
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
Embodiment one:
fig. 1 is a flowchart of an embodiment of a network health detection method according to an exemplary embodiment of the present invention, where in the embodiment of the present application, the health of a target network is detected, where the target network is configured by a plurality of devices, and a server for providing an application and a client for accessing the application on the server are further included in the target network. As shown in fig. 1, the network health detection method includes the following steps:
step 101: and determining the health degree of the equipment according to the network state of the equipment in the target network, and determining the link health degree according to the fault state of the physical link contained in the target network.
The on-network status of the device may include whether an off-network alarm has occurred on the device, and the port status on the device (including abnormal down and normal up). The failure state of the physical link refers to whether an RLOS alarm has occurred. The RLOS alarm refers to a link alarm generated by fiber break, end station transmission failure, or excessive line attenuation, etc.
The following description will be made on the determination process of the device health degree and the determination process of the link health degree, respectively:
(1) Device health determination process
1. For each device deployed in the target network, a single device health score is determined from the network states of the devices.
Wherein the health score of an individual device is related to factors such as the off-network status, port status, etc. of the device.
In an alternative embodiment, if the device generates an offline alarm, the single device health score of the device is determined to be 0 score, if the device does not generate an offline alarm, the port proportion of the device with abnormal port state is calculated, and the single device health score of the device is calculated according to the port proportion.
Wherein the higher the port proportion of the port state anomaly, the lower the single device health score. For example, a device has 4 ports, one port state is abnormal, then the port state is abnormal with a port proportion of 25%, and the single device health score may be determined to be 75 points (100 points full).
The above determination manner is merely an exemplary illustration, and the specific determination manner of the health score of a single device is not specifically limited in the present application.
2. A weighting weight for each device is obtained from the home hierarchy of each device.
The attribution level of the equipment can comprise three types of provincial level core equipment, municipal level core equipment and municipal level convergence equipment, different levels reflect different influence ranges, and the larger the influence range is, the higher the weight is.
For example, for a provincial core device that affects the network of the entire province, the weight w1 is highest, 60%; for the market-level core equipment, the core equipment is responsible for high-speed forwarding and is connected with the outside, the quantity of the equipment is small, and the weight w2 is highest and is 25% in the market-level equipment; for the city level convergence device, the city level convergence device covers an area, the number of devices is large, the influence area is smaller than that of the core device after the problem occurs, and the weight w3 times is 15%.
3. The overall device health is determined using the individual device health scores and the weighted weights for each device.
Alternatively, the average value of the single device health scores of devices belonging to the same home hierarchy may be calculated first, and then the weighted summation is performed by using each average value to obtain the overall device health.
The following gives a specific calculation procedure of the overall device health by taking three types of home hierarchy classification as examples:
Figure BDA0003329884070000051
where Ni (i=1, 2, 3) represents the total number of ith home hierarchy equipment, s ij A single device health score for the jth device representing the ith home level device, si represents the overall health score for devices belonging to the ith home level.
s=w1*s1+w2*s2+w3*s3 (2)
Wherein s1 represents the mean value of the provincial core equipment, and w1 is the weight of the provincial core equipment; s2 represents that the home level is the mean value of the market-level core device, and w2 is the weight thereof; s3 denotes that the home level is the mean of the market level aggregation devices, w3 is its weight.
(1) Link health determination process
1. And determining a single link health score according to the fault state of each physical link contained in the target network.
Optionally, if the RLOS alarm occurs on the physical link, determining a single link health score of the physical link as 0 score; if the RLOS alert does not occur for the physical link, the single link health score for the physical link is determined to be 100 points.
2. And determining the overall link health by utilizing the single link health score of each physical link.
Alternatively, the average of the single link health scores for each physical link may be taken as the overall link health.
From the above description, it is clear that the device health and the link health may reflect the condition of the physical layer and the device of the data link layer being off-line or the link failure.
Step 102: and determining the network perceived health and the application perceived health by using index parameters for establishing the TCP connection in the target network.
The index parameters of the TCP connection can reflect the network health conditions of the network layer, the transport layer and the application layer under the condition that the physical layer and the data link layer are normal because the TCP connection uses a network upper layer protocol. It should be noted that the index parameter of the TCP connection may be extracted from the session details generated in the target network.
Illustratively, the index parameters of a TCP connection may be divided into three categories, namely a server index, a client index, and a generic index.
The server side indexes comprise response success rate and response time delay of service access and response time delay of establishing TCP connection; the index for the client includes an acknowledgement delay for establishing the TCP connection; the common indicator includes the retransmission rate of the TCP connection.
In the embodiment of the application, if the TCP connections are converged according to the geographic area, the index parameters of the TCP connections can reflect the network health condition of the geographic area, and if the TCP connections are converged according to the access application, the index parameters of the TCP connections can reflect the network health condition of the access application, so that the index parameters for establishing the TCP connections can be utilized to obtain the network health degree of two dimensions, namely the network perceived health degree and the application perceived health degree.
It should be noted that, for the specific determination process of the network perceived health and the application perceived health, reference may be made to the related description in the following embodiments, which are not described in detail herein.
Step 103: outputting the device health, the link health, the network perceived health and the application perceived health.
The health degree of the three dimensions is output, so that network operation and maintenance personnel can know different reasons for generating network faults or network blocking from different dimensions, and the judgment error rate is reduced.
Thus, the detection flow shown in fig. 1 is completed, the device health and the link health in the network are determined, the device network health of the physical layer and the data link layer can be reflected, the network perceived health and the application perceived health are determined by using two index data, namely the response time delay and the retransmission rate of the TCP link establishment performed by the client in the network, the network perceived health can reflect the network health of the transmission layer, and the application perceived health can reflect the comprehensive network health of the physical layer, the data link layer, the transmission layer and the application layer. The equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree can reflect the network health problem from multiple dimensions, so that network operation and maintenance personnel can know different reasons for generating network faults or network blocking from different dimensions, and the judgment error rate is reduced.
Embodiment two:
fig. 2 is a flow chart illustrating an overall determination of network perceived health according to the embodiment of fig. 1, and the index parameters include response time delay and retransmission rate according to the embodiment of fig. 1. As shown in fig. 2, the determining procedure of the network perceived health includes the steps of:
step 201: and determining a single-area network perceived health score according to response time delay and retransmission rate of the TCP connection established in the geographic area in the current period of time aiming at each geographic area covered by the target network.
The geographic area covered by the target network may be divided by the city level unit, that is, the single-area network perceived health score of each city is determined according to the index parameter of the TCP connection in each city covered by the target network.
Before step 201 is performed, a baseline interval of the index needs to be obtained in advance, and in this embodiment, a response delay baseline area and a retransmission rate baseline interval need to be obtained in advance.
In an alternative embodiment, firstly, eliminating abnormal response time delay and abnormal retransmission rate from response time delay and retransmission rate in a history period respectively, then obtaining a first expected value and a first standard deviation of the response time delay after elimination, determining a response time delay baseline interval by using the first expected value and the first standard deviation, simultaneously obtaining a second expected value and a second standard deviation of the retransmission rate after elimination, and determining a retransmission rate baseline interval by using the second expected value and the second standard deviation.
The collected response time delay and retransmission rate can be removed through abnormal values, so that the statistical accuracy is improved.
For example, abnormal values can be removed by adopting a box graph mode, and the removal process is specifically described by taking the abnormal removal of retransmission rate as an example:
1. the retransmission rates in the history period are sorted in order of small arrival, and five statistics of the median, the first quartile Q1, the third quartile Q3, the minimum value, and the maximum value are then obtained from the sorting result.
2. The quartile range iqr=q3-Q1 is calculated using the first quartile Q1 and the third quartile Q3.
3. Two outlier cutoff points are calculated using the quartile range IQR, the first quartile Q1, and the third quartile Q3: q3+1.5IQR and Q1-1.5IQR
4. Retransmission rates outside (Q1-1.5 IQR, Q3+1.5 IQR) are eliminated as outliers.
Alternatively, when the second expected value μ2 and the second standard deviation σ2 of the retransmission rate after the rejection are obtained, the retransmission rate baseline interval may be determined to be (μ2, μ2+3×σ2) under the normal distribution condition.
Those skilled in the art will understand that the principle of outlier rejection for response delay and the principle of determining the baseline interval of response delay are the same as the principle of rejection for retransmission rate and the determination of baseline interval of retransmission rate described above, and will not be described in detail herein.
Based on this, in an optional embodiment, in the determining process of the perceived health score of the single area network, the response delay belonging to the geographic area in the current period may be scored according to the response delay baseline interval, so as to obtain a response delay score, and meanwhile, the retransmission rate belonging to the geographic area in the current period may be scored according to the retransmission rate baseline interval, so as to obtain a retransmission rate score, and finally, the perceived health score of the single area network of the geographic area may be obtained by using the response delay score and the retransmission rate score.
1. The scoring process for response delay scores is as follows:
when the response delay is within the response delay baseline interval, a response delay value can be obtained according to the response delay, the first expected value and the first standard deviation, and the calculation formula is as follows:
response delay score = 100-100 (response delay-first expected value)/(3 first standard deviation)
When the response time delay is outside the response time delay baseline interval, if the response time delay is smaller than or equal to the minimum value of the response time delay baseline interval, determining a first preset value as a response time delay value; if the response time delay is greater than or equal to the maximum value of the response time delay baseline interval, determining a second preset value as a response time delay value;
wherein the first preset value is greater than the second preset value. The first preset value may be 100 minutes and the second preset value is 0 minutes.
2. The scoring process for the retransmission rate score is specifically as follows:
when the retransmission rate is located in the retransmission rate baseline interval, obtaining a retransmission rate score according to the retransmission rate, the second expected value and the second standard deviation, wherein the calculation formula is as follows:
retransmission rate score = 100-100 (retransmission rate-second expected value)/(3 second standard deviation)
When the retransmission rate is positioned outside the retransmission rate baseline interval, if the retransmission rate is smaller than or equal to the minimum value of the retransmission rate baseline interval, determining a third preset value as a retransmission rate score; if the retransmission rate is greater than or equal to the maximum value of the retransmission rate baseline interval, determining a fourth preset value as a retransmission rate score;
wherein the third preset value is greater than the fourth preset value. The third preset value may be 100 minutes, and the fourth preset value may be 0 minutes.
2. The determining process for the single area network perceived health score specifically comprises the following steps:
the mean value of the response delay scores and the mean value of the retransmission rate scores of all the TCP connections in the geographic area can be calculated first, and the single-area network perceived health score of the geographic area can be obtained by carrying out weighted summation on the mean value of the response delay scores and the mean value of the retransmission rate scores.
Step 202: the weight of each geographic area is determined based on the application access heat of each geographic area.
Wherein the application access popularity of a geographic area refers to the total access volume of the individual servers belonging to the geographic area. The higher this application access heat, the higher the corresponding weight.
For example, the specific gravity of the application access heat of each geographic area over the application access heat of all geographic areas may be used as a weight.
Step 203: and determining the overall network perceived health by utilizing the single-area network perceived health score and the weight of each geographic area.
Alternatively, the health scores may be weighted and summed for each geographic region over a single area network.
The above-mentioned determination flow of network perceived health shown in fig. 2 is completed, the TCP connections are converged according to different geographical areas, so that the network health condition of the geographical area to which the single-area network perceived health score belongs is reflected, and the weight of the geographical area is determined by using the application access heat of the geographical area, when the overall network perceived health is determined, the influence of the health score of the geographical area with high application access heat on the overall network perceived health is relatively large, so that the determined network perceived health can reflect the network health condition of the transmission layer more comprehensively and accurately.
Example III
Fig. 3 is a schematic diagram of a determining flow of application perceived health according to the embodiment shown in fig. 1, based on the embodiment shown in fig. 1, in this embodiment, the index parameters include response delay, retransmission rate, and acknowledgement delay. As shown in fig. 3, the determination procedure of the application perceived health includes the steps of:
step 301: for each application provided by a server in a target network, determining a single application health score according to the retransmission rate, response time delay and acknowledgement time delay of establishing TCP connection when accessing the application, and determining the weight of the application according to the access heat of the application.
The single application health score can reflect the network health condition of accessing a certain single application, and the higher the access heat of the application is, the higher the weight of the application is.
In an alternative embodiment, for the determination of the health score of a single application, there may be multiple clients accessing the single application, and multiple TCP connections may exist, so the average of all retransmission rates, the average of all response delays, and the average of all acknowledgement delays corresponding to the application may be calculated first, and then the health score of the single application may be determined according to the averages, where the calculation formula is as follows:
single application health score = mean of w1 x retransmission rate + mean of w2 x response delay + mean of w3 x acknowledgement delay + mean of w4 x average response time
Wherein w1, w2, w3, w4 represent weights of various indexes of the network transmission establishing TCP connection process; average response time= (acknowledgement delay-response delay)/N, N being the total number of TCP connections.
Step 302: and determining the overall application perceived health according to the single application health score and the weight of each application.
Specifically, the overall application perceived health calculation formula is as follows:
application perceived health = m1 x application 1 health score + m2 x application 2 health score + & mn x application n health score
Where m1, m2 … … mn represent weights for different applications.
The above-mentioned determining procedure of the application perceived health degree shown in fig. 3 is completed, by converging TCP connections according to different applications of access, so that the network health condition of accessing the application is reflected by the single application perceived health score, and by determining the weight of the application by using the access heat degree of the application, when determining the overall application perceived health degree, the influence of the health score of the application with high access heat degree on the overall application perceived health degree is larger, so that the determined application perceived health degree can reflect the network health conditions of the transmission layer and the application layer more comprehensively and accurately.
The invention also provides an embodiment of the network health degree detection device corresponding to the embodiment of the network health degree detection method.
Fig. 4 is a schematic structural diagram of a network health detecting device according to an exemplary embodiment of the present invention, where the device is configured to perform the network health detecting method provided in any one of the foregoing embodiments, and as shown in fig. 4, the network health detecting device includes:
the device and link detection module 410 is configured to determine a device health according to a network state of a device in a target network, and determine a link health according to a failure state of a physical link included in the target network;
the network and application detection module 420 is configured to determine a network perceived health and an application perceived health by using index parameters for establishing a TCP connection in the target network;
the output module 430 is configured to output the device health, the link health, the network perceived health, and the application perceived health.
In an optional embodiment, the device and link detection module 410 is specifically configured to, in determining a device health according to a network state of a device in a target network, determine, for each device deployed in the target network, a single device health score according to the network state of the device, and obtain a weighted weight of the device according to a home hierarchy of the device; the overall device health is determined using the individual device health scores and the weighted weights for each device.
In an optional embodiment, the device and link detection module 410 is specifically configured to determine, for each physical link included in the target network, a single link health score according to a failure state of the physical link in determining a link health according to a failure state of the physical link included in the target network; and determining the overall link health by utilizing the single link health score of each physical link.
In an alternative embodiment, the index parameter includes response delay and retransmission rate; the network and application detection module 420 is specifically configured to determine, for each geographic area covered by the target network, a single-area network perceived health score according to a response delay and a retransmission rate of the TCP connection established in the geographic area during a current period, in determining the network perceived health by using index parameters of the TCP connection established in the target network; determining the weight of each geographic area according to the application access heat of each geographic area; and determining the overall network perceived health by utilizing the single-area network perceived health score and the weight of each geographic area.
In an alternative embodiment, the index parameter includes response delay and retransmission rate; the network and application detection module 420 is specifically configured to, in determining a single-area network perceived health score according to a response time delay and a retransmission rate of establishing a TCP connection in the geographic area in a current period, respectively obtain a response time delay baseline interval and a retransmission rate baseline interval according to the response time delay and the retransmission rate of establishing the TCP connection in the target network in a historical period; scoring response time delay of the geographic area in the current period according to the response time delay baseline interval to obtain a response time delay score; scoring the retransmission rate belonging to the geographic area in the current period according to the retransmission rate baseline interval to obtain a retransmission rate score; and obtaining the single-area network perceived health score of the geographic area by using the response time delay score and the retransmission rate score.
In an alternative embodiment, the apparatus further comprises (not shown in fig. 4):
the baseline interval determining module is used for removing abnormal response time delay and abnormal retransmission rate from the response time delay and retransmission rate in the history period respectively; acquiring a first expected value and a first standard deviation of the response time delay after rejection, and determining a response time delay baseline interval by using the first expected value and the first standard deviation; and acquiring a second expected value and a second standard deviation of the retransmission rate after the rejection, and determining a retransmission rate baseline interval by using the second expected value and the second standard deviation.
The network and application detection module 420 is specifically configured to score, according to the response delay baseline interval, a response delay belonging to the geographic area in a current period, and obtain a response delay value when the response delay is within the response delay baseline interval, according to the response delay, the first expected value, and a first standard deviation, in a process of obtaining a response delay value; when the response time delay is outside the response time delay baseline interval, if the response time delay is smaller than or equal to the minimum value of the response time delay baseline interval, determining a first preset value as a response time delay value; if the response time delay is greater than or equal to the maximum value of the response time delay baseline interval, determining a second preset value as a response time delay value; wherein the first preset value is greater than the second preset value.
The network and application detection module 420 is specifically configured to score, according to the retransmission rate baseline interval, a retransmission rate belonging to the geographic area in a current period, and obtain a retransmission rate score when the retransmission rate is located in the retransmission rate baseline interval, according to the retransmission rate, the second expected value and a second standard deviation; when the retransmission rate is located outside the retransmission rate baseline interval, if the retransmission rate is smaller than or equal to the minimum value of the retransmission rate baseline interval, determining a third preset value as a retransmission rate score; if the retransmission rate is greater than or equal to the maximum value of the retransmission rate baseline interval, determining a fourth preset value as a retransmission rate score; wherein the third preset value is greater than the fourth preset value.
In an alternative embodiment, the index parameter includes response delay, retransmission rate, and acknowledgement delay; the network and application detection module 420 is specifically configured to determine, for each application provided by a server in the target network, a single-application health score according to a retransmission rate, a response time delay, and a confirmation time delay of establishing a TCP connection when accessing the application, and determine a weight of the application according to an access heat of the application in determining application perceived health by using index parameters of establishing the TCP connection in the target network; and determining the overall application perceived health according to the single application health score and the weight of each application.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiment of the invention also provides an electronic device corresponding to the network health degree detection method provided by the embodiment, so as to execute the network health degree detection method.
Fig. 5 is a hardware configuration diagram of an electronic device according to an exemplary embodiment of the present invention, the electronic device including: a communication interface 601, a processor 602, a memory 603 and a bus 604; wherein the communication interface 601, the processor 602 and the memory 603 perform communication with each other via a bus 604. The processor 602 may perform the network health detection method described above by reading and executing machine executable instructions in the memory 603 corresponding to the control logic of the network health detection method, the details of which are referred to in the above embodiments and will not be described here.
The memory 603 referred to herein may be any electronic, magnetic, optical, or other physical storage device that may contain stored information, such as executable instructions, data, or the like. In particular, the memory 603 may be RAM (Random Access Memory ), flash memory, a storage drive (e.g., hard drive), any type of storage disk (e.g., optical disk, DVD, etc.), or a similar storage medium, or a combination thereof. The communication connection between the system network element and at least one other network element is achieved through at least one communication interface 601 (which may be wired or wireless), the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
Bus 604 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. The memory 603 is configured to store a program, and the processor 602 executes the program after receiving an execution instruction.
The processor 602 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 602. The processor 602 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor.
The electronic device provided by the embodiment of the application and the network health degree detection method provided by the embodiment of the application are the same in the invention conception, and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
The present embodiment also provides a computer readable storage medium corresponding to the network health detection method provided in the foregoing embodiment, referring to fig. 6, the computer readable storage medium is shown as an optical disc 30, on which a computer program (i.e. a program product) is stored, where the computer program, when executed by a processor, performs the network health detection method provided in any of the foregoing embodiments.
It should be noted that examples of the computer readable storage medium may also include, but are not limited to, a phase change memory (PRAM), a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash memory, or other optical or magnetic storage medium, which will not be described in detail herein.
The computer readable storage medium provided by the above embodiments of the present application and the network health detection method provided by the embodiments of the present application have the same advantages as the method adopted, operated or implemented by the application program stored therein, because of the same inventive concept.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It should also be noted that 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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (11)

1. A method for detecting network health, the method comprising:
determining the health degree of equipment according to the network state of the equipment in a target network, and determining the link health degree according to the fault state of a physical link contained in the target network;
determining network perceived health and application perceived health by using index parameters for establishing TCP connection in the target network, wherein the application perceived health reflects network health conditions of accessing each application;
outputting the equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree;
wherein the index parameters comprise response time delay and retransmission rate; determining network perceived health using index parameters of establishing a TCP connection within the target network, comprising:
determining a single-area network perceived health score according to response time delay and retransmission rate of TCP connection established in each geographical area covered by a target network in a current period; determining the weight of each geographic area according to the application access heat of each geographic area; and determining the overall network perceived health by utilizing the single-area network perceived health score and the weight of each geographic area.
2. The method of claim 1, wherein determining a single area network perceived health score based on a response delay and a retransmission rate for establishing a TCP connection in the geographic area over a current period of time comprises:
establishing a response time delay baseline interval and a retransmission rate baseline interval of the TCP connection according to the target network in the history period;
scoring response time delay of the geographic area in the current period according to the response time delay baseline interval to obtain a response time delay score;
scoring the retransmission rate belonging to the geographic area in the current period according to the retransmission rate baseline interval to obtain a retransmission rate score;
and obtaining the single-area network perceived health score of the geographic area by using the response time delay score and the retransmission rate score.
3. The method of claim 2, wherein obtaining a response delay baseline interval and a retransmission rate baseline interval, respectively, from the response delay and the retransmission rate of the target network establishing the TCP connection over the history period, comprises:
removing abnormal response time delay and abnormal retransmission rate from the response time delay and retransmission rate in the historical time period respectively;
acquiring a first expected value and a first standard deviation of the response time delay after rejection, and determining a response time delay baseline interval by using the first expected value and the first standard deviation;
and acquiring a second expected value and a second standard deviation of the retransmission rate after the rejection, and determining a retransmission rate baseline interval by using the second expected value and the second standard deviation.
4. A method according to claim 3, wherein said scoring response delays belonging to said geographical area within a current time period based on said response delay baseline interval to obtain a response delay score comprises:
when the response time delay is within the response time delay baseline interval, obtaining a response time delay value according to the response time delay, the first expected value and a first standard deviation;
when the response time delay is outside the response time delay baseline interval, if the response time delay is smaller than or equal to the minimum value of the response time delay baseline interval, determining a first preset value as a response time delay value;
if the response time delay is greater than or equal to the maximum value of the response time delay baseline interval, determining a second preset value as a response time delay value;
wherein the first preset value is greater than the second preset value.
5. A method according to claim 3, wherein said scoring retransmission rates belonging to said geographical area during a current time period based on said retransmission rate baseline interval to obtain retransmission rate scores comprises:
when the retransmission rate is located in the retransmission rate baseline interval, obtaining a retransmission rate score according to the retransmission rate, the second expected value and a second standard deviation;
when the retransmission rate is located outside the retransmission rate baseline interval, if the retransmission rate is smaller than or equal to the minimum value of the retransmission rate baseline interval, determining a third preset value as a retransmission rate score;
if the retransmission rate is greater than or equal to the maximum value of the retransmission rate baseline interval, determining a fourth preset value as a retransmission rate score;
wherein the third preset value is greater than the fourth preset value.
6. The method of claim 1, wherein the indicator parameters include response delay, retransmission rate, and acknowledgement delay; determining application perceived health using index parameters of establishing a TCP connection within the target network, comprising:
for each application provided by a server in the target network, determining a single application health score according to the retransmission rate, response time delay and confirmation time delay of establishing TCP connection when accessing the application, and determining the weight of the application according to the access heat of the application;
and determining the overall application perceived health according to the single application health score and the weight of each application.
7. The method of claim 1, wherein the determining the device health from the network state of the devices in the target network comprises:
for each device deployed in the target network, determining a single device health score according to the network state of the device, and obtaining a weighted weight of the device according to the home hierarchy of the device;
the overall device health is determined using the individual device health scores and the weighted weights for each device.
8. The method of claim 1, wherein said determining link health from a failure state of a physical link comprised by said target network comprises:
determining a single link health score according to the fault state of each physical link contained in the target network;
and determining the overall link health by utilizing the single link health score of each physical link.
9. A network health detection apparatus, the apparatus comprising:
the device and link detection module is used for determining the health degree of the device according to the network state of the device in the target network and determining the link health degree according to the fault state of the physical link contained in the target network;
the network and application detection module is used for determining network perceived health and application perceived health by utilizing index parameters for establishing TCP connection in the target network, wherein the application perceived health reflects network health conditions of accessing each application;
the output module is used for outputting the equipment health degree, the link health degree, the network perceived health degree and the application perceived health degree;
the network and application detection module is specifically configured to determine, for each geographic area covered by the target network, a single-area network perceived health score according to a response time delay and a retransmission rate of establishing a TCP connection in the geographic area in a current period in a process of determining network perceived health; determining the weight of each geographic area according to the application access heat of each geographic area; and determining the overall network perceived health by utilizing the single-area network perceived health score and the weight of each geographic area.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-8 when the program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any of claims 1-8.
CN202111277210.1A 2021-10-29 2021-10-29 Network health degree detection method and device, electronic equipment and storage medium Active CN113904956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111277210.1A CN113904956B (en) 2021-10-29 2021-10-29 Network health degree detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111277210.1A CN113904956B (en) 2021-10-29 2021-10-29 Network health degree detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113904956A CN113904956A (en) 2022-01-07
CN113904956B true CN113904956B (en) 2023-04-25

Family

ID=79027122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111277210.1A Active CN113904956B (en) 2021-10-29 2021-10-29 Network health degree detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113904956B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115580553A (en) * 2022-09-29 2023-01-06 奇安信网神信息技术(北京)股份有限公司 Monitoring method for communication link quality of industrial control equipment and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320795A (en) * 2014-10-17 2015-01-28 四川公用信息产业有限责任公司 Evaluation method for health degree of multidimensional wireless network
CN111901814A (en) * 2020-09-11 2020-11-06 中国联合网络通信集团有限公司 Wireless network health assessment method and device, electronic equipment and storage medium
CN112042155A (en) * 2018-04-27 2020-12-04 慧与发展有限责任合伙企业 Network health monitoring
WO2021139471A1 (en) * 2020-01-06 2021-07-15 华为技术有限公司 Health status test method and device, and computer storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475511A (en) * 2013-08-29 2013-12-25 华为技术有限公司 Method and device for network maintenance
US9755921B2 (en) * 2015-01-01 2017-09-05 Bank Of America Corporation Electronic health and welfare monitoring of network server operations
CN105141446A (en) * 2015-07-24 2015-12-09 中国人民解放军国防科学技术大学 Network equipment health degree assessment method determined based on objective weight
CN109997337B (en) * 2016-09-28 2022-10-21 亚马逊科技公司 Visualization of network health information
CN110890972B (en) * 2018-09-07 2022-06-28 中国移动通信集团浙江有限公司 A method and device for evaluating the health degree of a business system
CN111126631A (en) * 2019-11-15 2020-05-08 中盈优创资讯科技有限公司 Network health judgment method and device
CN113489605B (en) * 2021-06-29 2023-02-03 南京航空航天大学 A Method for Evaluating the Importance of Network Nodes Based on Health

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320795A (en) * 2014-10-17 2015-01-28 四川公用信息产业有限责任公司 Evaluation method for health degree of multidimensional wireless network
CN112042155A (en) * 2018-04-27 2020-12-04 慧与发展有限责任合伙企业 Network health monitoring
WO2021139471A1 (en) * 2020-01-06 2021-07-15 华为技术有限公司 Health status test method and device, and computer storage medium
CN111901814A (en) * 2020-09-11 2020-11-06 中国联合网络通信集团有限公司 Wireless network health assessment method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113904956A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
KR102418969B1 (en) System and method for predicting communication apparatuses failure based on deep learning
US7257515B2 (en) Sliding window for alert generation
US10516697B2 (en) ISP blacklist feed
KR102536055B1 (en) Identification of defective distributed system components
CN101257388B (en) Lawless exterior joint detecting method, apparatus and system
CN110784355B (en) Fault identification method and device
EP3547236B1 (en) Method and device for calculating household appliance faults
US11381471B2 (en) System and method for predicting and handling short-term overflow
CN113938407B (en) Fault detection method and device for data center network based on in-band network telemetry system
CN113452576B (en) Network environment monitoring method and device, storage medium, and electronic device
US10447561B2 (en) BFD method and apparatus
CN105187228A (en) Network quality detection method and router
CN108989135A (en) Network equipment failure detection method and device
CN113904956B (en) Network health degree detection method and device, electronic equipment and storage medium
CN111130912A (en) Abnormal location method, server and storage medium for content distribution network
CN116962143B (en) Network fault detection method, device, computer equipment and storage medium
CN109245961A (en) Link-quality detection method, device, storage medium and equipment
WO2018022183A1 (en) Storage anomaly detection
CN118264537A (en) Abnormal communication link processing method, device and system and nonvolatile storage medium
CN119210859A (en) A network security model comprehensive evaluation system and evaluation method
CN120281085A (en) Data monitoring and analyzing method and system based on distributed power network connection
CN111200520A (en) Network monitoring method, server and computer-readable storage medium
CN110266741B (en) Method and device for automatically scheduling client service in content distribution network
CN117255005B (en) A CDN-based business alarm processing method, device, equipment and media
CN118368246A (en) Control method, device and equipment for network traffic

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