Switch reliability testing method and system

By building a closed LAN in the switch, analyzing the network topology and link weights, detecting traffic and bandwidth, identifying load status, and performing fault recovery and performance testing, it solves the problem that existing technology cannot fully cover switch faults and performance problems. Improved data transmission stability and network efficiency.

CN118573608BActive Publication Date: 2024-10-18SHAANXI QUARK AUTOMATIC CONTROL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411003423.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-18
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Existing switch testing methods cannot fully cover various actual fault conditions and performance issues of the switch, resulting in insufficient and comprehensive test results and affecting the stability of data transmission.

Method used

By building a closed LAN, we can obtain device performance indicators, analyze network topology, calculate link weights, detect distributed traffic, determine path bandwidth and bandwidth utilization, identify load status, perform fault recovery and performance testing, and generate test reports.

Benefits of technology

It improves the stability of switch data transmission, promptly discovers performance bottlenecks and faulty nodes, optimizes network configuration, improves resource utilization, and reduces the risk of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573608B_ABST
    Figure CN118573608B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of network engineering, and proposes a switch reliability test method and system, the method comprising: obtaining a switch to be tested and building a closed local area network, querying a network connection device and identifying device performance indicators, analyzing the topology and link weight of the network connection device based on the device performance indicators, detecting the traffic of the port in the local area network in real time to determine the traffic path, querying the transmission delay, determining the information dimension and dimension factor of the switch to be tested according to the transmission delay, calculating the path bandwidth, querying the bandwidth granularity and calculating the bandwidth utilization, determining the load environment and load state of the switch to be tested, and performing a fault recovery test and a performance test on this basis, obtaining recovery parameters and performance parameters, and generating a test report. The present invention can improve the stability of switch data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network engineering, and in particular to a switch reliability testing method and system. Background Art

[0002] A switch is a network device used to implement data packet exchange within a local area network (LAN) or between it and an external network in a computer network. It can forward data packets from one port to another according to the destination address to achieve communication between devices in the network.

[0003] At present, common switch testing methods mainly include traditional stress testing, redundancy testing, fault injection testing and other technologies. Among them, stress testing is to test the performance of the switch when it is under extreme load by simulating network traffic under high load; redundancy testing is to evaluate the automatic switching and recovery capabilities of the switch when components fail or links are interrupted; fault injection testing is to artificially introduce various possible failure conditions to observe the switch's response measures and system recovery. However, the above-mentioned testing methods cannot fully cover various actual failure conditions and performance problems of the switch, resulting in insufficient and comprehensive test results, which affects the stability of switch data transmission. Therefore, a switch reliability testing method is needed to improve the stability of switch data transmission. Summary of the invention

[0004] The present invention provides a switch reliability testing method and system, the main purpose of which is to improve the stability of switch data transmission.

[0005] Acquire a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices;

[0006] Based on the device performance indicator, analyzing the network topology structure corresponding to the network connection device, identifying the topology links in the network topology structure, and calculating the link weights corresponding to the topology links;

[0007] Based on the link weight, the distributed traffic of the port in the closed local area network is detected in real time, the traffic path corresponding to the distributed traffic is determined, the transmission delay in the traffic path is queried, and based on the transmission delay, the information dimension corresponding to the switch to be tested is determined, the dimension factor in the information dimension is identified, and the path bandwidth corresponding to the traffic path is calculated based on the dimension factor;

[0008] Querying the bandwidth fine granularity corresponding to the path bandwidth, calculating the bandwidth utilization corresponding to the bandwidth fine granularity, and determining the load environment corresponding to the switch to be tested based on the bandwidth utilization;

[0009] Identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

[0010] Optionally, the identifying a device performance indicator in the network connection device includes:

[0011] Obtaining original data packets in the network connection device;

[0012] Performing traffic analysis on the original data packet to obtain traffic analysis data;

[0013] Based on the traffic analysis data, query the device operation status corresponding to the network connection device in real time;

[0014] A link performance test is performed on the operating status of the device to obtain a device performance indicator corresponding to the network connection device.

[0015] Optionally, analyzing the network topology structure corresponding to the network connection device based on the device performance indicator includes:

[0016] Identifying performance indicator parameters in the equipment performance indicator, and converting the performance indicator parameters into performance data in a unified format;

[0017] Based on the performance data, query the network links between devices in the network connection device;

[0018] Based on the network link, a network topology structure corresponding to the network connection device is analyzed.

[0019] Optionally, the calculating the link weight corresponding to the topological link includes:

[0020] The link weight corresponding to the topology link is calculated using the following formula:

[0021] ;

[0022] in, represents the link weight corresponding to the topological link, represents the index of the link in the topology, represents the total number of links in the topology, Indicates The bandwidth of the topology link is Indicates The delay of the topology link is Indicates The packet loss rate of the topology link, Indicates The reliability of the topology links described in Item 1, Indicates The normalized packet loss rate of the topology link.

[0023] Optionally, the real-time detection of the distributed traffic of the port in the closed local area network based on the link weight includes:

[0024] Identify the weight real-time data corresponding to the link weight, and analyze the source port and destination port corresponding to the weight real-time data in the closed local area network;

[0025] Querying the port link between the source port and the destination port, and detecting the inbound traffic and the outbound traffic in the port link in real time;

[0026] Based on the inbound traffic and the outbound traffic, the distributed traffic of the ports in the closed local area network is determined.

[0027] Optionally, determining the information dimension corresponding to the switch to be tested based on the transmission delay includes:

[0028] Collecting delay data corresponding to the transmission delay, and identifying a transmission timestamp in the delay data;

[0029] Based on the transmission timestamp, calculating the delay statistics between the ports in the switch to be tested;

[0030] Determining the main factors affecting the transmission delay based on the delay statistics;

[0031] Based on the main factors, the information dimension corresponding to the switch to be tested is determined.

[0032] Optionally, the calculating, based on the dimensionality factor, a path bandwidth corresponding to the traffic path includes:

[0033] The path bandwidth corresponding to the traffic path is calculated using the following formula:

[0034] ;

[0035] in, represents the path bandwidth corresponding to the traffic path, refers to the path length, which indicates the distance of the flow path. It refers to the bandwidth factor, which represents the available bandwidth factor on the traffic path. Refers to the data transmission rate, which indicates the rate at which data is transmitted on the traffic path. represents the node index corresponding to the traffic path, Indicates the total number of nodes corresponding to the traffic path, represents the probability density function corresponding to the traffic path, represents a small increment in the length of the corresponding path of the flow path, Indicates The bandwidth factor at each node is Indicates The data transmission rate at each node.

[0036] Optionally, the calculating the bandwidth utilization corresponding to the bandwidth fine-grainedness includes:

[0037] The bandwidth utilization corresponding to the bandwidth fine-grainedness is calculated using the following formula:

[0038] ;

[0039] in, Indicates the bandwidth utilization corresponding to the bandwidth fine-grainedness, Indicates the bandwidth subdivision index corresponding to the bandwidth fine-grainedness, Indicates the number of subdivided bandwidths corresponding to the bandwidth granularity. Indicates The segment bandwidth, Indicates The data transmission volume corresponding to each segment bandwidth is Indicates the total bandwidth corresponding to the bandwidth fine-grainedness.

[0040] Optionally, determining a load environment corresponding to the switch to be tested based on the bandwidth utilization includes:

[0041] Use preset monitoring devices to record bandwidth utilization data during key time periods;

[0042] Performing fluctuation analysis on the bandwidth utilization data to obtain fluctuation data;

[0043] extracting a load factor from the fluctuation data;

[0044] Based on the load factor, an environment simulation is performed on the switch to be tested to obtain a load environment.

[0045] In order to solve the above problems, the present invention also provides a switch reliability testing system, the system comprising:

[0046] An indicator identification module is used to obtain a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices;

[0047] A link weight calculation module, used to analyze the network topology structure corresponding to the network connection device based on the device performance index, identify the topology link in the network topology structure, and calculate the link weight corresponding to the topology link;

[0048] A path bandwidth calculation module, configured to detect the distributed traffic of the port in the closed local area network in real time based on the link weight, determine the traffic path corresponding to the distributed traffic, query the transmission delay in the traffic path, determine the information dimension corresponding to the switch to be tested based on the transmission delay, identify the dimension factor in the information dimension, and calculate the path bandwidth corresponding to the traffic path based on the dimension factor;

[0049] An environment determination module, used to query the bandwidth fine granularity corresponding to the path bandwidth, calculate the bandwidth utilization corresponding to the bandwidth fine granularity, and determine the load environment corresponding to the switch to be tested based on the bandwidth utilization;

[0050] The report generation module is used to identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

[0051] Firstly, by acquiring the switch to be tested and constructing a closed local area network corresponding to the switch to be tested, the present invention can better simulate the situation in the real working environment, effectively eliminate external interference factors, and facilitate accurate evaluation of the performance, stability and recovery ability of the switch, thereby providing strong support for system optimization and problem troubleshooting. At the same time, based on the device performance indicators, the present invention analyzes the network topology corresponding to the network connection device, and can timely discover potential performance bottlenecks, network congestion points or fault nodes, and then take targeted optimization and adjustment measures to improve the availability, stability and efficiency of the network. Based on the link weight, the present invention detects the closed local area network in real time. The distributed traffic of ports in the domain network can quickly discover abnormal traffic or network congestion, and take timely measures to adjust and optimize, thereby improving the utilization rate of network resources. The present invention can better optimize network configuration and resource allocation, improve overall network performance and efficiency, effectively prevent the occurrence of network congestion and bottleneck problems, and thus reduce the risk of network failures by querying the bandwidth granularity corresponding to the path bandwidth and calculating the bandwidth utilization corresponding to the bandwidth granularity, thereby reducing the risk of network failures. Furthermore, the present invention can timely understand the operating status of the system or equipment by identifying the load status in the load environment, effectively predict possible problems and take corresponding measures, thereby reducing the failure rate. Therefore, the switch reliability testing method and system proposed by the present invention can improve the stability of switch data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of a flow chart of a switch reliability testing method provided by an embodiment of the present invention;

[0053] Figure 2 A schematic diagram of a module of a switch reliability testing system provided by an embodiment of the present invention;

[0054] Figure 3 A schematic diagram of the internal structure of an electronic device of a switch reliability testing method provided by an embodiment of the present invention.

[0055] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0057] The embodiment of the present application provides a switch reliability testing method. The execution subject of the switch reliability testing method includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the switch reliability testing method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0058] Reference Figure 1 FIG. 1 is a flow chart of a switch reliability testing method provided by an embodiment of the present invention. In this embodiment, the switch reliability testing method includes:

[0059] S1. Acquire a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices.

[0060] By acquiring a switch to be tested and constructing a closed local area network corresponding to the switch to be tested, the present invention can better simulate the situation in a real working environment, effectively eliminate external interference factors, and facilitate accurate evaluation of the performance, stability and recovery capability of the switch, thereby providing strong support for system optimization and problem troubleshooting.

[0061] The closed local area network refers to a restricted access network specially built in the test environment, which is used to connect the switch to be tested and related equipment. Optionally, the closed local area network corresponding to the switch to be tested can be obtained through virtualization tools, such as VMware ESXi, VirtualBox, KVM and other tools.

[0062] Furthermore, the present invention can effectively evaluate key performance parameters such as throughput, latency, and packet loss rate of the device by querying the network connection devices in the closed local area network and identifying device performance indicators in the network connection devices, which helps to discover potential problems, optimize network configuration, and improve network performance and stability.

[0063] Among them, the network connection device refers to a hardware device that can realize connection and communication in a computer network; the device performance index refers to an index measured and evaluated according to the operating status of the device, including the device's bandwidth utilization, response time, throughput, packet loss rate, error rate, etc. Optionally, the query of the network connection device in the closed local area network can be obtained through a network scanning tool, such as: Nmap, SNMP tool.

[0064] As an embodiment of the present invention, the identifying of device performance indicators in the network connection device includes: obtaining original data packets in the network connection device; performing traffic analysis on the original data packets to obtain traffic analysis data; based on the traffic analysis data, querying in real time the device operating status corresponding to the network connection device; performing link performance testing on the device operating status to obtain device performance indicators corresponding to the network connection device.

[0065] Among them, the original data packet refers to the data packet captured or monitored on the network-connected device, including its source address, destination address, protocol type, data size and other information; the traffic analysis data refers to the analysis and processing of the original data packet to extract useful information, such as traffic statistics, traffic trends, protocol distribution, application distribution, etc. of each device; the device operation status refers to the current status of the network-connected device, including the online / offline status of the device, the connection speed of the device, the load of the device, the operation delay of the device, the packet loss rate of the device, etc.; the device performance indicators refer to indicators measured and evaluated according to the device operation status, including the bandwidth utilization, response time, throughput, packet loss rate, error rate, etc. of the device.

[0066] Furthermore, the acquisition of the original data packets in the network connection device can be achieved through a network packet capture tool, such as Wireshark, tcpdump, Tshark and other tools; the traffic analysis of the original data packets can be achieved through a data packet analysis tool, such as nTop, NetFlow Analyzer and other tools; the real-time query of the device operation status corresponding to the network connection device can be achieved through a monitoring tool, such as Nagios, Zabbix or Prometheus and other tools; the link performance test of the device operation status can be achieved through a performance testing tool, such as iPerf, PingPlotter, JMeter and other tools.

[0067] S2. Based on the device performance indicator, analyze the network topology structure corresponding to the network connection device, identify the topology links in the network topology structure, and calculate the link weights corresponding to the topology links.

[0068] The present invention analyzes the network topology corresponding to the network connection device based on the device performance indicators, and can timely discover potential performance bottlenecks, network congestion points or faulty nodes, and then take targeted optimization and adjustment measures to improve the availability, stability and efficiency of the network.

[0069] The network topology refers to a structure that describes the connection mode and layout between devices in the network, including star, bus, ring, tree, etc.

[0070] As an embodiment of the present invention, the analyzing the network topology structure corresponding to the network connection device based on the device performance indicator includes: identifying performance indicator parameters in the device performance indicator; converting the performance indicator parameters into performance data in a unified format; based on the performance data, querying the network links between devices in the network connection device; based on the network links, analyzing the network topology structure corresponding to the network connection device.

[0071] Among them, the performance indicator parameters refer to various indicators that describe the performance of network equipment, such as bandwidth, delay, packet loss rate, throughput, CPU utilization, etc.; the performance data refers to the specific performance values ​​obtained from the network equipment; the network link refers to the physical or logical link connecting different devices in the network.

[0072] Furthermore, the identification of performance indicator parameters in the device performance indicators can be obtained through a network monitoring system, such as Zabbix, Nagios, etc.; the conversion of the performance indicator parameters into performance data in a unified format can be obtained through a scripting programming language, such as Python, Shell and other tools; the query of the network links between the network-connected devices can be obtained through a routing tracking command, such as traceroute, tracert commands; the analysis of the network topology structure corresponding to the network-connected devices can be obtained through a graph theory algorithm, such as the shortest path algorithm, the minimum spanning tree algorithm.

[0073] By identifying the topological links in the network topology structure and calculating the link weights corresponding to the topological links, the present invention can better evaluate factors such as the reliability, delay and bandwidth of the network connection, thereby realizing intelligent routing selection and load balancing, effectively avoiding congestion and single point failures, and improving the overall network throughput and stability.

[0074] The topological link refers to a physical or logical path connecting two devices or nodes in a network; the link weight refers to a numerical value assigned to each link in the topological structure, which is used to represent a specific attribute or performance indicator of the link.

[0075] As an embodiment of the present invention, the calculating the link weight corresponding to the topological link includes:

[0076] The link weight corresponding to the topology link is calculated using the following formula:

[0077] ;

[0078] in, represents the link weight corresponding to the topological link, represents the index of the link in the topology, represents the total number of links in the topology, Indicates The bandwidth of the topology link is Indicates The delay of the topology link is Indicates The packet loss rate of the topology link, Indicates The reliability of the topology links described in Item 1, Indicates The normalized packet loss rate of the topology link.

[0079] S3. Based on the link weight, the distributed traffic of the port in the closed local area network is detected in real time, the traffic path corresponding to the distributed traffic is determined, the transmission delay in the traffic path is queried, and based on the transmission delay, the information dimension corresponding to the switch to be tested is determined, the dimension factor in the information dimension is identified, and based on the dimension factor, the path bandwidth corresponding to the traffic path is calculated.

[0080] The present invention detects the distributed flow of ports in the closed local area network in real time based on the link weight, can quickly discover abnormal flow or network congestion, and take timely measures to adjust and optimize, thereby improving the utilization rate of network resources.

[0081] The distributed traffic refers to the traffic distribution between various ports in a closed local area network.

[0082] As an embodiment of the present invention, the real-time detection of the distributed traffic of the port in the closed local area network based on the link weight includes: identifying the real-time weight data corresponding to the link weight; parsing the source port and destination port corresponding to the real-time weight data in the closed local area network; querying the port link between the source port and the destination port; real-time detection of the inbound traffic and outbound traffic in the port link; and determining the distributed traffic of the port in the closed local area network based on the inbound traffic and outbound traffic.

[0083] Among them, the weight real-time data refers to the real-time data corresponding to the link weight, such as bandwidth utilization, traffic size, etc.; the source port refers to the port number that initiates data transmission in a closed local area network; the destination port refers to the port number that receives data transmission in a closed local area network; the port link refers to the physical or logical link connecting the source port and the destination port; the inbound traffic refers to the data traffic flowing from the source port to the destination port; the outbound traffic refers to the data traffic flowing from the destination port to the source port.

[0084] Furthermore, the identification of the real-time weight data corresponding to the link weight can be obtained through a network traffic monitoring tool, such as Wireshark, tcpdump and other tools; the analysis of the real-time weight data at the source port and the destination port corresponding to the closed local area network can be obtained through a protocol analysis tool, such as Scapy, Pcap and the like; the query of the port link between the source port and the destination port can be obtained through a path calculation model, such as Dijkstra algorithm, shortest path tree and the like; the real-time detection of inbound and outbound traffic in the port link can be obtained through a traffic monitoring tool, such as NetFlow, sFlow and other tools; the determination of the distributed traffic of the port in the closed local area network can be obtained through a data analysis tool, such as ELK Stack, Splunk and other tools.

[0085] The present invention can identify potential bottlenecks and delay problems by determining the traffic path corresponding to the distributed traffic and querying the transmission delay in the traffic path, and make timely adjustments to improve network efficiency and reduce data loss rate, thereby enhancing network stability and reliability.

[0086] Among them, the traffic path refers to the network path that the data packet passes through from the source port, including intermediate devices and links, until it reaches the destination port; the transmission delay refers to the time delay experienced by the data packet from the source port to the destination port, including the time consumption in transmission, processing and queuing. Optionally, the determination of the traffic path corresponding to the distributed traffic can be obtained through a path inference algorithm; the query of the transmission delay in the traffic path can be obtained through a network performance monitoring tool, such as: Nagios or Zabbix tools.

[0087] The present invention determines the information dimension corresponding to the switch to be tested based on the transmission delay, so as to understand its efficiency and speed performance in the data exchange process, thereby optimizing the network topology, improving the data transmission quality, and effectively planning network resources to ensure the efficient operation and reliability of the network.

[0088] The information dimension refers to the information level and characteristic dimension of the switch to be tested determined after comprehensively considering the delay data, main factors and dimensional factors, which reflects the complexity of the system and the correlation between various indicators.

[0089] As an embodiment of the present invention, determining the information dimension corresponding to the switch to be tested based on the transmission delay includes: collecting delay data corresponding to the transmission delay; identifying a transmission timestamp in the delay data; calculating delay statistics between ports in the switch to be tested based on the transmission timestamp; determining a main factor affecting the transmission delay based on the delay statistics; and determining the information dimension corresponding to the switch to be tested based on the main factor.

[0090] Among them, the delay data refers to the time taken for a data packet or information recorded in network communication to travel from the sending end to the receiving end, including the transmission delay and round-trip time of a single data packet; the transmission timestamp refers to a time tag used to mark the time of occurrence of key events in the data packet transmission process, including the sending time and arrival time of the data packet; the delay statistics refer to the statistical values ​​obtained after analyzing and processing the transmission delay data, such as the average delay, minimum delay, maximum delay and delay distribution; the main factors refer to the key factors affecting the transmission delay, including network congestion, link quality, equipment performance, data packet loss rate, number of data packet retransmissions, etc.

[0091] Furthermore, the collection of delay data corresponding to the transmission delay can be obtained through a network delay model; the identification of the transmission timestamp in the delay data can be obtained through a script programming language, such as Python, MATLAB, etc.; the calculation of the delay statistics between the ports in the switch to be tested can be obtained through a statistical algorithm, such as mean, median, variance and other algorithms; the determination of the main factors affecting the transmission delay can be obtained through a regression analysis method, such as linear regression, multivariate regression, etc.; the determination of the information dimension corresponding to the switch to be tested can be obtained through a graph theory analysis method, such as degree centrality, closeness centrality and other methods.

[0092] The present invention helps to simplify complex data structures, reduce the difficulty of information processing, and promote the understanding of the relationship between data by identifying dimensional factors in the information dimension, thereby improving the accuracy and effectiveness of decision-making.

[0093] Among them, the dimensional factor refers to the key factor that affects the change of data characteristics or attributes in the information dimension. Optionally, the identification of the dimensional factor in the information dimension can be obtained through dimensional analysis methods, such as principal component analysis, factor analysis, cluster analysis and other methods.

[0094] As an embodiment of the present invention, the calculating the path bandwidth corresponding to the traffic path based on the dimensionality factor includes:

[0095] The path bandwidth corresponding to the traffic path is calculated using the following formula:

[0096] ;

[0097] in, represents the path bandwidth corresponding to the traffic path, refers to the path length, which indicates the distance of the flow path. It refers to the bandwidth factor, which represents the available bandwidth factor on the traffic path. Refers to the data transmission rate, which indicates the rate at which data is transmitted on the traffic path. represents the node index corresponding to the traffic path, Indicates the total number of nodes corresponding to the traffic path, represents the probability density function corresponding to the traffic path, represents a small increment in the length of the corresponding path of the flow path, Indicates The bandwidth factor at each node is Indicates The data transmission rate at each node.

[0098] S4. Query the bandwidth fine granularity corresponding to the path bandwidth, calculate the bandwidth utilization corresponding to the bandwidth fine granularity, and determine the load environment corresponding to the switch to be tested based on the bandwidth utilization.

[0099] The present invention can better optimize network configuration and resource allocation, improve overall network performance and efficiency, effectively prevent network congestion and bottleneck problems, and thus reduce the risk of network failure by querying the bandwidth fine granularity corresponding to the path bandwidth and calculating the bandwidth utilization corresponding to the bandwidth fine granularity.

[0100] Among them, the bandwidth granularity refers to the data obtained by more detailed and accurate monitoring and analysis of the bandwidth utilization on a specific path or link in the network; the bandwidth utilization rate refers to the degree of utilization of network resources, that is, the efficiency and load of data transmission in the network. Optionally, the bandwidth granularity corresponding to the query of the path bandwidth can be obtained through network monitoring tools, such as: Wireshark, Nagios, Zabbix, etc.

[0101] As an embodiment of the present invention, the calculating the bandwidth utilization corresponding to the bandwidth fine granularity includes:

[0102] The bandwidth utilization corresponding to the bandwidth fine-grainedness is calculated using the following formula:

[0103] ;

[0104] in, Indicates the bandwidth utilization corresponding to the bandwidth fine-grainedness, Indicates the bandwidth subdivision index corresponding to the bandwidth fine-grainedness, Indicates the number of subdivided bandwidths corresponding to the bandwidth granularity. Indicates The segment bandwidth, Indicates The data transmission volume corresponding to each segment bandwidth is Indicates the total bandwidth corresponding to the bandwidth fine-grainedness.

[0105] The present invention determines the load environment corresponding to the switch to be tested based on the bandwidth utilization, which helps to identify bottlenecks and performance problems that may occur in the switch under high load conditions, thereby optimizing network configuration and resource allocation, improving network stability and throughput, and ensuring network operation efficiency and reliability.

[0106] The load environment refers to the network environment status obtained by simulating according to the load factor, including the load status of simulated network equipment, fluctuation of network traffic, change of bandwidth demand, etc.

[0107] As an embodiment of the present invention, determining the load environment corresponding to the switch to be tested based on the bandwidth utilization includes: using a preset monitoring device to record bandwidth utilization data in a key time period; performing fluctuation analysis on the bandwidth utilization data to obtain fluctuation data; extracting a load factor from the fluctuation data; and based on the load factor, performing environmental simulation on the switch to be tested to obtain a load environment.

[0108] Among them, the bandwidth utilization data refers to the recorded data of the network bandwidth usage of the switch to be tested in different time periods, which can be expressed as the bandwidth consumption in each time period; the fluctuation data refers to the information obtained after analyzing the bandwidth utilization data, reflecting the changes in bandwidth utilization, including fluctuation range, fluctuation frequency, fluctuation mode and other contents; the load factor refers to a specific parameter or feature extracted from the fluctuation data.

[0109] Furthermore, the bandwidth utilization data recorded in the key time period by the preset monitoring device can be obtained by a network traffic analysis tool, such as the NTOP tool; the fluctuation analysis of the bandwidth utilization data can be obtained by a smoothing method, such as a moving average, an exponentially weighted moving average, etc.; the load factor extracted from the fluctuation data can be obtained by an energy spectrum density analysis method; the environmental simulation of the switch to be tested can be obtained by a network simulation tool, such as Cisco Packet Tracer, GNS3, etc.

[0110] S5. Identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

[0111] By identifying the load status in the load environment, the present invention can timely understand the operating status of the system or equipment, effectively predict possible problems and take corresponding measures, thereby reducing the failure rate.

[0112] Among them, the load state refers to the changes in the pressure, load size and working state of the system or equipment, including but not limited to real-time monitoring and analysis of parameters such as workload, temperature, current, voltage, speed, etc. Optionally, the identification of the load state in the load environment can be achieved through machine learning algorithms, such as: support vector machine, artificial neural network, random forest and other algorithms.

[0113] Furthermore, the present invention performs a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, which helps to verify the performance and stability of the device under different load conditions, identify potential fault points in advance and improve system design, thereby improving the reliability and robustness of the system.

[0114] The recovery parameters refer to parameter data collected during the fault recovery test on the performance, response time, stability, etc. of the device or system during the recovery process. Optionally, the fault recovery test of the switch to be tested can be obtained through automated testing tools, such as Selenium, Appium and other tools.

[0115] The present invention performs a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, which is helpful to optimize system design, improve network architecture, enhance the fault tolerance of equipment, and improve performance tuning effects, thereby achieving more efficient network operation and maintenance and ensuring long-term stable operation of the system.

[0116] Among them, the performance parameters refer to data indicators about the performance of the device or system collected in the performance test, which are used to evaluate the system's throughput, response speed, resource utilization, performance stability and other aspects. Optionally, the performance test of the switch to be tested can be achieved through performance testing tools, such as: JMeter, LoadRunner and other tools.

[0117] Furthermore, the present invention generates a test report corresponding to the switch to be tested based on the performance parameters, which can provide a reliable basis for decision makers, guide subsequent performance optimization work, improve system design and network architecture, improve the performance efficiency and operation quality of the equipment, and ensure the reliability and stability of the system.

[0118] The test report refers to a structured document that records the data, results and analysis collected after the performance test of the device to be tested (such as a switch). Optionally, the test report corresponding to the switch to be tested can be obtained through a report generation tool, such as Pytest, Selenium, JUnit, TestNG and other tools.

[0119] Firstly, by acquiring the switch to be tested and constructing a closed local area network corresponding to the switch to be tested, the present invention can better simulate the situation in the real working environment, effectively eliminate external interference factors, and facilitate accurate evaluation of the performance, stability and recovery ability of the switch, thereby providing strong support for system optimization and problem troubleshooting. At the same time, based on the device performance indicators, the present invention analyzes the network topology corresponding to the network connection device, and can timely discover potential performance bottlenecks, network congestion points or fault nodes, and then take targeted optimization and adjustment measures to improve the availability, stability and efficiency of the network. Based on the link weight, the present invention detects the closed local area network in real time. The distributed traffic of ports in the domain network can quickly discover abnormal traffic or network congestion, and take timely measures to adjust and optimize, thereby improving the utilization rate of network resources. The present invention can better optimize network configuration and resource allocation, improve overall network performance and efficiency, effectively prevent the occurrence of network congestion and bottleneck problems, and thus reduce the risk of network failures by querying the bandwidth granularity corresponding to the path bandwidth and calculating the bandwidth utilization corresponding to the bandwidth granularity, thereby reducing the risk of network failures. Furthermore, the present invention can timely understand the operating status of the system or equipment by identifying the load status in the load environment, effectively predict possible problems and take corresponding measures, thereby reducing the failure rate. Therefore, the switch reliability testing method and system proposed by the present invention can improve the stability of switch data transmission.

[0120] like Figure 2 FIG. 1 is a functional module diagram of a switch reliability testing system provided by an embodiment of the present invention.

[0121] The switch reliability test system 200 of the present invention can be installed in an electronic device. According to the functions to be implemented, the switch reliability test system 200 may include an indicator identification module 201, a link weight calculation module 202, a path bandwidth calculation module 203, an environment determination module 204, and a report generation module 205. The module of the present invention may also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, and is stored in the memory of the electronic device.

[0122] In this embodiment, the functions of each module / unit are as follows:

[0123] The indicator identification module 201 is used to obtain the switch to be tested, build a closed local area network corresponding to the switch to be tested, query the network connection devices in the closed local area network, and identify the device performance indicators in the network connection devices;

[0124] The link weight calculation module 202 is used to analyze the network topology structure corresponding to the network connection device based on the device performance index, identify the topology link in the network topology structure, and calculate the link weight corresponding to the topology link;

[0125] The path bandwidth calculation module 203 is used to detect the distributed traffic of the port in the closed local area network in real time based on the link weight, determine the traffic path corresponding to the distributed traffic, query the transmission delay in the traffic path, determine the information dimension corresponding to the switch to be tested based on the transmission delay, identify the dimension factor in the information dimension, and calculate the path bandwidth corresponding to the traffic path based on the dimension factor;

[0126] The environment determination module 204 is used to query the bandwidth fine granularity corresponding to the path bandwidth, calculate the bandwidth utilization corresponding to the bandwidth fine granularity, and determine the load environment corresponding to the switch to be tested based on the bandwidth utilization;

[0127] The report generating module 205 is used to identify the load status in the load environment, perform a fault recovery test on the switch to be tested based on the load status to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

[0128] In detail, each module described in the switch reliability testing system 200 described in the embodiment of the present invention adopts the same technical means as the switch reliability testing method described in the accompanying drawings when used, and can produce the same technical effects, which will not be repeated here.

[0129] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a switch reliability testing method according to the present invention.

[0130] The electronic device may include a processor 30 , a memory 31 , a communication bus 32 , and a communication interface 33 , and may also include a computer program stored in the memory 31 and executable on the processor 30 .

[0131] In some embodiments, the processor 30 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 30 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing programs or modules stored in the memory 31, and calling data stored in the memory 31.

[0132] The memory 31 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 31 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 31 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 31 may also include both an internal storage unit of the electronic device and an external storage device. The memory 31 may not only be used to store application software and various types of data installed in the electronic device, such as the code of the database configuration connection program, but also be used to temporarily store data that has been output or is to be output.

[0133] The communication bus 32 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 31 and at least one processor 30, etc.

[0134] The communication interface 33 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0135] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0136] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 30 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0137] The database configuration connection program stored in the memory 31 in the electronic device is a combination of multiple computer programs. When running in the processor 30, it can achieve:

[0138] Acquire a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices;

[0139] Based on the device performance indicator, analyzing the network topology structure corresponding to the network connection device, identifying the topology links in the network topology structure, and calculating the link weights corresponding to the topology links;

[0140] Based on the link weight, the distributed traffic of the port in the closed local area network is detected in real time, the traffic path corresponding to the distributed traffic is determined, the transmission delay in the traffic path is queried, and based on the transmission delay, the information dimension corresponding to the switch to be tested is determined, the dimension factor in the information dimension is identified, and the path bandwidth corresponding to the traffic path is calculated based on the dimension factor;

[0141] Querying the bandwidth fine granularity corresponding to the path bandwidth, calculating the bandwidth utilization corresponding to the bandwidth fine granularity, and determining the load environment corresponding to the switch to be tested based on the bandwidth utilization;

[0142] Identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

[0143] Specifically, the specific implementation method of the processor 30 for the above computer program can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0144] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. The storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0145] The present invention further provides a storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0146] Acquire a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices;

[0147] Based on the device performance indicator, analyzing the network topology structure corresponding to the network connection device, identifying the topology links in the network topology structure, and calculating the link weights corresponding to the topology links;

[0148] Based on the link weight, the distributed traffic of the port in the closed local area network is detected in real time, the traffic path corresponding to the distributed traffic is determined, the transmission delay in the traffic path is queried, and based on the transmission delay, the information dimension corresponding to the switch to be tested is determined, the dimension factor in the information dimension is identified, and the path bandwidth corresponding to the traffic path is calculated based on the dimension factor;

[0149] Querying the bandwidth fine granularity corresponding to the path bandwidth, calculating the bandwidth utilization corresponding to the bandwidth fine granularity, and determining the load environment corresponding to the switch to be tested based on the bandwidth utilization;

[0150] Identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

[0151] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0152] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0153] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0154] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0155] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0156] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. Switch reliability test method, It is characterized in that The method comprises: Acquire a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices; Based on the device performance indicator, analyzing the network topology structure corresponding to the network connection device, identifying the topology links in the network topology structure, and calculating the link weights corresponding to the topology links; The calculating the link weight corresponding to the topological link includes: The link weight corresponding to the topology link is calculated using the following formula: , in, represents the link weight corresponding to the topological link, represents the index of the link in the topology, represents the total number of links in the topology, Indicates The bandwidth of the topology link is Indicates The delay of the topology link is Indicates The packet loss rate of the topology link, Indicates The reliability of the topology links described in Item 1, Indicates A normalized packet loss rate of the topology link; Based on the link weight, real-time detection of the distributed traffic of the port in the closed local area network is performed to determine the traffic path corresponding to the distributed traffic; The real-time detection of the distributed traffic of the ports in the closed local area network based on the link weight includes: Identify the weight real-time data corresponding to the link weight, and analyze the source port and destination port corresponding to the weight real-time data in the closed local area network; Querying the port link between the source port and the destination port, and detecting the inbound traffic and the outbound traffic in the port link in real time; Determine the distributed traffic of ports in the closed local area network based on the inbound traffic and the outbound traffic; Querying the transmission delay in the traffic path, and determining the information dimension corresponding to the switch to be tested based on the transmission delay; The determining, based on the transmission delay, the information dimension corresponding to the switch to be tested includes: Collecting delay data corresponding to the transmission delay, and identifying a transmission timestamp in the delay data; Based on the transmission timestamp, calculating the delay statistics between the ports in the switch to be tested; Determining the main factors affecting the transmission delay based on the delay statistics; Based on the main factors, determining the information dimension corresponding to the switch to be tested; Identifying a dimensionality factor in the information dimension, and calculating a path bandwidth corresponding to the traffic path based on the dimensionality factor; The calculating, based on the dimension factor, a path bandwidth corresponding to the traffic path includes: The path bandwidth corresponding to the traffic path is calculated using the following formula: , in, represents the path bandwidth corresponding to the traffic path, refers to the path length, which indicates the distance of the flow path. It refers to the bandwidth factor, which represents the available bandwidth factor on the traffic path. Refers to the data transmission rate, which indicates the rate at which data is transmitted on the traffic path. represents the node index corresponding to the traffic path, Indicates the total number of nodes corresponding to the traffic path, represents the probability density function corresponding to the traffic path, represents a small increment in the length of the corresponding path of the flow path, Indicates The bandwidth factor at each node is Indicates The data transmission rate at each node; Querying the bandwidth fine granularity corresponding to the path bandwidth, calculating the bandwidth utilization corresponding to the bandwidth fine granularity, and determining the load environment corresponding to the switch to be tested based on the bandwidth utilization; Identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

