A network connection automatic tuning system and device based on the SRv6 protocol

Through the automatic network connection tuning system based on the SRv6 protocol, the key indicators of network equipment are collected and evaluated in real time, the path scoring matrix is generated, and the optimal path is automatically selected and switched, which solves the problem of low traffic scheduling and path selection efficiency of traditional network routing technology in complex environments, and achieves efficient and stable network performance and reliability.

CN120017571BActive Publication Date: 2025-07-18HANGZHOU HUASI COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510477160.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-07-18
Estimated Expiration
2045-04-16

AI Technical Summary

Technical Problem

Traditional IP protocol-based network routing technology is difficult to cope with diversified traffic demands and dynamic network environments, especially in large-scale enterprise networks and service provider networks, traffic scheduling and path selection are inefficient and real-time monitoring is difficult.

Method used

The network connection automatic tuning system based on the SRv6 protocol is adopted. The status monitoring module collects key indicators such as delay, bandwidth, packet loss rate and hardware performance of network equipment in real time, and generates a path scoring matrix. Combined with the path calculation module and the traffic optimization module, the optimal network path is automatically selected, and switches to the backup path in the event of a failure, and uses the visualization and alarm module for real-time monitoring and alarming.

Benefits of technology

It realizes intelligent tuning in dynamic traffic and complex tasks, ensures efficient and stable network performance, improves network reliability and fault tolerance, and enhances network management flexibility and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017571B_ABST
    Figure CN120017571B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of communication routing, and specifically provides a network connection automatic tuning system and device based on the SRv6 protocol. By collecting the status data of network devices in real time, combining key network metrics such as latency, bandwidth, packet loss rate, and hardware performance, the health status of network connections is dynamically evaluated, and path optimization is performed in combination with the SRv6 protocol. By automatically calculating the path score matrix, the system can automatically select the optimal network path according to the priority of network transmission tasks, achieving intelligent tuning in the case of dynamic traffic and complex tasks. The present invention provides a path calculation and scheduling mechanism based on the SRv6 protocol, which automatically adjusts the priority of network paths according to different types of data transmission tasks and ensures the selection of the optimal path. At the same time, the system has an automatic switching mechanism, which can automatically switch to an alternative path when a network path fails, thereby improving the reliability and fault tolerance of the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication routing, and specifically to a network connection automatic tuning system and device based on the SRv6 protocol. Background Art

[0002] With the continuous development of Internet applications, the scale and complexity of network traffic have been increasing continuously. Traditional network routing technologies are facing numerous challenges. Especially in large-scale enterprise networks and service provider networks, how to perform traffic scheduling, path selection, and real-time monitoring efficiently and flexibly has become an urgent problem to be solved. Although traditional network routing methods based on the IP protocol have achieved relatively stable transmission, with the increasingly complex network environment, traditional routing technologies have been difficult to cope with diverse traffic demands and dynamic network environments.

[0003] In view of the above problems, it is necessary to propose a network connection automatic tuning system and device based on the SRv6 protocol. Summary of the Invention

[0004] The purpose of the present invention is to solve the problems existing in the background art, and to propose a network connection automatic tuning system and device based on the SRv6 protocol.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] In a first aspect, a network connection automatic tuning system based on the SRv6 protocol includes a status monitoring module, a path calculation module, a traffic optimization module, a network scheduling module, and a visualization and alarm module.

[0007] The status monitoring module collects the status data of network devices in real time, collects key network metrics of each network connection including latency, bandwidth utilization, packet loss rate, and hardware performance, and evaluates the health status of the current network connection through the key network metrics.

[0008] All network devices of the target network are numbered, and the numbering symbol is i, i = 1, 2,..., n; where n is the total number of network devices. If there is a direct communication link between two network devices, the communication link is recorded as a network connection, and all network connections are numbered, and the numbering symbol is (i1, i2); where i1 and i2 are the numbering symbols of the network devices at both ends of the network connection, where i1 ∈ i, i2 ∈ i and i1 ≠ i2.

[0009] As a preferred embodiment of the present invention, the key network metrics of all network devices are collected in real time.

[0010] Obtain the difference Delayi between the timestamps of all data packets of all network devices i and the actual arrival time, and extract its maximum value MaxDelayi. Obtain the queue length of the received data packets , queue bandwidth , data packet processing volume and data packet processing capacity . Calculate the delay characteristic score value Di of each network device i through a preset formula ; where k1, k2, and k3 are preset weight factors, and k1, k2, and k3 are all positive numbers with a value range of 0 to 1 and k1 + k2 + k3 = 1.

[0011] Obtain the upper limit Ci of the network bandwidth of all network devices i, and real-time monitor the total traffic Ti of all network device interfaces. Calculate the bandwidth utilization characteristic score value Bi of each network device through a preset formula

[0012] Obtain the number of lost data packets of all network devices i and the total number of actually received data packets , and calculate the packet loss characteristic score value Li of each network device through a preset formula

[0013] Obtain the total CPU resources of all network devices i , the currently used CPU resources , the total memory volume and the used memory . Calculate the comprehensive hardware characteristic score value Hi through a preset formula ; where k4 and k5 are both preset weight factors, and k4 and k5 are both positive numbers with a value range of 0 to 1 and k4 + k5 = 1.

[0014] As a preferred embodiment of the present invention, key indicators of all network connections are analyzed in real time in combination with key data of network devices.

[0015] For each network connection (i1, i2), generate a connection score matrix ; where d(i1, i2) is the distance from network device i1 to i2, and E(i1) and E(i2) are the type characteristic values of network devices i1 and i2 respectively. Set the value rule of the type characteristic value: the value range of the type characteristic value is 0 to 1; the type characteristic value of 0 represents that the device is very unfavorable for network transmission and greatly affects network performance; the type characteristic value of 1 indicates that the device greatly supports network transmission and has no adverse effect on network performance. Specifically:

[0016] Let the specific value of the type characteristic value of the high-performance router be 1; ​​

[0017] Let the specific value of the type eigenvalue of the network switch be 1;

[0018] Let the specific value of the type eigenvalue of the gateway be 1;

[0019] Let the specific value of the type eigenvalue of the wireless network access point be 0.8;

[0020] Let the specific value of the type eigenvalue of the low-performance router be 0.8;

[0021] Let the specific value of the type eigenvalue of the virtual router be 0.6;

[0022] Let the specific value of the type eigenvalue of the high-performance firewall be 0.6;

[0023] Let the specific value of the type eigenvalue of the low-performance firewall be 0.4;

[0024] Let the specific value of the type eigenvalue of the proxy server be 0.4

[0025] Let the specific value of the type eigenvalue of the high-performance terminal devices including servers and workstations be 0.2;

[0026] Let the specific value of the type eigenvalue including cameras, mobile phones, and personal computers be 0.

[0027] As a preferred embodiment of the present invention, the path scoring matrix is dynamically updated. At every preset time interval, key network metrics of network devices and network connections are re-collected, the path scoring matrix of each network connection is recalculated, and the path scoring matrix of each network connection (i1, i2) obtained within every preset time interval is sent to the path calculation module.

[0028] The path calculation module obtains the path scoring matrix sent by the status monitoring module. Obtain the start point i-strat and end point i-end of all network transmission tasks in the target network, and define the network path: The set of all available network paths from the network transmission start point i-strat to the end point i-end is called a network path. Each network path passes through multiple network devices and consists of multiple network connections.

[0029] Denote the set composed of all network device identifiers in the same network path as I.

[0030] Define a preset optimal network path selection strategy. The optimal transmission path includes the shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path.

[0031] Among them, the goal of the shortest path is to find the shortest physical distance or network hop count between devices, and its objective function is: ; where α1 is the path distance target value, representing the total physical distance of the network path and reflecting the optimization degree of the shortest path.

[0032] Among them, the goal of the lowest latency path is to minimize the latency experienced by data packets from the source device to the destination device, and its objective function is: ; where α2 is the latency path target value, representing the total latency characteristic score value of the network path and reflecting the optimization degree of the lowest latency.

[0033] Among them, the goal of the maximum bandwidth path is to select a path that can provide the maximum bandwidth, and its objective function is: ; where α3 is the bandwidth path target value, representing the reciprocal of the total bandwidth characteristic score value of the network path and reflecting the optimization degree of the maximum bandwidth.

[0034] Among them, the goal of the most reliable path is to maximize the reliability of the path, usually determined by the comprehensive hardware characteristic score value on the path, and its objective function is: . Where α4 is the reliable path target value, representing the sum of the comprehensive hardware characteristic score values and reflecting the optimization degree of the most reliable path.

[0035] Set the final optimization objective function of the network path for each network transmission task: ; where λ1, λ2, λ3, and λ4 are the priority weights of the objective function respectively, all positive values ranging from 0 to 1, and the sum of λ1, λ2, λ3, and λ4 is 1.

[0036] Set the basic constraint conditions for the shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path, including:

[0037] Loop-free constraint: Each network device and network connection can only appear once on the path. That is, in the shortest path, for any two network connections (i1, i2) and (i3, i4), the norms of their connection score matrices are not equal, satisfying the condition . Where and are both the norms of the connection score matrix.

[0038] Network connection reachability constraint: Only when the distance condition and the network device type condition between network devices i1 and i2 meet the minimum network communication requirements, d(i1, i2) has a value, that is where dmax is the preset maximum distance threshold, and Emin is the preset minimum type characteristic value threshold.

[0039] The traffic optimization module obtains the data type and task type of the network transmission task, and determines the priority weights λ1, λ2, λ3, and λ4 of the objective function in the final optimization objective function of the network path.

[0040] When the network transmission task contains conventional types of data including text, code, and pictures, obtain the path length tolerance Dmax of data transmission and the maximum path distance target value maxα1 among all available network paths; otherwise, directly set the value of λ1 to 0.25;

[0041] When the network transmission task contains data of types such as voice and video information, obtain the latency tolerance Tmax of data transmission and the maximum latency path target value maxα2 among all available network paths; otherwise, directly set the value of λ2 to 0.25

[0042] When the network transmission task contains large files and high-definition video streams with data sizes larger than a preset threshold, obtain the bandwidth demand tolerance Bmax of data transmission and the maximum bandwidth path target value maxα3 among all available network paths; otherwise, directly set the value of λ3 to 0.25

[0043] When the network transmission task contains a network transmission task of encrypted data, obtain the preset task reliability requirement degree Hmax and the maximum reliable path target value α4 among all available network paths. Otherwise, directly set the value of λ4 to 0.25

[0044] As a preferred embodiment of the present invention, through a preset formula Calculate the specific values of the priority weights of λ1, λ2, λ3, and λ4 that are not assigned values.

[0045] The network scheduling module defines the collection of network environment data, assigns priorities to the traffic path adjustment plans formulated by the traffic optimization module, and schedules different traffic based on the priorities to ensure that high-priority traffic is processed first.

[0046] According to the path calculation results, formulate a traffic path adjustment plan. Retrieve the specific values of the priority weights λ1, λ2, λ3, and λ4.

[0047] Through a preset objective function Calculate the selection priority Pro of each network transmission task on each network path, and arrange all network paths in descending order according to the values of the selection priorities.

[0048] As a preferred embodiment of the present invention, convert the priority sorting of all network paths into an SRv6 SID list. Create an SRv6 SID list for each specific network transmission task, and each row in the list corresponds to an available network path. The top of the list is the network path with the maximum selection priority maxPro, followed by the network path with the second-largest selection priority, and so on. The end of the SRv6 SID list is the network path with the minimum selection priority minPro.

[0049] As a preferred embodiment of the present invention, network paths are arranged for all network transmission tasks according to the arrangement order in the SRv6 SID list, and a backup path is selected through a preset automatic switching mechanism.

[0050] Among them, the automatic switching mechanism is specifically as follows: when the network path with the maximum selection priority maxPro is unavailable, the system should select the path with the second largest selection priority as the new transmission path according to the list of other candidate paths provided by the path calculation module. The selection of candidate paths should be dynamically adjusted according to the specific values of the priority weights λ1, λ2, λ3, and λ4 of the traffic optimization module. The performance of the second-best path is evaluated according to the specific values of the priority weights λ1, λ2, λ3, and λ4 to ensure that the selection priority Pro of this path is greater than a preset threshold, otherwise it is determined that the second path is unavailable. If the second-best path is also unavailable, then continue to try the third-best path until an available path is found.

[0051] As a preferred embodiment of the present invention, when the automatic switching mechanism is triggered in the SRv6 SID list, a path switching event signal is sent to the visualization and alarm module.

[0052] The visualization and alarm module displays and outputs all SRv6 SID lists, and assigns a unique corresponding encoding symbol to each network transmission task and available network path.

[0053] As a preferred embodiment of the present invention, after identifying the path switching event signal, locate its corresponding SRv6 SID list, as well as the encoding symbols of the network transmission task and the specific network path, and perform a highlighting process on them, timely notify the administrator or relevant personnel of the change of the current network path, and send an alarm message for the unavailable path to facilitate further processing by the staff.

[0054] As a preferred embodiment of the present invention, record the delay characteristic score value, bandwidth characteristic score value, packet loss characteristic score value, and hardware comprehensive characteristic score value of each network device, record the path switching time signal and the change records of all SRv6 SID lists, and generate a detailed event log to help the administrator trace back the cause of the fault.

[0055] In a second aspect, the present invention provides a network connection automatic tuning device based on the SRv6 protocol, including an SRv6 server group and a target network. The SRv6 server group includes several servers, high-performance routers, switches, firewalls, gateways, and wireless access points.

[0056] Among them, all servers jointly run a status monitoring module, a path calculation module, a traffic optimization module, a network scheduling module, and a visualization and alarm module, and all servers are connected through a high-speed data bus.

[0057] The data collected by the status monitoring module will be transmitted to the path calculation module in real time for path optimization calculation; the calculation results will be transmitted to the traffic optimization module to adjust the path selection weights, and finally handed over to the network scheduling module for priority scheduling. The visualization and alarm module obtains relevant data from each module and displays it on the monitoring panel.

[0058] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0059] 1. By collecting the status data of network devices in real time, combining key network indicators such as latency, bandwidth, packet loss rate, and hardware performance, the present invention dynamically evaluates the health status of network connections and optimizes paths in combination with the SRv6 protocol. By automatically calculating the path score matrix, the system can automatically select the optimal network path according to the priority of network transmission tasks, ensuring the efficient and stable network performance, especially achieving intelligent optimization in the case of dynamic traffic and complex tasks;

[0060] 2. The present invention provides a path calculation and scheduling mechanism based on the SRv6 protocol, which can automatically adjust the priority of network paths according to different types of data transmission tasks and ensure the selection of the optimal path. At the same time, the system has an automatic switching mechanism, which can automatically switch to an alternative path when a network path fails, thereby improving the reliability and fault tolerance of the network;

[0061] 3. Through the collaborative work of the status monitoring module and the visualization and alarm module, the present invention monitors the health status of network connections in real time and promptly identifies abnormal changes in network paths. After a path switching event is triggered, the system will notify the administrator through the alarm module and record the detailed log of the path switching, helping the administrator quickly locate the cause of the fault and handle it. This mechanism enhances the flexibility and response speed of network management. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] For the convenience of those skilled in the art to understand, the present invention will be further described below with reference to the accompanying drawings:

[0063] Figure 1 is the system block diagram of the present invention;

[0064] Figure 2 is the schematic diagram of the topological structure of a network connection automatic tuning device based on the SRv6 protocol of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0065] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0066] Please refer to Figure 1 As shown, a network connection automatic tuning system based on the SRv6 protocol includes a status monitoring module, a path calculation module, a traffic optimization module, a network scheduling module, and a visualization and alarm module.

[0067] The status monitoring module collects the status data of network devices in real time, collects key network metrics of each network connection including latency, bandwidth utilization, packet loss rate, and hardware performance, and evaluates the health status of the current network connection through the key network metrics.

[0068] All network devices of the target network are numbered, and the numbering symbol is i, where i = 1, 2,..., n; where n is the total number of network devices. If there is a direct communication link between two network devices, the communication link is recorded as a network connection, and all network connections are numbered, and the numbering symbol is (i1, i2); where i1 and i2 are the numbering symbols of the network devices at both ends of the network connection, where i1 ∈ i, i2 ∈ i and i1 ≠ i2.

[0069] Furthermore, the key network metrics of all network devices are collected in real time.

[0070] Obtain the difference Delayi between the timestamps of all data packets and the actual arrival time of all network devices i, and extract its maximum value MaxDelayi. Obtain the queue length of the received data packets 、queue bandwidth 、data packet processing volume and data packet processing capacity 。Calculate the delay characteristic score value Di of each network device i through a preset formula ; where k1, k2, and k3 are preset weight factors, and k1, k2, and k3 are all positive numbers with a value range of 0 to 1 and k1 + k2 + k3 = 1.

[0071] Obtain the network bandwidth upper limit Ci of all network devices i, and monitor the total traffic Ti of all network device interfaces in real time. Calculate the bandwidth utilization characteristic score value Bi of each network device through a preset formula 。

[0072] Obtain the number of data packets lost by all network devices i and the total number of actually received data packets , calculate the packet loss feature score value Li of each network device through a preset formula. Calculate the total CPU resources of all network devices i.

[0073] Obtain the total CPU resources of all network devices i , the currently used CPU resources , the total memory and the used memory . Calculate the hardware comprehensive feature score value Hi through a preset formula ; where both k4 and k5 are preset weight factors, both k4 and k5 are positive numbers with a value range of 0 to 1 and k4 + k5 = 1.

[0074] Furthermore, combine the key data of the network device to analyze the key indicators of all network connections in real time.

[0075] Generate a connection score matrix for each network connection (i1, i2) ; where d(i1, i2) is the distance from network device i1 to i2, and E(i1) and E(i2) are the type feature values of network devices i1 and i2 respectively. Set the value rule of the type feature value: the value range of the type feature value is 0 to 1; a type feature value of 0 means the device is very unfavorable for network transmission and greatly affects network performance; a type feature value of 1 means the device greatly supports network transmission and has no adverse effect on network performance. Specifically:

[0076] Let the specific value of the type feature value of a high-performance router be 1;

[0077] Let the specific value of the type feature value of a network switch be 1;

[0078] Let the specific value of the type feature value of a gateway be 1;

[0079] Let the specific value of the type feature value of a wireless access point be 0.8;

[0080] Let the specific value of the type feature value of a low-performance router be 0.8;

[0081] Let the specific value of the type feature value of a virtual router be 0.6;

[0082] Let the specific value of the type feature value of a high-performance firewall be 0.6;

[0083] Let the specific value of the type feature value of a low-performance firewall be 0.4;

[0084] Let the specific value of the type feature value of a proxy server be 0.4

[0085] Let the specific value of the type feature value of high-performance terminal devices including servers and workstations be 0.2;

[0086] Set the specific numerical values of the type characteristic values including cameras, mobile phones, and personal computers to 0.

[0087] It should be noted that in the network connection automatic tuning system based on the SRv6 protocol, the type characteristic value is a numerical value assigned to each device after classifying different network devices, and is used to measure the impact of the device on the network connection performance.

[0088] Furthermore, dynamically update the path scoring matrix. At every preset time interval, re-collect the key network metrics of network devices and network connections, recalculate the path scoring matrix of each network connection, and send the path scoring matrix of each network connection (i1, i2) obtained within every preset time interval to the path calculation module.

[0089] The path calculation module obtains the path scoring matrix sent by the status monitoring module. Obtain the starting point i-strat and the ending point i-end of all network transmission tasks in the target network, and define the network path: The set of all available network paths between the network transmission starting point i-strat and the ending point i-end is called a network path. Each network path passes through multiple network devices and consists of multiple network connections.

[0090] Denote the set composed of the number symbols of all network devices in the same network path as I.

[0091] Define a preset optimal network path selection strategy. The optimal transmission path includes the shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path.

[0092] Among them, the goal of the shortest path is to find the shortest physical distance or network hop count between devices, and its objective function is: ; where α1 is the path distance target value, representing the total physical distance of the network path, and reflecting the optimization degree of the shortest path;

[0093] Among them, the goal of the lowest latency path is to minimize the latency experienced by data packets from the source device to the destination device, and its objective function is: ; where α2 is the latency path target value, representing the total latency characteristic score value of the network path, and reflecting the optimization degree of the lowest latency;

[0094] Among them, the goal of the maximum bandwidth path is to select the path that can provide the maximum bandwidth, and its objective function is: ; where α3 is the bandwidth path target value, representing the reciprocal of the total bandwidth characteristic score value of the network path, and reflecting the optimization degree of the maximum bandwidth.

[0095] Among them, the goal of the most reliable path is to maximize the reliability of the path, which is usually determined by the comprehensive hardware feature score value on the path, and its objective function is: . Among them, α4 is the target value of the reliable path, representing the sum of the comprehensive hardware feature score values, reflecting the optimization degree of the most reliable path.

[0096] Set the final optimization objective function of the network path for each network transmission task: ; where λ1, λ2, λ3, and λ4 are the priority weights of the objective function respectively, all positive values ranging from 0 to 1, and the sum of λ1, λ2, λ3, and λ4 is 1.

[0097] Set the basic constraint conditions for the shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path, including:

[0098] Loop-free constraint: Each network device and network connection can only appear once on the path. That is, in the shortest path, for any two network connections (i1, i2) and (i3, i4), the norms of their connection score matrices are not equal, satisfying the condition . Among them and are both the norms of the connection score matrix.

[0099] Network connection reachability constraint: Only when the distance condition and the network device type condition between network devices i1 and i2 meet the minimum requirements of network communication, does d(i1, i2) have a value, that is where dmax is the preset maximum distance threshold, and Emin is the preset minimum type feature value threshold.

[0100] The traffic optimization module obtains the data type and task type of the network transmission task, and determines the priority weights λ1, λ2, λ3, and λ4 of the objective function in the final optimization objective function of the network path.

[0101] When the network transmission task contains conventional type data such as text, code, and pictures, obtain the path length tolerance Dmax of data transmission and the maximum path distance target value maxα1 among all available network paths; otherwise, directly set the value of λ1 to 0.25;

[0102] When the network transmission task contains data of types such as voice and video information, obtain the latency tolerance Tmax of data transmission and the maximum latency path target value maxα2 among all available network paths; otherwise, directly set the value of λ2 to 0.25

[0103] When the network transmission task includes large files and high-definition video streams with data sizes greater than a preset threshold, obtain the bandwidth demand tolerance Bmax for data transmission and the maximum bandwidth path target value maxα3 of all available network paths; otherwise, directly set the value of λ3 to 0.25

[0104] When the network transmission task includes network transmission tasks that require high reliability, such as financial transactions and medical data, obtain the preset task reliability requirement degree Hmax and the maximum reliable path target value α4 of all available network paths. Otherwise, directly set the value of λ4 to 0.25

[0105] Furthermore, through a preset formula Calculate the specific values of the priority weights of λ1, λ2, λ3, and λ4 that have not been assigned values

[0106] It should be noted that in actual deployment, the weights need to be dynamically adjusted according to the specific types and changes of network transmission tasks. By monitoring the real-time situation of network load and the real-time feedback of network transmission tasks, the ratios of λ1, λ2, λ3, and λ4 can be adjusted to better cope with the changing network environment and task requirements. For example, for a network transmission task containing large data files, by adjusting the specific value of λ3, a network path with a matching bandwidth demand can be preferentially selected to meet the actual needs of the network transmission task

[0107] The network scheduling module defines the collection of network environment data, assigns priorities to the traffic path adjustment plans formulated by the traffic optimization module, and schedules different traffic based on the priorities to ensure that high-priority traffic is processed first

[0108] According to the path calculation results, formulate a traffic path adjustment plan. Retrieve the specific values of the priority weights λ1, λ2, λ3, and λ4

[0109] Through a preset objective function Calculate the selection priority Pro of each network transmission task on each network path, and arrange all network paths in descending order according to the numerical values of the selection priorities

[0110] Furthermore, convert the priority sorting of all network paths into an SRv6 SID list. Create an SRv6 SID list for each specific network transmission task, and each line in the list corresponds to an available network path. The top of the list is the network path with the maximum selection priority maxPro, followed by the network path with the second-largest selection priority, and so on. The end of the SRv6 SID list is the network path with the minimum selection priority minPro

[0111] Further, arrange network paths for all network transmission tasks according to the arrangement order in the SRv6 SID list, and select an alternative path through a preset automatic switching mechanism.

[0112] Among them, the automatic switching mechanism is specifically as follows: when the network path with the maximum selection priority maxPro is unavailable, the system shall select the path with the second-largest selection priority as the new transmission path according to the list of other candidate paths provided by the path calculation module. The selection of candidate paths shall be dynamically adjusted according to the specific values of the priority weights λ1, λ2, λ3, and λ4 of the traffic optimization module. Perform a performance evaluation on the second-best path according to the specific values of the priority weights λ1, λ2, λ3, and λ4 to ensure that the selection priority Pro of this path is greater than the preset threshold; otherwise, determine that the second path is unavailable. If the second-best path is also unavailable, continue to try the third-best path until an available path is found.

[0113] Further, when it is recognized that the automatic switching mechanism is triggered in the SRv6 SID list, send a path switching event signal to the visualization and alarm module.

[0114] The visualization and alarm module displays and outputs all SRv6 SID lists, and assigns a unique corresponding coding symbol to each network transmission task and available network path.

[0115] Further, after recognizing the path switching event signal, locate its corresponding SRv6 SID list, as well as the coding symbols of the network transmission task and the specific network path, and perform a highlighting process on them, timely notify the administrator or relevant personnel of the changes in the current network path, and send an alarm message for the unavailable path to facilitate further processing by the staff.

[0116] Further, record the delay characteristic score value, bandwidth characteristic score value, packet loss characteristic score value, and hardware comprehensive characteristic score value of each network device, record the path switching time signal and the change records of all SRv6 SID lists, and generate a detailed event log to help the administrator trace back the cause of the failure.

[0117] Please refer to Figure 2 As shown, a network connection automatic tuning device based on the SRv6 protocol includes an SRv6 server group and a target network. The SRv6 server group includes several servers, high-performance routers, switches, firewalls, gateways, and wireless access points.

[0118] Among them, all servers jointly run a status monitoring module, a path calculation module, a traffic optimization module, a network scheduling module, and a visualization and alarm module, and all servers are connected through a high-speed data bus.

[0119] The data collected by the status monitoring module will be transmitted to the path calculation module in real time for path optimization calculation; the calculation results will be transmitted to the traffic optimization module to adjust the path selection weights, and finally handed over to the network scheduling module for priority scheduling. The visualization and alarm module obtains relevant data from each module and displays it on the monitoring panel.

[0120] It should be understood that the terms "comprising" and "including" as used in the specification and claims of this disclosure indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0121] It should also be understood that the terms used in this disclosure specification are merely for the purpose of describing specific embodiments and are not intended to limit this disclosure. As used in this disclosure specification and claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms. It should be further understood that the term "and / or" as used in this disclosure specification and claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations;

[0122] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not elaborate on all the details, nor do they limit the present invention to the specific embodiments described. Obviously, many modifications and variations can be made according to the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the present invention, so that those skilled in the art can well understand and utilize the present invention. The present invention is only limited by the claims and their full scope and equivalents.

Claims

1. A network connection automatic optimization system based on the SRv6 protocol, including a status monitoring module, a path calculation module, a traffic optimization module, and a network scheduling module, characterized in that: The status monitoring module collects the status data of network devices in real time, collects key network metrics of each network connection including latency, bandwidth utilization, packet loss rate, and hardware performance, and evaluates the health status of the current network connection through the key network metrics; The path calculation module defines the network path, defines the preset optimal network path selection strategy, and the optimal transmission path includes the shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path; sets the network path final optimization objective function including the priority weight for each network transmission task: The traffic optimization module obtains the data type and task type of the network transmission task, and determines the specific values of the priority weights of the objective function in the network path final optimization objective function; The network scheduling module defines the collection of network environment data, assigns priorities to the traffic path adjustment plan formulated by the traffic optimization module, and schedules different traffic based on the priorities, creates an SRv6 SID list, and ensures that high-priority traffic is processed first; Converts the priority sorting of all network paths into an SRv6 SID list; creates an SRv6 SID list for each specific network transmission task, and each row in the list corresponds to an available network path; the top of the list is the network path with the maximum selection priority maxPro, followed by the network path with the second largest selection priority, and so on, and the end of the SRv6 SID list is the network path with the minimum selection priority minPro; Arranges network paths for all network transmission tasks according to the arrangement order in the SRv6 SID list, and selects an alternative path through a preset automatic switching mechanism; Among them, the automatic switching mechanism is specifically: when the network path with the maximum selection priority maxPro is unavailable, the system should select the path with the second largest selection priority as the new transmission path according to the list of other candidate paths provided by the path calculation module; the selection of candidate paths should be dynamically adjusted according to the specific values of the priority weights λ1, λ2, λ3, and λ4 of the traffic optimization module; perform a performance evaluation on the second-best path according to the specific values of the priority weights λ1, λ2, λ3, and λ4 to ensure that the selection priority Pro of this path is greater than the preset threshold, otherwise determine that the second path is unavailable; if the second-best path is also unavailable, continue to try the third-best path until an available path is found; When it is recognized that the automatic switching mechanism is triggered in the SRv6 SID list, send a path switching event signal to the visualization and alarm module.

2. The network connection automatic tuning system based on the SRv6 protocol according to claim 1, characterized in that, It also includes a visualization and alarm module; The visualization and alarm module displays and outputs all SRv6 SID lists, and assigns a unique corresponding encoding symbol to each network transmission task and available network path; After detecting a path switching event signal, locate its corresponding SRv6 SID list, as well as the network transmission tasks and the encoding symbols of the specific network paths, and perform highlighting processing on them. Notify the administrator or relevant personnel in a timely manner of the changes in the current network path, and send an alarm message for unavailable paths to facilitate further processing by the staff. Record the delay characteristic score values, bandwidth characteristic score values, packet loss characteristic score values, and comprehensive hardware characteristic score values of each network device. Record the path switching time signal and the change records of all SRv6 SID lists, and generate a detailed event log to help the administrator trace back the cause of the fault.

3. The network connection automatic tuning system based on the SRv6 protocol according to claim 1, characterized in that, The specific process of real-time collecting the status data of network devices is as follows: Number all the network devices in the target network, with the numbering symbol being i, where i = 1, 2,..., n; n is the total number of network devices. If there is a direct communication link between two network devices, record the communication link as a network connection, and number all network connections, with the numbering symbol being (i1, i2); where i1 and i2 are the numbering symbols of the network devices at both ends of the network connection, and i1 ∈ i, i2 ∈ i and i1 ≠ i2. Real-time collect the key network metrics of all network devices. Obtain the difference Delayi between the timestamps of all packets of all network devices i and the actual arrival time, and extract its maximum value MaxDelayi; obtain the queue length of the received packets , queue bandwidth , packet processing volume and packet processing capacity ; calculate the delay feature score value Di of each network device i through a preset formula ​ Where k1, k2, and k3 are preset weight factors, and k1, k2, and k3 are all positive numbers with a value range of 0 to 1 and k1 + k2 + k3 = 1. Obtain the upper limit of network bandwidth Ci for all network devices i, and monitor the total traffic Ti of all network device interfaces in real time. Through a preset formula Calculate the bandwidth utilization characteristic score value Bi for each network device; Obtain the number of packets lost by all network devices i and the total number of actually received packets , and calculate the packet loss characteristic score value Li of each network device through a preset formula ; Obtain the total CPU resources of all network devices i , the currently used CPU resources , the total memory capacity and the used memory ; Calculate the comprehensive hardware feature score value Hi through a preset formula ; where k4 and k5 are both preset weight factors, k4 and k5 are both positive numbers with a value range of 0 to 1 and k4 + k5 = 1; Combined with the key data of network devices, analyze the key metrics of all network connections in real time. Generate a connection scoring matrix for each network connection (i1, i2). where d(i1, i2) is the distance from network device i1 to i2, and E(i1) and E(i2) are the type characteristic values of network devices i1 and i2 respectively; set the value-taking rule of the type characteristic value: the value range of the type characteristic value is from 0 to 1; a type characteristic value of 0 means that the device is very unfavorable for network transmission and greatly affects network performance; a type characteristic value of 1 means that the device greatly supports network transmission and has no adverse effect on network performance. Dynamically update the path scoring matrix. At every preset time interval, re-collect the key network metrics of network devices and network connections, recalculate the path scoring matrix of each network connection, and send the path scoring matrix of each network connection (i1, i2) obtained within every preset time interval to the path calculation module.

4. The network connection automatic tuning system based on the SRv6 protocol according to claim 3, wherein The specific value-taking rules of the category characteristic values are as follows: Let the specific value of the category characteristic value of a high-performance router be 1. Let the specific value of the category characteristic value of a network switch be 1. Let the specific value of the category characteristic value of a gateway be 1. Let the specific value of the category characteristic value of a wireless network access point be 0.

8. Let the specific value of the category characteristic value of a low-performance router be 0.

8. Let the specific value of the category characteristic value of a virtual router be 0.

6. Let the specific value of the category characteristic value of a high-performance firewall be 0.

6. Let the specific value of the category characteristic value of a low-performance firewall be 0.

4. Let the specific value of the category characteristic value of a proxy server be 0.4 Let the specific value of the category characteristic value of high-performance terminal devices including servers and workstations be 0.

2. Let the specific value of the category characteristic value including cameras, mobile phones, and personal computers be 0.

5. The network connection automatic tuning system based on the SRv6 protocol according to claim 1, characterized in that, The specific process of defining a network path is as follows: Obtain the start point i-strat and end point i-end of all network transmission tasks in the target network, and define the network path: The set of all available network paths from the network transmission start point i-strat to the end point i-end is called a network path. Each network path passes through multiple network devices and consists of multiple network connections. Let the set composed of all network device identifiers in the same network path be denoted as I.

6. The network connection automatic tuning system based on the SRv6 protocol according to claim 1, wherein The shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path are specifically as follows: The goal of the shortest path is to find the shortest physical distance or network hop count between devices, and its objective function is: ; where α1 is the target value of the path distance, representing the total physical distance of the network path and reflecting the optimization degree of the shortest path; The goal of the minimum-delay path is to minimize the delay experienced by data packets from the source device to the destination device, and its objective function is: ; where α2 is the target value of the delay path, representing the total score of the delay characteristics of the network path, reflecting the optimization degree of the minimum delay; The goal of the maximum bandwidth path is to select a path that can provide the maximum bandwidth, and its objective function is: ; where α3 is the target value of the bandwidth path, representing the reciprocal of the sum of the bandwidth characteristic score values of the network path, reflecting the optimization degree of the maximum bandwidth; The goal of the most reliable path is to maximize the reliability of the path, which is usually determined by the comprehensive hardware feature score value on the path. Its objective function is: ; where α4 is the target value of the reliable path, representing the sum of the comprehensive hardware feature score values, which reflects the optimization degree of the most reliable path. Set the network path final optimization objective function for each network transmission task: ; where λ1, λ2, λ3, and λ4 are the priority weights of the objective function respectively, all positive values ranging from 0 to 1, and the sum of λ1, λ2, λ3, and λ4 is 1; Set the basic constraint conditions for the shortest path, the lowest latency path, the maximum bandwidth path, and the most reliable path.

7. The automatic network connection optimization system based on the SRv6 protocol according to claim 6, wherein The specific basic constraint conditions are as follows: Loop-free constraint: Each network device and network connection can only appear once on the path. That is, in the shortest path, for any two network connections (i1, i2) and (i3, i4), the norms of their connection scoring matrices are not equal, satisfying the condition ; where and are both the norms of the connection scoring matrix; Network connection reachability constraint: Only when the distance condition and the network device type condition between network devices i1 and i2 meet the minimum requirements for network communication, does d(i1, i2) have a value, that is where dmax is a preset maximum distance threshold, and Emin is a preset minimum type feature value threshold.

8. The network connection automatic tuning system based on the SRv6 protocol according to claim 1, wherein The specific process for determining the priority weights is as follows: When the network transmission task contains conventional types of data including text, code, and pictures, obtain the path length tolerance Dmax of data transmission and the maximum path distance target value maxα1 among all available network paths; otherwise, directly set the value of λ1 to 0.25; When the network transmission task contains data of types such as voice and video information, obtain the latency tolerance Tmax of data transmission and the maximum latency path target value maxα2 among all available network paths; otherwise, directly set the value of λ2 to 0.25 When the network transmission task contains large files and high-definition video streams with data sizes larger than a preset threshold, obtain the bandwidth requirement tolerance Bmax of data transmission and the maximum bandwidth path target value maxα3 among all available network paths; otherwise, directly set the value of λ3 to 0.25 When the network transmission task contains a network transmission task of encrypted data, obtain the preset task reliability requirement degree Hmax and the maximum reliable path target value α4 among all available network paths; Otherwise, directly set the value of λ4 to 0.25 By means of a preset formula calculate the specific numerical values of the priority weights of λ1, λ2, λ3, and λ4 that have not been assigned values 9. The network connection automatic tuning system based on the SRv6 protocol according to claim 1, characterized in that, The specific process for scheduling different traffic is as follows: Retrieve the specific values of the priority weights λ1, λ2, λ3, and λ4; By presetting an objective function Calculate the selection priority Pro of each network transmission task on each network path, and arrange the network paths in descending order according to the numerical values of the selection priorities; Where α1 is the preset path distance target value; where α2 is the preset latency path target value; where α3 is the preset bandwidth path target value; where α4 is the preset reliable path target value.

10. A network connection automatic tuning device based on the SRv6 protocol, which is used to run a network connection automatic tuning system based on the SRv6 protocol described in any one of claims 1-9, characterized in that, It includes an SRv6 server group and a target network, where the SRv6 server group contains several servers, high-performance routers, switches, firewalls, gateways, and wireless access points: The SRv6 server group jointly runs a status monitoring module, a path calculation module, a traffic optimization module, a network scheduling module, and a visualization and alarm module, and all servers are connected through a high-speed data bus; The data collected by the status monitoring module will be transmitted to the path calculation module in real time for path optimization calculation; The calculation results will be transmitted to the traffic optimization module to adjust the path selection weights, and finally handed over to the network scheduling module for priority scheduling; The visualization and alarm module will obtain relevant data from each module and display it on the monitoring panel.

Citation Information

Patent Citations

  • Flow scheduling optimization method and system in SRv6 network, and medium

    CN117041133A

  • Flow scheduling method and device based on SRv6 deterministic network and computer equipment

    CN119182721A