CN115550224A - Packet loss analysis system, method, and storage medium - Google Patents

Packet loss analysis system, method, and storage medium Download PDF

Info

Publication number
CN115550224A
CN115550224A CN202110728249.4A CN202110728249A CN115550224A CN 115550224 A CN115550224 A CN 115550224A CN 202110728249 A CN202110728249 A CN 202110728249A CN 115550224 A CN115550224 A CN 115550224A
Authority
CN
China
Prior art keywords
packet loss
information
discarded
message
packet
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.)
Pending
Application number
CN202110728249.4A
Other languages
Chinese (zh)
Inventor
何晓明
陈文华
贾曼
朱明英
郑忠民
贺晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202110728249.4A priority Critical patent/CN115550224A/en
Publication of CN115550224A publication Critical patent/CN115550224A/en
Pending legal-status Critical Current

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
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

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 system, a method and a storage medium for packet loss analysis, wherein the system for packet loss analysis includes a network device and a packet loss analysis server, the network device includes: the packet loss caching module is used for caching the discarded messages overflowing from the data forwarding queue in the network equipment and recording message information corresponding to the discarded messages; the packet loss information reporting module is used for sending the discarded message and the message information to a packet loss analysis server; and the packet loss analysis server is used for analyzing and counting the discarded messages and the message information. The system, the method and the storage medium can accurately analyze the user and the service type of the discarded message, count the information such as the packet loss position, time and the like of each user and service flow, and provide operation and maintenance personnel for fault diagnosis and network optimization; and extra packet loss detection messages do not need to be sent, so that the influence on the network is reduced.

Description

Packet loss analysis system, method, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a system, a method, and a storage medium for analyzing packet loss.
Background
At present, network equipment can only record the number of port or queue lost packets and the loss time of the packets, meanwhile, the discarded packets are not stored, and also cannot be actively reported to a network management system in time, and an operation and maintenance worker can only log in the packet loss condition on the equipment in a Command Line (CLI) manner, cannot sense the congestion and the packet loss time of the equipment in real time, and cannot know the service type of the packet loss. On the other hand, in order to guarantee the SLA (Service Level Agreement) of the key Service of the large client, it is only possible to continuously send a packet loss detection packet to the network in an active measurement manner to monitor whether the network meets the Service quality of the user, or detect the packet loss condition of the Service flow along with the flow in a hybrid measurement manner (e.g., in-band operation, management, and maintenance IOAM). Both such active measurement and detection with flow will increase the network load and adversely affect the network.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a system, a method and a storage medium for analyzing packet loss.
According to a first aspect of the present disclosure, there is provided a packet loss analysis system, including: a network device, comprising: the packet loss caching module is used for caching a discarded message overflowing from a data forwarding queue in the network equipment and recording message information corresponding to the discarded message; a packet loss information reporting module, configured to send the discarded packet and the packet information to a packet loss analysis server; and the packet loss analysis server is used for analyzing and counting the discarded messages and the message information.
Optionally, the packet loss caching module is further configured to perform a clearing process on the cached discard message and the cached message information after the discard message and the message information are sent to the packet loss analysis server.
Optionally, each port in the network device is configured with at least one data forwarding queue; the message information includes: device ID, port ID, queue ID, drop time, number of dropped packets.
Optionally, the packet loss resolution server includes: the packet loss analysis module is used for analyzing the discarded message and the message information, acquiring analysis information and acquiring user information or service type corresponding to the discarded message; and the packet loss counting module is used for counting the discarded information corresponding to the user information or the service type.
Optionally, the parsing information includes: one or more of a source and/or destination MAC address, a source and/or destination IP address, quintuple flow information, flow label information, application layer information; the discard information includes: message discarding position, discarding time and total number of discarded messages.
According to a second aspect of the present disclosure, a packet loss analysis method is provided, where a network device is provided with a packet loss caching module and a packet loss information reporting module, and the method includes: the packet loss caching module caches discarded messages overflowing from a data forwarding queue in the network equipment and records message information corresponding to the discarded messages; the packet loss information reporting module sends the discarded message and the message information to a packet loss analysis server; and the packet loss analysis server analyzes and counts the discarded message and the message information.
Optionally, after the discarded packet and the packet information are sent to the packet loss analysis server, the packet loss caching module performs a clearing process on the cached discarded packet and the cached packet information.
Optionally, each port in the network device is configured with at least one data forwarding queue; the message information includes: device ID, port ID, queue ID, drop time, number of dropped packets.
Optionally, the packet loss analyzing server includes: the system comprises a packet loss analysis module and a packet loss statistical module; the method comprises the following steps: the packet loss analysis module analyzes the discarded message and the message information, acquires analysis information and acquires user information or service type corresponding to the discarded message; and the packet loss counting module counts the discarded information corresponding to the user information or the service type.
Optionally, the parsing information includes: one or more of a source and/or destination MAC address, a source and/or destination IP address, quintuple flow information, flow label information, application layer information; the discard information includes: message discarding position, discarding time and total number of discarded messages.
According to a third aspect of the present disclosure, there is provided a computer readable storage medium storing computer instructions for execution by a processor to perform the method as described above.
According to the packet loss analysis system, method and storage medium, a packet loss caching module is added in network equipment, and the messages discarded due to queue overflow are cached and reported to a packet loss analysis server in real time; the packet loss analysis server analyzes the reported discarded original message, can accurately analyze the user and the service type of the discarded message, and counts the information of packet loss positions, time and the like of each user and service flow, so that operation and maintenance personnel can perform fault diagnosis and network optimization; extra packet loss detection messages do not need to be sent, and the influence on the network is reduced; the network congestion position and the packet loss condition can be sensed in real time without logging in the network equipment to inquire the packet loss condition.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a block schematic diagram of an embodiment of a packet loss analysis system according to the present disclosure;
fig. 2 is a block schematic diagram of another embodiment of a packet loss analysis system according to the present disclosure;
fig. 3 is a system composition diagram of an embodiment of a packet loss analysis system according to the present disclosure;
fig. 4 is a schematic diagram of a deployment location of a packet loss buffering module in a network device according to an embodiment of the packet loss analysis system of the present disclosure;
fig. 5 is a flowchart illustrating an embodiment of a packet loss analysis method according to the present disclosure.
Detailed Description
The present disclosure now will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the disclosure are shown. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In one embodiment, as shown in fig. 1, the present disclosure provides a packet loss analysis system, which includes a network device 10 and a packet loss parsing server 20. Network device 10 may be a variety of devices such as switches, routers, various servers, and the like. The network device 10 includes a packet loss caching module 11 and a packet loss information reporting module 12.
The packet loss caching module 11 caches a discarded packet that overflows from a data forwarding queue in the network device, and records packet information corresponding to the discarded packet. The packet loss information reporting module 12 sends the discarded packet and the packet information to the packet loss analysis server, and the packet loss analysis server 20 analyzes and counts the discarded packet and the packet information.
In one embodiment, each port in the network device 10 is configured with at least one data forwarding queue, and the packet information includes a device ID, a port ID, a queue ID, a discard time, a packet loss number, and the like. After the discard message and the message information are sent to the packet loss analysis server, the packet loss caching module 11 performs a clearing process on the cached discard message and the cached message information.
As shown in fig. 2, the packet loss analyzing server 20 includes a packet loss analyzing module 21 and a packet loss counting module 22. The packet loss analysis module 21 performs analysis processing on the discarded packet and the packet information, obtains analysis information and obtains user information or service type corresponding to the discarded packet, where the analysis information includes one or more of a source and/or destination MAC address, a source and/or destination IP address, quintuple flow information, flow label information, and application layer information. The packet loss counting module 22 counts the discarding information corresponding to the user information or the service type, where the discarding information includes a packet discarding position, a discarding time, a total number of discarded packets, and the like.
In an embodiment, the packet loss caching module 11 caches the discarded packet of each port due to the overflow of the queue, records the packet information corresponding to the discarded packet, including the device ID, the port ID, the queue/QOS queue ID, the discard time, the number of packet losses, and so on, and immediately sends the discarded packet and the packet information to the packet loss analysis server 20. In order to save the storage space of the packet loss cache module 11, after reporting the discarded packet each time, the packet loss cache module 11 immediately clears the cache content. The information reported by the packet loss information reporting module 12 to the packet loss analysis server 20 includes: the discarded original messages, and the device ID, the port ID, the queue/QOS queue ID, the discarding time, the number of the discarded packets and other information to which the discarded messages belong.
The packet loss analyzing module 21 analyzes the discarded packet and the corresponding packet information reported from the network device 10 in the management domain, analyzes the original/destination MAC address, the original/destination IP address, the quintuple flow information, the flow label, etc. of the discarded packet, and may also analyze the application layer information of the discarded packet. The packet loss statistics module 22 counts the packet discarding positions, discarding times, the total number of discarded packets, etc. belonging to a specific user and service in the management domain, and can visually display in a chart or curve form.
The packet loss analysis system introduces a packet loss cache module in the network equipment, and is used for caching the original messages discarded by all ports/queues, recording the message information such as packet loss time and the like, reporting the message information to a packet loss analysis server in real time, and analyzing the discarded original messages by the packet loss analysis server; therefore, the operation and maintenance personnel can timely master the position of network congestion and the packet loss severity, and optimize and adjust the network and the service flow according to the position.
In one embodiment, as shown in fig. 3, the packet loss analysis system of the present disclosure is composed of two parts, namely, a network device 10 and a packet loss analysis server 20. A packet loss caching module is newly introduced into the network device 10, and is used to cache the discarded packets due to queue overflow at each port of the device, cache the discarded packets each time packet loss occurs, and immediately send the discarded packets to the packet loss analysis server 20. In order to save the storage space of the packet loss cache module, the network device 10 clears the cache content immediately after each report of the discarded packet.
In one embodiment, the location of the packet loss buffering module 11 in the network device 10 is shown in fig. 4. The packet loss analysis server 20 analyzes and counts the discarded packets reported by the network device 10, analyzes the user or service type to which the discarded packet belongs, and counts the discarded position, discarded time, discarded packet number, etc. of the user or service packet. The operation and maintenance personnel can sense the position of network congestion and the packet loss situation of key users and service flows in real time according to the information obtained from the packet loss analysis server 20, and help the operation and maintenance personnel to take network optimization or flow optimization measures in time.
Fig. 5 is a schematic flow chart of an embodiment of a packet loss analysis method according to the present disclosure, as shown in fig. 5:
step 501, the packet loss caching module caches the discarded packet overflowing from the data forwarding queue in the network device, and records the packet information corresponding to the discarded packet.
Step 502, the packet loss information reporting module sends the discarded packet and the packet information to the packet loss analysis server.
In step 503, the packet loss analysis server analyzes and counts the discarded packets and the packet information.
In one embodiment, each port in the network device is configured with at least one data forwarding queue, and the packet information includes a device ID, a port ID, a queue ID, a discard time, a packet loss number, and the like. And after the discarded messages and the message information are sent to the packet loss analysis server, the packet loss caching module carries out clearing processing on the cached discarded messages and the message information.
And the packet loss analysis module analyzes the discarded message and the message information, acquires analysis information and acquires user information or service type corresponding to the discarded message. And the packet loss counting module counts the discarded information corresponding to the user information or the service type.
In one embodiment, the present disclosure provides a computer-readable storage medium storing computer instructions, which when executed by a processor, implement the packet loss analysis method as in any one of the above embodiments.
In the system, the method and the storage medium for packet loss analysis in the embodiments, a packet loss caching module is added in the network device, and is used for caching the discarded messages due to queue overflow and reporting to a packet loss analysis server in real time; the packet loss analysis server analyzes the reported discarded original message, can accurately analyze the user and the service type of the discarded message, and counts the information of packet loss positions, time and the like of each user and service flow, so that operation and maintenance personnel can perform fault diagnosis and network optimization; extra packet loss detection messages do not need to be sent, and the influence on the network is reduced; the network congestion position and the packet loss condition can be sensed in real time without logging in the network equipment to inquire the packet loss condition.
The method and system of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (11)

