CN113507396B - Network state analysis method, device, equipment and machine-readable storage medium - Google Patents

Network state analysis method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN113507396B
CN113507396B CN202110736581.5A CN202110736581A CN113507396B CN 113507396 B CN113507396 B CN 113507396B CN 202110736581 A CN202110736581 A CN 202110736581A CN 113507396 B CN113507396 B CN 113507396B
Authority
CN
China
Prior art keywords
detection point
time
time delay
equipment
time information
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
CN202110736581.5A
Other languages
Chinese (zh)
Other versions
CN113507396A (en
Inventor
王宇轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110736581.5A priority Critical patent/CN113507396B/en
Publication of CN113507396A publication Critical patent/CN113507396A/en
Application granted granted Critical
Publication of CN113507396B publication Critical patent/CN113507396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays

Landscapes

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

Abstract

The present disclosure provides a network state analysis method, apparatus, device and machine readable storage medium, the method comprising: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period; acquiring second time information of each time delay message passing through second detection point equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, and taking the average time delay as the network time delay from the first detection point device to the second detection point device. According to the technical scheme, the average time delay of each time delay message between two devices in the network system is acquired in a statistical period, the time delay is used as the network time delay, and the inaccuracy of network state detection results caused by complex network topology with distributed devices and multiple links between the two devices is improved.

Description

Network state analysis method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a machine-readable storage medium for analyzing a network state.
Background
The iFIT (in-situ Flow Information Telemetry, flow-following detection scheme) is a measurement technology for measuring network performance indexes, which is applied to MPLS (Multiprotocol Label Switching ), SR (Segment Routing) and IPv6 SR (SRv 6) networks, and directly measures parameters such as real packet loss rate, time delay and the like of service messages, and has the advantages of convenient deployment, high statistical accuracy and the like.
The flow following detection is to utilize the normal forwarded service flow, insert control information into the designated service flow, process the control information through forwarding equipment, report the acquired information to an analyzer, detect and identify fine anomalies in the network, accurately detect performance information such as delay, packet loss and the like of each service, enable the network quality SLA to be visible in real time, and achieve rapid fault delimiting and positioning.
In a complex network system, when an iFIT is used for analyzing the network state between two devices of the network system, the situations of unreliable time delay detection results and large data jitter may occur.
Disclosure of Invention
In view of the above, the present disclosure provides a network state analysis method, a network state analysis device, an electronic device, and a machine-readable storage medium, so as to solve the problem of inaccurate detection results.
The technical scheme is as follows:
the present disclosure provides a network state analysis method, applied to analysis equipment of a network system, the method comprising: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment and sending the first time information related to a time point of each time delay message passing through the first detection point equipment in the current statistical period to the analysis equipment; acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment and sending second time information related to a time point of each time delay message passing through the second detection point equipment to the analysis equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, and taking the average time delay as the network time delay from the first detection point device to the second detection point device.
As a technical solution, the obtaining first time information of each time delay message passing through a first detection point device in a current statistical period, where the first detection point device is configured to respond to an instruction of an analysis device, and send, to the analysis device, first time information associated with a time point of each time delay message passing through the first detection point device in the current statistical period, includes: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the first detection point equipment in the current statistical period to generate the first time information, and sending the first time information to the analysis equipment; the obtaining the second time information of the time delay messages passing through the second detection point device, where the second detection point device is configured to send, to the analysis device, second time information associated with a time point when the time delay messages pass through the second detection point device in response to an instruction of the analysis device, where the second time information includes: acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the second detection point equipment to generate second time information, and sending the second time information to the analysis equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, including: dividing the difference value of the first time information and the second time information by the total number of messages of each time delay message, and taking the calculated result as the average time delay of each time delay message from the first detection point device to the second detection point device.
As a technical solution, the obtaining second time information of each time delay packet passing through a second detection point device, where the second detection point device is configured to send, in response to an instruction of an analysis device, second time information associated with a time point when each time delay packet passes through the second detection point device to the analysis device, includes: and acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, generating the second time information according to the number of the time delay messages which pass through the second detection point equipment before a preset time point and each time point, and sending the second time information to the analysis equipment.
According to the technical scheme, the network packet loss rate from the first detection point device to the second detection point device is obtained according to the number of delay messages passing through the second detection point device before a preset time point and the number of delay messages passing through the first detection point device.
The present disclosure also provides a network state analysis device applied to an analysis apparatus of a network system, the device comprising: the first instruction module is used for acquiring first time information of each time delay message passing through the first detection point device in the current statistical period, and the first detection point device is used for responding to an instruction of the analysis device and sending the first time information which is related to a time point of each time delay message passing through the first detection point device in the current statistical period to the analysis device; the second instruction module is used for acquiring second time information of each time delay message passing through second detection point equipment, and the second detection point equipment is used for responding to an instruction of the analysis equipment and sending the second time information related to a time point of each time delay message passing through the second detection point equipment to the analysis equipment; the state analysis module calculates the average time delay of each time delay message from the first detection point device to the second detection point device according to the first time information and the second time information, and takes the average time delay as the network time delay from the first detection point device to the second detection point device.
As a technical solution, the obtaining first time information of each time delay message passing through a first detection point device in a current statistical period, where the first detection point device is configured to respond to an instruction of an analysis device, and send, to the analysis device, first time information associated with a time point of each time delay message passing through the first detection point device in the current statistical period, includes: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the first detection point equipment in the current statistical period to generate the first time information, and sending the first time information to the analysis equipment; the obtaining the second time information of the time delay messages passing through the second detection point device, where the second detection point device is configured to send, to the analysis device, second time information associated with a time point when the time delay messages pass through the second detection point device in response to an instruction of the analysis device, where the second time information includes: acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the second detection point equipment to generate second time information, and sending the second time information to the analysis equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, including: dividing the difference value of the first time information and the second time information by the total number of messages of each time delay message, and taking the calculated result as the average time delay of each time delay message from the first detection point device to the second detection point device.
As a technical solution, the obtaining second time information of each time delay packet passing through a second detection point device, where the second detection point device is configured to send, in response to an instruction of an analysis device, second time information associated with a time point when each time delay packet passes through the second detection point device to the analysis device, includes: and acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, generating the second time information according to the number of the time delay messages which pass through the second detection point equipment before a preset time point and each time point, and sending the second time information to the analysis equipment.
According to the technical scheme, the network packet loss rate from the first detection point device to the second detection point device is obtained according to the number of delay messages passing through the second detection point device before a preset time point and the number of delay messages passing through the first detection point device.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned network state analysis method.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned network state analysis method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
and acquiring the average time delay of each time delay message between two devices in the network system in a statistical period, and using the time delay as the network time delay to improve inaccurate network state detection results caused by complex network topology of distributed devices and multiple links between the two devices.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required to be used in the embodiments of the present disclosure or the description of the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may also be obtained according to these drawings of the embodiments of the present disclosure to those skilled in the art.
FIG. 1 is a flow chart of a network state analysis method in one embodiment of the present disclosure;
FIG. 2 is a block diagram of a network state analysis device in one embodiment of the present disclosure;
fig. 3 is a hardware configuration diagram of an electronic device in one embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
In one embodiment, the fit on-stream detection requires that the network device and the analysis device cooperate to complete, and the entire detection system includes the following roles:
ingress node (Ingress): the method comprises the steps of screening target flow, adding a specific detection data structure for the target flow, collecting statistical data of the target flow and reporting the statistical data to an analyzer;
intermediate node (Transmit): judging whether the message is a detection target flow according to whether the message contains a detection data structure, and determining whether statistical data of the target flow need to be collected and reported to an analyzer according to the measurement type carried in the detection data structure for the detection target flow;
egress node (Egress): judging whether the message is a detection target flow according to whether the message contains a detection data structure, collecting statistical data of the target flow for the detection target flow, reporting the statistical data to an analyzer, and removing the detection data structure in the message;
analytical equipment (Analyzer): and the system is responsible for collecting statistical data sent by the input node, the intermediate node and the output node and completing the summarization and calculation of the data.
According to the detection requirements of different application scenes, the stream following detection can be divided into two detection types, namely end-to-end measurement and point-to-point measurement.
The end-to-end measurement type may be selected when a user wishes to measure packet loss and latency performance of the entire network. End-to-end measurements measure whether there is a packet loss and a time delay parameter between a device entering the network (traffic ingress) and a device leaving the network (traffic egress).
The segment-by-segment measurement type may be selected when the user wishes to accurately locate the packet loss and delay performance of each network node. When the end-to-end statistics scene is found to have packet loss or the time delay does not meet the service requirement according to the measurement result, the network between the end and the end can be divided into a plurality of smaller measurement sections, whether the packet loss and the time delay value exist between every two network elements or not is measured, and the network element position affecting the network performance is further positioned.
The technical problem exists in the scheme.
If the head node is a distributed device, there may be multiple interfaces receiving message traffic at different hardware devices (different interface boards), and a period of time may occur that there are multiple delay messages for detecting network status and delay, if multiple delay messages are generated, a subsequent detection node may also receive multiple delay messages, which time point message is not determined to be given to the analysis device, which results in unreliable delay detection result.
The iFIT is the direct detection of the real flow, the time delay detection result can only represent the time delay of the selected message which is the time delay message in the period, and the time delay detection result is a reference value for the configured whole detection target flow.
When there are multiple links between the head detection point and the tail detection point, since only one message is selected as a delay message in one detection period, only one link can pass through, so that only one detection period can output a delay detection result of one link, and the conditions of equivalent links are difficult to support, etc., the conditions that the delay of the first period is related to the link 1, the delay of the second period is related to the link 2, the delay of the third period is related to the link 3 can occur, and the output data is easily misjudged as large network jitter.
In view of the above, the present disclosure provides a network state analysis method, a network state analysis device, an electronic device, and a machine-readable storage medium, so as to solve the problem of inaccurate detection results.
Specifically, the technical scheme is as follows.
In one embodiment, the present disclosure provides a network state analysis method applied to an analysis device of a network system, the method including: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment and sending the first time information related to a time point of each time delay message passing through the first detection point equipment in the current statistical period to the analysis equipment; acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment and sending second time information related to a time point of each time delay message passing through the second detection point equipment to the analysis equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, and taking the average time delay as the network time delay from the first detection point device to the second detection point device.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, obtaining first time information of each time delay message passing through first detection point equipment in a current statistical period;
step S12, obtaining second time information of each time delay message passing through second detection point equipment;
step S13, calculating the average time delay of each time delay message from the first detection point device to the second detection point device according to the first time information and the second time information, and taking the average time delay as the network time delay from the first detection point device to the second detection point device.
And acquiring the average time delay of each time delay message between two devices in the network system in a statistical period, and using the time delay as the network time delay to improve inaccurate network state detection results caused by complex network topology of distributed devices and multiple links between the two devices.
In the embodiment of the disclosure, the first detection point device may be an ingress node, or may be an intermediate node, and the second detection point device may be an intermediate node, or may be an egress node.
In one embodiment, the obtaining the first time information of each time delay message passing through the first detection point device in the current statistical period, where the first detection point device is configured to send, in response to an instruction of the analysis device, the first time information associated with a time point of each time delay message passing through the first detection point device in the current statistical period to the analysis device includes: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the first detection point equipment in the current statistical period to generate the first time information, and sending the first time information to the analysis equipment; the obtaining the second time information of the time delay messages passing through the second detection point device, where the second detection point device is configured to send, to the analysis device, second time information associated with a time point when the time delay messages pass through the second detection point device in response to an instruction of the analysis device, where the second time information includes: acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the second detection point equipment to generate second time information, and sending the second time information to the analysis equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, including: dividing the difference value of the first time information and the second time information by the total number of messages of each time delay message, and taking the calculated result as the average time delay of each time delay message from the first detection point device to the second detection point device.
In one embodiment, the obtaining the second time information of the time delay messages passing through the second detection point device, where the second detection point device is configured to send, in response to an instruction of the analysis device, the second time information associated with a time point when the time delay messages pass through the second detection point device to the analysis device, includes: and acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, generating the second time information according to the number of the time delay messages which pass through the second detection point equipment before a preset time point and each time point, and sending the second time information to the analysis equipment.
Considering that packet loss may exist, when a part of delay messages still exist after a preset time point do not pass through the second detection point device, considering that the part of delay messages are lost, in order to calculate network delay, the second detection point device sends up second time information which is generated by accumulating the passing time point and the passing quantity of the delay messages passing through the second detection point device, the analysis device divides the accumulated time sent up by the second detection point device by the quantity of the delay messages passing through the second detection point device to obtain an average passing time point of the delay messages passing through the second detection point device, and then subtracts the average passing time point of the delay messages passing through the first detection point device, which is obtained by subtracting the quantity of the delay messages corresponding to the accumulated passing time point box of the delay messages passing through the first detection point device, so as to obtain average network delay between the first detection point device and the second detection point device.
In one embodiment, the network packet loss rate from the first detection point device to the second detection point device is obtained according to the number of delay messages passing through the second detection point device before the preset time point and the number of delay messages passing through the first detection point device.
Dividing the number of delay messages passing through the second detection point device by the number of delay messages passing through the first detection point device to obtain the network packet loss rate.
When the time delay detection is enabled, setting a message D mark of all the packets with the encapsulated iFIT heads on an ingress node serving as first detection point equipment, and distributing a counter for each detection point equipment, wherein the counter is used for recording an accumulated value of a time point when all the packets with the time delay marks are forwarded by the detection point equipment in one period, and the subsequent accumulated value can be periodically reported to analysis equipment along with other detection data. The data acquired by the analysis equipment at least comprises an accumulated value and the number of delay messages in one period, and the simple networking comprises a first detection point device serving as an input node and a second detection point device serving as an output node, and if the delay is required to be calculated, the data can be obtained by dividing the difference of the accumulated values of the two detection point devices by the number of delay messages.
Because the time delay is calculated by using the accumulated values of the time points in the embodiment, if the time delay between the first detection point device and the second detection point device serving as a certain intermediate node is desired, the network time delay data can be obtained only by adding the accumulated values of all the first detection point devices and calculating the related data of the second detection point device, wherein the first detection point device and the second detection point device are not limited to be distributed devices, and the first detection point device and the second detection point device are not limited to be provided with a plurality of links.
The time delay calculated by the method is the time delay average value of all messages in one period, and can represent the actual condition of network time delay in the period.
In one embodiment, the present disclosure also provides a network status analysis apparatus, such as fig. 2, applied to an analysis device of a network system, the apparatus including: a first instruction module 21, configured to obtain first time information of each time delay packet passing through a first detection point device in a current statistics period, where the first detection point device is configured to send, in response to an instruction of an analysis device, first time information associated with a time point of each time delay packet passing through the first detection point device in the current statistics period to the analysis device; a second instruction module 22, configured to obtain second time information of each time delay packet passing through a second detection point device, where the second detection point device is configured to send, in response to an instruction of the analysis device, second time information associated with a time point at which each time delay packet passes through the second detection point device to the analysis device; the state analysis module 23 calculates an average time delay of each time delay message from the first detection point device to the second detection point device according to the first time information and the second time information, and uses the average time delay as a network time delay from the first detection point device to the second detection point device.
In one embodiment, the obtaining the first time information of each time delay message passing through the first detection point device in the current statistical period, where the first detection point device is configured to send, in response to an instruction of the analysis device, the first time information associated with a time point of each time delay message passing through the first detection point device in the current statistical period to the analysis device includes: acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the first detection point equipment in the current statistical period to generate the first time information, and sending the first time information to the analysis equipment; the obtaining the second time information of the time delay messages passing through the second detection point device, where the second detection point device is configured to send, to the analysis device, second time information associated with a time point when the time delay messages pass through the second detection point device in response to an instruction of the analysis device, where the second time information includes: acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the second detection point equipment to generate second time information, and sending the second time information to the analysis equipment; according to the first time information and the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, including: dividing the difference value of the first time information and the second time information by the total number of messages of each time delay message, and taking the calculated result as the average time delay of each time delay message from the first detection point device to the second detection point device.
In one embodiment, the obtaining the second time information of the time delay messages passing through the second detection point device, where the second detection point device is configured to send, in response to an instruction of the analysis device, the second time information associated with a time point when the time delay messages pass through the second detection point device to the analysis device, includes: and acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, generating the second time information according to the number of the time delay messages which pass through the second detection point equipment before a preset time point and each time point, and sending the second time information to the analysis equipment.
In one embodiment, the network packet loss rate from the first detection point device to the second detection point device is obtained according to the number of delay messages passing through the second detection point device before the preset time point and the number of delay messages passing through the first detection point device.
The device embodiments are the same as or similar to the corresponding method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned network state analysis method, and from a hardware level, a hardware architecture diagram may be shown in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned network state analysis method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like. For example, a machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware when implementing the present disclosure.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (6)

1. A network state analysis method, characterized by being applied to an analysis device of a network system, the method comprising:
acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the first detection point equipment in the statistical period, generating the first time information according to the number of the time delay messages passing through the first detection point equipment in the statistical period, and sending the first time information to the analysis equipment;
acquiring second time information of each time delay message passing through second detection point equipment, wherein the second detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the second detection point equipment before a preset time point, generating second time information according to the number of the time delay messages passing through the second detection point equipment before the preset time point, and sending the second time information to the analysis equipment;
according to the accumulation time points and the quantity included in the first time information and the accumulation time points and the quantity included in the second time information, calculating the average time delay of each time delay message from the first detection point device to the second detection point device, wherein the average time delay is obtained by dividing the accumulation time points included in the second time information by the quantity and subtracting the accumulation time points included in the first time information by the quantity, and the average time delay is taken as the network time delay from the first detection point device to the second detection point device.
2. The method of claim 1, wherein the network packet loss rate from the first detection point device to the second detection point device is obtained according to the number of delay messages that have passed through the second detection point device before the preset time point and the number of delay messages that have passed through the first detection point device.
3. A network state analysis apparatus, characterized by being applied to an analysis device of a network system, comprising:
the first instruction module is used for acquiring first time information of each time delay message passing through first detection point equipment in a current statistical period, wherein the first detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the first detection point equipment in the statistical period, generating the first time information according to the number of the time delay messages passing through the first detection point equipment in the statistical period, and sending the first time information to the analysis equipment;
the second instruction module is used for acquiring second time information of each time delay message passing through second detection point equipment, the second detection point equipment is used for responding to an instruction of analysis equipment, accumulating time points of each time delay message passing through the second detection point equipment before a preset time point, generating second time information according to the number of the time delay messages passing through the second detection point equipment before the preset time point, and sending the second time information to the analysis equipment;
the state analysis module calculates the average time delay of each time delay message from the first detection point device to the second detection point device according to the accumulation time points and the quantity included in the first time information and the accumulation time points and the quantity included in the second time information.
4. The apparatus of claim 3, wherein the network packet loss rate from the first detection point device to the second detection point device is obtained according to the number of delay messages that have passed through the second detection point device before the preset time point and the number of delay messages that have passed through the first detection point device.
5. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-2.
6. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-2.
CN202110736581.5A 2021-06-30 2021-06-30 Network state analysis method, device, equipment and machine-readable storage medium Active CN113507396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110736581.5A CN113507396B (en) 2021-06-30 2021-06-30 Network state analysis method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110736581.5A CN113507396B (en) 2021-06-30 2021-06-30 Network state analysis method, device, equipment and machine-readable storage medium

Publications (2)

Publication Number Publication Date
CN113507396A CN113507396A (en) 2021-10-15
CN113507396B true CN113507396B (en) 2023-07-14

Family

ID=78009717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110736581.5A Active CN113507396B (en) 2021-06-30 2021-06-30 Network state analysis method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN113507396B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114172830B (en) * 2021-10-28 2023-12-12 阿里巴巴(中国)有限公司 Network delay detection method, device and system
CN115914038B (en) * 2022-11-11 2024-04-09 中国联合网络通信集团有限公司 Degradation forwarding device detection method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301624A (en) * 2016-07-26 2017-01-04 珠海许继电气有限公司 A kind of distribution terminal GPRS wireless data transmission time delay automatic test approach
WO2018113425A1 (en) * 2016-12-19 2018-06-28 华为技术有限公司 Method, apparatus and system for detecting time delay
CN108390796A (en) * 2018-02-10 2018-08-10 盛科网络(苏州)有限公司 A kind of latency test method and device
CN111277454A (en) * 2020-01-15 2020-06-12 Ut斯达康通讯有限公司 Network performance detection system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398557B (en) * 2019-08-16 2022-06-28 华为技术有限公司 Time delay statistical method, device, storage medium and system
CN112787877B (en) * 2019-11-07 2022-08-26 华为技术有限公司 Network delay detection method and related equipment
CN112994961B (en) * 2019-12-02 2023-02-07 华为技术有限公司 Transmission quality detection method, device, system and storage medium
CN112291093A (en) * 2020-10-29 2021-01-29 迈普通信技术股份有限公司 Network detection method, device, network equipment and network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301624A (en) * 2016-07-26 2017-01-04 珠海许继电气有限公司 A kind of distribution terminal GPRS wireless data transmission time delay automatic test approach
WO2018113425A1 (en) * 2016-12-19 2018-06-28 华为技术有限公司 Method, apparatus and system for detecting time delay
CN108390796A (en) * 2018-02-10 2018-08-10 盛科网络(苏州)有限公司 A kind of latency test method and device
CN111277454A (en) * 2020-01-15 2020-06-12 Ut斯达康通讯有限公司 Network performance detection system and method

Also Published As

Publication number Publication date
CN113507396A (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN111052668B (en) Residence time measurement for optimizing network services
CN108028778B (en) Method, system and apparatus for generating information transmission performance warning
CN113507396B (en) Network state analysis method, device, equipment and machine-readable storage medium
CN107634872B (en) Method and device for quickly and accurately measuring network link quality
CN105721184B (en) A kind of monitoring method and device of network link quality
EP2081321A2 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
CN100369424C (en) Method and apparatus for estimating terminal to terminal service grade protocol
WO2007010763A1 (en) Communication quality determining apparatus, communication quality determining method and its program
WO2009064651A1 (en) Instrumenting packet flows
CN108111432A (en) Message forwarding method and device
CN108259208B (en) Method and equipment for detecting message dye bit conflict
CN110740065B (en) Method, device and system for identifying degradation fault point
CN114584485B (en) Method, apparatus, device and computer readable storage medium for detecting edge network quality
JP5801241B2 (en) Network state change detection system, traffic information storage device, network state change detection method, and traffic information storage program
CN104539471A (en) Bandwidth metering method and device and computer equipment
EP2629453B1 (en) Method, apparatus and system for setting a size of an event correlation time window
CN108234227B (en) Time delay measuring method and device of network node equipment and network node equipment
CN107438268B (en) Method and device for accelerating wireless network for mobile device
US7386613B2 (en) System and method for measuring middleware response time
JP2009118272A (en) Program for network band estimation, apparatus for network band estimation, method for network band estimation, and measuring apparatus
CN113518017B (en) Network state analysis method, device, equipment and machine readable storage medium
CN107995053B (en) Method and device for detecting network packet loss based on software defined network
CN115665006A (en) Method and device for detecting following flow
CN111935769B (en) Poor cell identification method, device and equipment
CN112152865B (en) Network performance measuring device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant