CN115914038B - Degradation forwarding device detection method, device, equipment and storage medium - Google Patents

Degradation forwarding device detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN115914038B
CN115914038B CN202211413493.2A CN202211413493A CN115914038B CN 115914038 B CN115914038 B CN 115914038B CN 202211413493 A CN202211413493 A CN 202211413493A CN 115914038 B CN115914038 B CN 115914038B
Authority
CN
China
Prior art keywords
detection
preset
forwarding device
time period
forwarding
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
CN202211413493.2A
Other languages
Chinese (zh)
Other versions
CN115914038A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211413493.2A priority Critical patent/CN115914038B/en
Publication of CN115914038A publication Critical patent/CN115914038A/en
Application granted granted Critical
Publication of CN115914038B publication Critical patent/CN115914038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides a degradation forwarding device detection method, a degradation forwarding device detection device, degradation forwarding device detection equipment and a storage medium. The method comprises the following steps: acquiring a detection task; dividing a preset total detection time period into a plurality of detection time periods according to each detection time length; transmitting detection messages with the preset detection message quantity to each forwarding device in each detection time period, wherein the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of receiving the transmission detection messages; receiving a detection mirror image message sent by each forwarding device, wherein the detection mirror image message comprises time delay values corresponding to the forwarding devices respectively; calculating the comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value; and sending the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server so as to instruct the management server to determine whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device.

Description

