Real-time network-wide link latency monitoring using in-network INT sampling and aggregation

By inserting INT data into the egress port of network equipment and terminating INT at the egress, the problem of high network link delay monitoring costs and bandwidth consumption is solved, and low-cost, low-impact network coverage and load optimization are achieved.

CN115885503BActive Publication Date: 2024-09-20HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080102761.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-15
Publication Date
2024-09-20
Estimated Expiration
2040-07-15

AI Technical Summary

Technical Problem

Existing technologies are costly and difficult to ensure full network coverage when implementing network-wide link delay monitoring, and using in-band network telemetry (INT) will generate additional bandwidth consumption and processing load, leading to deviations in measurement results.

Method used

By inserting INT header and data into the predefined packet window at each egress port of the network device, it is ensured that the data packet contains INT data within each predefined sampling period, and INT is terminated at the egress network device, reducing INT header insertion and deletion. times, reduce network processing load, and leverage adaptive link load to infer the sampling rate.

Benefits of technology

It achieves low-cost real-time network-wide link delay monitoring, ensures network-wide coverage, reduces the number of data packet exports, reduces network processing load, and adapts to the link load inference sampling rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115885503B
    Figure CN115885503B
Patent Text Reader

Abstract

A method for real-time network-wide link delay monitoring performed by a network device along a data path. The method includes receiving a data packet; incrementing a data packet counter; when a sampling period flag is not set, determining whether the data packet counter is at least equal to a silent period value (M); when the data packet counter is at least equal to the silent period value (M), determining whether the data packet includes an existing in-band network telemetry (INT) header; when the data packet includes the existing INT header, inserting INT data into the existing INT header of the data packet and setting the sampling period flag; and forwarding the data packet along the data path to a destination device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to network communications, and more particularly, to a system and method for real-time network-wide link delay monitoring using in-band network telemetry (INT) sampling and aggregation within the network. Background Art

[0002] Network visibility is very important for network performance monitoring, troubleshooting, and optimization. Routing algorithms can use real-time link latency to calculate the best route. However, it is not easy to obtain the link latency of the entire network at a low cost.

[0003] In-band network telemetry (e.g., in-situ operations, administration, and maintenance (IOAM)) supports packets including special headers that instruct network devices on the packet forwarding path to collect specific data, such as packet arrival / departure timestamps. When the network clocks are synchronized, the packet delay on the link (including processing delay and link propagation delay) can be accurately obtained by using two timestamps from two network devices at both ends of the link.

[0004] Based on INT, the minimum number of paths to achieve full network coverage is determined. INT is then injected into dedicated source-routed probe packets that traverse these paths and collect link delay data. However, any topology changes or link / node failures require recalculation. In addition, the injected probe packets consume additional bandwidth and undergo additional different processing, which may bias the measurement results. Therefore, although enabling INT for all user traffic at the network entrance can achieve full network coverage, it is costly. In contrast, if only a sampling of traffic is used to enable INT, full network coverage cannot be guaranteed and data redundancy cannot be eliminated due to the lack of understanding of the traffic forwarding path.

[0005] An alternative approach is to enable 1-hop INT on each link. At each egress port of the network device, outgoing packets are sampled and INT is enabled on the sampled packets. At each ingress port of the network device, INT data and link delay data are exported to a telemetry data collector. The disadvantage of this approach is that it generates too many data export packets, which may overwhelm the data collector. In addition, there is a cost for INT header encapsulation and decapsulation. Summary of the invention

[0006] The disclosed embodiments seek to solve or alleviate one or more current problems associated with real-time full-network link delay monitoring using in-band network telemetry (INT) within the network. Specifically, the disclosed embodiments provide a low-cost method to achieve real-time full-network link delay monitoring using in-network INT sampling and aggregation. In one embodiment, at each egress port of a network device, for each predefined outgoing packet window, if no packet includes an INT header, a packet is selected and the INT header and data are inserted into the selected packet; otherwise, if the packet already includes an INT header, the INT data is inserted into the packet. At the egress network device (i.e., the network edge), the network edge will terminate the INT and export the aggregated INT data to the network management system. The disclosed embodiments ensure full network coverage while reducing the network processing load by reducing the number of INT header insertions and deletions within the network (performed at the network egress). In addition, the disclosed embodiments reduce the total number of exported packets. In addition, the disclosed embodiments utilize a sampling rate that adapts to the link load and can be used to infer link bandwidth utilization.

