A 5G Ethernet switch testing method and system
By obtaining the operating status data of the 5G Ethernet switch, analyzing the changes in network environment parameters, and building a performance attenuation function, the problem that existing testing methods cannot comprehensively evaluate the comprehensive performance of 5G Ethernet switches is solved, and accurate testing and prediction in complex network environments are achieved.
Patent Information
- Application Number
- CN202510294474.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-03-13
AI Technical Summary
The existing 5G Ethernet switch testing methods cannot comprehensively and accurately evaluate the switch's comprehensive performance under multiple complex network conditions, cannot reflect its comprehensive capabilities in actual applications, and fail to simulate network fluctuations and load fluctuations in actual scenarios.
By obtaining the operating status data of the target 5G Ethernet switch under multiple network test conditions, determining the data processing time and data transmission time, analyzing the prominence and promotion probability of changes in network environment parameters, and building a performance attenuation function to fully reflect the performance characteristics of the switch under different conditions.
A comprehensive test of 5G Ethernet switches in complex and variable network environments has been realized, which can identify the source of delay and quantify the degree of delay, simulate fluctuations and abnormal situations in the actual network environment, predict the performance in the future network environment, and provide a basis for optimization and adjustment.
Smart Images

Figure CN119815397B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital information transmission, and particularly to a 5G Ethernet switch testing method and system. Background Art
[0002] 5G is the fifth-generation mobile communication technology, which is the latest generation of cellular network technology after 4G (the fourth-generation mobile communication technology, including: LTE (Long-Term Evolution), WiMAX (Worldwide Interoperability for Microwave Access)). 5G not only improves the data transmission speed, but also significantly reduces the latency, and enhances the system capacity and the ability of large-scale device connection. With the rapid development of 5G communication technology, the performance requirements of communication networks have also been greatly improved. The construction and maintenance of 5G networks rely on high-performance network devices, among which 5G Ethernet switches are an important part of the 5G network infrastructure; compared with 4G, 5G networks have significant improvements in terms of broadband, latency, reliability, etc. Especially in application scenarios such as ultra-high bandwidth, large-scale device connection, and low latency, the requirements of 5G networks are much higher than existing communication standards. To meet these needs, 5G Ethernet switches need to have higher performance and stronger network management capabilities.
[0003] However, most of the existing 5G Ethernet switch testing methods focus on the evaluation of a certain specific performance dimension, such as throughput, latency, or load balancing. Due to the complexity and diverse requirements of 5G networks, the testing methods of a single performance dimension cannot comprehensively evaluate the comprehensive performance of 5G Ethernet switches under various complex network conditions, and cannot reflect the overall capabilities of the switches in actual applications; in addition, the testing methods of a single performance dimension often rely on a static network environment and fail to simulate dynamic factors such as network fluctuations and load fluctuations that may occur in actual scenarios, resulting in test results that cannot accurately reflect the device performance of 5G Ethernet switches in complex and changing environments.
[0004] Therefore, how to comprehensively and accurately test 5G Ethernet switches is an urgent problem to be solved currently. Summary of the Invention
[0005] In order to solve the technical problem of how to comprehensively and accurately test 5G Ethernet switches, the purpose of the present invention is to provide a 5G Ethernet switch testing method and system, and the specific technical solutions adopted are as follows:
[0006] An embodiment of the present application provides a 5G Ethernet switch testing method, and the method includes:
[0007] Obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions;
[0008] According to the operating status data, determine the data processing time and data transmission time corresponding to the same bandwidth among the multiple network test conditions, and determine the data transmission delay rate corresponding to each network test condition according to the data processing time and data transmission time;
[0009] According to the operating status data, determine the change prominence corresponding to multiple network environment parameters under each network test condition, and based on the change prominence, analyze the promotion effect of the changes in the multiple network environment parameters on data transmission delay to obtain the promotion probability corresponding to each network environment parameter;
[0010] Construct a performance decay function corresponding to the target 5G Ethernet switch according to the data transmission delay rate corresponding to each network test condition and the promotion probability corresponding to each network environment parameter, and the performance decay function is used to indicate the performance characteristics of the target 5G Ethernet switch during testing.
[0011] In some embodiments, the operating status data includes throughput, delay data, packet loss rate, bit error rate, and network load. Obtaining the operating status data of the target 5G Ethernet switch under multiple network test conditions includes:
[0012] Simulate user behaviors and connection scenarios through a pre-configured end-to-end test tool, and generate various types of network traffic through a pre-configured network traffic generator to form the multiple network test conditions;
[0013] Obtain the throughput, delay data, packet loss rate, and bit error rate under the multiple network test conditions through a pre-configured network analyzer;
[0014] Obtain the network load under the multiple network test conditions through a pre-configured monitoring tool.
[0015] In some embodiments, the multiple network test conditions include: preset traffic transmission test conditions, preset delay requirement test conditions, and concurrent connection test conditions.
[0016] In some embodiments, after obtaining the operating status data of the target 5G Ethernet switch under multiple network test conditions, it further includes:
[0017] Determine the maximum throughput according to the throughput, and use the maximum throughput as the bandwidth;
[0018] Obtain the test time periods corresponding to the same bandwidth among the multiple network test conditions, and the test time periods corresponding to the same bandwidth are used to determine the data processing time and the data transmission time.
[0019] In some embodiments, determining the data processing time and the data transmission time corresponding to the same bandwidth among the multiple network test conditions includes:
[0020] Obtain the size of the data packets transmitted during a single test corresponding to the same bandwidth under each of the network test conditions;
[0021] Compare the size of the data packets with the bandwidth to determine the data processing time;
[0022] Obtain the first time node when the target 5G Ethernet switch receives the data packet and the second time node when the target 5G Ethernet switch forwards the data packet during a single test corresponding to the same bandwidth under each of the network test conditions;
[0023] Compare the first time node with the second time node to determine the data transmission time.
[0024] In some embodiments, if multiple tests are performed under each of the network test conditions, then use the average value of the data transmission delay rates obtained from the multiple tests as the target data transmission delay rate, and the target data transmission delay rate is used to construct the performance decay function corresponding to the target 5G Ethernet switch.
[0025] In some embodiments, determining the change prominence corresponding to multiple network environment parameters under each of the network test conditions includes:
[0026] Screen the data transmission delay rates corresponding to each of the network test conditions to determine the time periods with the same average value of the data transmission delay rates in each of the network test conditions;
[0027] In the time periods with the same average value of the data transmission delay rates in each of the network test conditions, extract the measured values of the network topology, network load, and link quality, and use the measured values of the network topology, network load, and link quality as the multiple network environment parameters;
[0028] Compare the network environment parameters under the network test condition with the same network environment parameters in any other network test condition, and determine the change prominence according to the comparison result.
[0029] In some embodiments, based on the change prominence, analyzing the promotion effect of the changes in the multiple network environment parameters on the data transmission delay to obtain the promotion probability corresponding to each of the network environment parameters includes:
[0030] Determine the traffic data curve corresponding to the network test condition according to the running state data;
[0031] Determine the time node when the traffic data mutates according to the traffic data curve;
[0032] Determine the traffic mutation degree according to the measured value corresponding to the time node when the traffic data mutates and the measured values corresponding to the nodes before the time node when the traffic data mutates;
[0033] Combine the change prominence and the traffic mutation degree to determine the promotion probability corresponding to each network environment parameter.
[0034] In some embodiments, the constructing the performance attenuation function corresponding to the target 5G Ethernet switch according to the data transmission delay rate corresponding to each network test condition and the promotion probability corresponding to each network environment parameter includes:
[0035] Construct a promotion probability change curve of the same network environment parameter in the multiple network test conditions according to the promotion probability corresponding to each network environment parameter;
[0036] Construct a data transmission delay rate change curve of the multiple network test conditions according to the data transmission delay rate corresponding to each network test condition;
[0037] Analyze the change relationship between the promotion probability change curve and the data transmission delay rate change curve, and determine the weight value corresponding to each network environment parameter according to the change relationship between the promotion probability change curve and the data transmission delay rate change curve;
[0038] Represent the performance attenuation rate of the target 5G Ethernet switch during the test through the weight value and the measured value corresponding to each network environment parameter, so as to construct the performance attenuation function corresponding to the target 5G Ethernet switch.
[0039] The embodiment of the present application further provides a 5G Ethernet switch test system, and the system includes:
[0040] A data acquisition module, configured to acquire the running state data of the target 5G Ethernet switch under multiple network test conditions;
[0041] A data transmission delay rate determination module, configured to determine the data processing time and the data transmission time corresponding to the same bandwidth in the multiple network test conditions according to the running state data, and determine the data transmission delay rate corresponding to each network test condition according to the data processing time and the data transmission time;
[0042] A promotion probability determination module, configured to determine the change prominence corresponding to multiple network environment parameters under each of the network test conditions according to the operation status data, and analyze the promotion effect of the changes in the multiple network environment parameters on the data transmission delay based on the change prominence, so as to obtain the promotion probability corresponding to each of the network environment parameters;
[0043] A function construction module, configured to construct a performance attenuation function corresponding to the target 5G Ethernet switch according to the data transmission delay rate corresponding to each of the network test conditions and the promotion probability corresponding to each of the network environment parameters, where the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during testing.
[0044] The present invention has the following beneficial effects:
[0045] First, obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; then, according to the operating status data, determine the data processing time and data transmission time corresponding to the same bandwidth among the multiple network test conditions, and determine the data transmission delay rate corresponding to each network test condition according to the data processing time and data transmission time; then, according to the operating status data, determine the change prominence corresponding to multiple network environment parameters under each network test condition, and analyze the promotion effect of the changes in the multiple network environment parameters on data transmission delay based on the change prominence to obtain the promotion probability corresponding to each network environment parameter; finally, construct a performance attenuation function corresponding to the target 5G Ethernet switch according to the data transmission delay rate corresponding to each network test condition and the promotion probability corresponding to each network environment parameter, where the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during testing. In this application, by simulating a variety of network test conditions (such as different bandwidths, loads, delay requirements, etc.), a wide range of usage scenarios can be covered, ensuring that the test is not limited to a specific situation but reflects the complexity and diversity in actual applications as much as possible. By using the operating status data to determine the data processing time and data transmission time, and thus calculating the data transmission delay rate, not only can the main source of delay (processing or transmission) be identified, but also the specific degree of delay can be quantified, reflecting the actual performance of the switch under different conditions, rather than just the theoretical best or worst case. By analyzing the changes in multiple network environment parameters, various fluctuations and anomalies that may occur in the actual network environment can be more realistically simulated. By calculating the promotion probability of each network environment parameter on data transmission delay, it is possible to quantitatively understand which factors have the greatest impact on delay and help identify potential bottlenecks or optimization points. Combining the data transmission delay rate and the impact of changes in network environment parameters to construct a performance attenuation function can comprehensively reflect the overall performance of the switch under different conditions. This function not only describes the performance under the current test conditions but can also be used to predict the performance of the switch in different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0047] Figure 1 Schematic diagram of the implementation environment of a 5G Ethernet switch test method provided by an embodiment of the present invention;
[0048] Figure 2 A flowchart of a 5G Ethernet switch testing method provided by an embodiment of the present invention;
[0049] Figure 3 A schematic diagram of a test environment provided by an embodiment of the present invention;
[0050] Figure 4 A schematic diagram of a traffic data curve provided by an embodiment of the present invention;
[0051] Figure 5 A schematic diagram of a promotion probability change curve and a data transmission delay rate change curve provided by an embodiment of the present invention;
[0052] Figure 6 A schematic diagram of the structure of a 5G Ethernet switch testing system provided by an embodiment of the present invention. Detailed implementation manners
[0053] In order to further elaborate on the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following combines the accompanying drawings and preferred embodiments to detail the specific implementation manners, structures, features and effects of a 5G Ethernet switch testing method and system proposed according to the present invention. In the following description, different "an embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.
[0054] It should be noted that the terms "first", "second", etc. in the specification of this application and the above-mentioned accompanying drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs.
[0056] The following specifically describes the specific solutions of a 5G Ethernet switch testing method and system provided by the present invention with reference to the accompanying drawings.
[0057] Please refer toFigure 1 , Figure 1 is a schematic diagram of the implementation environment of a 5G Ethernet switch testing method provided by an embodiment of the present invention. As Figure 1 shown, the implementation environment includes a test terminal 101 and a target 5G Ethernet switch 102. The test terminal 101 can be a terminal device configured with a 5G Ethernet switch testing system, including but not limited to a laptop computer, a tablet computer, a personal digital assistant, a PAD (tablet computer), a desktop computer, etc. with local computing capabilities; the 5G Ethernet switch testing system can be implemented in the form of a target client, and the target client can be a video client, an instant messaging client, a browser client, etc. that support 5G Ethernet switch testing; the test terminal 101 can communicate with the target 5G Ethernet switch 102 through a network, which can include but not limited to: a wired network, a wireless network, where the wired network includes: a local area network, a metropolitan area network, and a wide area network, and the wireless network includes: Bluetooth, WIFI (Wireless Fidelity, a technology that allows electronic devices to connect to a wireless local area network), and other networks that implement wireless communication. The above test terminal 101 can include but not limited to a human-computer interaction screen, a processor, and a memory. The above human-computer interaction screen can be used to display test results. The above processor can be used to respond to human-computer interaction operations, execute corresponding operations, or generate corresponding instructions.
[0058] As an optional method, the number of target 5G Ethernet switches 102 can be multiple; the test terminal 101 can obtain the operation status data of the target 5G Ethernet switch under multiple network test conditions.
[0059] As an optional method, the above test terminal 101 can also be a server, which can be a single server, a server cluster composed of multiple servers, or a cloud server. The above is only an example, and this embodiment does not make any limitations in this regard.
[0060] As an optional method, the following steps of the 5G Ethernet switch testing method can be executed on the test terminal 101:
[0061] Obtain the operation status data of the target 5G Ethernet switch under multiple network test conditions;
[0062] According to the operation status data, determine the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions, and determine the data transmission delay rate corresponding to each network test condition according to the data processing time and data transmission time;
[0063] Determine the change prominence corresponding to multiple network environment parameters under each of the network test conditions according to the running state data, and analyze the promotion effect of the changes in the multiple network environment parameters on the data transmission delay based on the change prominence, so as to obtain the promotion probability corresponding to each of the network environment parameters;
[0064] Construct a performance decay function corresponding to the target 5G Ethernet switch according to the data transmission delay rate corresponding to each of the network test conditions and the promotion probability corresponding to each of the network environment parameters, where the performance decay function is used to indicate the performance characteristics of the target 5G Ethernet switch during testing.
[0065] In the above manner, by simulating a variety of network test conditions (such as different bandwidths, loads, latency requirements, etc.), a wide range of usage scenarios can be covered, ensuring that the test is not limited to a specific situation, but reflects the complexity and diversity in actual applications as much as possible. By using the running state data to determine the data processing time and data transmission time, and thus calculating the data transmission delay rate, not only can the main source of delay (processing or transmission) be identified, but also the specific degree of delay can be quantified, reflecting the actual performance of the switch under different conditions, rather than just the theoretical best or worst cases. By analyzing the changes in multiple network environment parameters, various fluctuations and anomalies that may occur in the actual network environment can be more realistically simulated. By calculating the promotion probability of each network environment parameter on the data transmission delay, it is possible to quantitatively understand which factors have the greatest impact on the delay, helping to identify potential bottlenecks or optimization points. Combining the data transmission delay rate and the impact of changes in network environment parameters to construct a performance decay function can comprehensively reflect the overall performance of the switch under different conditions. This function not only describes the performance under the current test conditions, but can also be used to predict the performance of the switch in different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment.
[0066] As an optional example, the execution subject of the above 5G Ethernet switch test method in this embodiment is not limited. The above 5G Ethernet switch test method can be executed on the test terminal 101. For example, when the test terminal 101 is a desktop computer, some or all of the steps of the above 5G Ethernet switch test method can be executed on the desktop computer.
[0067] The above part introduced the content of the exemplary implementation environment of applying the technical solution of the present application. Next, the 5G Ethernet switch test method of the present application will be continued to be introduced.
[0068] To solve the problem of how to comprehensively and accurately test a 5G Ethernet switch in the prior art, embodiments of the present application respectively propose a 5G Ethernet switch testing method and a 5G Ethernet switch testing system, and the following will describe these embodiments in detail.
[0069] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a 5G Ethernet switch testing method provided by an embodiment of the present invention. This method can be applied to Figure 1 the shown implementation environment. It should be understood that this method can also be applicable to other exemplary implementation environments and be specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment applicable to this method.
[0070] As Figure 2 shown, in an exemplary embodiment, the 5G Ethernet switch testing method at least includes steps S210 to S240, which are introduced in detail as follows:
[0071] In step S210, obtain the operation status data of the target 5G Ethernet switch under multiple network test conditions.
[0072] Among them, the network test conditions refer to various preset scenarios or environments for evaluating the performance of a 5G Ethernet switch, such as different bandwidths, loads, latency requirements, etc.
[0073] Among them, the operation status data refers to the real-time operation data of the target 5G Ethernet switch under specific network test conditions, including throughput, latency data, packet loss rate, bit error rate, network load, etc.
[0074] Among them, bandwidth refers to the maximum amount of data that can be transmitted per unit time in network communication, usually expressed in Mbps or Gbps.
[0075] In step S220, according to the operation status data, determine the data processing time and data transmission time corresponding to the same bandwidth among the multiple network test conditions, and determine the data transmission delay rate corresponding to each network test condition according to the data processing time and data transmission time.
[0076] Among them, the data processing time refers to the time required for the switch to start processing a data packet from receiving the data packet. The data transmission time refers to the time required for the switch to forward a data packet from receiving the data packet. The processing time can be calculated by comparing the data packet size and bandwidth, and the transmission time can be calculated by recording the receiving and forwarding time nodes.
[0077] Among them, the data transmission delay rate reflects the degree of delay in the data transmission process. Based on the calculated data processing time and data transmission time, the data transmission delay rate under each test condition is further calculated. For example: under a certain test condition, the processing time is 2 ms and the transmission time is 3 ms, then the data transmission delay rate is (2 + 3) / total transmission time.
[0078] In step S230, according to the operating state data, the change prominence corresponding to multiple network environment parameters under each network test condition is determined, and based on the change prominence, the promotion effect of the change of the multiple network environment parameters on data transmission delay is analyzed to obtain the promotion probability corresponding to each network environment parameter.
[0079] Among them, network environment parameters refer to various factors affecting network performance, such as network topology, network load, link quality, etc.
[0080] Among them, the change prominence refers to the change range of network environment parameters and their influence degree on data transmission delay during network testing. The change prominence can be determined by comparing the network load changes in different time periods.
[0081] Among them, the promotion probability refers to the probability value of the contribution degree of the change of a certain network environment parameter to data transmission delay. The promotion probability can be calculated by analyzing the influence of network load change on delay.
[0082] In step S240, according to the data transmission delay rate corresponding to each network test condition and the promotion probability corresponding to each network environment parameter, a performance attenuation function corresponding to the target 5G Ethernet switch is constructed. The performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during testing.
[0083] Among them, the performance attenuation function is a mathematical model constructed based on the data transmission delay rate and the promotion probability of network environment parameters, and is used to describe the performance change trend of the switch under different conditions. A performance attenuation function can be constructed by comprehensively analyzing the delay rate and environmental parameter influence under various test conditions.
[0084] Exemplarily, assume there is a 5G Ethernet switch that needs to be tested. First, preset the traffic transmission test conditions (such as 1Gbps bandwidth), preset the delay requirement test conditions (such as the maximum delay not exceeding 5ms), and the concurrent connection test conditions (such as supporting 1000 concurrent connections simultaneously). Then, use end-to-end test tools to simulate user behavior and generate various types of network traffic; use a network traffic generator to generate traffic, use a network analyzer to measure throughput, delay, packet loss rate, bit error rate, etc.; use monitoring tools to obtain network load data. Then, at a 1Gbps bandwidth, record the packet size and transmission time for each test; compare the packet size and bandwidth, calculate the processing time; record the receive and forward time nodes, and calculate the transmission time. Then, calculate the sum of the processing time and transmission time under each test condition, divide it by the total transmission time, and obtain the data transmission delay rate. Then, extract the change values of parameters such as network topology, network load, and link quality; compare the change amplitudes of these parameters in different time periods to determine their change prominence. Then, analyze the impact of network load changes on delay and calculate its promotion probability; similarly, analyze the impact of changes in other environmental parameters on delay and calculate their respective promotion probabilities. Finally, combine the delay rates and the impacts of environmental parameters under all test conditions to construct a performance decay function to describe the performance change trend of the switch under different conditions.
[0085] As can be seen from the above steps S210 to S240, in the solution proposed in this embodiment, by simulating a variety of network test conditions (such as different bandwidths, loads, delay requirements, etc.), a wide range of usage scenarios can be covered, ensuring that the test is not limited to a specific situation but reflects the complexity and diversity in actual applications as much as possible. By using the running state data to determine the data processing time and data transmission time, and thus calculating the data transmission delay rate, not only can the main sources of delay (processing or transmission) be identified, but also the specific degree of delay can be quantified, reflecting the actual performance of the switch under different conditions, rather than just the theoretical best or worst cases. By analyzing the changes in multiple network environment parameters, various fluctuations and anomalies that may occur in the actual network environment can be more realistically simulated. By calculating the promotion probability of each network environment parameter on data transmission delay, it is possible to quantitatively understand which factors have the greatest impact on delay and help identify potential bottlenecks or optimization points. Combining the data transmission delay rate and the impact of changes in network environment parameters to construct a performance decay function can comprehensively reflect the overall performance of the switch under different conditions. This function not only describes the performance under the current test conditions but can also be used to predict the performance of the switch in different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment.
[0086] In an embodiment of the present application, the operating state data includes throughput, latency data, packet loss rate, bit error rate, and network load. Obtaining the operating state data of the target 5G Ethernet switch under multiple network test conditions includes:
[0087] Simulating user behaviors and connection scenarios through a pre-configured end-to-end test tool, and generating various types of network traffic through a pre-configured network traffic generator to form the multiple network test conditions;
[0088] Obtaining the throughput, latency data, packet loss rate, and bit error rate under the multiple network test conditions through a pre-configured network analyzer;
[0089] Obtaining the network load under the multiple network test conditions through a pre-configured monitoring tool.
[0090] Among them, throughput refers to the amount of data transmitted through the network per unit time, usually expressed in Mbps or Gbps. High throughput means that the network can handle more data. Latency data refers to the time required for data to travel from the sender to the receiver, reflecting the network's response speed. Low latency is crucial for real-time applications such as video conferencing and online gaming. Packet loss rate refers to the proportion of packets lost during network transmission. A high packet loss rate may result in incomplete data or the need for retransmission, affecting the user experience. Bit error rate refers to the proportion of errors that occur during data transmission. A low bit error rate is an important indicator of high-quality communication. Network load refers to the level of activity in the current network, including the number of active connections and data traffic. High network load may lead to performance degradation.
[0091] Among them, an end-to-end test tool is a software or hardware device used to simulate user behaviors and connection scenarios, capable of generating real network traffic and evaluating its impact on network devices.
[0092] Among them, user behaviors and connection scenarios refer to the actual user operations and application scenarios simulated in network tests, such as browsing the web, watching videos, making voice calls, etc. It can simulate multiple users accessing the same website simultaneously, or simulate a large number of concurrent connections for video stream transmission.
[0093] Among them, a network traffic generator is a tool used to generate different types and scales of network traffic for testing under different network conditions.
[0094] Among them, a network analyzer is a device or software used to monitor and analyze network traffic, capable of providing detailed network performance metrics such as throughput, latency, packet loss rate, bit error rate, etc.
[0095] Among them, a monitoring tool, which is used to monitor the network status and device operation in real time, can collect information such as network load, CPU usage rate, and memory occupancy.
[0096] Exemplarily, use an end-to-end test tool to simulate various user behaviors and connection scenarios. For example: simulate 100 users accessing a video streaming website simultaneously; simulate 50 concurrent voice calls. Use a network traffic generator to generate different types of network traffic, including: a large number of small data packets (simulating an instant messaging application), a small number of large data packets (simulating file transfer). Through a pre-configured network analyzer, obtain the following data: throughput, which records the amount of data transmitted per second; latency data, which measures the time required for each data packet to be sent and received; packet loss rate, which counts the number of data packets lost during transmission; bit error rate, which checks whether there are transmission errors in the data packets. Through a pre-configured monitoring tool, obtain network load data: record the number of active connections and the total data traffic in the current network. Based on the collected data, calculate the throughput, latency, packet loss rate, and bit error rate under each test condition, and observe the changes in network load. Compare the performance differences under different test conditions to identify potential problem points and optimization directions.
[0097] Exemplarily, refer to Figure 3 , Figure 3 which is a schematic diagram of the test environment provided by an embodiment of the present invention. Figure 3 In , a switch simulation environment is constructed. The switch simulation environment includes 5 network environments, and these 5 network environments are the 5 network test conditions constructed by the above method. After the data is input into these 5 network test conditions, performance indicators are output, and these performance indicators are the above-mentioned operating status data.
[0098] In this embodiment, by simulating various user behaviors and connection scenarios, it is ensured that the test covers a wide range of use cases, thereby more accurately reflecting the performance of the switch in actual applications. Using professional network analyzers and monitoring tools, key performance indicators such as throughput, latency, packet loss rate, bit error rate, and network load can be accurately collected and analyzed. A network traffic generator is used to generate diverse traffic patterns to simulate various situations that may occur in an actual network, such as burst traffic and peak hours.
[0099] In an embodiment of the present application, the multiple network test conditions include: a preset traffic transmission test condition, a preset latency requirement test condition, and a concurrent connection test condition.
[0100] Among them, the preset traffic transmission test conditions refer to the network traffic transmission test carried out under specific bandwidth and packet size, aiming to evaluate the processing ability of the switch under different data volumes and types. For example: high-throughput test, simulating the transmission of a large number of small packets (such as instant messaging messages) or large packets (such as video streams) to evaluate the maximum throughput of the switch; burst traffic test, simulating a sudden increase in data traffic within a short period of time to evaluate the switch's ability to handle emergencies.
[0101] Among them, the preset latency requirement test conditions refer to setting specific maximum latency requirements and testing whether the switch can meet the low-latency requirements under these conditions. Low latency is crucial for real-time applications (such as online games and video conferencing). For example: low-latency test, setting the maximum latency not exceeding 5 ms, simulating latency-sensitive application scenarios such as real-time voice calls or video conferencing to verify whether the switch can meet the low-latency requirements; dynamic latency test, observing the latency changes of the switch under different conditions by changing the network load and traffic patterns to evaluate its stability and response speed.
[0102] Among them, the concurrent connection test conditions refer to establishing multiple network connections and conducting data transmission simultaneously to evaluate the performance of the switch in a high-concurrency environment. The high-concurrency connection test can reveal the bottlenecks and limitations of the switch when handling a large number of concurrent requests. For example: high-concurrency connection test, simulating 1000 or more concurrent connections, with each connection conducting data transmission to evaluate the processing ability and stability of the switch under high load; mixed traffic concurrent test, simultaneously conducting various types of network traffic (such as video streams, file downloads, instant messaging, etc.) to evaluate the comprehensive performance of the switch in complex application scenarios.
[0103] Exemplarily, in order to ensure that the 5G Ethernet switch has high performance in a complex and changeable network environment, it is necessary to simulate a complex and changeable network environment as much as possible during the performance test of the 5G Ethernet switch, that is, configuring relevant ports on the switch and ensuring that all devices (such as test servers, terminal devices, traffic generators, etc.) are connected to these ports; then simulating different network environments and traffic patterns by setting network parameters; using a network traffic generator to simulate different types of network traffic; simulating various actual scenarios (such as large traffic transmission, low-latency requirements, high-concurrency connections, etc.) and conducting a load test on the switch.
[0104] In this embodiment, by simulating different types and scales of network traffic, the performance of the switch in various actual applications can be comprehensively evaluated. For example, high-throughput tests can verify the performance of the switch in big data transmission scenarios, while burst traffic tests can reveal its ability to handle emergencies. Special tests are conducted for latency-sensitive application scenarios to ensure that the switch can provide stable low-latency services in these critical applications. This is crucial for ensuring the user experience, especially in real-time communication and interactive applications. Simulating a high-concurrency environment to evaluate the performance of the switch when handling a large number of concurrent requests. This helps to identify potential bottlenecks and optimization points to ensure that the switch can still operate efficiently under high load. Through different test conditions, the performance of the switch can be accurately evaluated from multiple perspectives (such as throughput, latency, concurrent processing ability, etc.). This multi-dimensional evaluation method can better reflect the true performance of the device than single-dimensional testing. By setting different network conditions and load patterns, various dynamic changes that may occur in the actual network environment are simulated, thus more realistically reflecting the performance of the switch in a complex environment.
[0105] In one embodiment of the present application, after obtaining the operation status data of the target 5G Ethernet switch under multiple network test conditions, it further includes:
[0106] According to the throughput, determine the maximum throughput and use the maximum throughput as the bandwidth;
[0107] Obtain the test time periods corresponding to the same bandwidth among the multiple network test conditions, and the test time periods corresponding to the same bandwidth are used to determine the data processing time and the data transmission time.
[0108] Exemplarily, during the switch performance test, the network bandwidth generally refers to the maximum data transmission rate of the network connection, that is, the data throughput that the switch can support under specific conditions. And a larger data throughput requires lower data latency to meet the performance requirements of the 5G Ethernet switch. During the performance test of the 5G Ethernet switch, it is necessary to simulate a variety of complex and changeable network environments, and then conduct multiple tests and analyses on the performance of the switch. During each test, the maximum throughput of the switch is measured by a traffic generator, that is, this data is recorded as U; then during all test processes, the test time periods with the same data throughput are marked as the subsequent analysis objects. By comparing the data transmission latencies under the same bandwidth conditions, the responsiveness, processing ability, and stability of the 5G Ethernet switch and the network during actual operation can be reflected, which has a certain degree of data support for the performance test of the switch.
[0109] In one embodiment of the present application, the determining of the data processing time and data transmission time corresponding to the same bandwidth among the multiple network test conditions includes:
[0110] Obtain the size of the data packets transmitted during a single test corresponding to the same bandwidth under each of the network test conditions;
[0111] Compare the size of the data packet with the bandwidth to determine the data processing time;
[0112] Obtain the first time node when the target 5G Ethernet switch receives the data packet and the second time node when the target 5G Ethernet switch forwards the data packet during a single test corresponding to the same bandwidth under each of the network test conditions;
[0113] Compare the first time node with the second time node to determine the data transmission time.
[0114] Wherein, in network communication, data is segmented into units of fixed size or variable size for transmission, and these units are called data packets. Each data packet usually contains header information (such as source address, destination address, protocol type, etc.) and payload (the actual data to be transmitted). For example: small data packets, instant messaging messages, may be only dozens to hundreds of bytes; large data packets, video streams or file transfers, may reach thousands of bytes or even larger.
[0115] Exemplarily, data transmission delay refers to the time required for data to be transmitted from the source to the destination, usually measured in milliseconds (ms). The smaller the delay, the faster the network response of the switch when processing data. During a single test of the 5G Ethernet switch, obtain the size of a single data packet during the data transmission process, denoted as G; record the time node when the 5G Ethernet switch obtains the data, denoted as t; and then the time when the data packet is forwarded to the data receiving end, denoted as .
[0116] Exemplarily, the data transmission delay rate can be expressed as:
[0117] ;
[0118] Wherein, is the data transmission delay rate corresponding to the jth network test condition; m is the total number of data packets received by the switch that need to be sent to the target host during a single test; n represents the nth data packet among them; represents the size of the nth data packet; U represents the network bandwidth during the test; is the first time node when the target 5G Ethernet switch receives the data packet; The second time node for the target 5G Ethernet switch to forward data packets.
[0119] Among them, represents the data processing time, including the time for operations such as analyzing data packets, looking up the address table, and determining the forwarding port. The longer the data processing time, the greater the processing delay for the data packet; represents the data transmission time; That is, it represents the data transmission delay rate for all data packets during this test process. The greater the data transmission delay rate, the higher the delay of the switch for data transmission under the j-th network test condition, that is, the greater.
[0120] In this embodiment, by accurately calculating the processing time and transmission time of data packets, the performance of each link in the data transmission process of the switch can be analyzed in detail. This helps to identify whether it is the processing link or the transmission link that causes the performance bottleneck. According to the specific values of the processing time and transmission time, targeted optimization can be carried out. For example, if it is found that the processing time is long, the performance can be improved by upgrading the hardware or optimizing the algorithm; if the transmission time is long, it may be necessary to improve the network topology or link quality. By obtaining multiple test time periods under the same bandwidth, the performance of the switch in different time periods can be dynamically evaluated. This dynamic evaluation method can better reflect the true performance of the switch in the actual application scenario. By comparing the processing time and transmission time of different time periods, the response ability of the switch in case of emergencies (such as sudden increase in traffic) can be evaluated to ensure that it can still operate efficiently under high load conditions. By setting a unified bandwidth benchmark and test time period, the test process can be standardized, the influence of human factors on the test results can be reduced, and the reliability and repeatability of the test can be improved. Conducting tests under the same bandwidth condition simplifies the subsequent data analysis work. Researchers can directly compare the performance indicators of different time periods and quickly discover potential problems and optimization points.
[0121] In an embodiment of the present application, if multiple tests are performed under each of the network test conditions, the average value of the data transmission delay rates obtained from the multiple tests is used as the target data transmission delay rate, and the target data transmission delay rate is used to construct the performance attenuation function corresponding to the target 5G Ethernet switch.
[0122] Exemplarily, if there are multiple tests during the Ethernet performance test under the same network environment conditions to improve the test accuracy, then the average value of the data transmission delay rates in all test processes is denoted as which is the target data transmission delay rate.
[0123] In this embodiment, by performing multiple tests and taking the average value, the random error in a single test can be effectively reduced, and the accuracy of the data transmission delay rate can be improved. This method can better reflect the true performance of the switch. The results of multiple tests are more stable and consistent, enhancing the credibility of the test results and providing a solid foundation for subsequent performance evaluation and optimization.
[0124] In an embodiment of the present application, the determining the change prominence corresponding to multiple network environment parameters under each of the network test conditions includes:
[0125] Screen the data transmission delay rates corresponding to each of the network test conditions to determine the time periods with the same average value of the data transmission delay rate in each of the network test conditions;
[0126] In the time periods with the same average value of the data transmission delay rate in each of the network test conditions, extract the measured values of the network topology, network load, and link quality, and use the measured values of the network topology, network load, and link quality as the multiple network environment parameters;
[0127] Compare the network environment parameters under the network test condition with the same network environment parameters in any other network test condition, and determine the change prominence according to the comparison result.
[0128] Among them, by analyzing the data transmission delay rates under different network test conditions, find the time periods with the same average delay rate. These time periods represent the relatively stable state of network performance under specific conditions. Suppose within a test cycle, the average values of the data transmission delay rate in some time periods (such as 0 - 5 minutes, 10 - 15 minutes) are relatively close (for example, both are 3.8 ms), then these time periods can be regarded as the time periods with the same average delay rate.
[0129] Among them, compare the network environment parameters (such as network topology, network load, link quality) under a certain network test condition with the corresponding parameters under other conditions, calculate the change amplitude, and determine the change prominence according to the change amplitude. Suppose under network test condition A, the network load is 500 Mbps, while under condition B, the network load is 200 Mbps, then the change prominence of the network load is larger, indicating that this parameter has a significant change under different conditions.
[0130] Exemplarily, for all data transmission delay rates corresponding to network test conditions, they are screened, the time periods with the same average data transmission delay rate in the network test conditions are divided and marked. Then the network environment parameters affecting data transmission delay are classified into: network topology, network load, link quality, etc. The above network environment parameters are used as the main target objects. In the network topology, it is represented by the physical path length of packet transmission, denoted as l; then the network load is the number of data sent by users at different nodes during the test time period. The total amount of data sent during the test time period with the same data delay is fitted to obtain a fitting curve, and the fluctuation variance of this fitting curve is denoted as T; the link quality is represented by the fluctuation value of the signal monitoring curve of the wireless link during the test. In a large-scale network environment, a longer path will result in a greater data transmission delay; when multiple users or applications in the network send a large amount of data simultaneously, network congestion may occur. Network congestion will cause packet queuing, loss or retransmission, thus increasing the delay; when the link quality is poor, the errors during transmission will increase, which will also increase the data transmission delay.
[0131] Exemplarily, the way to represent the change prominence can be:
[0132] ;
[0133] where is the change prominence corresponding to the r-th network environment parameter in the j-th network test condition; L represents the measured value of the r-th type of network environment parameter under the j-th network test condition. Assume there are a total of V + j network test conditions; represents the measured value of the same network environment parameter in the x-th network test condition except the j-th network test condition.
[0134] where represents the change prominence of the r-th type of network environment parameter in this test condition compared to other test conditions during the test time period with the same data transmission delay under different network test conditions; under the condition of the same data transmission delay, the greater the change prominence of the r-th network environment parameter in the j-th network test condition compared to this type of network environment parameter in other stages, that is, this type of parameter has a closer relationship with the change of data transmission delay.
[0135] In this embodiment, by screening out time periods with the same average delay rate, it is possible to ensure that the network performance is relatively stable during these time periods, thus providing a reliable performance evaluation benchmark. This method can effectively reduce random fluctuations and noise interference during the test, and improve the accuracy and reliability of the test results. By extracting and comparing changes in environmental parameters such as network topology, network load, and link quality, it is possible to comprehensively evaluate the impact of these parameters on network performance and identify key factors and potential bottlenecks. By calculating the change prominence, it is possible to quantitatively analyze the change amplitude of network environmental parameters and their impact on data transmission delay, and help discover potential instability factors.
[0136] In an embodiment of the present application, based on the change prominence, analyzing the promotion effect of changes in the multiple network environmental parameters on data transmission delay to obtain the promotion probability corresponding to each of the network environmental parameters includes:
[0137] Determine the traffic data curve corresponding to the network test condition according to the operation state data;
[0138] Determine the time node at which the traffic data mutates according to the traffic data curve;
[0139] Determine the traffic mutation degree according to the measured value corresponding to the time node at which the traffic data mutates and the measured values corresponding to the nodes before the time node at which the traffic data mutates;
[0140] Combine the change prominence and the traffic mutation degree to determine the promotion probability corresponding to each of the network environmental parameters.
[0141] Among them, the traffic data curve refers to a graph showing the change of data transmission rate over time during a network test. It reflects the change trend and fluctuation of data traffic in the network. For example: within a certain test period (such as 1 hour), the data transmission rate (in Mbps) is recorded once per second, and a curve graph formed by these data points is plotted.
[0142] Among them, the time node at which the traffic data mutates refers to the time point at which significant changes occur on the network traffic data curve. These mutations may indicate burst traffic, link failures, or other abnormal conditions in the network. Assume that within a test period, the traffic data curve suddenly increases from 200 Mbps to 500 Mbps at the 10th minute, then the 10th minute is the time node at which the traffic data mutates.
[0143] Exemplarily, since the prominence of network environment parameters may not be able to well express the promoting effect of this type of environmental parameters on data latency, and there are different traffic patterns under different network environment conditions, the influence of the traffic pattern on the latency performance is combined to improve the credibility of the promoting effect of this type of parameters on data transmission latency. Refer to Figure 4 , Figure 4 which is a schematic diagram of the traffic data curve provided by an embodiment of the present invention. The traffic pattern during the test is simulated through an end-to-end test tool to obtain the traffic data curve in the test time period under the j-th test condition as shown in Figure 4 ; then a set of slope values is calculated between two adjacent data points in the traffic data curve, and then all the slope values are divided into positive and negative values. A positive value indicates an increase in traffic data; a negative value indicates a decrease in traffic data; and all positive slope values are marked; then each set of slope values is multiplied by the traffic value represented by the subsequent data point in the slope value, and the product is denoted as H; all the products are traversed to locate the time node in the largest set of products, and this time node is used as the time node when the traffic data mutates; the traffic value at this node is denoted as R; the average value of all traffic values before this node is denoted as D.
[0144] Exemplarily, the representation of the promotion probability can be:
[0145] ;
[0146] wherein, is the promotion probability corresponding to the r-th network environment parameter in the j-th network test condition; is the prominence of the r-th network environment parameter in the j-th network test condition; represents the traffic mutation degree in the switch under this test condition. The greater the traffic mutation degree, the more it indicates that the network traffic has suddenly increased during this test time period, and the burst traffic may cause network congestion and latency fluctuations.
[0147] wherein, the greater it is, the higher the promotion probability of this type of network environment parameter for data transmission latency.
[0148] Different network environment parameters have different promotion probabilities for data transmission latency. For the performance test system of 5G Ethernet switches, different degrees of promotion help to understand the real reasons behind data latency. By constructing a switch performance attenuation function, the operating state and performance of the switch under different network environment conditions can be interpreted more comprehensively.
[0149] In this embodiment, by plotting the traffic data curve and determining the mutation time node, sudden traffic or abnormal conditions in the network can be accurately identified, which helps to locate the root cause of the problem. By calculating the traffic mutation degree and the change prominence degree, the change range of network environment parameters and its impact on data transmission delay can be quantitatively analyzed, providing more detailed and accurate performance analysis results. By analyzing the traffic mutation and the changes of environmental parameters, various dynamic change situations that may occur in the actual application scenario can be better simulated, ensuring that the switch can still operate efficiently in a complex environment. By identifying and quantifying the changes of environmental parameters, the switch can better cope with sudden situations and abnormal events, improving the robustness and fault tolerance of the system.
[0150] In one embodiment of the present application, constructing the performance attenuation function corresponding to the target 5G Ethernet switch according to the data transmission delay rates corresponding to the respective network test conditions and the promotion probabilities corresponding to the respective network environment parameters includes:
[0151] Constructing a promotion probability change curve of the same network environment parameter among the multiple network test conditions according to the promotion probabilities corresponding to the respective network environment parameters;
[0152] Constructing a data transmission delay rate change curve of the multiple network test conditions according to the data transmission delay rates corresponding to the respective network test conditions;
[0153] Analyzing the change relationship between the promotion probability change curve and the data transmission delay rate change curve, and determining the weight values corresponding to the respective network environment parameters according to the change relationship between the promotion probability change curve and the data transmission delay rate change curve;
[0154] Representing the performance attenuation rate of the target 5G Ethernet switch during the test through the weight values and measured values corresponding to the respective network environment parameters, so as to construct the performance attenuation function corresponding to the target 5G Ethernet switch.
[0155] Among them, the promotion probability change curve is a change trend graph of these parameters under different test conditions drawn according to the promotion probabilities corresponding to the respective network environment parameters. This curve reflects the contribution of each network environment parameter to data transmission delay with the change of test conditions.
[0156] Among them, the data transmission delay rate change curve is a change trend graph of these delay rates under different test conditions drawn according to the data transmission delay rates corresponding to the respective network test conditions. This curve reflects the data transmission delay performance of the switch under different test conditions.
[0157] Among them, by analyzing the correlation between the promotion probability change curve and the data transmission delay rate change curve, the influence degree (weight value) of each network environment parameter on the overall performance attenuation is determined, which helps to quantify the importance of each parameter.
[0158] Exemplarily, refer to Figure 5 , Figure 5 which is a schematic diagram of the promotion probability change curve and the data transmission delay rate change curve provided by an embodiment of the present invention. Figure 5 The continuous line segment in Figure 5 is the data transmission delay rate curve, that is, the data transmission delay rate change curve in this embodiment; Figure 5 The discontinuous line segment in Figure 5 is the network environment parameter promotion rate change curve, that is, the promotion probability change curve in this embodiment. During the performance test of the 5G Ethernet switch, by simulating the changeable and complex requirements of the test network environment, the performance of the switch under different test environment conditions is interpreted, and then through more comprehensive data, the switch performance attenuation function under different network environment conditions during the test process is generated. For a class of values of a class of network environment parameters under a class of test environment conditions, such as the physical path length of data transmission, the fluctuation value of the data volume, etc.; then fitting is carried out in the order of the test, and then
[0159] The promotion probability change curve of a class of network environment parameters for transmission delay under different test environment conditions in
[0160] ;
[0161] wherein, is the weight value corresponding to the r-th class of network environment parameters; represents the change relationship between the promotion probability change curve of different network environments and the data transmission delay rate change curve, the smaller the value of , the stronger the data change correlation, that is, the greater the weight value of this class of network environment parameters in the process of constructing the performance attenuation function, that is is calculated through the mean square error. During the calculation of the mean square error, the ordinates of the two curves need to be normalized or standardized, and then calculated after unifying the dimension. represents a preset adjustment parameter. To prevent the denominator from being 0, in this embodiment, the preset adjustment parameter is 0.01. In specific applications, the implementer can set it according to the specific situation.
[0162] Finally, construct the performance attenuation function of the 5G Ethernet switch: ; where represents the weight value of the network environment parameters; represents the actual measured value or the curve fluctuation value of the network environment parameters during the test; y represents the performance attenuation rate during the test. By constructing the performance attenuation function during the test of the 5G Ethernet switch, through the weight value and the fluctuation value of the network environment parameters, it can accurately reflect the impact of different network environments on the switch performance. According to the output result of the performance attenuation function, network engineers can better optimize the switch configuration, adjust the network topology or increase the bandwidth to ensure that the switch can maintain good performance in various network environments. It effectively solves the problem that the existing test methods and systems for performance testing are based on a static network environment, resulting in the test results not being able to accurately reflect the performance of the switch in complex and changing environments.
[0163] In this embodiment, by constructing the promotion probability change curve and the data transmission delay rate change curve, the specific impact of each network environment parameter on the data transmission delay can be analyzed in detail, providing a more accurate performance evaluation result. By analyzing the change relationship and determining the weight value, the network environment parameter with the greatest impact on performance can be identified to help locate the root cause of the problem. By analyzing the change relationship under different test conditions, various dynamic change situations that may occur in the actual application scenario can be better simulated to ensure that the switch can still operate efficiently in complex environments. By identifying and quantifying the changes in environmental parameters, the switch can better cope with emergencies and abnormal events, improving the robustness and fault tolerance of the system.
[0164] Figure 6 The following is a schematic structural diagram of a 5G Ethernet switch test system provided by an embodiment of the present invention. This system can be applied to Figure 1 the implementation environment shown. This system can also be applicable to other exemplary implementation environments and is specifically configured in other devices. This embodiment does not limit the implementation environment applicable to this system.
[0165] As Figure 6 shown, this exemplary 5G Ethernet switch test system includes:
[0166] A data acquisition module 601, configured to acquire the operation status data of the target 5G Ethernet switch under multiple network test conditions;
[0167] A data transmission delay rate determination module 602, configured to determine, according to the operation state data, the data processing time and the data transmission time corresponding to the same bandwidth among the multiple network test conditions, and determine the data transmission delay rate corresponding to each of the network test conditions according to the data processing time and the data transmission time;
[0168] A promotion probability determination module 603, configured to determine, according to the operation state data, the change prominence corresponding to multiple network environment parameters under each of the network test conditions, and analyze the promotion effect of the changes of the multiple network environment parameters on the data transmission delay based on the change prominence, so as to obtain the promotion probability corresponding to each of the network environment parameters;
[0169] A function construction module 604, configured to construct a performance attenuation function corresponding to the target 5G Ethernet switch according to the data transmission delay rate corresponding to each of the network test conditions and the promotion probability corresponding to each of the network environment parameters, where the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.
[0170] In this exemplary 5G Ethernet switch test system, by simulating a variety of network test conditions (such as different bandwidths, loads, delay requirements, etc.), a wide range of usage scenarios can be covered, ensuring that the test is not limited to a specific situation, but reflects the complexity and diversity in actual applications as much as possible. By using the operation state data to determine the data processing time and the data transmission time, and thus calculating the data transmission delay rate, not only can the main source of delay (processing or transmission) be identified, but also the specific degree of delay can be quantified, reflecting the actual performance of the switch under different conditions, rather than just the theoretical best or worst case. By analyzing the changes of multiple network environment parameters, various fluctuations and abnormal conditions that may occur in the actual network environment can be more realistically simulated. By calculating the promotion probability of each network environment parameter on the data transmission delay, it is possible to quantitatively understand which factors have the greatest impact on the delay, helping to identify potential bottlenecks or optimization points. Combining the data transmission delay rate and the impact of the changes in network environment parameters to construct a performance attenuation function can comprehensively reflect the overall performance of the switch under different conditions. This function not only describes the performance under the current test conditions, but can also be used to predict the performance of the switch in different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment.
[0171] It should be noted that the 5G Ethernet switch test system provided in the above embodiments and the 5G Ethernet switch test method provided in the above embodiments belong to the same concept. The specific manners in which each module and unit perform operations have been described in detail in the method embodiments, and will not be elaborated here. In practical applications, the 5G Ethernet switch test system provided in the above embodiments can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the system into different functional modules to complete all or part of the functions described above, and this will not be limited here either.
[0172] It should be noted that: the above sequence of the embodiments of the present invention is only for description and does not represent the superiority or inferiority of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0173] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments.
Claims
1. A 5G Ethernet switch testing method, characterized in that The method includes: Obtaining the operation status data of the target 5G Ethernet switch under multiple network test conditions, where the multiple network test conditions include: preset traffic transmission test conditions, preset latency requirement test conditions, and concurrent connection test conditions; According to the operation status data, determining the data processing time and data transmission time corresponding to the same bandwidth among the multiple network test conditions, and determining the data transmission latency rate corresponding to each network test condition according to the data processing time and data transmission time; According to the operation status data, determining the change prominence corresponding to multiple network environment parameters under each network test condition, and analyzing the promotion effect of the changes of the multiple network environment parameters on data transmission latency based on the change prominence, to obtain the promotion probability corresponding to each network environment parameter, where the change prominence is used to represent the change range of the network environment parameter and the influence degree of the network environment parameter on data transmission latency during the network test process, and the promotion probability is used to represent the probability value of the contribution degree of the change of the network environment parameter to data transmission latency; Constructing a performance degradation function corresponding to the target 5G Ethernet switch according to the data transmission latency rate corresponding to each network test condition and the promotion probability corresponding to each network environment parameter, where the performance degradation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test and the performance change trend of the target 5G Ethernet switch under different conditions.
2. The 5G Ethernet switch testing method according to claim 1, wherein The operation status data includes throughput, latency data, packet loss rate, bit error rate, and network load. The obtaining of the operation status data of the target 5G Ethernet switch under multiple network test conditions includes: Simulating user behaviors and connection scenarios through a pre-configured end-to-end test tool, and generating various types of network traffic through a pre-configured network traffic generator to form the multiple network test conditions; Obtaining the throughput, latency data, packet loss rate, and bit error rate under the multiple network test conditions through a pre-configured network analyzer; Obtaining the network load under the multiple network test conditions through a pre-configured monitoring tool.
3. The 5G Ethernet switch testing method according to claim 2, characterized in that, After obtaining the operation status data of the target 5G Ethernet switch under multiple network test conditions, it further includes: Determining the maximum throughput according to the throughput, and using the maximum throughput as the bandwidth; Obtaining the test time period corresponding to the same bandwidth among the multiple network test conditions, where the test time period corresponding to the same bandwidth is used to determine the data processing time and data transmission time.
4. The 5G Ethernet switch testing method according to claim 1, characterized in that The determining of the data processing time and data transmission time corresponding to the same bandwidth among the multiple network test conditions includes: Obtaining the size of the transmitted data packet during a single test corresponding to the same bandwidth under each network test condition; Comparing the size of the data packet and the bandwidth to determine the data processing time; Obtaining the first time node when the target 5G Ethernet switch receives the data packet and the second time node when the target 5G Ethernet switch forwards the data packet during a single test corresponding to the same bandwidth under each network test condition; Compare the first time node and the second time node to determine the data transmission time.
5. The 5G Ethernet switch testing method according to claim 1, characterized in that: If multiple tests are performed under each of the network test conditions, the average value of the data transmission delay rates obtained from the multiple tests is used as the target data transmission delay rate, and the target data transmission delay rate is used to construct a performance decay function corresponding to the target 5G Ethernet switch.
6. The 5G Ethernet switch testing method according to claim 1, characterized in that, The determination of the change prominence corresponding to multiple network environment parameters under each of the network test conditions includes: Screen the data transmission delay rates corresponding to each of the network test conditions to determine the time periods in which the average values of the data transmission delay rates in each of the network test conditions are the same; In the time periods in which the average values of the data transmission delay rates in each of the network test conditions are the same, extract the measured values of the network topology, network load, and link quality, and use the measured values of the network topology, network load, and link quality as the multiple network environment parameters; Compare the network environment parameters under the network test condition with the same network environment parameters in any other network test condition, and determine the change prominence according to the comparison result.
7. The 5G Ethernet switch testing method according to claim 1, wherein The analysis of the promotion effect of the changes in the multiple network environment parameters on the data transmission delay based on the change prominence to obtain the promotion probability corresponding to each of the network environment parameters includes: Determine the traffic data curve corresponding to the network test condition according to the operation state data; Determine the time node at which the traffic data changes abruptly according to the traffic data curve; Determine the traffic mutation degree according to the measured value corresponding to the time node at which the traffic data changes abruptly and the measured values corresponding to the nodes before the time node at which the traffic data changes abruptly; Combine the change prominence and the traffic mutation degree to determine the promotion probability corresponding to each of the network environment parameters.
8. The 5G Ethernet switch testing method according to claim 1, wherein The construction of the performance decay function corresponding to the target 5G Ethernet switch according to the data transmission delay rates corresponding to each of the network test conditions and the promotion probabilities corresponding to each of the network environment parameters includes: Construct a promotion probability change curve of the same network environment parameters in the multiple network test conditions according to the promotion probabilities corresponding to each of the network environment parameters; Construct a data transmission delay rate change curve of the multiple network test conditions according to the data transmission delay rates corresponding to each of the network test conditions; Analyze the change relationship between the promotion probability change curve and the data transmission delay rate change curve, and determine the weight value corresponding to each of the network environment parameters according to the change relationship between the promotion probability change curve and the data transmission delay rate change curve; Represent the performance decay rate of the target 5G Ethernet switch during the test through the weight value and the measured value corresponding to each of the network environment parameters, so as to construct a performance decay function corresponding to the target 5G Ethernet switch.
9. A 5G Ethernet switch testing system, characterized in that, The system includes: A data acquisition module, configured to acquire the operation status data of a target 5G Ethernet switch under multiple network test conditions, where the multiple network test conditions include: a preset traffic transmission test condition, a preset latency requirement test condition, and a concurrent connection test condition; A data transmission latency rate determination module, configured to determine the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions according to the operation status data, and determine the data transmission latency rate corresponding to each network test condition according to the data processing time and the data transmission time; A promotion probability determination module, configured to determine the change prominence corresponding to multiple network environment parameters under each network test condition according to the operation status data, and analyze the promotion effect of the changes in the multiple network environment parameters on data transmission latency based on the change prominence, to obtain the promotion probability corresponding to each network environment parameter, where the change prominence is used to represent the change amplitude of the network environment parameters and the influence degree of the network environment parameters on data transmission latency during the network test, and the promotion probability is used to represent the probability value of the contribution degree of the change in the network environment parameters to data transmission latency; A function construction module, configured to construct a performance attenuation function corresponding to the target 5G Ethernet switch according to the data transmission latency rate corresponding to each network test condition and the promotion probability corresponding to each network environment parameter, where the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test and the performance change trend of the target 5G Ethernet switch under different conditions.
Citation Information
Patent Citations
Switch reliability test method and system
CN118573608A