Degradation forwarding device detection method, device, equipment and storage medium
Technical Field
The present disclosure relates to communication technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a degradation forwarding device.
Background
In order to ensure smooth data forwarding between users, the increase of communication services in the modern society requires degradation detection of forwarding devices by research and development personnel.
In the prior art, a management server needs to monitor the data traffic received by forwarding equipment, and if the management server monitors that a certain forwarding equipment is in traffic for a long time and is smaller than a normal traffic threshold value, the forwarding equipment is determined to be a degraded forwarding equipment.
It can be seen that the prior art is based on the traffic size to judge whether the forwarding device is in degradation, but a large number of practical cases prove that when the traffic is in a state of being smaller than the normal traffic threshold for a long time, the forwarding device is not in degradation, possibly because the traffic of the user in the time period is smaller, so the traffic is smaller, and the forwarding device is a normal forwarding device. Therefore, the prior art uses the traffic as a reference, and cannot accurately judge the degradation forwarding device.
Disclosure of Invention
The application provides a degradation forwarding device detection method, device, equipment and storage medium, which are used for solving the problem that degradation forwarding devices cannot be accurately judged in the prior art.
In a first aspect, the present application provides a method for detecting a degraded forwarding device, where the method is applied to a probe device, where the probe device is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, and the method includes:
Acquiring a detection task, wherein the detection task comprises a preset detection total time period, a detection time length each time and a preset detection message number; the preset detection total time period is divided into a plurality of detection time periods according to each detection time length;
transmitting detection messages with the preset detection message quantity to each forwarding device in each detection time period, wherein the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of receiving the transmission detection messages;
receiving detection mirror image messages sent by the forwarding devices, wherein the detection mirror image messages comprise time delay values corresponding to the forwarding devices;
calculating a comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value;
and sending the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device to a management server so as to instruct the management server to determine whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device.
In one manner, the calculating, based on each of the delay values, a composite delay value of the corresponding forwarding device in each of the probing periods includes:
Adding and calculating the delay value in each detection time period aiming at each forwarding device so as to obtain a total delay value in each detection time period;
and calculating an average delay value in each detection time period based on the total delay value and the preset detection message number aiming at each forwarding device, and determining the average delay value as a comprehensive delay value in the corresponding detection time period.
In one manner, the sending the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server includes:
sequencing the comprehensive time delay values corresponding to the forwarding equipment according to the determined time sequence to obtain sequenced comprehensive time delay values corresponding to the forwarding equipment;
and sending the sequenced comprehensive time delay value and the identifier of the forwarding equipment corresponding to the sequenced comprehensive time delay value to the management server.
In a second aspect, the present application provides a method for detecting a degraded forwarding device, where the method is applied to a management server, where the management server is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, and includes:
receiving a comprehensive time delay value of each forwarding device and an identifier of the corresponding forwarding device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to each forwarding equipment in each detection time period to instruct each forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time;
And determining whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device.
In one mode, the determining whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device includes:
calculating a corresponding time delay threshold value of each forwarding device based on a comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value;
comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value;
determining whether forwarding equipment with a degradation state exists in the preset network architecture according to the degradation time delay value;
in response to forwarding devices having a degradation state in the preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of the preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both within a preset detection total time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold.
In one manner, the calculating the delay threshold corresponding to each forwarding device based on the integrated delay value of each forwarding device in the time period of the preset calculation threshold includes:
acquiring the number of the preset comprehensive time delay values of the calculation threshold value;
for each forwarding device, calculating parameter values in a time delay threshold calculation formula according to the number and the comprehensive time delay value in the time period of the preset calculation threshold;
and respectively inputting the parameter values corresponding to the forwarding devices into a time delay threshold calculation formula, and respectively calculating the time delay threshold corresponding to the forwarding devices.
In one manner, the comparing the integrated delay value of each forwarding device in the preset comparison threshold period with the corresponding delay threshold value, and determining the degradation delay value includes:
acquiring each comprehensive time delay value of each forwarding device in a time period of a preset comparison threshold value;
comparing each comprehensive time delay value with the time delay threshold value of the corresponding forwarding equipment;
and determining that any one of the integrated delay values is a degradation delay value in response to the integrated delay value being greater than or equal to the delay threshold.
In one manner, the determining, according to the degradation delay value, whether there is a forwarding device in the preset network architecture with a degradation state includes:
Calculating the number of the degradation delay values;
comparing the number with a preset degradation time delay number;
determining forwarding equipment with a degradation state in the preset network architecture in response to the number being greater than or equal to a preset degradation delay number;
and determining forwarding equipment without degradation state in the preset network architecture in response to the number being smaller than the preset degradation time delay number.
In one manner, the determining at least one forwarding device having a degradation state based on the integrated delay value of each forwarding device in a period of a preset calculation threshold and a period of the preset comparison threshold includes:
for each forwarding device, respectively calculating a first average integrated delay value corresponding to a time period of a preset calculation threshold based on each integrated delay value in the time period of the preset calculation threshold, and determining the first average integrated delay value as a first delay characteristic value corresponding to the time period of the preset calculation threshold;
for each forwarding device, respectively calculating a second average comprehensive time delay value corresponding to a time period of a preset comparison threshold based on each comprehensive time delay value in the time period of the preset comparison threshold, and determining the second average comprehensive time delay value as a second time delay characteristic value corresponding to the time period of the preset comparison threshold;
For each forwarding device, calculating a difference value between the first time delay characteristic value and the second time delay characteristic value, and calculating an absolute value of the difference value to obtain a time delay characteristic absolute difference value;
and determining at least one forwarding device corresponding to the maximum absolute difference value of the time delay characteristic as a device with a degradation state.
In one manner, after determining at least one forwarding device having a degradation state based on the integrated delay value of each forwarding device in a period of a preset calculation threshold and a period of the preset comparison threshold, the method further includes:
and sending an alarm message to the staff equipment corresponding to the at least one forwarding equipment in the degradation state so as to prompt the staff to perform relevant processing.
In one manner, after the determining that the forwarding device has no degradation state in the preset network architecture in response to the number being less than the preset degradation delay number, the method further includes:
extracting the latest time period of the preset calculation threshold value from the time period of the preset calculation threshold value and the time period of the preset comparison threshold value according to a principle from back to front in time sequence;
and calculating the latest time delay threshold based on the latest time period of the preset calculation threshold and the corresponding comprehensive time delay values so as to obtain the updated time delay threshold.
In a third aspect, the present application provides a degradation forwarding device detection apparatus, where the apparatus is located in a detection device, where the detection device is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, and the apparatus includes:
the acquisition module is used for acquiring a detection task, wherein the detection task comprises a preset detection total time period, a detection time length each time and a preset detection message number; the preset detection total time period is divided into a plurality of detection time periods according to each detection time length;
the first sending module is used for sending detection messages with the preset detection message quantity to each forwarding device in each detection time period, and the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of sending the detection messages;
the receiving module is used for receiving the detection mirror image messages sent by the forwarding devices, and the detection mirror image messages comprise time delay values corresponding to the forwarding devices respectively;
the calculation module is used for calculating the comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value;
and the second sending module is used for sending the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device to the management server so as to instruct the management server to determine whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device.
In a fourth aspect, the present application provides a degradation forwarding device detection apparatus, where the apparatus is located in a management server, where the management server is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, and the apparatus includes:
the receiving module is used for receiving the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device, which are sent by the detection device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to each forwarding equipment in each detection time period to instruct each forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time;
and the determining module is used for determining whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device.
In a fifth aspect, the present application provides a detection apparatus comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving data;
The processor executes computer-executable instructions stored in the memory to implement the method as described in the first aspect or any one of the ways described above.
In a sixth aspect, the present application provides a management server, including: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving data;
the processor executes computer-executable instructions stored in the memory to implement the method as described in the second aspect or any one of the ways described above.
In a seventh aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out the method of the first aspect, the second aspect or any one of the manners described above.
The method is applied to detection equipment, the detection equipment is located in a preset network architecture, the preset network architecture further comprises a plurality of forwarding equipment, and the method specifically comprises the following steps: acquiring a detection task, wherein the detection task comprises a preset detection total time period, a detection time length each time and a preset detection message number; dividing a preset total detection time period into a plurality of detection time periods according to each detection time length; transmitting detection messages with the preset detection message quantity to each forwarding device in each detection time period, wherein the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of receiving the transmission detection messages; receiving a detection mirror image message sent by each forwarding device, wherein the detection mirror image message comprises time delay values corresponding to the forwarding devices respectively; calculating the comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value; and sending the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server so as to instruct the management server to determine whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device. The detection equipment firstly acquires a detection task, wherein the detection task comprises a preset detection total time period, a preset detection time length each time and a preset detection message number; the method comprises the steps that a preset total detection time period is divided into a plurality of detection time periods according to each detection time period, so that the detection equipment sends detection messages of the preset detection message quantity to each forwarding equipment in the detection time periods, the detection messages are used for indicating the time of the whole process from the reception of the detection messages to the transmission of the detection messages, accordingly, for each forwarding equipment, the detection messages of the preset detection message quantity in each detection time period are sent to the forwarding equipment and indicate the corresponding forwarding equipment to calculate the time delay value, then the detection equipment receives detection mirror messages which are sent by each forwarding equipment and have the time delay value of the corresponding forwarding equipment, further, the detection equipment calculates the time delay value in each detection time period to obtain the comprehensive time delay value in the detection time period, and the time delay value can reflect the time of the whole process from the reception of the detection messages to the transmission of the detection messages.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario diagram of a degradation forwarding device detection method provided in the present application;
fig. 2 is a flow chart of a method for detecting a degraded forwarding device according to a first embodiment of the present application;
fig. 3 is a flow chart of a method for detecting a degraded forwarding device according to a fourth embodiment of the present application;
fig. 4 is a flow chart of a method for detecting a degraded forwarding device according to a fifth embodiment of the present application;
fig. 5 is a flow chart of a method for detecting a degraded forwarding device according to a fifth embodiment of the present application;
fig. 6 is a flow chart of a method for detecting a degraded forwarding device according to a sixth embodiment of the present application;
fig. 7 is a flow chart of a method for detecting a degraded forwarding device according to a seventh embodiment of the present application;
fig. 8 is a flowchart of a method for detecting a forwarding device according to an eighth embodiment of the present application;
fig. 9 is a schematic flow chart of a method for detecting a degraded forwarding device according to a ninth embodiment of the present application;
fig. 10 is an interaction schematic diagram of a degradation forwarding device detection method according to a tenth embodiment of the present application;
Fig. 11 is a schematic diagram of a detecting device of a degradation forwarding device according to an eleventh embodiment of the present application;
fig. 12 is a schematic diagram of a detecting device of a degradation forwarding device according to a twelfth embodiment of the present application;
fig. 13 is a schematic structural diagram of a detection device according to a thirteenth embodiment of the present application;
fig. 14 is a schematic structural diagram of a management server according to a fourteenth embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
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 are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terms referred to in this application are explained first:
int function: is a VFP numerical function that rounds down a real number (which may be a mathematical expression) to be rounded to the nearest integer.
With the development of society, there is an increasing need for data forwarding between users, and when each user uses a respective device to forward data, the data needs to be forwarded between at least one forwarding device, so that the user receiving the data can be reached, and in order to ensure smooth forwarding of the data in the forwarding device, the detection of the degraded forwarding device by research personnel is increased.
In the network system in the prior art, a management server and a plurality of forwarding devices are provided, wherein the management server can monitor the data traffic received by the forwarding devices, and if the management server monitors that a certain forwarding device is in traffic for a long time and is smaller than a normal traffic threshold value, the forwarding device is determined to be a degraded forwarding device.
It can be seen that the prior art is based on the traffic size to judge whether the forwarding device is degraded, but a large number of practical cases prove that when the traffic is in a state of being smaller than the normal traffic threshold for a long time, the traffic is smaller because the traffic of the user is smaller in the time period, and the forwarding device is not the degraded forwarding device at this time, and the forwarding device is the normal forwarding device at this time. Therefore, the prior art uses the traffic as a reference, and cannot accurately judge the degradation forwarding device.
In order to solve the defects of the prior art, the inventor of the scheme designs a new scheme through creative research. The detection method is applied to detection equipment, the detection equipment is located in a preset network architecture, the preset network architecture further comprises a plurality of forwarding equipment, first the detection equipment acquires a detection task, and the detection task comprises a preset detection total time period, a preset detection time length each time and a preset detection message number; the preset total detection time period is divided into a plurality of detection time periods according to each detection time period, so that the detection equipment sends detection messages with the preset detection message quantity to each forwarding equipment in each detection time period, and the detection messages have indication effect so as to indicate the forwarding equipment to calculate a corresponding time delay value in the whole process of receiving the detection messages.
The application provides a method, a device, equipment and a storage medium for detecting degradation forwarding equipment.
Fig. 1 is an application scenario diagram of a method for detecting a degraded forwarding device provided in the present application. As shown in fig. 1, the application scenario diagram includes a probe device 101, a forwarding device 102, a management server 103, and a staff device 104. The forwarding device 102 is located in the preset network architecture 105, and a plurality of remaining forwarding devices may be included in the preset network architecture 105.
The staff equipment 104 may be a mobile phone, etc., which is not limited herein. Wherein the forwarding device 102 has a function of forwarding data.
The probe device 101 is in communication connection with the forwarding device 102, the probe device 101 is in communication connection with the management server 103, the management server 103 is in communication connection with the staff device 104, and the communication connection can be wired connection or wireless connection.
Specifically, the probe device 101 is a device for detecting a delay value of the forwarding device 102, a probe task is stored in the probe device 101 in advance, the probe device 101 acquires the probe task from a storage area of the probe device 101, the probe task includes a preset total probe time period, each probe time period and a preset number of probe messages, the preset total probe time period is divided into a plurality of probe time periods according to each probe time period, the probe device 102 sends the probe messages of the preset number of probe messages to the forwarding device 102 in each probe time period, the forwarding device 102 calculates and sends the delay value of the whole process of receiving and sending the probe messages, and generates a probe mirror message, the forwarding device 102 sends the probe mirror message to the probe device 101, wherein the delay value in one probe time period is a plurality of, then the probe device 101 calculates the integrated delay value in the corresponding probe time period based on the plurality of delay values, it can be understood that the integrated delay value in the preset total probe time period is a plurality of integrated delay values, then the probe device 101 sends the integrated delay value 103 and the integrated delay value to the forwarding device 102 is managed by the service identifier of the forwarding device 102, and the service identifier is determined whether the forwarding device is a service identifier of the forwarding device 102 is degraded or not.
It should be noted that, the probe device 101 needs to detect the rest of forwarding devices in the entire preset network architecture 105 in the same manner.
Further, the management server 103 will determine whether the forwarding device 102 is a degraded device based on the multiple integrated latency values of the forwarding device 102 and the identification of the forwarding device 102.
Further, the management server 103 will respond to any forwarding device being a degradation forwarding device, will generate an alarm message, and will send the alarm message to the corresponding staff device 104, thereby prompting the staff to make relevant processing.
The application provides a degradation forwarding device detection method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example 1
Fig. 2 is a flowchart of a method for detecting a degraded forwarding device according to an embodiment of the present application. The main execution body of the method of the embodiment is a degradation forwarding device detection apparatus (hereinafter referred to as detection apparatus), the method of the embodiment is applied to a detection device, the detection device is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, as shown in fig. 2, and specific steps are as follows.
S201, acquiring a detection task, wherein the detection task comprises a preset detection total time period, each detection time length and a preset detection message number; the preset total detection time period is divided into a plurality of detection time periods according to the detection time length of each time.
The detection task includes detection operation of the detection device, wherein the preset total detection time period refers to a preset total detection time period, which may be one hour or other time, each detection time period refers to a time period divided in the preset total detection time period, for example, 10 minutes is taken as a time period, and the preset detection message number refers to a preset detection message number, for example, 20 detection messages.
The detection tasks may be stored in advance in a storage area of the detection device.
In particular, the detection device will acquire detection tasks from the storage area.
S202, sending detection messages with the preset detection message quantity to each forwarding device in each detection time period, wherein the detection messages are used for indicating each forwarding device to calculate a time delay value corresponding to the whole process of sending the detection messages.
The delay value refers to a specific value of time required for transmitting data (a message or a packet, or even a bit) from one end to the other end of the network (or link), that is, the time of the whole process that the receiving port of the forwarding device receives the probe message from the probe device and transmits the probe message from the receiving port to the transmitting port in the forwarding device. In one manner, the time when the receiving port of the forwarding device receives the detection message from the detection device may be used as the delay value.
Specifically, the detection device sends detection messages with the preset detection message number to each forwarding device according to the detection time period.
For example, assuming that the preset network architecture includes 5 forwarding devices, according to the description in S201 above, the probe devices will take ten minutes as a batch within one hour, and each batch sends 20 probe messages to each forwarding device.
S203, receiving a detection mirror image message sent by each forwarding device, wherein the detection mirror image message comprises time delay values corresponding to the forwarding devices.
Specifically, after receiving a detection message, a forwarding device calculates a time delay value at the moment, writes the time delay value into the detection message to obtain a detection mirror message, and sends the detection mirror message to the detection device.
It can be appreciated that one probe packet corresponds to one probe mirror packet, and one probe mirror packet has a delay value. And each forwarding device transmits detection mirror image messages with preset detection message quantity in each detection time period.
S204, calculating the comprehensive time delay value of the corresponding forwarding device in each detection time period based on each time delay value.
The comprehensive time delay value is calculated based on the time delay value in each detection time period.
Specifically, for each forwarding device, there are detection mirror image messages with a preset number of detection messages in each detection time period, and since the detection mirror image messages contain delay values, the detection device has delay values with a preset number of detection messages.
Further, the detection device calculates the time delay value of the number of the preset detection messages in each detection time period, so as to obtain the comprehensive time delay value in each detection time period. Each detection period corresponds to a comprehensive delay value.
It will be appreciated that there are a plurality of probing time periods within a predetermined probing total time period, such that each forwarding device has a plurality of integrated delay values within the predetermined probing total time period. The number of the comprehensive time delay values is equal to the number of the detection time periods.
S205, the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device are sent to the management server to instruct the management server to determine whether each forwarding device is a degradation device based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device.
Wherein the management server is one device for degraded forwarding device detection.
Specifically, the detection device sends the comprehensive time delay value of each forwarding device in each detection time period and the identifier of the corresponding forwarding device to the management server, and instructs the management server to execute the task.
Further, the detection device instructs the management server to determine whether each forwarding device is a degraded device based on the integrated delay value and the identification of the corresponding forwarding device.
The embodiment provides a method for detecting a degradation forwarding device, which is applied to a detection device, wherein the detection device is located in a preset network architecture, and the preset network architecture further comprises a plurality of forwarding devices, and specifically comprises the following steps: acquiring a detection task, wherein the detection task comprises a preset detection total time period, a detection time length each time and a preset detection message number; dividing a preset total detection time period into a plurality of detection time periods according to each detection time length; transmitting detection messages with the preset detection message quantity to each forwarding device in each detection time period, wherein the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of receiving the transmission detection messages; receiving a detection mirror image message sent by each forwarding device, wherein the detection mirror image message comprises time delay values corresponding to the forwarding devices respectively; calculating the comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value; and sending the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server so as to instruct the management server to determine whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device. The detection equipment of the embodiment firstly acquires a detection task, wherein the detection task comprises a preset detection total time period, a preset detection time length each time and a preset detection message number; the method comprises the steps that a preset total detection time period is divided into a plurality of detection time periods according to each detection time period, so that the detection equipment sends detection messages of the preset detection message quantity to each forwarding equipment in the detection time periods, the detection messages are used for indicating the time delay value corresponding to the whole process of receiving the detection messages by the forwarding equipment, accordingly, for each forwarding equipment, the detection messages of the preset detection message quantity in each detection time period are sent to the forwarding equipment and indicate the corresponding forwarding equipment to calculate the time delay value, then the detection equipment receives detection mirror messages which are sent by each forwarding equipment and have the delay value of the corresponding forwarding equipment, further, the detection equipment calculates the time delay value in each detection time period to obtain the comprehensive delay value in the detection time period, and the time delay value reflects the time of the whole process from the received detection messages to the transmission of the detection messages.
Example two
The embodiment of the present application is a further refinement of the first embodiment, and the present embodiment is an optional manner of calculating, based on each delay value, a comprehensive delay value of a corresponding forwarding device in each detection period, which is specifically as follows.
And adding and calculating the delay value in each detection time period aiming at each forwarding device so as to obtain the total delay value in each detection time period.
Specifically, for each forwarding device, a delay value of the number of preset detection messages is set in each detection time period, and the detection device performs addition calculation on the delay value of the number of preset detection messages, so that a total delay value in each detection time period is obtained.
And calculating an average delay value in each detection time period based on the total delay value and the number of preset detection messages aiming at each forwarding device, and determining the average delay value as a comprehensive delay value in the corresponding detection time period.
Specifically, for each forwarding device, the detection device calculates an average delay value in each detection time period according to the total delay value in each detection time period and the preset number of detection messages.
For example, according to the exemplary embodiment in S202, in the preset total detection period (one hour), there are 6 detection periods according to the detection time length of 10 minutes, and each detection period includes 6 detection messages of the preset number of detection messages, and the detection device divides the total delay value of each detection period by the preset number of detection messages, so as to obtain an average delay value in the detection period, and thus determines the average delay value as the integrated delay value in the detection period.
The embodiment provides a degradation forwarding device detection method, which calculates a comprehensive time delay value of a corresponding forwarding device in each detection time period based on each time delay value, and specifically includes: adding and calculating the delay value in each detection time period aiming at each forwarding device so as to obtain the total delay value in each detection time period; and calculating an average delay value in each detection time period based on the total delay value and the number of preset detection messages aiming at each forwarding device, and determining the average delay value as a comprehensive delay value in the corresponding detection time period. According to the embodiment, the detection device firstly adds and calculates the delay value in each detection time period aiming at each forwarding device to obtain the total delay value in each detection time period, and further calculates the average delay value in each detection time period according to the total delay value and the preset detection message number because the delay value of the preset detection message number in each detection time period is obtained, the average delay value is accurate, the average delay value is determined to be the comprehensive delay value in the corresponding detection time period, and the comprehensive delay value is determined based on the delay value conforming to the real situation, so that the comprehensive delay value also has authenticity and accuracy.
Example III
The embodiment of the present application is a further refinement of any one of the foregoing embodiments, and this embodiment is an optional manner of sending the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server, which is specifically described below.
And sequencing the comprehensive time delay values corresponding to the forwarding equipment according to the determined time sequence to obtain sequenced comprehensive time delay values corresponding to the forwarding equipment.
Specifically, each detection time period corresponds to a comprehensive delay value, so that the comprehensive delay value has a determined time.
Further, the detection device sorts the comprehensive time delay values of the forwarding device in a preset detection total time period according to the determined time sequence, and then the detection device obtains the sorted comprehensive time delay values.
It can be understood that the detection device sorts the comprehensive time delay values of all forwarding devices in the preset network architecture, and obtains the sorted comprehensive time delay values corresponding to the forwarding devices.
And sending the sequenced comprehensive time delay value and the identifier of the forwarding equipment corresponding to the sequenced comprehensive time delay value to the management server.
The embodiment provides a degradation forwarding device detection method, when sending a comprehensive delay value of each forwarding device and an identifier of a corresponding forwarding device to a management server, specifically including: sequencing the comprehensive time delay values corresponding to the forwarding equipment according to the determined time sequence to obtain sequenced comprehensive time delay values corresponding to the forwarding equipment; and sending the sequenced comprehensive time delay value and the identifier of the forwarding equipment corresponding to the sequenced comprehensive time delay value to the management server. According to the embodiment, the comprehensive time delay values of the forwarding equipment are sequenced according to the determined time sequence, the sequenced comprehensive time delay values are obtained and sent to the management server, and the sequenced comprehensive time delay values have the time sequence, so that the follow-up detection of the degradation forwarding equipment is facilitated.
Example IV
Fig. 3 is a flow chart of a method for detecting a degraded forwarding device according to a fourth embodiment of the present application. The main execution body of the method of the embodiment is a degradation forwarding device detection apparatus (hereinafter referred to as detection apparatus), and the method of the embodiment is applied to a management server, where the management server is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, as shown in fig. 3, and specific steps are as follows.
S301, receiving a comprehensive time delay value of each forwarding device and an identifier of the corresponding forwarding device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to the forwarding equipment in each detection time period to instruct the forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time.
S302, determining whether each forwarding device is a degradation device based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device.
Specifically, for each forwarding device, the management server compares a plurality of integrated delay values of the forwarding device with a preset abnormal delay value, and if any one of the plurality of integrated delay values of the forwarding device is greater than the preset abnormal delay value, determines that the forwarding device is a degradation device.
The embodiment provides a method for detecting degradation forwarding devices, which is applied to a management server, wherein the management server is located in a preset network architecture, and the preset network architecture further comprises a plurality of forwarding devices, and specifically comprises the following steps: receiving a comprehensive time delay value of each forwarding device and an identifier of the corresponding forwarding device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to the forwarding equipment in each detection time period to instruct the forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time; and determining whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device. The management server of the embodiment receives the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period, the time delay value is calculated by the detection device by sending detection messages with the preset detection message quantity to each forwarding device in each detection time period, the detection time period is obtained by dividing the preset detection total time period according to each detection time period, and therefore the time delay value has accuracy and authenticity, the comprehensive time delay value also has accuracy and authenticity, and the management server accurately determines whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identifier of the forwarding device.
Example five
Fig. 4 is a flowchart of a method for detecting a forwarding device according to a fifth embodiment of the present application. The embodiment of the present application is further refined to the fourth embodiment, and the present embodiment is an optional manner of determining whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device, as shown in fig. 4, and specific steps are as follows.
S401, calculating a time delay threshold corresponding to each forwarding device based on the comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold.
Wherein, the time period of the preset calculation threshold is stored in the management server in advance, and the time period of the preset calculation threshold is a time period for calculating the time delay threshold.
Illustratively, according to the example of the second embodiment, for the forwarding device 1, a time period of a preset calculation threshold is determined in a preset total detection time period, and an integrated delay value of the forwarding device 1 in the time period of the preset calculation threshold is determined, and then the management server calculates the delay threshold of the forwarding device 1 based on the integrated delay value in the time period of the preset calculation threshold.
Further, the management server may calculate, as the delay threshold of the forwarding device 1, a preset multiple of an average integrated delay value of the integrated delay values within a time period of a preset calculation threshold. Assuming that there are three integrated delay values, respectively 2.56, 2.45 and 2.89, in a time period of the preset calculation threshold of the forwarding device 1, an average integrated delay value=2.63 of the three integrated delay values is calculated, where the preset multiple is 1.2 times, and the delay threshold of the forwarding device 1=2.63×1.2=3.16.
It will be appreciated that the management server may also determine the latency threshold for each forwarding device in other ways.
In one manner, this manner is an optional manner of calculating the delay threshold corresponding to each forwarding device based on the integrated delay value of each forwarding device in the preset calculation threshold period, and fig. 5 is a schematic flow chart of a degradation forwarding device detection method provided in the fifth embodiment of the present application, as shown in fig. 5, and specific steps are as follows.
S501, acquiring the number of the preset comprehensive time delay values of the calculation threshold.
The number of the preset comprehensive time delay values of the calculation threshold is preset and stored in the management server.
In one manner, the number of integrated delay values for the preset calculation threshold may be calculated by dividing the time period for the preset calculation threshold by the value of the length of each detection time.
S502, for each forwarding device, calculating the parameter values in the time delay threshold calculation formula according to the number and the comprehensive time delay value in the time period of the preset calculation threshold.
The calculation formula for calculating the time delay threshold value comprises a plurality of parameters.
Specifically, the calculation formula for calculating the time delay threshold may be a time delay threshold th= (1+alpha) ×q2-alpha×q1, where th is the time delay threshold, and alpha may be specified according to a user requirement, for example, alpha=1.5 or other values. Wherein Q1 and Q2 are a first parameter and a second parameter, respectively. Wherein, the calculation formulas of Q1 and Q2 are as follows.
Wherein n is the number of the preset comprehensive time delay values of the calculation threshold, int is a downward integer, and Y is the comprehensive time delay value.
Exemplary, assuming that the number of integrated delay values for the preset calculation threshold is 10, when calculating Q1, the method is based onThe value of Q1 is calculated by substituting the calculation result into the formula (2) without being an integer.
Further, in the next calculation of Q2, the method is based onThe value of Q2 is calculated by substituting the calculation result into the formula (4) instead of the integer.
Further, the management server calculates the parameter value according to the formula.
It should be noted that, each forwarding device has a corresponding parameter value in a time period of a preset calculation threshold.
S503, inputting the parameter values corresponding to the forwarding devices into the time delay threshold calculation formulas respectively, and calculating the time delay threshold corresponding to the forwarding devices respectively.
The time delay threshold is a critical value with normal time delay value, and can be used as a judgment standard.
Specifically, for each forwarding device, the management server inputs the parameter values into a time delay threshold calculation formula, so as to calculate the time delay threshold of the corresponding forwarding device.
Illustratively, the parameter values corresponding to the forwarding device 1 are input to the time delay threshold calculation formula in S502, so as to obtain the time delay threshold of the forwarding device 1.
The method specifically includes the steps of when the delay threshold corresponding to each forwarding device is calculated based on the comprehensive delay value of each forwarding device in a time period of a preset calculation threshold: acquiring the number of the preset comprehensive time delay values of the calculation threshold value; for each forwarding device, calculating parameter values in a time delay threshold calculation formula according to the number and the comprehensive time delay value in a time period of a preset calculation threshold; and respectively inputting the parameter values corresponding to the forwarding devices into a time delay threshold calculation formula, and respectively calculating the time delay threshold corresponding to the forwarding devices. The method comprises the steps of firstly obtaining the number of the comprehensive time delay values of a preset calculation threshold, further respectively calculating parameter values according to the number and the comprehensive time delay values in a time period of the preset calculation threshold for each forwarding device, inputting the parameter values into a time delay threshold calculation formula, and calculating the time delay threshold corresponding to each forwarding device. The time delay threshold can be accurately calculated through a time delay threshold calculation formula.
S402, comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold with the corresponding delay threshold, and determining the degradation delay value.
The time period of the preset contrast threshold is a preset time period.
Specifically, for each forwarding device, each integrated delay value in a time period of a preset comparison threshold is compared with a corresponding delay threshold.
For example, for the forwarding device 1, the time period from the 30 th minute to the 60 th minute in the preset comparison threshold is set, and there are multiple integrated delay values in the 30 th minute, and the management server compares the multiple integrated delay values with the delay threshold 1 corresponding to the forwarding device 1. And if the certain comprehensive delay value is larger than the delay threshold value 1, determining that the comprehensive delay value is a degradation delay value.
S403, determining whether forwarding equipment in a degradation state exists in a preset network architecture according to the degradation delay value.
S404, in response to forwarding devices with degradation states in a preset network architecture, determining at least one forwarding device with degradation states based on comprehensive delay values of the forwarding devices in a preset calculation threshold time period and a preset comparison threshold time period, wherein the preset calculation threshold time period and the preset comparison threshold time period are both located in a preset detection total time period, and the preset calculation threshold time period is located on the front side of the preset comparison threshold time period.
The preset calculation threshold time period is located at the front side of the preset comparison threshold time period, and the preset detection total time period is one hour, the preset calculation threshold time period is 0-30 minutes, and the preset comparison threshold time period is 30-50 minutes.
Specifically, for each forwarding device, the management server will determine at least one forwarding device having a degradation state for a plurality of integrated delay values within a time period of a preset calculation threshold and a time period of a preset comparison threshold.
For example, for the forwarding apparatus 1, the delay difference value of the maximum integrated delay value and the minimum integrated delay value is calculated in a period of time in which the calculation threshold is preset and in a period of time in which the comparison threshold is preset. For each forwarding device, there is a delay difference, and the corresponding forwarding device with the largest delay difference is determined as the forwarding device with the degraded state.
The embodiment provides a degradation forwarding device detection method, when determining whether each forwarding device is a degradation device based on a comprehensive delay value of each forwarding device and an identifier of a corresponding forwarding device, the degradation device detection method specifically includes: calculating a corresponding time delay threshold value of each forwarding device based on the comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value; comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value; determining whether forwarding equipment in a degradation state exists in a preset network architecture according to the degradation time delay value; in response to forwarding devices having a degradation state in a preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of a preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both located within a preset total detection time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold. According to the embodiment, firstly, the time delay threshold corresponding to the forwarding equipment is calculated based on the comprehensive time delay value of each forwarding equipment in the preset time period of the calculated threshold, and then the comprehensive time delay value in the time period of the preset comparison threshold is compared with the time delay threshold of the corresponding forwarding equipment, so that the degradation time delay value can be accurately determined, whether the forwarding equipment in the degradation state exists or not can be determined according to the degradation time delay value, further whether the forwarding equipment in the degradation state exists or not can be accurately judged, and then the management server determines at least one forwarding equipment in the degradation state according to the comprehensive time delay value in the time period of the preset calculated threshold and the time period of the preset comparison threshold.
Example six
Fig. 6 is a flowchart of a method for detecting a degraded forwarding device according to a sixth embodiment of the present application. The embodiment of the present application is a further refinement of the fourth embodiment or the fifth embodiment, where the embodiment is an alternative manner of comparing the integrated delay value of each forwarding device in the preset comparison threshold period with the corresponding delay threshold value to determine the degradation delay value, as shown in fig. 6, and the specific steps are as follows.
S601, acquiring each comprehensive time delay value of each forwarding device in a time period of a preset comparison threshold value.
S602, comparing each comprehensive time delay value with a time delay threshold value of corresponding forwarding equipment.
For example, for the forwarding device 1, assuming that the total delay values in the time period of the preset comparison threshold are 20, the 20 total delay values are compared with the delay threshold corresponding to the forwarding device 1 respectively.
S603, determining that any comprehensive time delay value is a degradation time delay value in response to the comprehensive time delay value being greater than or equal to a time delay threshold.
The degradation delay value refers to a delay value having an abnormality.
According to the above-described illustrative example, the forwarding apparatus 1 determines one of the 20 integrated delay values within the period of the preset comparison threshold value, which is greater than or equal to the delay threshold value, as the degradation delay value.
It is understood that a forwarding device may have no degradation delay value or multiple degradation delay values.
The embodiment provides a degradation forwarding device detection method, which compares a comprehensive delay value of each forwarding device in a time period of a preset comparison threshold with a corresponding delay threshold, and determines degradation delay value time, and specifically includes: acquiring each comprehensive time delay value of each forwarding device in a time period of a preset comparison threshold value; comparing each comprehensive time delay value with the time delay threshold value of the corresponding forwarding equipment; and determining that any integrated delay value is a degradation delay value in response to the integrated delay value being greater than or equal to the delay threshold. According to the embodiment, firstly, each comprehensive time delay value of each forwarding device in a time period of a preset comparison threshold value is obtained, then, each comprehensive time delay value is compared with the time delay threshold value of the corresponding forwarding device, any one of the comprehensive time delay values is responded to be larger than or equal to the time delay threshold value, and then, the time delay value is determined to be a degradation time delay value, and as the time delay threshold value is a critical value, whether the degradation time delay value is the degradation time delay value can be accurately determined through comparison.
Example seven
Fig. 7 is a flowchart of a method for detecting a degraded forwarding device according to a seventh embodiment of the present application. The embodiment of the present application is a further refinement of any one of the fourth to sixth embodiments, where the present embodiment is an optional manner of determining whether there is a forwarding device with a degraded state in a preset network architecture according to a degradation delay value, as shown in fig. 7, and specific steps are as follows.
S701, the number of degradation delay values is calculated.
S702, comparing the number with the preset degradation time delay number.
Wherein the preset degradation delay amount is a critical amount stored in advance.
S703, determining forwarding devices with degradation states in the preset network architecture in response to the number being greater than or equal to the preset degradation delay number.
S704, determining forwarding equipment without degradation state in a preset network architecture in response to the number being smaller than the preset degradation time delay number.
The present embodiment provides a method for detecting a degraded forwarding device, when determining whether a forwarding device in a preset network architecture has a degraded state according to a degradation delay value, the method specifically includes: calculating the number of degradation time delay values; comparing the number with the preset degradation time delay number; determining forwarding equipment with a degradation state in a preset network architecture in response to the number being greater than or equal to the preset degradation delay number; and determining forwarding equipment without degradation states in the preset network architecture in response to the number being smaller than the preset degradation time delay number. In this embodiment, the number of degradation delay values is calculated first, and the number of degradation delay values is set as a reference, so that the number of degradation delay values can be used for comparison, and then the number of degradation delay values is compared with the number of degradation delay values, when the number of degradation delay values is greater than or equal to the number of degradation delay values, forwarding devices with degradation states are determined, when the number of degradation delay values is less than the number of degradation delay values, forwarding devices without degradation states are determined, and after comparison, whether forwarding devices with degradation states exist can be accurately determined, which satisfy comparison conditions.
Example eight
Fig. 8 is a flowchart of a method for detecting a forwarding device according to an eighth embodiment of the present application. The embodiment of the present application is a further refinement of any one of the fourth to seventh embodiments, where the present embodiment is an alternative manner of determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device in a time period of a preset calculation threshold and a time period of a preset comparison threshold, as shown in fig. 8, and specific steps are as follows.
S801, for each forwarding device, a first average integrated delay value corresponding to a time period of a preset calculation threshold is calculated based on each integrated delay value in the time period of the preset calculation threshold, and the first average integrated delay value is determined to be a first delay characteristic value corresponding to the time period of the preset calculation threshold.
For each forwarding device, assuming that 30 integrated delay values exist in a time period of a preset calculation threshold, adding the 30 integrated delay values, dividing the sum by the number of the integrated delay values, calculating a first average integrated delay value corresponding to the time period, and taking the first average delay value as a first delay characteristic value corresponding to the time period of the preset calculation threshold.
S802, for each forwarding device, respectively calculating a second average integrated delay value corresponding to a time period of a preset comparison threshold based on each integrated delay value in the time period of the preset comparison threshold, and determining the second average integrated delay value as a second delay characteristic value corresponding to the time period of the preset comparison threshold.
The specific implementation refers to the method described in S801 above, and will not be described herein.
S803, for each forwarding device, calculating the difference value between the first time delay characteristic value and the second time delay characteristic value, and calculating the absolute value of the difference value to obtain the time delay characteristic absolute difference value.
Illustratively, the forwarding device 1 is correspondingly provided with a first delay characteristic value and a second delay characteristic value, then a difference value between the first delay characteristic value and the second delay characteristic value is calculated, and then an absolute value of the difference value is calculated, so that the absolute difference value of the delay characteristic of the forwarding device 1 is obtained.
S804, determining at least one forwarding device corresponding to the maximum absolute difference value of the time delay characteristic as a device with a degradation state.
Specifically, a plurality of forwarding devices are arranged in a preset network architecture, each forwarding device corresponds to one time delay characteristic absolute value, and further the forwarding device corresponding to the largest time delay characteristic absolute value selected from the plurality of time delay characteristic absolute values is determined to be the device with the degradation state.
It can be understood that the maximum absolute value of the delay characteristic may be plural, and thus it may be determined that plural forwarding devices are devices in a degraded state.
The present embodiment provides a degradation forwarding device detection method, when determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device in a time period of a preset calculation threshold and a time period of a preset comparison threshold, specifically including: for each forwarding device, respectively calculating a first average comprehensive time delay value corresponding to a time period of a preset calculation threshold based on each comprehensive time delay value in the time period of the preset calculation threshold, and determining the first average comprehensive time delay value as a first time delay characteristic value corresponding to the time period of the preset calculation threshold; for each forwarding device, respectively calculating a second average integrated delay value corresponding to the time period of the preset comparison threshold based on each integrated delay value in the time period of the preset comparison threshold, and determining the second average integrated delay value as a second delay characteristic value corresponding to the time period of the preset comparison threshold; for each forwarding device, calculating the difference value of the first time delay characteristic value and the second time delay characteristic value, and calculating the absolute value of the difference value to obtain the time delay characteristic absolute difference value; and determining at least one forwarding device corresponding to the maximum absolute difference value of the time delay characteristic as a device with a degradation state. According to the embodiment, a first time delay characteristic threshold corresponding to a time period of a preset calculation threshold and a second time delay characteristic value corresponding to a time period of a preset comparison threshold are calculated firstly, then, the difference value between the first time delay characteristic value and the second time delay characteristic value is calculated, the absolute value of the difference value is calculated, and further, the time delay characteristic absolute value is obtained, as each forwarding device is calculated, and then, each forwarding device corresponds to one time delay characteristic absolute value, a plurality of time delay characteristic absolute values exist for a plurality of forwarding devices, then, at least one forwarding device corresponding to the largest time delay characteristic absolute value is selected from the plurality of time delay preset absolute values to be determined as a device with a degradation state, and as the time delay characteristic absolute value is larger, the comprehensive time delay value in the time period of the preset comparison threshold and the time period of the preset calculation threshold is greatly changed, so that the forwarding device performance is greatly changed, and the maximum time delay characteristic absolute value is determined to be the device with the degradation state.
In one mode, this mode is an optional mode after determining at least one forwarding device having a degradation state based on the integrated delay value of each forwarding device in a time period of a preset calculation threshold value and a time period of a preset comparison threshold value, and the specific content is as follows.
And sending an alarm message to the staff equipment corresponding to the at least one forwarding equipment in the degradation state so as to prompt the staff to make relevant processing.
The method specifically includes, after determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device in a time period of a preset calculation threshold and a time period of a preset comparison threshold: and sending an alarm message to the staff equipment corresponding to the at least one forwarding equipment in the degradation state so as to prompt the staff to make relevant processing. The embodiment sends the alarm message to the staff equipment corresponding to the at least one forwarding equipment in the degradation state, so that the alarm message can play a role of prompting, and further, corresponding staff can timely process the alarm message.
Example nine
Fig. 9 is a flowchart of a method for detecting a forwarding device according to a ninth embodiment of the present application. The embodiment of the present application is a further refinement of any one of the fourth to eighth embodiments, where the method is an optional manner after determining, in response to the number being smaller than the preset degradation delay number, forwarding devices without degradation states in the preset network architecture, as shown in fig. 9, and specific steps are as follows.
S901, extracting a latest time period of the preset calculation threshold value from time periods of the preset calculation threshold value and time periods of the preset comparison threshold value according to a time sequence from back to front.
For example, assuming that the time period of the preset calculated threshold is 0 to 30 minutes and the time period of the preset comparison threshold is 30 to 50 minutes, the time period of extracting the latest preset calculated threshold is 20 to 50 minutes.
S902, calculating the latest time delay threshold based on the latest time period of the preset calculation threshold and the corresponding comprehensive time delay values so as to obtain the updated time delay threshold.
Specifically, the latest time period of the preset calculation threshold corresponds to a plurality of comprehensive time delay values in the time period, and the latest time delay value is calculated based on the comprehensive time delay values.
The present embodiment provides a method for detecting a degraded forwarding device, after determining a forwarding device having no degradation state in a preset network architecture in response to a number of degraded forwarding devices being smaller than a preset number of degradation delays, the method specifically includes: extracting the latest time period of the preset calculation threshold value from the time period of the preset calculation threshold value and the time period of the preset comparison threshold value according to a principle from back to front in time sequence; and calculating the latest time delay threshold based on the latest time period of the preset calculation threshold and the corresponding comprehensive time delay values so as to obtain the updated time delay threshold. The embodiment extracts the latest time period of the preset calculation threshold from the time period of the preset calculation threshold and the time period of the preset comparison threshold, and the latest time period of the delay threshold is latest and latest because the time period of the latest time period of the preset calculation threshold is extracted from the back to the front according to the time sequence, so that the latest time period of the delay threshold is calculated according to the latest time period of the preset calculation threshold and the corresponding comprehensive delay value thereof, the updated time period is obtained, and the latest time period accords with the latest condition, and thus accords with the current actual condition.
Examples ten
Fig. 10 is an interaction schematic diagram of a degradation forwarding device detection method according to a tenth embodiment of the present application. The execution body of the present embodiment is a degradation forwarding device detection system, as shown in fig. 10, and the specific steps are as follows
S1001, a detection device acquires a detection task comprising a preset detection total time period, each detection time length and the number of preset detection messages, wherein the preset detection total time period is divided into a plurality of detection time periods according to each detection time length;
s1002, the detection device sends detection messages with the preset detection message quantity to the forwarding device in each detection time period;
s1003, the forwarding device calculates a time delay value, generates a detection mirror message, and writes the time delay value into the detection mirror message;
s1004, the forwarding device sends a detection mirror image message to the detection device;
s1005, the detection device calculates a comprehensive time delay value corresponding to each detection time period based on the plurality of time delay values in each detection time period;
s1006, the detection equipment sends the comprehensive time delay value to the management server;
s1007, the management server calculates a time delay threshold corresponding to each forwarding device based on the comprehensive time delay value of the forwarding device in a time period of a preset calculation threshold;
S1008, the management server compares the comprehensive time delay value of each forwarding device in the time period of the preset comparison threshold with the corresponding time delay threshold, and determines a degradation time delay value;
s1009, the management server calculates the number of degradation delay values;
s1010, the management server compares the number of the degradation delay values with the preset degradation delay number;
s1011, the management server responds to the fact that the number of the degradation delay values is larger than or equal to the preset degradation delay number, and determines forwarding equipment with degradation states in a preset network architecture;
s1012, the management server calculates a first time delay characteristic value corresponding to a time period of a preset calculation threshold value and a second time delay characteristic value corresponding to a time period of a preset comparison threshold value;
s1013, the management server calculates the absolute value of the difference value between the first time delay characteristic value and the second time delay characteristic value to obtain a time delay characteristic absolute difference value;
s1014, the management server determines at least one forwarding device corresponding to the maximum absolute difference of the delay profile as a device having a degraded state.
Example eleven
Fig. 11 is a schematic diagram of a degradation forwarding device detection apparatus according to an eleventh embodiment of the present application. The apparatus is located in a detection device, where the detection device is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, as shown in fig. 11, and the apparatus 110 includes the following modules.
The acquisition module 1101 is configured to acquire a detection task, where the detection task includes a preset total detection time period, a detection time length each time, and a preset number of detection messages; the preset total detection time period is divided into a plurality of detection time periods according to the detection time length of each time.
The first sending module 1102 is configured to send, to each forwarding device in each detection time period, a detection message of a preset number of detection messages, where the detection message is used to instruct each forwarding device to calculate a delay value corresponding to an entire process of sending the detection message.
The receiving module 1103 is configured to receive a probe image packet sent by each forwarding device, where the probe image packet includes a delay value corresponding to each forwarding device.
A calculating module 1104 is configured to calculate, based on each delay value, a comprehensive delay value of the corresponding forwarding device in each detection period.
The second sending module 1105 is configured to send the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server, so as to instruct the management server to determine whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device.
In one manner, the calculation module 1104 is specifically configured to, when calculating the integrated delay value of the corresponding forwarding device in each detection period based on each delay value:
Adding and calculating the delay value in each detection time period aiming at each forwarding device so as to obtain the total delay value in each detection time period; and calculating an average delay value in each detection time period based on the total delay value and the number of preset detection messages aiming at each forwarding device, and determining the average delay value as a comprehensive delay value in the corresponding detection time period.
In one manner, the second sending module 1105 is specifically configured to, when sending the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server:
sequencing the comprehensive time delay values corresponding to the forwarding equipment according to the determined time sequence to obtain sequenced comprehensive time delay values corresponding to the forwarding equipment; and sending the sequenced comprehensive time delay value and the identifier of the forwarding equipment corresponding to the sequenced comprehensive time delay value to the management server.
Example twelve
Fig. 12 is a schematic diagram of a degradation forwarding device detection apparatus according to a twelfth embodiment of the present application. The device is located in a management server, where the management server is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, as shown in fig. 12, and the device 120 includes the following modules.
The receiving module 1201 is configured to receive a comprehensive delay value of each forwarding device and an identifier of a corresponding forwarding device, where the comprehensive delay value is calculated by the detecting device based on a delay value calculated by each forwarding device in each detecting time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to the forwarding equipment in each detection time period to instruct the forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time.
A determining module 1202, configured to determine whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device.
In one manner, the determining module 1202 is specifically configured to, when determining whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device:
calculating a corresponding time delay threshold value of each forwarding device based on the comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value; comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value; determining whether forwarding equipment in a degradation state exists in a preset network architecture according to the degradation time delay value; in response to forwarding devices having a degradation state in a preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of a preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both located within a preset total detection time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold.
In one manner, the determining module 1202 is specifically configured to, when calculating the delay threshold value corresponding to each forwarding device based on the integrated delay value of each forwarding device in the time period of the preset calculation threshold value:
acquiring the number of the preset comprehensive time delay values of the calculation threshold value; for each forwarding device, calculating parameter values in a time delay threshold calculation formula according to the number and the comprehensive time delay value in a time period of a preset calculation threshold; and respectively inputting the parameter values corresponding to the forwarding devices into a time delay threshold calculation formula, and respectively calculating the time delay threshold corresponding to the forwarding devices.
In one manner, the determining module 1202 determines the degradation delay value by comparing the integrated delay value of each forwarding device in the time period of the preset comparison threshold with the corresponding delay threshold, specifically for:
acquiring each comprehensive time delay value of each forwarding device in a time period of a preset comparison threshold value; comparing each comprehensive time delay value with the time delay threshold value of the corresponding forwarding equipment; and determining that any integrated delay value is a degradation delay value in response to the integrated delay value being greater than or equal to the delay threshold.
In one manner, the determining module 1202 is specifically configured to, when determining whether there is a forwarding device in a preset network architecture in a degradation state according to the degradation delay value:
Calculating the number of degradation time delay values; comparing the number with the preset degradation time delay number; determining forwarding equipment with a degradation state in a preset network architecture in response to the number being greater than or equal to the preset degradation delay number; and determining forwarding equipment without degradation states in the preset network architecture in response to the number being smaller than the preset degradation time delay number.
In one manner, the determining module 1202 is specifically configured to, when determining at least one forwarding device having a degradation state based on the integrated delay value of each forwarding device in a time period of a preset calculation threshold and a time period of a preset comparison threshold:
for each forwarding device, respectively calculating a first average comprehensive time delay value corresponding to a time period of a preset calculation threshold based on each comprehensive time delay value in the time period of the preset calculation threshold, and determining the first average comprehensive time delay value as a first time delay characteristic value corresponding to the time period of the preset calculation threshold; for each forwarding device, respectively calculating a second average integrated delay value corresponding to the time period of the preset comparison threshold based on each integrated delay value in the time period of the preset comparison threshold, and determining the second average integrated delay value as a second delay characteristic value corresponding to the time period of the preset comparison threshold; for each forwarding device, calculating the difference value of the first time delay characteristic value and the second time delay characteristic value, and calculating the absolute value of the difference value to obtain the time delay characteristic absolute difference value; and determining at least one forwarding device corresponding to the maximum absolute difference value of the time delay characteristic as a device with a degradation state.
In one manner, after determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device in a period of a preset calculation threshold and a period of a preset comparison threshold, the present embodiment provides a degradation forwarding device detecting apparatus, further comprising: and a prompt module.
And the prompting module is used for sending an alarm message to the staff equipment corresponding to the at least one forwarding equipment in the degradation state so as to prompt the staff to perform relevant processing.
In one manner, after determining that the forwarding device in the no-degradation state in the preset network architecture is in response to the number being smaller than the preset degradation delay number, the present embodiment provides a degradation forwarding device detecting apparatus, further including: an extraction module and a calculation module.
The extraction module is used for extracting the latest time period of the preset calculation threshold value from the time period of the preset calculation threshold value and the time period of the preset comparison threshold value according to a time sequence from the back to the front; and the calculation module is used for calculating the latest time delay threshold value based on the latest time period of the preset calculation threshold value and the corresponding comprehensive time delay values so as to obtain the updated time delay threshold value.
Example thirteen
Fig. 13 is a schematic structural diagram of a detection device according to a thirteenth embodiment of the present application. As shown in fig. 13, the detecting device 130 may include: a processor 1301, and a memory 1302 and a transceiver 1303 communicatively coupled to the processor 1301. Wherein the memory 1302 stores computer-executable instructions; a transceiver 1303 for transmitting and receiving data; processor 1301 executes computer-executable instructions stored in memory 1302 to implement method embodiments as in any of the above-described first to third embodiments and tenth embodiments, and the specific implementation and technical effects are similar, and are not described here again.
In this embodiment, the memory 1302 and the processor 1301 are connected through a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component Interconnect, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 13, but not only one bus or one type of bus.
Examples fourteen
Fig. 14 is a schematic structural diagram of a management server according to a fourteenth embodiment of the present application. As shown in fig. 14, the management server 140 may include: a processor 1401, and a memory 1402 and a transceiver 1403 communicatively coupled to the processor 1401. Wherein the memory 1402 stores computer-executable instructions; a transceiver 1403 for transceiving data; the processor 1401 executes computer-executable instructions stored in the memory 1402 to implement any of the method embodiments described in the fourth to tenth embodiments, and the specific implementation and technical effects are similar, and are not described here again.
In this embodiment, the memory 1402 and the processor 1401 are connected via a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component Interconnect, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 14, but not only one bus or one type of bus.
Example fifteen
The present application provides a computer readable storage medium, in which computer executable instructions are stored, where the computer executable instructions are used to implement any one of the method embodiments of the first to tenth embodiments when executed by a processor, and the specific implementation manner and technical effect are similar, and are not repeated herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A method for detecting a degraded forwarding device, wherein the method is applied to a probe device, the probe device is located in a preset network architecture, the preset network architecture further includes a plurality of forwarding devices, and the method includes:
Acquiring a detection task, wherein the detection task comprises a preset detection total time period, a detection time length each time and a preset detection message number; the preset detection total time period is divided into a plurality of detection time periods according to each detection time length;
transmitting detection messages with the preset detection message quantity to each forwarding device in each detection time period, wherein the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of receiving the transmission detection messages;
receiving detection mirror image messages sent by the forwarding devices, wherein the detection mirror image messages comprise time delay values corresponding to the forwarding devices;
calculating a comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value;
transmitting the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device to a management server to instruct the management server to determine whether each forwarding device is a degradation device based on the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device;
the management server performs the following operations when determining whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device:
Calculating a corresponding time delay threshold value of each forwarding device based on a comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value;
comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value;
determining whether forwarding equipment with a degradation state exists in the preset network architecture according to the degradation time delay value;
in response to forwarding devices having a degradation state in the preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of the preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both within a preset detection total time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold.
2. The method of claim 1, wherein calculating the integrated delay value for each of the probing periods for the corresponding forwarding device based on each of the delay values comprises:
adding and calculating the delay value in each detection time period aiming at each forwarding device so as to obtain a total delay value in each detection time period;
And calculating an average delay value in each detection time period based on the total delay value and the preset detection message number aiming at each forwarding device, and determining the average delay value as a comprehensive delay value in the corresponding detection time period.
3. The method according to claim 1 or 2, wherein said sending the integrated delay value of each forwarding device and the identification of the corresponding forwarding device to a management server comprises:
sequencing the comprehensive time delay values corresponding to the forwarding equipment according to the determined time sequence to obtain sequenced comprehensive time delay values corresponding to the forwarding equipment;
and sending the sequenced comprehensive time delay value and the identifier of the forwarding equipment corresponding to the sequenced comprehensive time delay value to the management server.
4. A method for detecting a degraded forwarding device, wherein the method is applied to a management server, the management server is located in a preset network architecture, the preset network architecture further includes a plurality of forwarding devices, and the method includes:
receiving a comprehensive time delay value of each forwarding device and an identifier of the corresponding forwarding device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to each forwarding equipment in each detection time period to instruct each forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time; the time delay value is the time corresponding to the whole process that each forwarding device receives the sending detection message;
Determining whether each forwarding device is a degradation device based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device; the determining whether each forwarding device is a degradation device based on the comprehensive delay value of each forwarding device and the identifier of the corresponding forwarding device includes:
calculating a corresponding time delay threshold value of each forwarding device based on a comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value;
comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value;
determining whether forwarding equipment with a degradation state exists in the preset network architecture according to the degradation time delay value;
in response to forwarding devices having a degradation state in the preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of the preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both within a preset detection total time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold.
5. The method according to claim 4, wherein calculating the delay threshold value corresponding to each forwarding device based on the integrated delay value of each forwarding device in the time period of the preset calculation threshold value includes:
acquiring the number of the preset comprehensive time delay values of the calculation threshold value;
for each forwarding device, calculating parameter values in a time delay threshold calculation formula according to the number and the comprehensive time delay value in the time period of the preset calculation threshold;
and respectively inputting the parameter values corresponding to the forwarding devices into a time delay threshold calculation formula, and respectively calculating the time delay threshold corresponding to the forwarding devices.
6. The method of claim 4, wherein comparing the integrated latency value of each forwarding device within the predetermined comparison threshold time period to a corresponding latency threshold value, determining a degradation latency value, comprises:
acquiring each comprehensive time delay value of each forwarding device in a time period of a preset comparison threshold value;
comparing each comprehensive time delay value with the time delay threshold value of the corresponding forwarding equipment;
and determining that any one of the integrated delay values is a degradation delay value in response to the integrated delay value being greater than or equal to the delay threshold.
7. The method of claim 4, wherein said determining whether there is a forwarding device in a degraded state in the preset network architecture based on the degraded latency value comprises:
calculating the number of the degradation delay values;
comparing the number with a preset degradation time delay number;
determining forwarding equipment with a degradation state in the preset network architecture in response to the number being greater than or equal to a preset degradation delay number;
and determining forwarding equipment without degradation state in the preset network architecture in response to the number being smaller than the preset degradation time delay number.
8. The method of claim 4, wherein the determining at least one forwarding device having a degradation state based on the integrated delay value of each forwarding device over a time period of a preset calculated threshold and over a time period of the preset compared threshold comprises:
for each forwarding device, respectively calculating a first average integrated delay value corresponding to a time period of a preset calculation threshold based on each integrated delay value in the time period of the preset calculation threshold, and determining the first average integrated delay value as a first delay characteristic value corresponding to the time period of the preset calculation threshold;
For each forwarding device, respectively calculating a second average comprehensive time delay value corresponding to a time period of a preset comparison threshold based on each comprehensive time delay value in the time period of the preset comparison threshold, and determining the second average comprehensive time delay value as a second time delay characteristic value corresponding to the time period of the preset comparison threshold;
for each forwarding device, calculating a difference value between the first time delay characteristic value and the second time delay characteristic value, and calculating an absolute value of the difference value to obtain a time delay characteristic absolute difference value;
and determining at least one forwarding device corresponding to the maximum absolute difference value of the time delay characteristic as a device with a degradation state.
9. The method of claim 4, wherein after determining at least one forwarding device having a degradation state based on the integrated delay value of each forwarding device over a time period of a preset calculation threshold and over a time period of the preset comparison threshold, further comprising:
and sending an alarm message to the staff equipment corresponding to the at least one forwarding equipment in the degradation state so as to prompt the staff to perform relevant processing.
10. The method of claim 7, wherein the determining, in response to the number being less than the preset number of degradation delays, after forwarding devices in the preset network architecture that are not in a degraded state, further comprises:
Extracting the latest time period of the preset calculation threshold value from the time period of the preset calculation threshold value and the time period of the preset comparison threshold value according to a principle from back to front in time sequence;
and calculating the latest time delay threshold based on the latest time period of the preset calculation threshold and the corresponding comprehensive time delay values so as to obtain the updated time delay threshold.
11. A degradation forwarding device detection apparatus, wherein the apparatus is located in a detection device, the detection device is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, and the apparatus includes:
the acquisition module is used for acquiring a detection task, wherein the detection task comprises a preset detection total time period, a detection time length each time and a preset detection message number; the preset detection total time period is divided into a plurality of detection time periods according to each detection time length;
the first sending module is used for sending detection messages with the preset detection message quantity to each forwarding device in each detection time period, and the detection messages are used for indicating each forwarding device to calculate a delay value corresponding to the whole process of sending the detection messages;
the receiving module is used for receiving the detection mirror image messages sent by the forwarding devices, and the detection mirror image messages comprise time delay values corresponding to the forwarding devices respectively;
The calculation module is used for calculating the comprehensive time delay value of the corresponding forwarding equipment in each detection time period based on each time delay value;
the second sending module is used for sending the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device to the management server so as to instruct the management server to determine whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identifier of the corresponding forwarding device;
the management server performs the following operations when determining whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device:
calculating a corresponding time delay threshold value of each forwarding device based on a comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value;
comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value;
determining whether forwarding equipment with a degradation state exists in the preset network architecture according to the degradation time delay value;
in response to forwarding devices having a degradation state in the preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of the preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both within a preset detection total time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold.
12. A degradation forwarding device detection apparatus, wherein the apparatus is located in a management server, the management server is located in a preset network architecture, and the preset network architecture further includes a plurality of forwarding devices, and the apparatus includes:
the receiving module is used for receiving the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device, which are sent by the detection device, wherein the comprehensive time delay value is calculated by the detection device based on the time delay value calculated by each forwarding device in each detection time period; the time delay value is calculated by the detection equipment sending detection messages of the preset detection message quantity to each forwarding equipment in each detection time period to instruct each forwarding equipment; the detection time period is obtained by dividing a preset total detection time period according to the detection time length of each time; the time delay value is the time corresponding to the whole process that each forwarding device receives the sending detection message;
the determining module is used for determining whether each forwarding device is a degradation device or not based on the comprehensive time delay value of each forwarding device and the identification of the corresponding forwarding device;
the determining module is specifically configured to, when determining whether each forwarding device is a degraded device based on the integrated delay value of each forwarding device and the identifier of the corresponding forwarding device:
Calculating a corresponding time delay threshold value of each forwarding device based on a comprehensive time delay value of each forwarding device in a time period of a preset calculation threshold value;
comparing the comprehensive delay value of each forwarding device in the time period of the preset comparison threshold value with the corresponding delay threshold value, and determining a degradation delay value;
determining whether forwarding equipment with a degradation state exists in the preset network architecture according to the degradation time delay value;
in response to forwarding devices having a degradation state in the preset network architecture, determining at least one forwarding device having a degradation state based on a comprehensive delay value of each forwarding device within a time period of a preset calculation threshold and a time period of the preset comparison threshold, wherein the time period of the preset calculation threshold and the time period of the preset comparison threshold are both within a preset detection total time period, and the time period of the preset calculation threshold is located on the front side of the time period of the preset comparison threshold.
13. A detection apparatus comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving data;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-10.
14. A management server, comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving data;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-10.
15. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-10.
CN202211413493.2A 2022-11-11 2022-11-11 Degradation forwarding device detection method, device, equipment and storage medium Active CN115914038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211413493.2A CN115914038B (en) 2022-11-11 2022-11-11 Degradation forwarding device detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211413493.2A CN115914038B (en) 2022-11-11 2022-11-11 Degradation forwarding device detection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115914038A CN115914038A (en) 2023-04-04
CN115914038B true CN115914038B (en) 2024-04-09

