CN112152876A - Method and device for acquiring packet loss information - Google Patents

Method and device for acquiring packet loss information Download PDF

Info

Publication number
CN112152876A
CN112152876A CN202010942920.0A CN202010942920A CN112152876A CN 112152876 A CN112152876 A CN 112152876A CN 202010942920 A CN202010942920 A CN 202010942920A CN 112152876 A CN112152876 A CN 112152876A
Authority
CN
China
Prior art keywords
packet loss
information
target
event
port
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.)
Granted
Application number
CN202010942920.0A
Other languages
Chinese (zh)
Other versions
CN112152876B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202010942920.0A priority Critical patent/CN112152876B/en
Publication of CN112152876A publication Critical patent/CN112152876A/en
Application granted granted Critical
Publication of CN112152876B publication Critical patent/CN112152876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements

Abstract

The application relates to the technical field of communication, in particular to a method and a device for acquiring packet loss information, which are applied to a switch and used for receiving first configuration information sent by a server, wherein the first configuration information at least comprises a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs; detecting the target packet loss event in a target port corresponding to the target port identification and a target queue corresponding to the target queue number; when the target packet loss event is determined to occur, the packet loss information of the target packet loss event is acquired, so that the port and the queue of the packet loss event are concerned, the packet loss information is acquired from the port and the queue of the packet loss event, and the packet loss information can be accurately acquired.

Description