2. The switch reliability testing method according to claim 1, It is characterized in that The identifying the device performance indicator in the network connection device includes: Obtaining original data packets in the network connection device; Performing traffic analysis on the original data packet to obtain traffic analysis data; Based on the traffic analysis data, query the device operation status corresponding to the network connection device in real time; A link performance test is performed on the operating status of the device to obtain a device performance indicator corresponding to the network connection device.

3. The switch reliability testing method according to claim 1, It is characterized in that The analyzing the network topology structure corresponding to the network connection device based on the device performance indicator includes: Identifying performance indicator parameters in the equipment performance indicator, and converting the performance indicator parameters into performance data in a unified format; Based on the performance data, query the network links between devices in the network connection device; Based on the network link, a network topology structure corresponding to the network connection device is analyzed.

4. The switch reliability testing method according to claim 1, It is characterized in that The calculating the bandwidth utilization corresponding to the bandwidth fine-grainedness includes: The bandwidth utilization corresponding to the bandwidth fine-grainedness is calculated using the following formula: , in, Indicates the bandwidth utilization corresponding to the bandwidth fine-grainedness, Indicates the bandwidth subdivision index corresponding to the bandwidth fine-grainedness, Indicates the number of subdivided bandwidths corresponding to the bandwidth granularity. Indicates The segment bandwidth, Indicates The data transmission volume corresponding to each segment bandwidth is Indicates the total bandwidth corresponding to the bandwidth fine-grainedness.

5. The switch reliability testing method according to claim 1, It is characterized in that The step of determining a load environment corresponding to the switch to be tested based on the bandwidth utilization rate includes: Use preset monitoring devices to record bandwidth utilization data during key time periods; Performing fluctuation analysis on the bandwidth utilization data to obtain fluctuation data; extracting a load factor from the fluctuation data; Based on the load factor, an environment simulation is performed on the switch to be tested to obtain a load environment. 6.Switch reliability test system, It is characterized in that Used to execute the switch reliability testing method according to any one of claims 1 to 5, the system comprises: An indicator identification module is used to obtain a switch to be tested, construct a closed local area network corresponding to the switch to be tested, query network connection devices in the closed local area network, and identify device performance indicators in the network connection devices; A link weight calculation module, used to analyze the network topology structure corresponding to the network connection device based on the device performance index, identify the topology link in the network topology structure, and calculate the link weight corresponding to the topology link; The calculating the link weight corresponding to the topological link includes: The link weight corresponding to the topology link is calculated using the following formula: , in, represents the link weight corresponding to the topological link, represents the index of the link in the topology, represents the total number of links in the topology, Indicates The bandwidth of the topology link is Indicates The delay of the topology link is Indicates The packet loss rate of the topology link, Indicates The reliability of the topology links described in Item 1, Indicates A normalized packet loss rate of the topology link; A path bandwidth calculation module, configured to detect the distributed traffic of the port in the closed local area network in real time based on the link weight, determine the traffic path corresponding to the distributed traffic, query the transmission delay in the traffic path, determine the information dimension corresponding to the switch to be tested based on the transmission delay, identify the dimension factor in the information dimension, and calculate the path bandwidth corresponding to the traffic path based on the dimension factor; The real-time detection of the distributed traffic of the ports in the closed local area network based on the link weight includes: Identify the weight real-time data corresponding to the link weight, and analyze the source port and destination port corresponding to the weight real-time data in the closed local area network; Querying the port link between the source port and the destination port, and detecting the inbound traffic and the outbound traffic in the port link in real time; Determine the distributed traffic of ports in the closed local area network based on the inbound traffic and the outbound traffic; The determining, based on the transmission delay, the information dimension corresponding to the switch to be tested includes: Collecting delay data corresponding to the transmission delay, and identifying a transmission timestamp in the delay data; Based on the transmission timestamp, calculating the delay statistics between the ports in the switch to be tested; Determining the main factors affecting the transmission delay based on the delay statistics; Based on the main factors, determining the information dimension corresponding to the switch to be tested; The calculating, based on the dimension factor, a path bandwidth corresponding to the traffic path includes: The path bandwidth corresponding to the traffic path is calculated using the following formula: , in, represents the path bandwidth corresponding to the traffic path, refers to the path length, which indicates the distance of the flow path. It refers to the bandwidth factor, which represents the available bandwidth factor on the traffic path. Refers to the data transmission rate, which indicates the rate at which data is transmitted on the traffic path. represents the node index corresponding to the traffic path, Indicates the total number of nodes corresponding to the traffic path, represents the probability density function corresponding to the traffic path, represents a small increment in the length of the corresponding path of the flow path, Indicates The bandwidth factor at each node is Indicates The data transmission rate at each node; An environment determination module, used to query the bandwidth fine granularity corresponding to the path bandwidth, calculate the bandwidth utilization corresponding to the bandwidth fine granularity, and determine the load environment corresponding to the switch to be tested based on the bandwidth utilization; The report generation module is used to identify the load state in the load environment, perform a fault recovery test on the switch to be tested based on the load state to obtain recovery parameters, perform a performance test on the switch to be tested based on the recovery parameters to obtain performance parameters, and generate a test report corresponding to the switch to be tested based on the performance parameters.

Citation Information

Patent Citations

  • Fault self-diagnosis and self-recovery method and system for interchanger

    CN103701655A

  • Switch security test method for time-sensitive network

    CN115967644A