Family

ID=86477148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211413493.2A Active CN115914038B (en) 2022-11-11 2022-11-11 Degradation forwarding device detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115914038B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488892A (en) * 2009-02-04 2009-07-22 北京华力创通科技股份有限公司 Method and apparatus for testing forwording time delay of equipment
CN103139070A (en) * 2013-01-29 2013-06-05 大唐移动通信设备有限公司 Method and device for routine selection of data sending
JP2013251648A (en) * 2012-05-30 2013-12-12 Nippon Telegr & Teleph Corp <Ntt> Flow communication quality deterioration detection device and method
CN105187228A (en) * 2015-06-12 2015-12-23 中国通信建设集团设计院有限公司 Network quality detection method and router
CN105530139A (en) * 2014-09-28 2016-04-27 中兴通讯股份有限公司 1588 device self check method and 1588 device self check device
CN106230658A (en) * 2016-07-25 2016-12-14 杭州迪普科技有限公司 A kind of method and apparatus monitoring the network equipment
CN107317691A (en) * 2016-04-26 2017-11-03 华为技术有限公司 A kind of Fault Locating Method and equipment
CN107888455A (en) * 2017-12-04 2018-04-06 北京星河星云信息技术有限公司 A kind of data detection method, device and system
CN108259254A (en) * 2016-12-28 2018-07-06 华为技术有限公司 A kind of path quality detection method and the network equipment
CN110986291A (en) * 2019-11-25 2020-04-10 海信(山东)空调有限公司 Equipment management method and device and air conditioner
CN111010330A (en) * 2019-12-06 2020-04-14 苏州浪潮智能科技有限公司 Method, device and medium for detecting and recovering congested link
CN111064613A (en) * 2019-12-13 2020-04-24 新华三大数据技术有限公司 Network fault detection method and device
CN112491661A (en) * 2020-12-11 2021-03-12 苏州浪潮智能科技有限公司 Time delay detection method, device, equipment and medium for data center switch
CN113507396A (en) * 2021-06-30 2021-10-15 新华三信息安全技术有限公司 Network state analysis method, device, equipment and machine readable storage medium
WO2022062931A1 (en) * 2020-09-25 2022-03-31 华为技术有限公司 Network anomaly determination method and apparatus
CN115118635A (en) * 2022-06-29 2022-09-27 济南浪潮数据技术有限公司 Time delay detection method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856360B (en) * 2012-11-28 2019-01-25 中兴通讯股份有限公司 A kind of synchronization link fault detection method and device
KR102580417B1 (en) * 2018-05-31 2023-09-20 삼성에스디에스 주식회사 Apparatus and method for managing delay of message transmission

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488892A (en) * 2009-02-04 2009-07-22 北京华力创通科技股份有限公司 Method and apparatus for testing forwording time delay of equipment
JP2013251648A (en) * 2012-05-30 2013-12-12 Nippon Telegr & Teleph Corp <Ntt> Flow communication quality deterioration detection device and method
CN103139070A (en) * 2013-01-29 2013-06-05 大唐移动通信设备有限公司 Method and device for routine selection of data sending
CN105530139A (en) * 2014-09-28 2016-04-27 中兴通讯股份有限公司 1588 device self check method and 1588 device self check device
CN105187228A (en) * 2015-06-12 2015-12-23 中国通信建设集团设计院有限公司 Network quality detection method and router
CN107317691A (en) * 2016-04-26 2017-11-03 华为技术有限公司 A kind of Fault Locating Method and equipment
CN106230658A (en) * 2016-07-25 2016-12-14 杭州迪普科技有限公司 A kind of method and apparatus monitoring the network equipment
CN108259254A (en) * 2016-12-28 2018-07-06 华为技术有限公司 A kind of path quality detection method and the network equipment
CN107888455A (en) * 2017-12-04 2018-04-06 北京星河星云信息技术有限公司 A kind of data detection method, device and system
CN110986291A (en) * 2019-11-25 2020-04-10 海信(山东)空调有限公司 Equipment management method and device and air conditioner
CN111010330A (en) * 2019-12-06 2020-04-14 苏州浪潮智能科技有限公司 Method, device and medium for detecting and recovering congested link
CN111064613A (en) * 2019-12-13 2020-04-24 新华三大数据技术有限公司 Network fault detection method and device
WO2022062931A1 (en) * 2020-09-25 2022-03-31 华为技术有限公司 Network anomaly determination method and apparatus
CN112491661A (en) * 2020-12-11 2021-03-12 苏州浪潮智能科技有限公司 Time delay detection method, device, equipment and medium for data center switch
CN113507396A (en) * 2021-06-30 2021-10-15 新华三信息安全技术有限公司 Network state analysis method, device, equipment and machine readable storage medium
CN115118635A (en) * 2022-06-29 2022-09-27 济南浪潮数据技术有限公司 Time delay detection method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Multi-Path Aging Sensor for Cost-Efficient Delay Fault Prediction";Gaole Sai et al;《 IEEE Transactions on Circuits and Systems II: Express Briefs》;20170726;全文 *
基于探针的网络状态监测技术;董帅;莫皓颖;户江民;陈海军;徐德涛;;通信技术;20190410(第04期);全文 *
测量船通信网络自检测方法;张晗;姚君;孙文杰;;飞行器测控学报;20120615(第03期);全文 *