Method and device for acquiring packet loss information
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for acquiring packet loss information.
Background
At present, during data transmission, a switch usually receives a large number of data packets sent from a server, and when the amount of information of the data packets received by the switch is too much, a packet loss event occurs.
In the current traffic environment, because the type and the quantity of the received data packets are very many, therefore, the switch detects a packet loss event, and when packet loss information corresponding to the packet loss event is acquired, the quantity of the acquired packet loss information is very many, when the packet loss information is detected for the first time, and next time the same packet loss information as the first time needs to be detected, because the quantity of the packet loss information detected each time is very many, therefore, the time consumption is still too long, therefore, how to accurately acquire the required packet loss information becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring packet loss information, so as to accurately acquire the required packet loss information.
The embodiment of the application provides the following specific technical scheme:
a method for obtaining packet loss information is applied to a switch and comprises the following steps:
receiving first configuration information sent by a server, wherein the first configuration information at least comprises a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs;
detecting the target packet loss event in a target port corresponding to the target port identification and a target queue corresponding to the target queue number;
and when the target packet loss event is determined to occur, acquiring packet loss information of the target packet loss event.
Optionally, before receiving the first configuration information sent by the server, the method further includes:
receiving second configuration information sent by the server, wherein the second configuration information at least comprises default port identifications, and the default port identifications are port identifications corresponding to all ports on the switch;
respectively detecting a packet loss event in the port corresponding to each default port identifier;
when a packet loss event is determined to occur, acquiring packet loss information corresponding to the packet loss event;
and sending the packet loss information to the server so that the server takes the port identifier in the packet loss information as a target port identifier, takes the queue number as a target queue number, and takes a packet loss event corresponding to the packet loss information as a target packet loss event.
Optionally, after obtaining packet loss information of the target packet loss event, or after obtaining packet loss information corresponding to the packet loss event, the method further includes:
reading packet loss attribute information and packet loss message information in the packet loss information, wherein the packet loss information at least comprises the packet loss attribute information and the packet loss message information;
if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not both 0, determining that the packet loss information is correctly acquired packet loss information, wherein the packet loss attribute information at least comprises the timestamp field, and the packet loss message information at least comprises the timestamp field.
Optionally, if the first configuration information further includes quintuple information, and if the packet loss attribute information further includes at least packet header information, when it is determined that the target packet loss event occurs, and when the packet loss information of the target packet loss event is obtained, the method specifically includes:
reading quintuple information in the message header information;
and if the quintuple information in the first configuration information is the same as the quintuple information in the message header information, determining the target packet loss event and acquiring the packet loss information of the target packet loss event.
Optionally, the first configuration information further includes one or any combination of the following items: detecting the overtime time of the packet loss event, the time interval of the packet loss event and the message sampling rate.
An apparatus for obtaining packet loss information, applied to a switch, includes:
a first receiving module, configured to receive first configuration information sent by a server, where the first configuration information at least includes a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs;
a first detection module, configured to detect the target packet loss event in a target port corresponding to the target port identifier and a target queue corresponding to the target queue number;
and the first processing module is used for acquiring packet loss information of the target packet loss event when the target packet loss event is determined to occur.
Optionally, before receiving the first configuration information sent by the server, the method further includes:
a second receiving module, configured to receive second configuration information sent by the server, where the second configuration information at least includes default port identifiers, and each default port identifier is a port identifier corresponding to all ports on the switch;
the second detection module is used for respectively detecting a packet loss event in the port corresponding to each default port identifier;
the second processing module is used for acquiring packet loss information corresponding to the packet loss event when the packet loss event occurs;
and the sending module is used for sending the packet loss information to the server so that the server takes the port identifier in the packet loss information as a target port identifier, takes the queue number as a target queue number, and takes a packet loss event corresponding to the packet loss information as a target packet loss event.
Optionally, after obtaining packet loss information of the target packet loss event or obtaining packet loss information corresponding to the packet loss event, the first processing module or the second processing module is further configured to:
reading packet loss attribute information and packet loss message information in the packet loss information, wherein the packet loss information at least comprises the packet loss attribute information and the packet loss message information;
if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not both 0, determining that the packet loss information is correctly acquired packet loss information, wherein the packet loss attribute information at least comprises the timestamp field, and the packet loss message information at least comprises the timestamp field.
Optionally, if the first configuration information further includes quintuple information, and if the packet loss attribute information further includes at least packet header information, when it is determined that the target packet loss event occurs, and when the packet loss information of the target packet loss event is obtained, the first processing module is specifically configured to:
reading quintuple information in the message header information;
and if the quintuple information in the first configuration information is the same as the quintuple information in the message header information, determining the target packet loss event and acquiring the packet loss information of the target packet loss event.
Optionally, the first configuration information further includes one or any combination of the following items: detecting the overtime time of the packet loss event, the time interval of the packet loss event and the message sampling rate.
An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for acquiring packet loss information when executing the program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned method of acquiring packet loss information.
In the embodiment of the application, first configuration information sent by a server is received, where the first configuration information at least includes a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, the target queue number is a queue number corresponding to a queue where the target packet loss event occurs, a target packet loss event is detected in the target port corresponding to the target port identifier and the target queue corresponding to the target queue number, when the target packet loss event occurs, packet loss information of the target packet loss event is obtained, when packet loss information is detected for the first time and packet loss information the same as that of the first time needs to be detected for the next time, all ports do not need to be detected, only the port and the queue where the target packet loss event occurs need to be concerned, and packet loss detection is performed on the target port and the target queue where the target packet loss event occurs, therefore, the required packet loss information can be accurately acquired, and the time consumption for acquiring the same packet loss information is reduced.
Drawings
Fig. 1 is a flowchart of a method for acquiring packet loss information in an embodiment of the present application;
FIG. 2 is a diagram of a TCB state machine in an embodiment of the present application;
fig. 3 is a schematic diagram of a scenario in which a cache occupancy value is higher than a start _ threshold in the embodiment of the present application;
FIG. 4 is a diagram illustrating a scenario in which a cache occupancy value is lower than end _ threshold in an embodiment of the present application;
FIG. 5 is a flowchart illustrating the interaction of TCB default enablement in an embodiment of the present application;
FIG. 6 is an interaction flow diagram of TCB precise enablement in an embodiment of the present application;
FIG. 7 is a diagram illustrating the matching of default enable and precise enable in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a device for acquiring packet loss information in the embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, in a data transmission process, a server issues a data packet to a switch, the switch usually receives a large number of data packets sent from the server, and when the data packets received by the switch are too many and cannot process more data, the received data packets are discarded, so that a packet loss event occurs.
In the current flow environment, because the type and the quantity of the received data packet are very many, therefore, the switch is when catching packet loss information, the information content of the packet loss information that catches can be very big, in such a complicated flow environment, when the switch detects out packet loss information for the first time, and expect to look for the same packet loss information with the first time again next time, because the information content of the packet loss information that catches each time is all very many, lead to when next time acquireing the same packet loss information with the first time, still can consume time overlength, therefore, how can accurately acquire required packet loss information, become a problem that needs to be solved urgently.
In order to solve the above problem, in the embodiment of the present application, a method for obtaining packet loss information is provided, where the first configuration information sent by a server is received, where the first configuration information at least includes a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, the target queue number is a queue number corresponding to a queue where the target packet loss event occurs, a target port corresponding to the target port identifier and a target queue corresponding to the target queue number are detected, and when it is determined that the target packet loss event occurs, packet loss information of the target packet loss event is obtained, so that when next packet loss information same as the last packet loss event needs to be obtained, the target port, the identifier, and the target queue number of the target packet loss event that needs to be detected are set in the first configuration information, and after a switch receives the first configuration information, only the target port and the target queue where the target packet loss event occurs are configured, and all ports of the switch do not need to be configured, so that the required packet loss information can be accurately acquired, and the time consumption for acquiring the same packet loss information is reduced.
Based on the foregoing embodiment, referring to fig. 1, a flowchart of a method for acquiring packet loss information in the embodiment of the present application is applied to a switch, and specifically includes:
step 100: and receiving first configuration information sent by a server.
The first configuration information at least includes a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs.
The method in this embodiment of the present application may be applied to a switch, and this is not limited in this embodiment of the present application.
In the embodiment of the application, a user sets an accurate enabling script on a server, the accurate enabling script at least comprises first configuration information, the first configuration information at least comprises a target port identifier and a target queue number, the server sends the accurate enabling script to software of a switch, the software of the switch reads the first configuration information in the accurate enabling script and stores the first configuration information in the accurate enabling script, then the software of the switch sends the first configuration information to hardware of the switch, and the hardware of the switch receives the first configuration information sent by the software of the switch.
The first configuration information at least includes a target port identifier and a target queue number, where the target port identifier and the target queue number are obtained when packet loss information is obtained for the first time, and a port identifier corresponding to a port to be detected currently and a queue number corresponding to a queue to be detected are obtained.
In the following, the step of obtaining the target port identifier and the target queue number in the embodiment of the present application is described in detail, and specifically includes:
s1: and receiving second configuration information sent by the server.
The second configuration information at least includes default port identifiers, and each default port identifier is a port identifier corresponding to all ports on the switch.
In the embodiment of the application, a user sets a default enabling script on a server, the default enabling script at least comprises second configuration information, the server sends the default enabling script to software of a switch, the software of the switch reads the second configuration information in the default enabling script and stores the second configuration information in the default enabling script, then the software of the switch issues the second configuration information to hardware of the switch, and the hardware of the switch receives the second configuration information issued by the software of the switch.
It should be noted that, when the packet loss information is obtained for the first time, it is not known which port and queue will have a packet loss event, and therefore all ports on the switch need to be enabled, and packet loss detection is performed on each port, and therefore, the second configuration information at least includes each default port identifier, where each default port identifier is a port identifier corresponding to all ports on the switch.
For example, assuming that a switch has 8 ports in total, the second configuration information includes at least port identifiers corresponding to the 8 ports.
S2: and respectively detecting a packet loss event in the port corresponding to each default port identification.
In this embodiment of the present application, a port corresponding to each default port identifier is determined according to each default port identifier in second configuration information sent by a server and a corresponding relationship between each default port identifier and a port, because the second configuration information at least includes the default port identifiers corresponding to all ports on a switch, when a packet loss event is detected by the switch according to the second configuration information, a default detection object is all ports on the switch, each port is enabled, and other related functions of hardware are configured according to other configuration information in the second configuration information, after the hardware configuration of the switch is completed, each port is enabled, and whether a packet loss event occurs on each port is continuously detected, and because the second configuration information in this embodiment includes each default port identifier, therefore, the process of acquiring the packet loss information through the second configuration information may be regarded as a default-enabled process.
Specifically, in the embodiment of the present application, whether a packet loss event occurs may be detected through a hardware function of the chip, which is a mature technology in the field and is not described herein again.
S3: and when the packet loss event is determined to occur, acquiring packet loss information corresponding to the packet loss event.
In the embodiment of the application, if the hardware cache area of one port of each port determines that there is not enough space to cache the data packet, a packet loss event occurs at this time, and when the packet loss event is determined to occur, packet loss information corresponding to the packet loss event is obtained.
The packet loss information at least includes a port identifier and a queue number.
S4: and sending the packet loss information to a server so that the server takes the port identifier in the packet loss information as a target port identifier, takes the queue number as a target queue number, and takes the packet loss event corresponding to the packet loss information as a target packet loss event.
In the embodiment of the application, packet loss information is sent to a server, after the server receives the packet loss information, the server can know which port and queue of a switch have a packet loss event, and then the server reads a port identifier and a queue number in the packet loss information, takes the port identifier as a target port identifier, takes the queue number as a target queue number, and takes the packet loss event corresponding to the packet loss information as a target packet loss event.
Therefore, when the same packet loss information is to be acquired next time, packet loss detection can be performed only on the port corresponding to the target port identifier and the queue corresponding to the target queue number, and accurate acquisition of the required packet loss information can be achieved.
Further, the first configuration information and the second configuration information in the embodiment of the present application further include a switch identifier.
For example, when a user sets an accurate enabling script on a server, a switch which needs to detect packet loss information is determined, a switch identifier corresponding to the switch is determined, then the determined switch identifier is added to the accurate enabling script, and when the server sends the accurate enabling script to the switch, the server reads first configuration information in the accurate enabling script and reads the switch identifier in the first configuration information, then the switch corresponding to the switch identifier is determined according to the corresponding relation between the switch identifier and the switch, and the accurate enabling script is issued to the determined switch.
Further, in this embodiment of the application, the first configuration information and the second configuration information further include an enable identifier, and the enable identifier is turned on, and after the switch receives the enable identifier, the switch starts to operate according to an enable Transient Capture Buffer (TCB) of the enable identifier, that is, after the switch receives the enable identifier, the switch starts to acquire packet loss information.
It should be noted that the enabling identifier can be specifically divided into the following two cases.
In the first case: the enable flag is on.
When the enable identifier is turned on, the TCB can be enabled to start working, and packet loss information can be acquired.
And when the switch receives the first configuration information, the switch configures a monitoring range according to the first configuration information, wherein the monitoring range is a target port and a target queue, and the TCB works in the configured monitoring range.
In the second case: the enable flag is off.
When the enable identifier is closed, even if the switch receives the first configuration information or the second configuration information, the TCB cannot be enabled to start working, and further the packet loss information cannot be acquired.
The content included in the packet loss information in the embodiment of the present application is described in detail below, where the packet loss information at least includes packet loss packet information and packet loss attribute information.
The packet loss message information at least includes message attribute information and message header information, the message attribute information at least includes a message timestamp, a source port number, a destination port number, source information, destination information, Memory Management Unit (MMU) cache occupation information, the queue cache occupation information, a queue number, and a check code, and the message header information at least includes a message header high order and a message header low order.
In this embodiment of the present application, the packet loss packet information is stored in a TCB _ BUFFER cache in the TCB function, and as shown in table 1, is a specific data content of the TCB _ BUFFER in this embodiment of the present application.
Table 1.
Figure BDA0002674248690000101
The packet loss attribute information at least includes a message timestamp, a source port number, source information, destination information, a queue number, MMU cache occupancy information, the queue cache occupancy information, a packet loss reason, a packet loss position, and a check bit.
In this embodiment of the present application, the packet loss attribute information is stored in an EVENT _ BUFFER cache in the TCB function, and as shown in table 2, is a specific data content of the EVENT _ BUFFER in this embodiment of the present application.
Table 2.
Figure BDA0002674248690000102
Figure BDA0002674248690000111
Step 110: and detecting a target packet loss event in a target port corresponding to the target port identification and a target queue corresponding to the target queue number.
In the embodiment of the application, a target port identifier and a target queue number of a target packet loss event occurring in first configuration information sent by a server are read, a target port corresponding to the target port identifier is determined, a target queue corresponding to the target queue number is determined, then, whether the target packet loss event occurs is detected in the determined target port and target queue, and packet loss information of the target packet loss event is obtained.
Specifically, when a target packet loss event is obtained according to first configuration information, and a packet loss event is obtained according to second configuration information, specifically, a packet loss event may be detected through a TCB, where the TCB is a technology for capturing packet loss information of a packet, the TCB technology is mainly used for obtaining packet loss traffic information of a switch, and by using the technology, when the packet loss event occurs in the switch, information on packet loss traffic conditions (packet loss port, packet loss queue, packet loss traffic type, and the like) may be collected, and the TCB may be divided into the following four stages, which are IDLE (IDLE), Pre-trigger (Pre-trigger), trigger (Post-trigger), and freeze (Frozen), and the following four stages are explained in detail, and as shown in fig. 2, the TCB state machine diagram in the embodiment specifically includes:
1、IDLE。
the IDLE state is a configuration stage of the TCB, in the IDLE state, the packet loss event detection function of the TCB is disabled, and the switch is configured with related hardware, for example, a detection object, a detection mode, a data capture amount, a data sampling rate, a sampling timer, a triggered waterline and a blocked waterline, a packet loss type, a TCB enable, and the like may be configured, and after the TCB enable configuration is completed, the TCB process will be converted into a Pre-Triger state.
2、Pre-Triger。
The Pre-Triger state detects the MMU condition of the port, the TCB function configures a trigger waterline and a stop waterline, when the buffer occupation value of the information buffer zone corresponding to the port exceeds the trigger waterline (start _ threshold), sampling the data packet in the MMU, filling the sampled data packet into TCB _ BUFFER, when the BUFFER occupancy of the port and the queue is lower than the end-threshold, the capturing of the packet is stopped, if the BUFFER occupancy is continuously higher than the start-threshold, which causes the TCB BUFFER to be filled, the newly captured packet will overwrite the old packet, when a packet loss event occurs in a port and a queue in a sampling range, the TCB process converts to a Post-Triger state, refer to fig. 3, which is a schematic diagram of a scenario in which the cache occupancy value is higher than start _ threshold in the embodiment of the present application, and refer to fig. 4, which is a schematic diagram of a scenario in which the cache occupancy value is lower than end _ threshold in the embodiment of the present application.
The MMU is mainly responsible for allocation, release and statistics of buffer resources in the switch chip, so that the buffer resources can be efficiently and reasonably utilized no matter the message forwarding is in a normal or congested state.
And the trigger waterline is a waterline for starting working and acquiring the data packet by the TCB _ BUFFER, and the stop waterline is a waterline for stopping acquiring the data packet by the TCB _ BUFFER.
3、Post-Triger。
In the Post-Triger state, when the switch receives the first configuration information, the accurate enable is performed at the time, the TCB only concerns the queue and the port which triggered the packet loss EVENT in the previous stage, the TCB _ BUFFER does not capture the data packets of other ports or queues, even if the packet loss EVENT arrives at other ports or queues, the TCB _ BUFFER does not capture the data packets, the EVENT _ BUFFER is started and captures all the packet loss EVENTs which triggered the packet loss EVENT, and when the switch receives the second configuration information, the default enable is performed at the time, the TCB pays attention to whether the packet loss EVENTs occur in all the ports and all the queues of the switch.
The Post-trigger state is not exited until the TCB _ BUFFE capture reaches the preset number or the time of the timer is up, and the Post-trigger state is switched to a Frozen stage, at this time, the data in the TCB _ BUFFER not only includes the data packets which exceed the waterline before the occurrence of the packet loss EVENT, but also includes the data packets which enter the queue after the occurrence of the packet loss EVENT, and the data of the EVENT _ BUFFER includes all packet loss information of the port.
4、Frozen。
And simultaneously locking two caches of TCB _ BUFFER and EVENT _ BUFFER in the Frozen state, switching to the Pre-trigger state once the CPU reads the cached data, waiting for the cache overrun and packet loss EVENTs again, and reading the data only in the Frozen stage.
Step 120: and when the target packet loss event is determined to occur, acquiring packet loss information of the target packet loss event.
Further, in order to filter out the detected invalid data, after acquiring the packet loss information of the packet loss event, determining whether the acquired packet loss information is non-packet loss information, and then after acquiring the port identifier of the port where the packet loss event occurs and the packet loss information of the packet loss event, or after detecting whether the packet loss event occurs in the port corresponding to the port identifier and the queue corresponding to the queue number, and acquiring the packet loss information of the packet loss event, the method further includes:
s1: and reading the packet loss attribute information and the packet loss message information in the packet loss information.
The packet loss information at least includes packet loss attribute information and packet loss message information.
In the embodiment of the present application, the packet loss information at least includes packet loss attribute information and packet loss packet information, so that the packet loss attribute information and the packet loss packet information in the packet loss information are read.
And, because the packet loss attribute information at least includes the timestamp field, and the packet loss packet information also at least includes the timestamp field, the timestamp field in the packet loss attribute information is read, and the timestamp field in the packet loss packet information is read.
S2: and if the value of the timestamp field in the packet loss attribute information is determined to be the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not 0, determining that the packet loss information is the correctly obtained packet loss information.
The packet loss attribute information at least includes a timestamp field, and the packet loss packet information at least includes a timestamp field.
In the embodiment of the present application, after the timestamp field in the packet loss attribute information and the timestamp field in the packet loss packet information are read, it is determined whether the timestamp field in the packet loss attribute information and the timestamp field in the packet loss packet information are the same, and it is determined whether a value of the timestamp field in the packet loss attribute information and a value of the timestamp field in the packet loss packet information are both not 0, which may specifically be the following four cases.
In the first case: the timestamp field in the packet loss attribute information is the same as the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are both not 0.
The method specifically comprises the following steps: if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not 0, determining that the packet loss information is the correctly acquired packet loss information.
In the embodiment of the application, the timestamp field in the packet loss attribute information is read, the timestamp field in the packet loss message information is read, and if the timestamp field in the packet loss attribute information is determined to be the same as the timestamp field in the packet loss message information and is not 0, the packet loss information is determined to be correctly obtained packet loss information.
For example, comparing the data fields TIMESTAMP in the EVENT _ BUFFER and the TCB _ BUFFER, traversing TIMESTAMP stored in each number in each EVENT _ BUFFER, comparing the data fields with the fields of TIMESTAMP stored in each number in the TCB _ BUFFER, and if the data fields are determined to be equal to each other and TIMESTAMP of the EVENT _ BUFFER field and TIMESTAMP of the TCB _ BUFFER are not 0, determining that the message information that can be in the TCB _ BUFFER number is the required packet loss information, see table 3, which is a table of the TCB _ BUFFER in the embodiment of the present application, and see table 4, which is a table of the EVENT _ BUFFER in the embodiment of the present application.
Table 3.
TCB_BUFFER 1 2 3 4 5 6 7 8 1024
Table 4.
EVENT_BUFFER 1 2 3 4 5 6 7 8 1024
The numbers in tables 3 and 4 indicate that one piece of acquired packet loss information is acquired, and each number corresponds to one another.
In the second case: the value of the timestamp field in the packet loss attribute information is different from the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not 0.
The method specifically comprises the following steps: if it is determined that the value of the timestamp field in the packet loss attribute information is different from the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not 0, acquiring invalid data which is not the packet loss information.
In the third case: the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, but one of the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information is 0.
The method specifically comprises the following steps: if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, but one of the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information is 0, the invalid data which is not the packet loss information is acquired.
In a fourth case: the value of the timestamp field in the packet loss attribute information is different from the value of the timestamp field in the packet loss message information, but one of the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information is 0.
The method specifically comprises the following steps: if it is determined that the value of the timestamp field in the packet loss attribute information is different from the value of the timestamp field in the packet loss message information, but one of the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information is 0, the invalid data which is not the packet loss information is acquired.
Further, in this embodiment of the application, in order to correctly obtain the same packet loss information as that obtained at the previous time, after obtaining the packet loss information, the five-tuple information of the packet loss information obtained at the first time and the five-tuple information of the packet loss information obtained at the second time may be matched, so as to ensure that the packet loss information obtained at the previous time and the packet loss information obtained at the current time are the same, and then when determining that the target packet loss event occurs, when obtaining the packet loss information of the target packet loss event, the method specifically includes:
s1: and reading quintuple information in the message header information.
In the embodiment of the application, packet loss attribute information of packet loss information of an acquired target packet loss event is read, message header information in the packet loss attribute information is read, and then, the message header information is analyzed to obtain quintuple information in the message header information.
The quintuple information comprises a source IP address, a source port, a destination IP address, a destination port and a transport layer protocol.
S2: if the quintuple information in the first configuration information is the same as the quintuple information in the message header information, determining the target packet loss event and acquiring packet loss information of the target packet loss event.
In the embodiment of the application, the first configuration information at least includes quintuple information, the quintuple information in the first configuration information is quintuple information corresponding to packet loss information obtained last time, and in order to ensure that the packet loss detection and the packet loss detection can obtain the same packet loss information last time, it is determined whether the quintuple information in the first configuration information and the quintuple information in the packet header information are the same, if it is determined that the quintuple information in the first configuration information and the quintuple information in the packet header information are the same, it is determined that the packet loss information obtained by the packet loss detection this time is the same as the packet loss information obtained by the packet loss detection last time, and after the packet loss information is obtained, by analyzing the packet loss information, measures are taken in time, and the switch can be prevented from having packet loss due to the same reason again.
In the embodiment of the application, first configuration information sent by a server is received, wherein the first configuration information at least includes a target port identifier and a target queue number, a target port corresponding to the target port identifier and a target queue corresponding to the target queue number are used for detecting a target packet loss event, and when the target packet loss event is determined to occur, packet loss information of the target packet loss event is obtained.
Based on the foregoing embodiment, a process of default enabling in this embodiment is described below, where in the default enabling, the second configuration information at least includes identifiers of default ports, and when the switch performs packet loss event detection according to the second configuration information, packet loss event detection is performed on all the ports of the switch, as shown in fig. 5, an interaction flowchart of TCB default enabling in this embodiment specifically includes:
step 500: and the server issues the TCB default enabled script to the software of the switch.
The TCB default enabled script at least comprises second configuration information, the second configuration information at least comprises default port identifications, and the default port identifications are port identifications corresponding to all ports on the switch.
Step 510: the software saves the second configuration information in the TCB default enabled script.
Step 520: and the software issues the second configuration information to the hardware.
Step 530: the hardware is enabled according to the second configuration information.
Step 540: and the hardware detects packet loss events in the ports corresponding to the default port identifications respectively, and acquires packet loss information corresponding to the packet loss events when the packet loss events are determined to occur.
Step 550: and uploading the acquired packet loss information to software by the hardware.
Step 560: and reading packet loss attribute information and packet loss message information in the packet loss information by software.
The packet loss information at least includes packet loss attribute information and packet loss message information.
Step 570: and the software uploads the packet loss information to a server.
In the embodiment of the application, before the packet loss information is uploaded to the server, the software judges whether the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, judges whether the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are both not 0, and determines that the packet loss information is the correctly acquired packet loss information if the value of the timestamp field in the packet loss attribute information is determined to be the same as the value of the timestamp field in the packet loss message information and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are both not 0.
The packet loss attribute information at least includes a timestamp field, and the packet loss packet information at least includes a timestamp field.
In the embodiment of the application, when packet loss information is acquired for the first time, a user does not know which quintuple flows and packet loss positions need to be concerned, so that packet loss detection needs to be performed on all ports on the switch, and the packet loss information of the whole switch is captured.
Based on the foregoing embodiment, the following describes an accurate enabling process in this embodiment, where during accurate enabling, the first configuration information at least includes a target port identifier and a target queue number, and when the switch performs packet loss event detection according to the first configuration information, the switch only detects the target port and the target queue, where as shown in fig. 6, the flowchart is an interactive flowchart specifically illustrating accurate enabling of a TCB in this embodiment, and specifically includes:
step 600: and the server issues the TCB accurate enabling script to the software of the switch.
The TCB accurate-enabled script at least comprises first configuration information, the first configuration information at least comprises a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs.
In the embodiment of the application, when a user needs to acquire a packet loss event the same as that of the previous time, the packet loss event the same as that of the previous time can be used as a target packet loss event, a port identifier in the packet loss information acquired before is used as a target port identifier, and a queue number in the packet loss information acquired before is used as a target queue number.
Step 610: the software saves the first configuration information in the TCB precisely enabled script.
Step 620: the software issues the first configuration information to the hardware.
Step 630: the hardware is enabled according to the first configuration information.
Step 640: and detecting a target packet loss event in a target port corresponding to the target port identification and a target queue corresponding to the target queue number, and acquiring packet loss information of the target packet loss event when the target packet loss event is determined to occur.
Step 650: and uploading the acquired packet loss information to software by the hardware.
Step 660: and reading packet loss attribute information and packet loss message information in the packet loss information by software.
The packet loss information at least includes packet loss attribute information and packet loss message information.
The packet loss message information at least comprises message header information.
Step 670: if the software determines that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not 0, determining that the packet loss information is the correctly acquired packet loss information.
The packet loss attribute information at least includes a timestamp field, and the packet loss packet information at least includes a timestamp field.
In the embodiment of the application, invalid data of non-packet loss information captured by the TCB function can be filtered by comparing the information of the EVENT _ BFFER with the information of the TCB _ BUFFER through software.
Step 680: and reading quintuple information in the message header information by software, if the quintuple information in the first configuration information is the same as the quintuple information in the message header information, determining that a target packet loss event occurs, and acquiring packet loss information of the target packet loss event.
Wherein, the first configuration information also comprises quintuple information.
In the embodiment of the application, quintuple information analyzed from the message header information collected by the hardware is matched with quintuple information in first configuration information set by the software through the software, and only a packet loss message with the same quintuple information in the first configuration information and the same quintuple information in the message header information is reserved, so that invalid data which is captured by the TCB function and does not concern the packet loss information can be filtered.
Step 690: and the software uploads the packet loss information to a server.
In the embodiment of the application, through two modes of the TCB function, the default enabling and the accurate enabling are reasonably matched, the required packet loss information can be accurately acquired when the same packet loss information as the previous packet loss information needs to be detected next time, and the problem that the expected packet loss information is searched due to overlong time consumption is solved.
Based on the above embodiments, referring to fig. 7, a schematic diagram of matching default enable and precise enable in the embodiment of the present application is shown.
1. Flow without concern: the user initially does not know which packet loss information and packet loss location are of interest.
2. Enabling by default: capturing the packet loss information of the whole switch through TCB default enabling.
3. And determining attention information: and analyzing and determining packet loss information and a packet loss position which need to be concerned from the packet loss information captured by default enabling.
4. The accurate enabling: accurate capturing of packet loss information of interest is enabled by the TCB.
5. Directly acquiring the attention information: and directly acquiring the concerned packet loss information.
In the embodiment of the application, among numerous and complicated packet loss information, the port and the queue where the packet loss event occurs are obtained through default enabling, when the same packet loss information needs to be obtained next time, only the port and the queue where the packet loss event occurs last time are concerned about whether the packet loss event occurs or not through accurate enabling, and the packet loss information is obtained.
Based on the same inventive concept, an embodiment of the present application further provides a device for acquiring packet loss information, where the device for acquiring packet loss information may be, for example, a switch in the foregoing embodiment, and the device for acquiring packet loss information may be a hardware structure, a software module, or a hardware structure plus a software module. Based on the above embodiment, referring to fig. 8, a schematic structural diagram of a device for acquiring packet loss information in the embodiment of the present application is shown, which specifically includes:
a first receiving module 800, configured to receive first configuration information sent by a server, where the first configuration information at least includes a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs;
a first detecting module 810, configured to detect the target packet loss event in a target port corresponding to the target port identifier and a target queue corresponding to the target queue number;
the first processing module 820 is configured to obtain packet loss information of the target packet loss event when the target packet loss event is determined to occur.
Optionally, before receiving the first configuration information sent by the server, the method further includes:
a second receiving module 830, configured to receive second configuration information sent by the server, where the second configuration information at least includes default port identifiers, and each default port identifier is a port identifier corresponding to all ports on the switch;
a second detecting module 840, configured to detect a packet loss event in the ports corresponding to the default port identifiers respectively;
a second processing module 850, configured to obtain packet loss information corresponding to a packet loss event when the packet loss event occurs;
a sending module 860, configured to send the packet loss information to the server, so that the server uses the port identifier in the packet loss information as a target port identifier, uses the queue number as a target queue number, and uses a packet loss event corresponding to the packet loss information as a target packet loss event.
Optionally, after obtaining packet loss information of the target packet loss event, or after obtaining packet loss information corresponding to the packet loss event, the first processing module 820 or the second processing module 850 is further configured to:
reading packet loss attribute information and packet loss message information in the packet loss information, wherein the packet loss information at least comprises the packet loss attribute information and the packet loss message information;
if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not both 0, determining that the packet loss information is correctly acquired packet loss information, wherein the packet loss attribute information at least comprises the timestamp field, and the packet loss message information at least comprises the timestamp field.
Optionally, if the first configuration information further includes quintuple information, and if the packet loss attribute information further includes at least packet header information, when it is determined that the target packet loss event occurs, and when the packet loss information of the target packet loss event is obtained, the first processing module 820 is specifically configured to:
reading quintuple information in the message header information;
and if the quintuple information in the first configuration information is the same as the quintuple information in the message header information, determining the target packet loss event and acquiring the packet loss information of the target packet loss event.
Optionally, the first configuration information further includes one or any combination of the following items: detecting the overtime time of the packet loss event, the time interval of the packet loss event and the message sampling rate.
Based on the above embodiments, referring to fig. 9, a schematic structural diagram of an electronic device in an embodiment of the present application is shown.
An embodiment of the present application provides an electronic device, which may include a processor 910 (CPU), a memory 920, an input device 930, an output device 940, and the like, wherein the input device 930 may include a keyboard, a mouse, a touch screen, and the like, and the output device 940 may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
Memory 920 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor 910 with program instructions and data stored in memory 920. In this embodiment, the memory 920 may be configured to store a program of any method for acquiring packet loss information in this embodiment.
The processor 910 is configured to, by calling the program instructions stored in the memory 920, execute, by the processor 910, any method for acquiring packet loss information according to the embodiment of the present application according to the obtained program instructions.
Based on the foregoing embodiments, in the embodiments of the present application, a computer-readable storage medium is provided, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for acquiring packet loss information in any of the above method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for obtaining packet loss information is applied to a switch, and is characterized by comprising the following steps:
receiving first configuration information sent by a server, wherein the first configuration information at least comprises a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs;
detecting the target packet loss event in a target port corresponding to the target port identification and a target queue corresponding to the target queue number;
and when the target packet loss event is determined to occur, acquiring packet loss information of the target packet loss event.
2. The method of claim 1, wherein before receiving the first configuration information sent by the server, further comprising:
receiving second configuration information sent by the server, wherein the second configuration information at least comprises default port identifications, and the default port identifications are port identifications corresponding to all ports on the switch;
respectively detecting a packet loss event in the port corresponding to each default port identifier;
when a packet loss event is determined to occur, acquiring packet loss information corresponding to the packet loss event;
and sending the packet loss information to the server so that the server takes the port identifier in the packet loss information as a target port identifier, takes the queue number as a target queue number, and takes a packet loss event corresponding to the packet loss information as a target packet loss event.
3. The method according to claim 2, wherein after obtaining packet loss information of the target packet loss event or obtaining packet loss information corresponding to the packet loss event, the method further includes:
reading packet loss attribute information and packet loss message information in the packet loss information, wherein the packet loss information at least comprises the packet loss attribute information and the packet loss message information;
if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not both 0, determining that the packet loss information is correctly acquired packet loss information, wherein the packet loss attribute information at least comprises the timestamp field, and the packet loss message information at least comprises the timestamp field.
4. The method according to claim 3, wherein if the first configuration information further includes quintuple information, and if the packet loss attribute information further includes at least packet header information, when it is determined that the target packet loss event occurs, and when the packet loss information of the target packet loss event is obtained, the method specifically includes:
reading quintuple information in the message header information;
and if the quintuple information in the first configuration information is the same as the quintuple information in the message header information, determining the target packet loss event and acquiring the packet loss information of the target packet loss event.
5. The method of claim 4, wherein the first configuration information further comprises one or any combination of the following: detecting the overtime time of the packet loss event, the time interval of the packet loss event and the message sampling rate.
6. An apparatus for obtaining packet loss information, applied to a switch, includes:
a first receiving module, configured to receive first configuration information sent by a server, where the first configuration information at least includes a target port identifier and a target queue number, the target port identifier is a port identifier corresponding to a port where a target packet loss event occurs, and the target queue number is a queue number corresponding to a queue where the target packet loss event occurs;
a first detection module, configured to detect the target packet loss event in a target port corresponding to the target port identifier and a target queue corresponding to the target queue number;
and the first processing module is used for acquiring packet loss information of the target packet loss event when the target packet loss event is determined to occur.
7. The apparatus of claim 6, wherein before receiving the first configuration information sent by the server, the apparatus further comprises:
a second receiving module, configured to receive second configuration information sent by the server, where the second configuration information at least includes default port identifiers, and each default port identifier is a port identifier corresponding to all ports on the switch;
the second detection module is used for respectively detecting a packet loss event in the port corresponding to each default port identifier;
the second processing module is used for acquiring packet loss information corresponding to the packet loss event when the packet loss event occurs;
and the sending module is used for sending the packet loss information to the server so that the server takes the port identifier in the packet loss information as a target port identifier, takes the queue number as a target queue number, and takes a packet loss event corresponding to the packet loss information as a target packet loss event.
8. The apparatus according to claim 7, wherein after obtaining packet loss information of the target packet loss event or obtaining packet loss information corresponding to the packet loss event, the first processing module or the second processing module is further configured to:
reading packet loss attribute information and packet loss message information in the packet loss information, wherein the packet loss information at least comprises the packet loss attribute information and the packet loss message information;
if it is determined that the value of the timestamp field in the packet loss attribute information is the same as the value of the timestamp field in the packet loss message information, and the value of the timestamp field in the packet loss attribute information and the value of the timestamp field in the packet loss message information are not both 0, determining that the packet loss information is correctly acquired packet loss information, wherein the packet loss attribute information at least comprises the timestamp field, and the packet loss message information at least comprises the timestamp field.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1-5 are implemented when the program is executed by the processor.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implementing the steps of the method of any one of claims 1 to 5.
CN202010942920.0A 2020-09-09 2020-09-09 Method and device for acquiring packet loss information Active CN112152876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010942920.0A CN112152876B (en) 2020-09-09 2020-09-09 Method and device for acquiring packet loss information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010942920.0A CN112152876B (en) 2020-09-09 2020-09-09 Method and device for acquiring packet loss information