1. A packet loss analysis system, comprising:
a network device, comprising:
the packet loss caching module is used for caching a discarded message overflowing from a data forwarding queue in the network equipment and recording message information corresponding to the discarded message;
a packet loss information reporting module, configured to send the discarded packet and the packet information to a packet loss analysis server;
and the packet loss analysis server is used for analyzing and counting the discarded messages and the message information.
2. The system of claim 1, wherein,
the packet loss caching module is further configured to perform a clearing process on the cached discarded packet and the cached message information after the discarded packet and the message information are sent to the packet loss analysis server.
3. The system of claim 1, wherein each port in the network device is configured with at least one of the data forwarding queues;
the message information includes: device ID, port ID, queue ID, drop time, number of dropped packets.
4. The system of claim 3, wherein,
the packet loss analysis server includes:
the packet loss analysis module is used for analyzing the discarded message and the message information, acquiring analysis information and acquiring user information or service type corresponding to the discarded message;
and the packet loss counting module is used for counting the discarded information corresponding to the user information or the service type.
5. The system of claim 4, wherein,
the parsing information includes: one or more of a source and/or destination MAC address, a source and/or destination IP address, quintuple flow information, flow label information, application layer information;
the discard information includes: the message discarding position, the discarding time and the total number of discarded messages.
6. A packet loss analysis method is provided, wherein a network device is provided with a packet loss cache module and a packet loss information reporting module, and the method comprises the following steps:
the packet loss caching module caches discarded messages overflowing from a data forwarding queue in the network equipment and records message information corresponding to the discarded messages;
the packet loss information reporting module sends the discarded message and the message information to a packet loss analysis server;
and the packet loss analysis server analyzes and counts the discarded message and the message information.
7. The method of claim 6, further comprising:
and after the discarded message and the message information are sent to the packet loss analysis server, the packet loss caching module is used for clearing the cached discarded message and the cached message information.
8. The method of claim 6, wherein,
each port in the network device is configured with at least one data forwarding queue; the message information includes: device ID, port ID, queue ID, drop time, number of dropped packets.
9. The method of claim 8, wherein the packet loss resolution server comprises: the system comprises a packet loss analysis module and a packet loss statistical module; the method comprises the following steps:
the packet loss analysis module analyzes the discarded message and the message information, acquires analysis information and acquires user information or service type corresponding to the discarded message;
and the packet loss counting module counts the discarded information corresponding to the user information or the service type.
10. The method of claim 9, wherein,
the parsing information includes: one or more of a source and/or destination MAC address, a source and/or destination IP address, quintuple flow information, flow label information, application layer information;
the discard information includes: the message discarding position, the discarding time and the total number of discarded messages.
11. A computer-readable storage medium having stored thereon computer instructions for execution by a processor of the method of any one of claims 1 to 5.
CN202110728249.4A 2021-06-29 2021-06-29 Packet loss analysis system, method, and storage medium Pending CN115550224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110728249.4A CN115550224A (en) 2021-06-29 2021-06-29 Packet loss analysis system, method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110728249.4A CN115550224A (en) 2021-06-29 2021-06-29 Packet loss analysis system, method, and storage medium