Also Published As

Publication number Publication date
CN115914038A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
US8935576B2 (en) Automated cabling process for a complex environment
CN112039796B (en) Data packet transmission method and device, storage medium and electronic equipment
EP3520325B1 (en) Dynamically identifying criticality of services and data sources
CN110647490A (en) Data transmission method, device, equipment and computer storage medium
CN115914038B (en) Degradation forwarding device detection method, device, equipment and storage medium
CN111371648A (en) Monitoring method and device for global fault of virtual gateway cluster
CN113207146B (en) Wireless communication network quality monitoring system and method
CN109586788B (en) Monitoring system fault diagnosis method and device, computer equipment and storage medium
CN113746942B (en) Information transceiving method, device, equipment and medium based on cluster message synchronization
KR20130029250A (en) Method and apparatus for requesting examination and fault detection
CN112019603B (en) Transaction data processing method and device
CN112511522B (en) Method, device and equipment for reducing memory occupation in detection scanning
EP3869740A1 (en) Network reliability testing method and apparatus
CN113835946A (en) Pressure testing method for data exchange
CN109167691B (en) Network redundancy design method of weapon control system
CN111813621A (en) Data processing method, device, equipment and medium based on Flume data middlebox
CN103368754A (en) Service failure detection method, apparatus, system and device
CN111147899A (en) Fault early warning method and device
CN112118275A (en) Overload processing method, Internet of things platform and computer readable storage medium
CN115915044B (en) Usage information transmission method, device and network element
CN112087474B (en) Cluster-based port information acquisition method and device
CN105516010A (en) Information processing method and electronic device
KR20000075309A (en) Monitor Apparatus and method for a traffic of Packet router
CN117255059A (en) Method and device for load balancing of aggregated links
KR100286749B1 (en) Cell transfer device of interface module in asynchronous transfer mode switch network

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