[0007] The first aspect relates to a method for real-time full-network link delay monitoring performed by a network device along a data path. The method receives a data packet by a network device. The method increments the data packet counter value by 1. The method determines whether a sampling period flag is set to indicate that sampling occurred during the sampling period. When the sampling period flag is not set, the method determines whether the data packet counter value is at least equal to the silent period value (M). When the data packet counter value is at least equal to the silent period value (M), the method determines whether the data packet includes an existing in-band network telemetry (INT) header. When the data packet includes an existing INT header, the method inserts the INT data into the existing INT header of the data packet and sets the sampling period flag. The method forwards the data packet to a destination device along the data path.

[0008] The first aspect ensures that at every predefined sampling period (N), a data packet includes INT data. Furthermore, the first aspect minimizes the number of times it has to insert a new INT header into a data packet, thereby improving efficiency.

[0009] Optionally, according to any of the above aspects, in another implementation of this aspect, when the data packet does not include an existing INT header, the data packet counter value is equal to a sampling period value (N). The method inserts a new INT header and inserts the INT data into the new INT header of the data packet, and when the data packet counter value is equal to the sampling period value (N), the data packet counter value is reset.

[0010] Optionally, according to any of the above aspects, in another implementation of this aspect, when the sampling period flag is set to indicate that the sampling occurred during the sampling period, it is determined whether the data packet counter value is equal to the sampling period value (N). When the data packet counter value is equal to the sampling period value (N), the method resets the sampling period flag and the data packet counter value.

[0011] Optionally, according to any of the above aspects, in another implementation of this aspect, when the data packet counter value is less than the silent period value (M), the data packet is forwarded along the data path to the destination device without determining whether the data packet includes the existing in-band network telemetry (INT) header.

[0012] Optionally, according to any of the above aspects, in another implementation of this aspect, at least one of the sampling period value (N) and the silent period value (M) is user-configurable.

[0013] A second aspect relates to a method for real-time network-wide link delay monitoring performed by a network device along a data path. The method is performed by a network device receiving a data packet. The method increments a data packet counter value by 1. The method determines whether the data packet counter value is at least a first predefined value (X). The method determines whether the data packet includes an existing in-band network telemetry INT header when the data packet counter value is at least the first predefined value (X). When the data packet includes an existing INT header, the method inserts INT data into the existing INT header of the data packet and resets the data packet counter value. The method forwards the data packet to a destination device along the data path.

[0014] The second aspect ensures that the INT sampling rate on each link is between {1 / X, 1 / Y}. On a specific link, the next delayed data is collected at least after X packets and at most after Y packets. Both X and Y can be configured according to the measurement accuracy requirements.

[0015] Optionally, according to any of the above aspects, in another implementation of this aspect, when the data packet counter value is at least the first predefined value (X) and the data packet does not include the existing INT header, it is determined whether the data packet counter value is equal to a second predefined value (Y). The method inserts a new INT header and inserts the INT data into the new INT header of the data packet, and when the data packet counter value is equal to the second predefined value (Y), the data packet counter value is reset.

[0016] A third aspect relates to a method for real-time full-network link delay monitoring performed by a network device along a data path. The method receives a data packet by a network device. The method increments a data packet counter value by 1. The method determines whether a sampling period flag is set to indicate that sampling has occurred during a sampling period. When the sampling period flag is not set, the method determines whether the data packet includes an existing in-band network telemetry (INT) header. When the data packet includes an existing INT header, the method inserts INT data into the existing INT header of the data packet and sets the sampling period flag. The method forwards the data packet to a destination device along the data path.

[0017] The third aspect ensures that the average INT sampling rate of each link is 1 / N, but the distance between two delayed data samples can be 1 to N packets. Although the sampling jitter is higher, this aspect provides improved INT data aggregation effect.

[0018] Optionally, according to any of the above aspects, in another implementation of this aspect, when the sampling period flag is not set and the data packet does not include an existing INT header, it is determined whether the data packet counter value is equal to the sampling period value (N). The method inserts a new INT header and inserts the INT data into the new INT header of the data packet, and when the data packet counter value is equal to the sampling period value (N), the data packet counter value is reset.

[0019] Optionally, according to any of the above aspects, in another implementation of this aspect, when the sampling period flag is set, it is determined whether the data packet counter value is equal to the sampling period value (N). When the data packet counter value is equal to the sampling period value (N), the method resets the sampling period flag and the data packet counter value.

[0020] A fourth aspect relates to a method for real-time network-wide link delay monitoring performed by an egress network device at a network edge along a data path. The method receives an INT-enabled data packet at an egress network device at a network edge. The method removes the INT data and the INT header from the INT-enabled data packet to generate a non-INT data packet. The method exports the INT data to a telemetry data collector. The method forwards the non-INT data packet to a destination device along the data path.

[0021] The fourth aspect ensures full network coverage (ie, full coverage without redundancy) while reducing network processing load. For example, the fourth aspect reduces the total number of exported data packets.

[0022] A fifth aspect relates to a network node, comprising a memory storing instructions; and a processor coupled to the memory, wherein the processor is configured to execute the instructions so that the network node performs any one of the above aspects.

[0023] For clarity, any of the embodiments described above may be combined with any one or more of the other embodiments described above to create new embodiments within the scope of the present invention.

[0024] These and other features and advantages thereof will be more clearly understood from the following detailed description in conjunction with the accompanying drawings and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a schematic diagram of a network according to an embodiment of the present invention.

[0026] Figure 2 It is a flowchart of a method for real-time whole-network link delay monitoring using INT sampling in a network according to an embodiment of the present invention.

[0027] Figure 3 It is a flowchart of a method for real-time whole-network link delay monitoring using INT sampling in a network according to another embodiment of the present invention.

[0028] Figure 4 It is a flowchart of a method for real-time whole-network link delay monitoring using INT sampling in a network according to another embodiment of the present invention.

[0029] Figure 5 It is a flowchart of a method for real-time network-wide link delay monitoring using in-network INT sampling and aggregation according to an embodiment of the present invention.

[0030] Figure 6 is a schematic diagram of a network element according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] First, it should be understood that although a description of one or more embodiments is provided below, the disclosed systems and / or methods can be implemented using any number of techniques, whether currently known or existing. The present invention should in no way be limited to the illustrative embodiments, drawings, and techniques described below, including the exemplary designs and implementations illustrated and described herein, but can be modified within the scope of the technical solution and the full scope of its equivalents.

[0032] The disclosed embodiments seek to solve or alleviate one or more current problems associated with real-time network-wide link delay monitoring using in-band network telemetry (INT) within the network. Specifically, the disclosed embodiments provide a low-cost method to achieve real-time network-wide link delay monitoring using in-network INT sampling and aggregation. In one embodiment, at each egress port of a network device, for each predefined outgoing packet window, if no packet includes an INT header, a packet is selected, and the INT header and data are inserted into the selected packet; otherwise, if the packet already includes an INT header, the INT data is inserted into the packet. At the egress network device (i.e., the network edge), the network edge will terminate the INT and export the aggregated INT data to the network management system.

[0033] The disclosed embodiments ensure full network coverage while reducing network processing load by reducing the number of INT header insertions and deletions within the network (performed at the network egress). In addition, the disclosed embodiments reduce the total number of exported packets. In addition, the disclosed embodiments utilize a sampling rate that adapts to link load and can be used to infer link bandwidth utilization.

[0034] Figure 1 1 is a schematic diagram of a network 100 according to one embodiment of the present invention. The network 100 includes a plurality of network devices 102, including one or more network edge devices 104. The network devices 102 can be used to route data packets across various network paths in the network 100. The network edge devices 104 are network nodes located at the edge of the network 100. In the illustrated embodiment, the network 100 also includes a telemetry data collector device 120. The telemetry data collector device 120 is used to collect data related to network performance from the network edge devices 104 for storage and analysis. Although Figure 1 Only two network edge devices 104 are shown in FIG. 1 , but it should be understood that alternative embodiments may include a greater number of such edge devices providing telemetry data to the telemetry data collector device 120 .

[0035] Figure 2 2 is a flow chart of a method 200 for real-time network-wide link delay monitoring using INT sampling in a network according to an embodiment of the present invention. The method 200 may be Figure 1The method 200 is performed along the data path by any network device such as the network device 102 in the network device. In one embodiment, the method 200 is performed at each egress port of the network device. The method 200 begins at step 202, where the network device receives a data packet. In step 204 of the method 200, a data packet counter value is incremented. In step 206 of the method 200, it is determined whether a sampling period flag is set (e.g., the period flag is set to 0 / 1 or true / false). The sampling period flag indicates whether sampling (i.e., INT data insertion data packet) has been performed within a predefined sampling period (N).

[0036] If the sampling period flag is set, which means that sampling has been performed within the predefined sampling period, then in step 218 of method 200, it is determined whether the packet counter value is equal to the value of the sampling period (N) (i.e., whether the maximum number of packets in the sampling period has been reached). When the packet counter value is equal to the value of the sampling period (N), in step 220 of method 200, the sampling period flag is reset (e.g., back to false or 0), and in step 222, the packet counter value is reset to 0. In step 216 of method 200, the packet is forwarded, and then method 200 terminates.

[0037] If in step 206, the sampling period flag is not set, which means that sampling is not performed within the predefined sampling period, then in step 208 of method 200, it is determined whether the packet counter value is greater than or equal to the predefined silent period (M). The predefined silent period (M) is used to ignore the first M packets in the sampling period (N).

[0038] In some embodiments, the values ​​of M (silent period) and N (sampling period) are configurable. As described above, the value of N represents the sampling rate of each link. The value of M represents the trade-off between sampling jitter and piggyback efficiency. For example, when M=0, the maximum possible jitter occurs because the two samples of the two periods may be very close. When M=0, the best piggyback efficiency also occurs because the maximum possibility of finding a data packet that already has an INT header is provided. In contrast, when M is set to the maximum value of M=N-1, jitter will not occur because this will ensure that one sample is accurately collected for every N data packets. However, because if the Nth data packet does not have an INT header, a new header must be added to the data packet, this will provide the worst piggyback efficiency. Therefore, in practice, the value of M can be selected to balance jitter and efficiency.

[0039] If, in step 208, the packet counter value is greater than or equal to the predefined silent period (M), which means that enough packets have been ignored in the sampling period, then in step 210 of method 200, it is determined whether the packet includes an INT header. If the packet includes an INT header, then in step 212 of method 200, INT data is inserted into the INT header of the packet. In step 214 of method 200, the sampling period flag is set (e.g., to true or 1). In step 216 of method 200, the packet is forwarded, and then method 200 terminates.

[0040] If, at step 210, the data packet does not include an INT header, then at step 224 of method 200, it is determined whether the data packet counter value is equal to the value of the sampling period (N) (i.e., is this the last data packet in the sampling period?). When the data packet counter value is equal to the value of the sampling period (N), at step 226 of method 200, a new INT header and INT data are inserted into the data packet. At step 228 of method 200, the data packet counter value is reset to 0. At step 216 of method 200, the data packet is forwarded, and then method 200 terminates. If, at step 224, the data packet counter value is not equal to the value of the sampling period (N), then at step 216 of method 200, the data packet is forwarded, and then method 200 terminates.

[0041] In summary, when executed by a network device, method 200 ensures that in each predefined sampling period (N), a data packet includes INT data. In addition, method 200 includes the use of a predefined silent period (M). In each sampling period, method 200 ignores the first M data packets. After M data packets, method 200 checks the next NM data packets. If a data packet with an INT header is found, method 200 carries the local data on this data packet and does not check other data packets for the remainder of this sampling period. If no data packet with an INT header is found at the end of the sampling period, method 200 adds the INT header and local data to the Nth data packet. This ensures that when method 200 is executed by a network device, the number of times a new INT header is inserted into a data packet is minimized, thereby improving efficiency. Figure 5 As further described in, in one embodiment, the egress node at the edge of the domain can be used to collect all data from packets with INT headers and export them to the network management / monitoring system.

[0042] Figure 3 3 is a flow chart of a method 300 for real-time network-wide link delay monitoring using INT sampling in a network according to another embodiment of the present invention. The method 300 may be Figure 1Any network device such as the network device 102 in [the network] executes along the data path. In one embodiment, method 300 is executed at each egress port of the network device. Method 300 uses a packet counter value and two thresholds X and Y (0 < X < Y). In step 302 of method 300, a data packet is received. In one embodiment, in step 304 of method 300, at each egress port of the device, the packet counter value is incremented by 1. In the illustrated embodiment, when the packet counter value reaches X, method 300 includes a step of determining whether an INT header has been inserted into the data packet. Thus, in step 306 of method 300, it is determined whether the packet counter value is greater than or equal to the predefined value X. When the packet counter value is less than the predefined value X, in step 318 of method 300, the data packet is forwarded, and then, method 300 terminates.

[0043] When the packet counter value is greater than or equal to X, in step 308 of method 300, the data packet is checked to determine whether the data packet includes an INT header. If the data packet includes an INT header, then in step 310 of method 300, INT data is inserted into the INT header of the data packet. In step 316 of method 300, the packet counter value is reset to 0. In step 318 of method 300, the data packet is forwarded, and then, method 300 terminates.

[0044] When, in step 306, the packet counter value is greater than or equal to X, but in step 308, it is determined that the data packet does not include an INT header, in step 312 of method 300, it is determined whether the packet counter value is equal to Y. When the packet counter value is less than Y, in step 318 of method 300, the data packet is forwarded, and then, method 300 terminates. If, in step 312, the packet counter value is equal to Y, then in step 314 of method 300, a new INT header and INT data are inserted into the data packet. In step 316 of method 300, the packet counter value is reset to 0. In step 318 of method 300, the data packet is forwarded, and then, method 300 terminates.

[0045] Thus, when executed by a network device, method 300 ensures that the INT sampling rate on each link is between {1 / X, 1 / Y}. In one embodiment, both X and Y can be configured according to the measurement accuracy requirements. In this embodiment, on the link, the next latency data is collected at least after X data packets and at most after Y data packets.

[0046] Figure 4 is a flowchart of method 400 for real-time full-network link latency monitoring using in-network INT sampling according to another embodiment of the present invention. Method 400 can be performed by Figure 1102 in the network device 106, etc., along the data path. In one embodiment, method 400 is performed at each egress port of the network device. Method 400 differs from method 200 in that method 400 does not utilize a predefined silent period (M). Instead, method 400 uses only a predefined sampling period (N). In step 402 of method 400, a data packet is received. In step 404 of method 400, a data packet counter value is incremented. In step 406 of method 400, it is determined whether a sampling period flag is set (e.g., true or 1), which will indicate that sampling has occurred during the current period. When the sampling period flag is not set, in step 408 of method 400, it is determined whether the data packet includes an INT header. When it is determined that the data packet includes an INT header, in step 410 of method 400, INT data is inserted into the INT header of the data packet. In step 412 of method 400, a sampling period flag is set. In step 414 of method 400, a data packet is forwarded, and then method 400 terminates.

[0047] When, in step 406, the sampling period flag is not set, and in step 408, the data packet is determined not to include an INT header, in step 416 of method 400, it is determined whether the data packet counter value is equal to the value of the sampling period (N). When the data packet counter value is not equal to N, in step 414 of method 400, the data packet is forwarded, and then the method 400 terminates. When, in step 416, the data packet counter value is determined to be equal to N (which means that this is the last data packet in the period), and no sampling is performed in the current period, in step 418 of method 400, a new INT header is inserted into the data packet, and INT data is inserted into the new INT header of the data packet. In step 420 of method 400, the data packet counter value is reset. In step 414 of method 400, the data packet is forwarded, and then the method 400 terminates.

[0048] When it is determined in step 406 that the sampling period flag is set, in step 422 of method 400, it is determined whether the packet counter value is equal to the value of the sampling period (N). When the packet counter value is not equal to N (i.e., the packet count is less than N), in step 414 of method 400, the packet is forwarded, and method 400 terminates. However, in step 422, if the packet counter value is determined to be equal to N, then in step 424 of method 400, the sampling period flag is reset (e.g., set to false or 0). In step 426 of method 400, the packet counter value is reset to 0. In step 414 of method 400, the packet is forwarded, and method 400 terminates.

[0049] As shown above, when executed by a network device, method 400 ensures that the average INT sampling rate on each link is 1 / N, but the distance between two delayed data samples can be 1 to N packets. Although the sampling jitter is higher, this embodiment provides improved INT data aggregation effect.