Publications (2)

Publication Number Publication Date
CN112152876A true CN112152876A (en) 2020-12-29
CN112152876B CN112152876B (en) 2022-01-11

Family

ID=73889475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010942920.0A Active CN112152876B (en) 2020-09-09 2020-09-09 Method and device for acquiring packet loss information

Country Status (1)

Country Link
CN (1) CN112152876B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114079622A (en) * 2021-10-22 2022-02-22 深信服科技股份有限公司 Method and device for determining packet loss network port and storage medium
CN114629824A (en) * 2022-03-24 2022-06-14 阿里巴巴(中国)有限公司 Packet loss positioning method, device, computing equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140064119A1 (en) * 2012-08-29 2014-03-06 Fujitsu Limited Monitoring apparatus, recording medium, and monitoring method
CN107888457A (en) * 2017-12-08 2018-04-06 新华三技术有限公司 Port method for detecting packet loss, device and communication equipment
CN109787833A (en) * 2019-01-23 2019-05-21 清华大学 Network exception event cognitive method and system
US20200076717A1 (en) * 2018-08-30 2020-03-05 Cisco Technology, Inc. Monitoring packet loss in communications using stochastic streaming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140064119A1 (en) * 2012-08-29 2014-03-06 Fujitsu Limited Monitoring apparatus, recording medium, and monitoring method
CN107888457A (en) * 2017-12-08 2018-04-06 新华三技术有限公司 Port method for detecting packet loss, device and communication equipment
US20200076717A1 (en) * 2018-08-30 2020-03-05 Cisco Technology, Inc. Monitoring packet loss in communications using stochastic streaming
CN109787833A (en) * 2019-01-23 2019-05-21 清华大学 Network exception event cognitive method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114079622A (en) * 2021-10-22 2022-02-22 深信服科技股份有限公司 Method and device for determining packet loss network port and storage medium
CN114629824A (en) * 2022-03-24 2022-06-14 阿里巴巴(中国)有限公司 Packet loss positioning method, device, computing equipment and medium
CN114629824B (en) * 2022-03-24 2024-03-19 阿里巴巴(中国)有限公司 Packet loss positioning method, device, computing equipment and medium

