Dynamic network environment-oriented double-time-scale network telemetry method

By combining high time scale and low time scale probe technology in a dynamic network environment, real-time updating of telemetry paths and data collection solves the problems of telemetry path update and data monitoring in a dynamic network environment, achieving stable visibility and efficient telemetry. performance.

WO2024192781A1PCT designated stage expired Publication Date: 2024-09-26SOUTHEAST UNIV

Patent Information

Application Number
PCT/CN2023/083529
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2023-03-24
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In a dynamic network environment, it is difficult for existing technologies to update telemetry paths in real time, resulting in network data loss and resource waste, and making it impossible to effectively monitor and manage complex network environments.

Method used

The dual time scale network telemetry method is adopted, and the high time scale auxiliary probe and the low time scale dynamic probe are combined. The auxiliary probe is used to obtain basic information and the low time scale path is updated in real time. The dynamic probe collects the network information required by the user. data, improving telemetry performance.

Benefits of technology

It achieves stable network-wide visibility in a dynamic network environment, reduces telemetry overhead and delay, and improves telemetry performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023083529_26092024_PF_FP
    Figure CN2023083529_26092024_PF_FP
Patent Text Reader

Abstract

Disclosed is a dynamic network environment-oriented double-time-scale network telemetry method, comprising: creating a high-time-scale path, generating an auxiliary probe, and injecting same into a network to be monitored; the auxiliary probe then collecting network information of a router on a forwarding path and finally returning the network information to a controller; and after basic network information collected by the auxiliary probe is acquired, a low-time-scale path deployment system deploying a low-time-scale path according to telemetry requirements, and generating a dynamic probe for collecting network information. According to the method provided by the present invention, the high-time-scale path can be updated regularly to better adapt to a dynamic network environment, and using the method can effectively optimize the time delay, overhead and other performances of a remote sensing system while ensuring the telemetry visibility.
Need to check novelty before this filing date? Find Prior Art

Description

A dual-time-scale network telemetry method for dynamic network environments Technical Field

[0001] The present invention relates to the technical field of network traffic remote sensing, and in particular to a dual-time-scale network telemetry method for dynamic network environments. Background Art

[0002] With the continuous development of the internet, the scale of big data center networks is growing, and with it, network complexity. In this network environment, network operations and maintenance personnel need to monitor network status in real time to promptly identify and resolve problems and ensure network stability and reliability. Network telemetry technology, which enables remote monitoring and management of network status, is crucial for the management and operation of big data center networks.

[0003] Network telemetry technology primarily encompasses data collection, data transmission, data processing, and report generation. Data collection can be achieved through protocols such as SNMP and NetFlow, capturing network device data, including bandwidth usage, CPU utilization, and memory utilization, thereby providing insights into network status. Data transmission can be achieved through protocols such as TCP / IP and UDP, transmitting the collected data to a management center for subsequent processing and analysis. Data processing involves processing and analyzing the collected data to generate reports and provide decision support. Data processing can utilize techniques such as data mining and machine learning. Through data analysis, network problems can be identified and optimized. Report generation generates reports from processed data, providing network operations personnel with real-time network status information and fault reports, enabling them to promptly identify and resolve issues, ensuring network stability and reliability. Active network telemetry, a type of network telemetry technology, proactively requests network devices to obtain network status information. Compared to passive network telemetry, active network telemetry offers advantages such as enhanced real-time performance, more accurate data, and more flexible monitoring. Active network telemetry technology allows for on-demand monitoring of network devices, offering greater flexibility. The advantage of active in-band sensing is that it provides the controller with stable, network-wide visibility. However, because it requires the active generation of probe flows to collect traffic information across the entire network topology, the routing of each probe flow is a significant factor influencing the performance of the sensing system.

[0004] At the same time, telemetry for dynamic network environments is becoming increasingly important. Dynamic network environments, including network topology, network load, and network traffic, are constantly changing, requiring real-time monitoring and management. Dynamic network environment telemetry can monitor these changes in real time, identifying issues promptly and ensuring network stability and reliability. Dynamic network environment telemetry technology also plays a crucial role in the development of new technologies such as cloud computing and the Internet of Things. It helps network operations personnel monitor network status in real time, identify and resolve issues promptly, and ensure network stability and reliability.

[0005] In summary, dual-time-scale network telemetry for dynamic network environments is a technology that enables remote monitoring and management of network status, which is crucial for the management and operation of large data center networks. Dynamic network environment telemetry can monitor network changes in real time, identifying issues promptly and ensuring network stability and reliability.

[0006] Summary of the Invention

[0007] In view of this, the purpose of the present invention is to provide a dual-time-scale network telemetry method for dynamic network environments to solve the technical problems mentioned in the background technology. The present invention further improves the self-update capability of the telemetry path in a dynamic environment on the basis of the active in-band remote sensing routing mechanism. Today, as the types of network services are becoming increasingly complex, the changes in the network environment are also becoming increasingly complex. A telemetry system that cannot change in real time with the specific environment will lead to the loss of network data and waste of network resources. Therefore, it is obviously inappropriate to directly perform path planning without considering the changes in the network environment. The present invention takes into account the impact of changes in the dynamic network environment on active network telemetry and designs a dual-time-scale network telemetry system for dynamic network environments.

[0008] In order to achieve the above object, the present invention adopts the following technical solutions:

[0009] A dual-time-scale network telemetry method for a dynamic network environment, comprising the following steps:

[0010] Step S1: construct a high-time-scale detection path for the network topology to be tested;

[0011] Step S2: Generate an auxiliary probe according to the auxiliary probe format and inject it into the network to be tested at a lower frequency;

[0012] Step S3: The switch in the network to be tested determines whether the received data packet is an auxiliary probe and adds basic network data to the auxiliary probe;

[0013] Step S4: If the auxiliary probe reaches the last hop of the forwarding path, the switch forwards it to the controller;

[0014] Step S5: Update the current low-time-scale detection path based on the basic network information obtained by the auxiliary probe;

[0015] Step S6: Generate a dynamic probe according to the dynamic probe format and inject it into the network to be tested at a high frequency;

[0016] Step S7: The switch in the network to be tested determines whether the received data packet is a dynamic probe and adds the network data required for the telemetry task to the auxiliary probe;

[0017] Step S8: If the dynamic probe reaches the last hop of the forwarding path, the switch forwards it to the controller.

[0018] Furthermore, before constructing the detection flow path, the network status and network telemetry evaluation indicators are initialized, which specifically include:

[0019] The detection network is defined as an undirected physical graph, represented by G = (V, E); where V = {i|i = 1, ..., n} is the set of physical nodes, i∈V is the physical node with sequence number i in the monitoring network; E = {(i, j) | i, j∈V} is the set of direct physical links between nodes, where (i, j)∈E is the physical link status between node i and node j; the indicators associated with telemetry evaluation can be expressed as F = {f1, f2, ..., f l}, including bandwidth usage, latency, CPU usage, storage usage, disk usage, etc. Since different indicators have different importance in evaluation, the weight is set to W = {w1,w2,…,w m}.

[0020] Furthermore, in step S1, first, since the controller needs basic information of the entire network to perform low-time-scale path planning, the auxiliary probe should have the ability to pass through all physical links in the network. Secondly, since one of the tasks of the telemetry result analyzer is to locate network faults using auxiliary probes. When a link fails, it is necessary to check all high-time-scale paths containing the link to find the fault location. In order to reduce the workload of fault location, the mutual weight of high-time-scale paths can be avoided, and the path where the fault is located can be found quickly. Finally, since the SR stack of the auxiliary probe is a fixed-length stack, the port information of the high-time-scale path cannot exceed the stack length limit.

[0021] Because auxiliary probes have a lower transmission frequency and transmit less data, they have less impact on network performance than dynamic probes. The high-time-scale path planning problem can be transformed into a problem of finding a feasible solution. The goal is to find a set of auxiliary probe paths that satisfies the constraints of path length, path coverage, and path non-overlap. Specifically, the high-time-scale path planning problem needs to satisfy the following constraints:

[0022] The auxiliary probe path set covers the entire network topology;

[0023] ●The paths in the auxiliary probe path set are not repeated;

[0024] ●The length of each path in the auxiliary probe path set does not exceed a fixed threshold.

[0025] These constraints can be expressed as an optimization problem. By solving this optimization problem, a set of auxiliary probe paths that meet these constraints can be obtained. In the specific path planning process, a depth-first exploration algorithm with path length constraints is a feasible solution.

[0026] Furthermore, in step S2, generating an auxiliary probe according to the auxiliary probe format includes:

[0027] The header of an auxiliary probe is similar to a normal data packet header, consisting of an Ethernet header, an IP header, and a TCP / UDP header. To ensure that the programmable switch can parse the auxiliary probe, the destination port is set to "Auxiliary_probe". In addition, the destination address is set to the controller's IP address to forward the auxiliary probe to the controller.

[0028] The auxiliary probe consists of a source routing (SR) stack and an information (INFO) stack. The SR stack is used to store high-time-scale probe paths. When planning high-time-scale probe paths, the length of each path is limited. In addition, once deployed, the high-time-scale probe path does not need to be updated frequently. Therefore, for convenience, the SR stack is a fixed-length stack consisting of a series of port tags. Each port tag records a hop on the high-time-scale probe path, and the switch under test forwards the auxiliary probe based on the port tag; the information stack INFO stack consists of multiple INFO tags for storing network data, and each INFO tag contains the switch ID and the value of each network data. This article uses link delay and port connection status as examples to demonstrate the dynamic INT system.

[0029] Furthermore, in step S3, adding basic network information to the auxiliary probe via the network switch includes:

[0030] The switch in the network under test determines whether the received data packet is an auxiliary probe according to the following specific steps:

[0031] First, upon receiving a packet, the switch checks whether it is a probe. If the destination port is "Auxiliary_probe" or "Dynamic_probe," the switch considers the packet a probe. If not, the packet is processed and forwarded normally.

[0032] Then, if the destination port is "Auxiliary_probe", the packet is considered to be an auxiliary probe, and the switch should record basic network information with the INFO tag and add the INFO tag to the INFO stack.

[0033] Furthermore, the step S4 specifically includes:

[0034] First, the switch on the detection path compares its own ID with the switch ID of the high time scale path.

[0035] Then, if the current switch is the last hop, the switch sends the probe to the controller. Otherwise, the switch forwards the probe to the next hop according to the probe path.

[0036] Furthermore, in step S5, the specific requirements for the deployment scheme of the low-time-scale detection path are as follows:

[0037] First, since dynamic probes directly collect network data to meet user needs, it is necessary to ensure that the metadata types collected by dynamic probes can fully include the metadata types that users want to obtain at each node.

[0038] Since dynamic probes bear the primary responsibility for network telemetry, they must meet all user performance requirements, including overhead, latency, coverage, CPU, memory, disk, and bandwidth. When deploying low-timescale paths, optimal telemetry performance should be the goal. Consider the requirements for deploying both high-timescale and low-timescale paths.

[0039] The specific design goal can be expressed mathematically as follows:

[0040] Among them, C is a comprehensive evaluation index; S′ i S represents the set of metadata types that the user needs to collect at node i; q Refers to the set of metadata types collected by the qth low-time-scale path; D i Represents the set of low-time-scale paths passing through node i.

[0041] This problem can be solved using deep reinforcement learning. Specifically, we employ an end-to-end framework for solving path planning problems using reinforcement learning. In this approach, a single model is trained to find near-optimal solutions to problem instances sampled from a given distribution by observing a reward signal and following a feasibility rule. The model represents a parameterized stochastic policy, and its parameters are optimized by applying a policy gradient algorithm. The trained model produces solutions in real time as a continuous sequence of actions, eliminating the need for retraining for each new problem instance.

[0042] Furthermore, in step S6, the dynamic probe format generates the dynamic probe specifically as follows:

[0043] The format of a dynamic probe is similar to that of an auxiliary probe. However, because the path length of a low-time-scale probe can vary widely, and the type of network data collected by a dynamic probe often changes, the dynamic probe introduces two new fields: (i) Length and (ii) Bitmap. In the dynamic probe format, the SR stack is a variable-length stack, and Length determines the length of the SR stack. In addition, Bitmap determines what type of data should be collected in the INFO tag. It is worth mentioning that the target port in the dynamic probe is set to "Dynamic_probe" so that the switch can parse the dynamic probe.

[0044] Furthermore, in step S7, the method by which the switch determines whether the received data packet is a dynamic probe is specifically: whether the destination port is "Auxiliary_probe" or "Dynamic_probe".

[0045] Furthermore, in step S7, the method for adding network data to the dynamic probe by the switch is specifically: adding network data according to the metadata type specified by the field "Bitmap".

[0046] The beneficial effects of the present invention are:

[0047] This invention leverages the real-time nature of dynamic network environments, utilizing low-frequency auxiliary probes on high-time-scale paths to acquire basic network information. This information is then used to update low-time-scale paths in real time, allowing dynamic probes to acquire the network data required by users, thereby improving the telemetry performance of dynamic probes. This dual-time-scale network telemetry system for dynamic network environments achieves stable, full-network visibility and effectively reduces telemetry overhead, latency, and other performance issues. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a schematic diagram of the structure of the routing mechanism provided in Example 1;

[0049] FIG2 is a flow chart of a dual-time-scale network telemetry method for a dynamic network environment provided in Example 1;

[0050] FIG3 is a schematic structural diagram of an auxiliary probe and a dynamic probe provided by the present invention;

[0051] FIG4 is a flowchart of a dual-time-scale network telemetry method for a dynamic network environment provided by the present invention.

[0052] FIG5 is a block diagram of deep reinforcement learning for low-time-scale path deployment provided by the present invention. DETAILED DESCRIPTION

[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0054] Example 1

[0055] Referring to Figures 1 and 2, this embodiment provides a dual-time-scale network telemetry method for a dynamic network environment. The routing mechanism adopted by the method is shown in Figure 1. Specifically, in this mechanism, the workflow can be described step by step as follows. In the first step, the controller plans a high-time-scale detection path based on the network structure. In the second step, the network device generates a high-time-scale auxiliary probe and injects it into the network. In the third step, the auxiliary probe is forwarded along the path specified by the user and collects basic network information. In the fourth step, after the auxiliary probe completes the telemetry task, the controller obtains the basic telemetry results at a high time scale. In the fifth step, the controller plans a low-time-scale detection path based on the basic network information. In the sixth step, the network device generates a low-time-scale dynamic probe and injects it into the network. In the seventh step, the dynamic probe collects comprehensive network information according to the requirements of the telemetry task. In the eighth step, the dynamic probe reports the collected network information to the controller. Specifically, it can be described as the following steps:

[0056] Step S1: construct a high-time-scale detection path for the network topology to be tested;

[0057] Specifically, in step S1, first, since the controller needs basic information of the entire network to perform low-time-scale path planning, the auxiliary probe should have the ability to pass through all physical links in the network. Secondly, since one of the tasks of the telemetry result analyzer is to locate network faults using auxiliary probes. When a link fails, it is necessary to check all high-time-scale paths containing the link to find the fault location. In order to reduce the workload of fault location, the mutual weight of high-time-scale paths can be avoided to quickly find the path where the fault is located. Finally, since the SR stack of the auxiliary probe is a fixed-length stack, the port information of the high-time-scale path cannot exceed the stack length limit.

[0058] Because auxiliary probes have a lower transmission frequency and transmit less data, they have less impact on network performance than dynamic probes. The high-time-scale path planning problem can be transformed into a problem of finding a feasible solution. The goal is to find a set of auxiliary probe paths that satisfies the constraints of path length, path coverage, and path non-overlap. Specifically, the high-time-scale path planning problem needs to satisfy the following constraints:

[0059] The auxiliary probe path set covers the entire network topology;

[0060] ●The paths in the auxiliary probe path set are not repeated;

[0061] ●The length of each path in the auxiliary probe path set does not exceed a fixed threshold.

[0062] These constraints can be expressed as an optimization problem. By solving this optimization problem, a set of auxiliary probe paths that meet these constraints can be obtained. In the specific path planning process, a depth-first exploration algorithm with path length constraints is a feasible solution.

[0063] Step S2: Generate an auxiliary probe according to the auxiliary probe format and inject it into the network to be tested at a lower frequency;

[0064] Specifically, the auxiliary probe header is similar to a regular data packet header, consisting of an Ethernet header, an IP header, and a TCP / UDP header. To ensure that the programmable switch can parse the auxiliary probe, the destination port is set to "Auxiliary_probe." Furthermore, the destination address is set to the controller's IP address to forward the auxiliary probe to the controller.

[0065] The auxiliary probe consists of a source routing (SR) stack and an information (INFO) stack. The SR stack is used to store high-time-scale probe paths. When planning high-time-scale probe paths, the length of each path is limited. In addition, once deployed, the high-time-scale probe path does not need to be updated frequently. Therefore, for convenience, the SR stack is a fixed-length stack consisting of a series of port tags. Each port tag records a hop on the high-time-scale probe path, and the switch under test forwards the auxiliary probe based on the port tag; the information stack INFO stack consists of multiple INFO tags for storing network data, and each INFO tag contains the switch ID and the value of each network data. This article uses link delay and port connection status as examples to demonstrate the dynamic INT system.

[0066] Step S3: The switch in the network to be tested determines whether the received data packet is an auxiliary probe and adds basic network data to the auxiliary probe;

[0067] Specifically, the switch in the network under test determines whether the received data packet is an auxiliary probe according to the following specific steps:

[0068] First, upon receiving a packet, the switch checks whether it is a probe. If the destination port is "Auxiliary_probe" or "Dynamic_probe," the switch considers the packet a probe. If not, the packet is processed and forwarded normally.

[0069] Then, if the destination port is "Auxiliary_probe", the packet is considered to be an auxiliary probe, and the switch should record basic network information with the INFO tag and add the INFO tag to the INFO stack.

[0070] Step S4: If the auxiliary probe reaches the last hop of the forwarding path, the switch forwards it to the controller;

[0071] Specifically, first, the switch on the detection path compares its own ID with the switch ID of the high time scale path.

[0072] Then, if the current switch is the last hop, the switch sends the probe to the controller. Otherwise, the switch forwards the probe to the next hop according to the probe path.

[0073] Step S5: Update the current low-time-scale detection path based on the basic network information obtained by the auxiliary probe;

[0074] Specifically, first, since dynamic probes directly collect network data to meet user needs, it is necessary to ensure that the metadata types collected by dynamic probes can fully include the metadata types that users want to obtain at each node.

[0075] Since dynamic probes bear the primary responsibility for network telemetry, they must meet all user performance requirements, including overhead, latency, coverage, CPU, memory, disk, and bandwidth. When deploying low-timescale paths, optimal telemetry performance should be the goal. Consider the requirements for deploying both high-timescale and low-timescale paths.

[0076] The specific design goal can be expressed mathematically as follows:

[0077] Among them, C is a comprehensive evaluation index; S′ i Represents the set of metadata types that the user needs to collect at node i; S q Refers to the set of metadata types collected by the qth low-time-scale path; D i Represents the set of low-time-scale paths passing through node i.

[0078] This problem can be solved using deep reinforcement learning. Specifically, we employ an end-to-end framework for solving path planning problems using reinforcement learning. In this approach, a single model is trained to find near-optimal solutions to problem instances sampled from a given distribution by observing a reward signal and following a feasibility rule. The model represents a parameterized stochastic policy, and its parameters are optimized by applying a policy gradient algorithm. The trained model produces solutions in real time as a continuous sequence of actions, eliminating the need for retraining for each new problem instance.

[0079] Step S6: Generate a dynamic probe according to the dynamic probe format and inject it into the network to be tested at a high frequency;

[0080] Specifically, the format of a dynamic probe is similar to that of an auxiliary probe. However, due to the wide range of path length variations in low-time-scale probes and the frequent changes in the type of network data collected by dynamic probes, dynamic probes introduce two new fields: (i) Length and (ii) Bitmap. In the dynamic probe format, the SR stack is a variable-length stack, and Length determines the length of the SR stack. In addition, Bitmap determines what type of data should be collected in the INFO tag. It is worth mentioning that the target port in the dynamic probe is set to "Dynamic_probe" so that the switch can parse the dynamic probe.

[0081] Step S7: The switch in the network to be tested determines whether the received data packet is a dynamic probe and adds the network data required for the telemetry task to the auxiliary probe;

[0082] Specifically, the method for the switch to determine whether a received data packet is a dynamic probe is: whether the destination port is "Auxiliary_probe" or "Dynamic_probe".

[0083] Specifically, the method for adding network data to the dynamic probe by the switch is as follows: adding network data according to the metadata type specified by the field "Bitmap".

[0084] Step S8: If the dynamic probe reaches the last hop of the forwarding path, the switch forwards it to the controller;

[0085] Figure 2 shows the packet design approach for this example. Upon receiving auxiliary probes and dynamic probes, the programmable switch inserts the required network information and forwards the probes to the designated port. Auxiliary probes only need to collect specific basic network information, while dynamic probes need to collect different types of network information depending on the telemetry task. Therefore, dynamic INT has been designed separately for auxiliary and dynamic probe formats.

[0086] Specifically, the auxiliary probe consists of a source routing (SR) stack and an information (INFO) stack. The SR stack is used to store high-time-scale probe paths. When planning high-time-scale probe paths, the length of each path is limited. Furthermore, once deployed, high-time-scale probe paths do not need to be frequently updated. Therefore, for convenience, the SR stack is a fixed-length stack consisting of a series of port tags. Each port tag records a hop on the high-time-scale probe path, and the switch under test forwards the auxiliary probe based on the port tag. The information stack, INFO, consists of multiple INFO tags and is used to store network data. Each INFO tag contains the switch ID and the value of each network data item. This article uses link latency and port connection status as examples to demonstrate the dynamic INT system. The format of the dynamic probe is similar to that of the auxiliary probe. However, due to the wide range of low-time-scale probe path lengths and the frequent changes in the type of network data collected by the dynamic probe, the dynamic probe introduces two new fields: (i) Length and (ii) Bitmap. In the dynamic probe format, the SR stack is a variable-length stack, and the Length determines the length of the SR stack. Furthermore, the Bitmap determines the type of data collected by the INFO tag. It is worth mentioning that the destination port in the dynamic probe is set to "Dynamic_probe" so that the switch can resolve the dynamic probe.

[0087] The operating principle of the switch in this example is shown in Figure 3.

[0088] After receiving a packet, the switch first checks whether it is a probe. If the destination port is "Auxiliary\_probe" or "Dynamic\_probe," the switch considers the packet a probe. If not, the packet is processed and forwarded normally. Next, the switch handles the probe according to its type. For an auxiliary probe, the switch records basic network information using the INFO tag and adds the INFO tag to the INFO stack. For a dynamic probe, the switch adds network information to the INFO tag based on the "Bitmap." Finally, the switch at the last hop in the probe path sends the telemetry information to the controller for further analysis. Finally, if the current switch is the last hop, the switch sends the probe to the controller. Otherwise, the switch forwards the probe to the next hop according to the probe path.

[0089] In summary, the present invention proposes a dual-time-scale network telemetry method for dynamic network environments. This method can obtain stable full-network visibility for the dual-time-scale network telemetry system for dynamic network environments and effectively reduce telemetry overhead, latency and other performance.

[0090] Anything not described in detail in the present invention is well known to those skilled in the art.

[0091] The above describes in detail the preferred embodiments of the present invention. It should be understood that those skilled in the art can make numerous modifications and variations based on the concepts of the present invention without inventive effort. Therefore, any technical solutions that can be derived by those skilled in the art through logical analysis, reasoning, or limited experimentation based on the concepts of the present invention and the prior art should be within the scope of protection defined by the claims.

Claims

1. A dual-time-scale network telemetry method for a dynamic network environment, characterized in that: The steps include: Step S1: construct a high time scale detection path for the network topology to be tested; Step S2, generating an auxiliary probe according to the auxiliary probe format, and injecting it into the network to be tested at a lower frequency; Step S3: The switch in the network to be tested determines whether the received data packet is an auxiliary probe, and adds basic network data to the auxiliary probe; Step S4: If the auxiliary probe reaches the last hop of the forwarding path, the switch forwards it to the controller; Step S5: updating the current low-time-scale detection path according to the basic network information acquired by the auxiliary probe; Step S6: Generate a dynamic probe according to the dynamic probe format, and inject it into the network to be tested at a higher frequency; Step S7: The switch in the network to be tested determines whether the received data packet is a dynamic probe, and adds the network data required for the telemetry task to the dynamic probe; Step S8: If the dynamic probe reaches the last hop of the forwarding path, the switch forwards it to the controller.

2. A dual-time-scale network telemetry method for a dynamic network environment according to claim 1, characterized in that: Before constructing the high-time-scale detection path, the evaluation indicators of network status and network telemetry are initialized, including: Initialize the network state: define the detection network as an undirected physical graph G, and G = (V, E); where V = {i|i = 1, ..., n} is the set of physical nodes, i∈V is the physical node with sequence number i in the monitoring network; E = {(i, j) | i, j∈V} is the set of direct physical links of physical nodes, where (i, j)∈E is the physical link state between physical node i and physical node j; the evaluation index of network telemetry is expressed as F = {f1, f2, ..., f l }, including bandwidth usage, latency, CPU usage, storage usage, and disk usage. Since different indicators have different importance in evaluation, the indicator F = {f1, f2, …, f l The corresponding weights are set to W = {w1,w2,…,w m }.

3. A dual-time-scale network telemetry method for a dynamic network environment according to claim 1, characterized in that: In step S1, the high time scale detection path is constructed to meet the following constraints: 1) The path set of auxiliary probes covers the entire network topology; 2) The paths in the path set of the auxiliary probe are not repeated; 3) The length of each path in the path set of the auxiliary probe does not exceed a fixed threshold; The three constraints are expressed in the form of an optimization problem, and the optimization problem is solved to obtain the solution that satisfies these constraints. A collection of auxiliary probe paths.