[0050] Figure 5 1 is a flow chart of a method 500 for real-time network-wide link delay monitoring using in-network INT sampling and aggregation according to an embodiment of the present invention. In one embodiment, the method 500 is performed by an egress node (e.g. Figure 1 The network edge device 104 in the embodiment of the present invention is executed to collect all data from the data packets with INT header and export them to the network management / monitoring system, such as Figure 1 The method 500 begins at step 502, where an INT-enabled data packet is received at an egress network device at the edge of the network. In step 504 of the method 500, INT data and an INT header are removed from the INT-enabled data packet to generate a non-INT data packet. In step 506 of the method 500, the INT data and the data of the egress node are exported to the telemetry data collector. In step 508 of the method 500, the non-INT data packet is forwarded along the data path to the destination device, and then the method terminates.

[0051] In one embodiment, for any link in the network, if the data packet is selected to insert INT data, the sending device A will insert the ingress timestamp T1 of the data packet at A, and the receiving device B will insert the ingress timestamp T2 of the data packet at B. Link delay T = T2-T1. The link delay T can be calculated by the egress node or by the telemetry data collector.

[0052] Figure 6 6 is a schematic diagram of a network device 600 according to an embodiment of the present invention. The network device 600 may be any network node, such as but not limited to any router, switch, and controller used by service providers around the world. According to the disclosed embodiments, Figure 1 The network device 102 , the network edge device 104 , and the telemetry data collector device 120 may be implemented using the network device 600 .

[0053] In the illustrated embodiment, the network device 600 has one or more processors 630 or other processing devices (e.g., central processing units (CPUs)) to process instructions. The processor 630 can be implemented as one or more CPU chips, cores (e.g., multi-core processors), field-programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), and digital signal processors (DSPs). The processor 630 is communicatively coupled to various components of the network device 600 via a system bus, including but not limited to a receiving unit (RX) 620, a transmitting unit (TX) 640, and a memory 660. The processor 630 can be used to execute instructions stored in the memory 660. Therefore, the present invention provides a device for performing any calculation, comparison, determination, startup, configuration, or any other action corresponding to the technical solution when the processor 630 executes appropriate instructions.

[0054] In one embodiment, RX 620 or receiving means is used to receive data through ingress port 610. Similarly, TX 640 or transmitting means is used to transmit data through egress port 650.

[0055] The memory 660 or data storage device stores instructions and various data. The memory 660 can be any type of memory component or combination thereof capable of storing data and / or instructions. For example, the memory 660 may include volatile and / or non-volatile memory, such as read-only memory (ROM), random access memory (RAM), ternary content-addressable memory (TCAM) and / or static random access memory (SRAM). The memory 660 may also include one or more disks, tape drives and solid-state hard disks. In some embodiments, the memory 660 may be used as an overflow data storage device to store these programs when selecting programs for execution, as well as to store instructions and data read during program execution. In some embodiments, the memory 660 may be a memory integrated with the processor 630.

[0056] In one embodiment, the memory 660 stores a real-time full-network link delay monitoring module 670. The real-time full-network link delay monitoring module 670 includes data and executable instructions for implementing the disclosed embodiments. For example, the real-time full-network link delay monitoring module 670 may include instructions for implementing Figures 2 to 5 Instructions of the method described in. The real-time full-network link delay monitoring module 670 includes significantly improved functionality of the network device 600 by enabling real-time full-network link delay monitoring utilizing in-network INT sampling and aggregation, wherein this, among other things, ensures full-network coverage, reduces the total number of exported packets, and reduces the processing load of the network device by reducing the number of insertions and deletions of INT headers. In addition, the sampling rate adapts to the link load and can be used to infer link bandwidth utilization.

[0057] As described herein, the disclosed embodiments provide a low-cost method to achieve real-time full-network link delay monitoring through in-network INT sampling and aggregation. The disclosed embodiments ensure full network coverage (i.e., full coverage and no redundancy) while reducing network processing load. For example, the disclosed embodiments reduce the total number of exported data packets. Therefore, the disclosed embodiments provide low-cost and low-impact real-time full-network link delay monitoring. In addition, the disclosed embodiments utilize sampling rates that adapt to link loads and can be used to infer link bandwidth utilization. The disclosed embodiments can be used as part of an In-situ Flow Information Telemetry (iFIT) framework for optimizing telemetry technology (i.e., intelligent sampling and data reduction).

[0058] Although the present invention provides several embodiments, it should be understood that the disclosed systems and methods may be embodied in a variety of other specific forms without departing from the spirit or scope of the present invention. The examples of the present invention are to be considered illustrative rather than restrictive, and the present invention is not limited to the details given herein. For example, various elements or components may be combined or integrated in another system, or certain features may be omitted or not implemented.