Also Published As

Publication number Publication date
CN112152876B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN112152876B (en) Method and device for acquiring packet loss information
US8868727B2 (en) Methods and computer program products for storing generated network application performance data
US20090150542A1 (en) Management computer, computer system and method for monitoring performance of a storage system
CN109600258B (en) Industrial protocol message recording device and method
CN101997925A (en) Server monitoring method with early warning function and system thereof
US8909761B2 (en) Methods and computer program products for monitoring and reporting performance of network applications executing in operating-system-level virtualization containers
JP2016096415A (en) Communication system, management server, and monitoring device
CN106021358A (en) Abnormal information recording method and system
CN113067810B (en) Network packet capturing method, device, equipment and medium
CN111585837B (en) Internet of things data link monitoring method and device, computer equipment and storage medium
CN112688837A (en) Network measurement method and device based on time sliding window
CN106713307B (en) method and system for detecting flow table consistency in SDN
EP3460769A1 (en) System and method for managing alerts using a state machine
CN114189480B (en) Flow sampling method, device, electronic equipment and medium
US20230188439A1 (en) Traffic Monitoring Device, Traffic Monitoring Method, and Traffic Monitoring Program
CN114301812A (en) Method, device, equipment and storage medium for monitoring message processing result
CN104754328B (en) Distributed video quality diagnosis method
CN113923272A (en) Data analysis method and device and server equipment
CN112148508A (en) Information processing method and related device
CA2831134A1 (en) Identification of code synchronization points
US10305754B2 (en) Apparatus and method to collect packets related to abnormal connection
CN112533004B (en) Program information publishing method, system, computer equipment and storage medium
US20060069766A1 (en) Method and system for treating events and data uniformly
US11765065B1 (en) System and method for scalable telemetry
US9306854B2 (en) Method and apparatus for diagnosing interface oversubscription and microbursts

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