Publications (1)

Publication Number Publication Date
CN115550224A true CN115550224A (en) 2022-12-30

Family

ID=84717549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110728249.4A Pending CN115550224A (en) 2021-06-29 2021-06-29 Packet loss analysis system, method, and storage medium

Country Status (1)

Country Link
CN (1) CN115550224A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560306A (en) * 2024-01-11 2024-02-13 腾讯科技(深圳)有限公司 Packet loss reporting method, network switch and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010041543A (en) * 2008-08-07 2010-02-18 Fujitsu Ltd Network information collecting apparatus, network information providing device, and network measuring system
CN102204164A (en) * 2011-05-24 2011-09-28 华为技术有限公司 Method and apparatus for reporting network packet-losing message
CN103560923A (en) * 2013-11-20 2014-02-05 烽火通信科技股份有限公司 Network failure quick positioning method of packet transport network
CN104717150A (en) * 2013-12-13 2015-06-17 中兴通讯股份有限公司 Exchange device and packet loss method
WO2016177120A1 (en) * 2015-07-27 2016-11-10 中兴通讯股份有限公司 Measurement method and system for packet loss of link packet, target node and initiating-end node
JP2018182594A (en) * 2017-04-17 2018-11-15 富士通株式会社 Packet analysis program, packet analysis device and packet analysis method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010041543A (en) * 2008-08-07 2010-02-18 Fujitsu Ltd Network information collecting apparatus, network information providing device, and network measuring system
CN102204164A (en) * 2011-05-24 2011-09-28 华为技术有限公司 Method and apparatus for reporting network packet-losing message
CN103560923A (en) * 2013-11-20 2014-02-05 烽火通信科技股份有限公司 Network failure quick positioning method of packet transport network
CN104717150A (en) * 2013-12-13 2015-06-17 中兴通讯股份有限公司 Exchange device and packet loss method
WO2016177120A1 (en) * 2015-07-27 2016-11-10 中兴通讯股份有限公司 Measurement method and system for packet loss of link packet, target node and initiating-end node
JP2018182594A (en) * 2017-04-17 2018-11-15 富士通株式会社 Packet analysis program, packet analysis device and packet analysis method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高中耀;程光;: "TCP报文丢包定位方法研究", 计算机工程与应用, no. 15, 1 August 2013 (2013-08-01) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560306A (en) * 2024-01-11 2024-02-13 腾讯科技(深圳)有限公司 Packet loss reporting method, network switch and related device
CN117560306B (en) * 2024-01-11 2024-04-02 腾讯科技(深圳)有限公司 Packet loss reporting method, network switch and related device