[0059] In addition, without departing from the scope of the present invention, the techniques, systems, subsystems and methods described and illustrated as discrete or separate in various embodiments may be combined or integrated with other systems, modules, techniques or methods. Other items shown or discussed as coupled or directly coupled or communicating with each other may also be coupled or communicated indirectly through an interface, device or intermediate component, either electrically, mechanically or otherwise. Other variations, substitutions, and modified examples may be determined by those skilled in the art without departing from the spirit and scope disclosed herein.

Claims

1. A method for real-time network-wide link delay monitoring performed by a network device along a data path, characterized in that: The method comprises: The network device receives a data packet; The network device increments the data packet counter value by 1; The network device determines whether a sampling period flag is set to indicate that sampling has occurred during the sampling period; When the sampling period flag is not set, the network device determines whether the data packet counter value is greater than or equal to a silent period value (M); When the packet counter value is greater than or equal to the silent period value (M), the network device determines whether the packet includes an existing in-band network telemetry INT header; When the data packet includes the existing INT header, the network device inserts INT data into the existing INT header of the data packet and sets the sampling period flag; The network device forwards the data packet to the destination device along the data path.

2. The method according to claim 1, characterized in that Also includes: When the data packet does not include the existing INT header, the network device determines whether the data packet counter value is equal to a sampling period value (N); When the data packet counter value is equal to the sampling period value (N), the network device inserts a new INT header and inserts the INT data into the new INT header of the data packet, and resets the data packet counter value.

3. The method according to claim 1 or 2, characterized in that: Also includes: When the sampling period flag is set to indicate that the sampling occurred during the sampling period, the network device determines whether the packet counter value is equal to a sampling period value (N); When the data packet counter value is equal to the sampling period value (N), the network device resets the sampling period flag and the data packet counter value.

4. The method according to claim 1 or 2, characterized in that: Also includes: When the data packet counter value is less than the silent period value (M), the network device forwards the data packet to the destination device along the data path without determining whether the data packet includes the existing in-band network telemetry INT header.

5. The method according to claim 2, characterized in that: At least one of the sampling period value (N) and the silent period value (M) is user configurable.

6. A method for real-time network-wide link delay monitoring performed by a network device along a data path, characterized in that: The method comprises: The network device receives a data packet; The network device increments the data packet counter value by 1; The network device determines whether the packet counter value is greater than or equal to a first predefined value (X), wherein the first predefined value (X) is a first parameter related to an in-band network telemetry INT sampling rate on each link; When the packet counter value is greater than or equal to the first predefined value (X), the network device determines whether the packet includes an existing in-band network telemetry INT header; When the data packet includes the existing INT header, the network device inserts INT data into the existing INT header of the data packet and resets the data packet counter value; The network device forwards the data packet to the destination device along the data path.

7. The method according to claim 6, characterized in that Also includes: When the packet counter value is greater than or equal to the first predefined value (X) and the packet does not include the existing INT header, the network device determines whether the packet counter value is equal to a second predefined value (Y), wherein the second predefined value (Y) is a second parameter related to an INT sampling rate on each link; When the data packet counter value is equal to the second predefined value (Y), the network device inserts a new INT header and inserts the INT data into the new INT header of the data packet, and resets the data packet counter value.

8. A method for real-time network-wide link delay monitoring performed by a network device along a data path, characterized in that: The method comprises: The network device receives a data packet; The network device increments the data packet counter value by 1; The network device determines whether a sampling period flag is set to indicate that sampling has occurred during the sampling period; When the sampling period flag is not set, the network device determines whether the data packet includes an existing in-band network telemetry INT header; When the data packet includes the existing INT header, the network device inserts INT data into the existing INT header of the data packet and sets the sampling period flag; The network device forwards the data packet to the destination device along the data path.

9. The method according to claim 8, characterized in that Also includes: When the sampling period flag is not set and the data packet does not include the existing INT header, the network device determines whether the data packet counter value is equal to a sampling period value (N); When the data packet counter value is equal to the sampling period value (N), the network device inserts a new INT header and inserts the INT data into the new INT header of the data packet, and resets the data packet counter value.

10. The method according to claim 8 or 9, characterized in that: Also includes: When the sampling period flag is set, the network device determines whether the packet counter value is equal to a sampling period value (N); When the data packet counter value is equal to the sampling period value (N), the network device resets the sampling period flag and the data packet counter value.

11. A network node, characterized in that: The network node comprises: a memory for storing instructions; A processor coupled to the memory, the processor being configured to execute the instructions so as to cause the network node to perform the method according to any one of claims 1-10.