4. A dual-time-scale network telemetry method for a dynamic network environment according to claim 1, characterized in that: The specific process of step S2 generating an auxiliary probe according to the auxiliary probe format is as follows: The header of the auxiliary probe includes an Ethernet header, an IP header, and a TCP / UDP header. To ensure that the switch in the network under test can parse the auxiliary probe, the destination port is set to "Auxiliary_probe" and the target address is set to the IP address of the controller. The auxiliary probe includes a source routing stack SR and an information stack INFO. The source routing stack SR is used to store the high-time-scale detection path, including multiple port labels. Each port label records a hop on the high-time-scale detection path. The switch of the network to be tested forwards the auxiliary detection according to the port label. The information stack INFO stack includes multiple INFO tags, each of which contains the ID of the switch and the value of each network data.

5. A dual-time-scale network telemetry method for a dynamic network environment according to claim 4, characterized in that: The implementation process of step S3 is: After receiving a data packet, the switch in the network to be tested first checks whether the data packet is a probe. If the destination port is "Auxiliary_probe" or "Dynamic_probe", the switch considers the data packet to be a probe. If not, the data packet will be processed and forwarded normally. If the destination port is "Auxiliary_probe", the packet is considered to be an auxiliary probe, the switch stores the network data with the INFO tag, and adds the INFO tag to the information stack INFO.

6. A dual-time-scale network telemetry method for a dynamic network environment according to claim 5, characterized in that: The implementation process of step S4 is: The switch on the detection path compares its own ID with the switch ID of the high time scale path. If the current switch is the last hop, the switch sends the auxiliary probe to the controller; otherwise, the switch forwards the auxiliary probe to the next hop.

7. A dual-time-scale network telemetry method for a dynamic network environment according to claim 6, characterized in that: In step S5, for the low-time-scale detection path, the specific requirements for its deployment are expressed as design goals: Among them, C is a comprehensive evaluation index; S′ i represents the set of metadata types that the user needs to collect at node i; S q refer to is the set of metadata types collected by the qth low-time-scale path; D i Represents the set of low-time-scale paths passing through node i.

8. A dual-time-scale network telemetry method for a dynamic network environment according to claim 7, characterized in that: In step S6, the implementation process of generating a dynamic probe according to the dynamic probe format is as follows: Since the length of the low-time-scale detection path varies greatly, and the type of network data collected by the dynamic probe often changes, the dynamic probe introduces two new fields: Length and Bitmap. In the dynamic detection format, the source routing stack SR is a variable-length stack. Length determines the length of the source routing stack SR. In addition, Bitmap determines the type of network data collected by the INFO label. The target port in the dynamic probe is set to "Dynamic_probe".

9. A dual-time-scale network telemetry method for a dynamic network environment according to claim 8, characterized in that: In step S7, the switch in the network to be tested determines whether the received data packet is a dynamic probe according to whether the destination port is "Auxiliary_probe" or "Dynamic_probe".

10. A dual-time-scale network telemetry method for a dynamic network environment according to claim 9, characterized in that: In step S7, the method of adding network data to the dynamic probe by the switch is: adding network data according to the metadata type specified by the field "Bitmap".

Citation Information

Patent Citations

  • Data center network telemetering method and system, storage medium and telemetering server

    CN112436984A

  • Active network remote sensing-oriented low-delay low-overhead path deployment method

    CN114844812A

  • Dynamic profile guided network telemetry configuration

    US20220200882A1

Cited By

  • Telemetering path determination method and device based on telemetering time, equipment and medium

    CN119520340A

  • Telemetry path determination method and apparatus based on telemetry time, device, medium

    CN119520340B

  • Active telemetering scene-oriented important node screening method

    CN119652605A

  • TSN network topology state active monitoring method and device

    CN120034457A

  • Hop count triggering-based CSIG telemetering method, network forwarding equipment and system

    CN122053737A