Similar Documents

Publication Publication Date Title
US9398347B2 (en) Systems and methods for measuring quality of experience for media streaming
RU2585971C1 (en) Network monitoring and subscriber identification in real time using request triggered device
US8570896B2 (en) System and method for controlling threshold testing within a network
US9577906B2 (en) Scalable performance monitoring using dynamic flow sampling
CN112514326B (en) Network embedded real-time service level target verification
US7313141B2 (en) Packet sequence number network monitoring system
JP5666685B2 (en) Failure analysis apparatus, system thereof, and method thereof
EP1742416B1 (en) Method, computer readable medium and system for analyzing and management of application traffic on networks
US6570867B1 (en) Routes and paths management
US9774506B2 (en) Method and apparatus for analysis of the operation of a communication system using events
KR20170110105A (en) Traffic Flow Monitoring
US8165019B2 (en) Indirect measurement methodology to infer routing changes using statistics of flow arrival processes
US11171869B2 (en) Microburst detection and management
US20210075738A1 (en) Packet Programmable Flow Telemetry Profiling And Analytics
KR20150090216A (en) Monitoring encrypted sessions
CN112260899B (en) Network monitoring method and device based on MMU (memory management unit)
Madanapalli et al. Real-time detection, isolation and monitoring of elephant flows using commodity SDN system
US9866456B2 (en) System and method for network health and management
CN115550224A (en) Packet loss analysis system, method, and storage medium
CN115550223A (en) Service flow packet loss positioning system, method and storage medium
CN116436825A (en) Packet loss processing method and system and network equipment
CA2742038C (en) Systems and methods for measuring quality of experience for media streaming
Wang et al. TeleScope: Flow-level video telemetry using SDN
US20140086091A1 (en) Method, apparatus, and system for analyzing network transmission characteristic
JP5192451B2 (en) Network quality calculation system and method and program

Legal Events

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