5G Ethernet switch test method and system

By acquiring and analyzing the operating status data of 5G Ethernet switches under multiple network testing conditions, calculating the data transmission delay rate and analyzing the changes in network environment parameters, and building a performance attenuation function, the problem that existing testing methods cannot comprehensively evaluate the overall performance of the switch is achieved, and accurate and comprehensive testing is achieved.

CN119815397AActive Publication Date: 2025-04-11SHENZHEN TEFA TYCO COMM TECH CO LTD

Patent Information

Application Number
CN202510294474.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-04-11
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

The existing 5G Ethernet switch testing methods cannot comprehensively evaluate the switch's comprehensive performance under multiple complex network conditions, and cannot simulate network fluctuations and load fluctuations in actual scenarios, resulting in inaccurate test results.

Method used

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 under the same bandwidth, calculating the data transmission delay rate, and analyzing the effect of changes in network environment parameters on delay, and building a performance attenuation function to reflect the performance characteristics of the switch.

Benefits of technology

A comprehensive and accurate test of 5G Ethernet switches is realized, covering a wide range of usage scenarios, identifying the main sources and specific degrees of delays, simulating fluctuations and abnormalities in the actual network environment, quantitatively analyzing factors affecting delays, and building a performance decay function that can predict switch performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119815397A_ABST
    Figure CN119815397A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of digital information transmission, in particular to a 5G Ethernet switch testing method and system, and the method comprises the steps: obtaining the operation state data of a target 5G Ethernet switch under a plurality of network testing conditions; determining data processing time and data transmission time corresponding to the same bandwidth in the plurality of network test conditions according to the running state data, and determining a data transmission delay rate of each network test condition according to the data processing time and the data transmission time; according to the operation state data, determining the change prominence of a plurality of network environment parameters under each network test condition, analyzing the promotion effect of the change of the network environment parameters on data transmission delay, and obtaining the promotion probability of each network environment parameter; and constructing a performance attenuation function of the target 5G Ethernet switch according to the data transmission delay rate of each network test condition and the promotion probability of each network environment parameter. According to the invention, the overall performance of the switch under different conditions can be comprehensively and accurately reflected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital information transmission, and in particular to a 5G Ethernet switch testing method and system. Background Art

[0002] 5G is the fifth generation of mobile communication technology. It is the latest generation of cellular network technology after 4G (the fourth generation of mobile communication technology, including: LTE (LongTerm Evolution), WiMAX (Worldwide Interoperability for MicrowaveAccess)). 5G not only improves data transmission speed, but also significantly reduces latency, and improves system capacity and the ability to connect large-scale devices. With the rapid development of 5G communication technology, the performance requirements of communication networks have also increased significantly. The construction and maintenance of 5G networks need to rely on high-performance network equipment, among which 5G Ethernet switches are an important part of supporting 5G network infrastructure; 5G networks have significantly improved in bandwidth, latency, reliability, etc. compared with 4G, 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 the existing communication standards. In order to meet these requirements, 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 specific performance dimension, such as throughput, latency or load balancing. Due to the complexity and diversified requirements of 5G networks, the testing method of a single performance dimension cannot comprehensively evaluate the comprehensive performance of 5G Ethernet switches under a variety of complex network conditions, and cannot reflect the comprehensive capabilities of the switch in actual applications. In addition, the testing method of a single performance dimension often relies on a static network environment and fails to simulate dynamic factors such as network fluctuations and load fluctuations that may occur in actual scenarios, resulting in the test results being unable to 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 that needs to be solved. Summary of the invention

[0005] In order to solve the technical problem of how to comprehensively and accurately test a 5G Ethernet switch, the purpose of the present invention is to provide a 5G Ethernet switch testing method and system. The technical solution adopted is as follows: The present application provides a 5G Ethernet switch testing method, the method comprising: Obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; Determine, according to the running status data, data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions, and determine, according to the data processing time and data transmission time, a data transmission delay rate corresponding to each of the network test conditions; Determine, according to the operation status data, the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions, and based on the change prominence, analyze the promotion effect of the changes of the plurality of network environment parameters on the data transmission delay, and obtain the promotion probability corresponding to each of the network environment parameters; 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, a performance attenuation function corresponding to the target 5G Ethernet switch is constructed, and the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

[0006] In some embodiments, the operating status data includes throughput, delay data, packet loss rate, bit error rate, and network load, and obtaining the operating 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 throughput, delay data, packet loss rate, and bit error rate under the multiple network test conditions through a pre-configured network analyzer; The network load under the multiple network test conditions is obtained through a pre-configured monitoring tool.

[0007] In some embodiments, the multiple network test conditions include: preset traffic transmission test conditions, preset delay requirement test conditions, and concurrent connection test conditions.

[0008] In some embodiments, after obtaining the operating status data of the target 5G Ethernet switch under multiple network test conditions, the method further includes: Determine a maximum throughput according to the throughput, and use the maximum throughput as the bandwidth; A test time period corresponding to a same bandwidth in the multiple network test conditions is obtained, where the test time period corresponding to the same bandwidth is used to determine the data processing time and the data transmission time.

[0009] In some embodiments, determining the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions includes: Obtaining the size of a transmitted data packet during a single test corresponding to the same bandwidth under each of the network test conditions; Comparing the size of the data packet with the bandwidth to determine the data processing time; Obtaining a first time node at which the target 5G Ethernet switch receives the data packet and a second time node at which 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; The first time node and the second time node are compared to determine the data transmission time.

[0010] In some embodiments, if multiple tests are performed under each of the network test conditions, the average 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 attenuation function corresponding to the target 5G Ethernet switch.

[0011] In some embodiments, determining the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions includes: Screening the data transmission delay rates corresponding to the network test conditions, and determining time periods in which the average values ​​of the data transmission delay rates in the network test conditions are the same; Extracting the measured values ​​of network topology, network load, and link quality in the time period when the average value of the data transmission delay rate in each of the network test conditions is the same, and using the measured values ​​of the network topology, network load, and link quality as the multiple network environment parameters; The network environment parameter under the network test condition is compared with the same network environment parameter in any other network test condition, and the change prominence is determined based on the comparison result.

[0012] In some embodiments, analyzing the promotion effect of the changes of the plurality of 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: Determining a flow data curve corresponding to the network test condition according to the operating status data; According to the flow data curve, determining the time point when the flow data suddenly changes; Determine the traffic mutation degree according to the measurement value corresponding to the time node at which the traffic data mutation occurs and the measurement value corresponding to the node before the time node at which the traffic data mutation occurs; The promotion probability corresponding to each of the network environment parameters is determined by combining the change prominence and the traffic mutation degree.

[0013] In some embodiments, constructing 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 includes: According to the promotion probability corresponding to each of the network environment parameters, construct a promotion probability change curve of the same network environment parameter in the multiple network test conditions; Constructing a data transmission delay rate variation curve of the plurality of network test conditions according to the data transmission delay rate corresponding to each of the network test conditions; Analyzing the change relationship between the promotion probability change curve and the data transmission delay rate change curve, and determining 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; The performance attenuation rate of the target 5G Ethernet switch during the test is represented by the weight values ​​and measurement values ​​corresponding to each of the network environment parameters to construct a performance attenuation function corresponding to the target 5G Ethernet switch.

[0014] The present application also provides a 5G Ethernet switch testing system, the system comprising: A data acquisition module, used to obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; a data transmission delay rate determination module, configured to determine, according to the operation status data, data processing time and data transmission time corresponding to the same bandwidth in the plurality of network test conditions, and determine, according to the data processing time and data transmission time, a data transmission delay rate corresponding to each of the network test conditions; a promotion probability determination module, configured to determine, according to the operation status data, the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions, and based on the change prominence, analyze the promotion effect of the changes in the plurality of network environment parameters on the data transmission delay, and obtain the promotion probability corresponding to each of the network environment parameters; A function construction module is used 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, wherein the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

[0015] The present invention has the following beneficial effects: First, the operation status data of the target 5G Ethernet switch under multiple network test conditions are obtained; then, according to the operation status data, the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions are determined, and according to the data processing time and data transmission time, the data transmission delay rate corresponding to each of the network test conditions is determined; then, according to the operation status data, the change prominence corresponding to the multiple network environment parameters under each of the network test conditions is determined, and based on the change prominence, the promotion effect of the change of the multiple network environment parameters on the data transmission delay is analyzed to obtain the promotion probability corresponding to each of the network environment parameters; finally, 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, the performance attenuation function corresponding to the target 5G Ethernet switch is constructed, and the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test. In this application, by simulating multiple 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 determining the data processing time and data transmission time through the running status data, the data transmission delay rate can be calculated. This can not only identify the main source of delay (processing or transmission), but also quantify the specific degree of delay, 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 abnormalities that may occur in the actual network environment can be more realistically simulated. By calculating the probability of each network environment parameter promoting data transmission delay, we can quantitatively understand which factors have the greatest impact on delay, helping to identify potential bottlenecks or optimization points. Combining the impact of changes in data transmission delay rate and network environment parameters, a performance attenuation function is constructed to fully 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

[0016] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 A schematic diagram of an implementation environment of a 5G Ethernet switch testing method provided by an embodiment of the present invention; Figure 2 A flowchart of a 5G Ethernet switch testing method provided by an embodiment of the present invention; Figure 3 A schematic diagram of a test environment provided by an embodiment of the present invention; Figure 4 A schematic diagram of a flow data curve provided by an embodiment of the present invention; 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; Figure 6 A schematic diagram of the structure of a 5G Ethernet switch testing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a 5G Ethernet switch testing method and system proposed by the present invention, its specific implementation, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0019] It should be noted that the terms "first", "second", etc. in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0020] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0021] The following is a detailed description of a 5G Ethernet switch testing method and system provided by the present invention in conjunction with the accompanying drawings.

[0022] See also Figure 1 , Figure 1 A schematic diagram of an implementation environment of a 5G Ethernet switch testing method provided by an embodiment of the present invention. Figure 1 As shown, the implementation environment includes a test terminal 101 and a target 5G Ethernet switch 102. The test terminal 101 may be a terminal device configured with a 5G Ethernet switch test system, including but not limited to a laptop, tablet computer, PDA, PAD (tablet computer), desktop computer, etc. with local computing capabilities; the 5G Ethernet switch test system may be implemented in the form of a target client, and the target client may be a client that supports 5G Ethernet switch testing, such as a video client, an instant messaging client, a browser client, etc.; the test terminal 101 may, but is not limited to, communicate with the target 5G Ethernet switch 102 through a network, and the network may include but is not limited to: a wired network, a wireless network, wherein 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 test terminal 101 may, but is not limited to, include a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen may, but is not limited to, be used to display test results. The processor may, but is not limited to, be used to respond to human-computer interaction operations, perform corresponding operations, or generate corresponding instructions.

[0023] As an optional method, the number of target 5G Ethernet switches 102 can be multiple; the test terminal 101 can obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions.

[0024] As an optional manner, the test terminal 101 may also be a server, which may 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 limitation to this.

[0025] As an optional method, the following steps of the 5G Ethernet switch testing method may be performed on the test terminal 101: Obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; Determine, according to the running status data, data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions, and determine, according to the data processing time and data transmission time, a data transmission delay rate corresponding to each of the network test conditions; Determine, according to the operation status data, the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions, and based on the change prominence, analyze the promotion effect of the changes of the plurality of network environment parameters on the data transmission delay, and obtain the promotion probability corresponding to each of the network environment parameters; 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, a performance attenuation function corresponding to the target 5G Ethernet switch is constructed, and the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

[0026] In the above method, by simulating a variety of network test conditions (such as different bandwidth, load, 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 of actual applications as much as possible. By determining the data processing time and data transmission time through the running status data, and then calculating the data transmission delay rate, it can not only identify the main source of delay (processing or transmission), but also quantify the specific degree of delay, 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 abnormal situations that may occur in the actual network environment can be more realistically simulated. By calculating the probability of each network environment parameter promoting data transmission delay, it is possible to quantitatively understand which factors have the greatest impact on delay, helping to identify potential bottlenecks or optimization points. Combining the impact of changes in data transmission delay rate and network environment parameters, a performance decay function is constructed, which 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 under different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment.

[0027] As an optional example, this embodiment does not limit the execution subject of the above-mentioned 5G Ethernet switch testing method. The above-mentioned 5G Ethernet switch testing method can be executed on the test terminal 101. For example, when the test terminal 101 is a desktop computer, some or all steps of the above-mentioned 5G Ethernet switch testing method can be executed on the desktop computer.

[0028] The above section introduces the contents of an exemplary implementation environment for applying the technical solution of the present application. Next, the 5G Ethernet switch testing method of the present application will be introduced.

[0029] In order to solve the problem of how to comprehensively and accurately test a 5G Ethernet switch in the prior art, the embodiments of the present application respectively propose a 5G Ethernet switch testing method and a 5G Ethernet switch testing system, which will be described in detail below.

[0030] See also Figure 2 , Figure 2 A flow chart of a 5G Ethernet switch testing method provided by an embodiment of the present invention, which can be applied to Figure 1It should be understood that the method can also be applied to other exemplary implementation environments and specifically executed by devices in other implementation environments, and this embodiment does not limit the implementation environment to which the method is applicable.

[0031] like Figure 2 As shown, in an exemplary embodiment, the 5G Ethernet switch testing method includes at least steps S210 to S240, which are described in detail as follows: In step S210, operating status data of the target 5G Ethernet switch under multiple network test conditions is obtained.

[0032] Among them, network test conditions refer to various preset scenarios or environments used to evaluate the performance of 5G Ethernet switches, such as different bandwidth, load, and latency requirements.

[0033] Among them, the operating status data refers to the real-time operating data of the target 5G Ethernet switch under specific network test conditions, including throughput, delay data, packet loss rate, bit error rate, network load, etc.

[0034] Bandwidth refers to the maximum amount of data that can be transmitted per unit time in network communication, usually expressed in Mbps or Gbps.

[0035] In step S220, the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions are determined according to the operating status data, and the data transmission delay rate corresponding to each of the network test conditions is determined according to the data processing time and data transmission time.

[0036] Data processing time refers to the time it takes for a switch to start processing a data packet after receiving it. Data transmission time refers to the time it takes for a switch to forward a data packet after receiving it. The processing time can be calculated by comparing the data packet size with the bandwidth, and the transmission time can be calculated by recording the receiving and forwarding time nodes.

[0037] 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 2ms and the transmission time is 3ms, then the data transmission delay rate is (2+3) / total transmission time.

[0038] In step S230, according to the operating status data, the change prominence corresponding to the multiple network environment parameters under each of the network test conditions is determined, and based on the change prominence, the promotion effect of the changes in the multiple network environment parameters on the data transmission delay is analyzed to obtain the promotion probability corresponding to each of the network environment parameters.

[0039] Among them, network environment parameters refer to various factors that affect network performance, such as network topology, network load, link quality, etc.

[0040] The prominence of change refers to the magnitude of changes in network environment parameters and their impact on data transmission delay during network testing. The prominence of change can be determined by comparing changes in network load in different time periods.

[0041] The promotion probability refers to the probability value of the contribution of a certain network environment parameter change to the data transmission delay. The promotion probability can be calculated by analyzing the impact of network load changes on the delay.

[0042] In step S240, based on 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, a performance attenuation function corresponding to the target 5G Ethernet switch is constructed, and the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

[0043] Among them, the performance degradation function is a mathematical model constructed based on the promotion probability of data transmission delay rate and network environment parameters. It is used to describe the performance change trend of the switch under different conditions. A performance degradation function can be constructed by comprehensively analyzing the influence of delay rate and environmental parameters under various test conditions.

[0044] For example, suppose there is a 5G Ethernet switch that needs to be tested. First, preset traffic transmission test conditions (such as 1Gbps bandwidth), preset delay requirement test conditions (such as maximum delay not exceeding 5ms), and concurrent connection test conditions (such as supporting 1000 concurrent connections at the same time). Then, use the end-to-end test tool to simulate user behavior and generate various types of network traffic; use the network traffic generator to generate traffic, use the network analyzer to measure throughput, delay, packet loss rate, bit error rate, etc.; use the monitoring tool to obtain network load data. Then, under 1Gbps bandwidth, record the packet size and transmission time of each test; compare the packet size and bandwidth to calculate the processing time; record the receiving and forwarding time nodes to 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, link quality, etc.; 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, combining the delay rate and environmental parameter influences under all test conditions, a performance decay function is constructed to describe the performance change trend of the switch under different conditions.

[0045] It can be seen from the above steps S210 to S240 that in the scheme 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 determining the data processing time and data transmission time through the running status data, and then 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, not just the best or worst case in theory. By analyzing the changes in multiple network environment parameters, various fluctuations and abnormal situations that may occur in the actual network environment can be more realistically simulated. By calculating the probability of each network environment parameter promoting 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 impact of the change in the data transmission delay rate and the network environment parameters, a performance attenuation function is constructed, which can fully reflect the overall performance of the switch under different conditions. The function not only describes the performance under the current test conditions, but can also be used to predict the performance of the switch under different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment.

[0046] In one embodiment of the present application, the operating status data includes throughput, delay data, packet loss rate, bit error rate, and network load, and the obtaining of the operating 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 throughput, delay data, packet loss rate, and bit error rate under the multiple network test conditions through a pre-configured network analyzer; The network load under the multiple network test conditions is obtained through a pre-configured monitoring tool.

[0047] 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 response speed of the network. Low latency is critical for real-time applications (such as video conferencing and online games). Packet loss rate refers to the proportion of data packets lost during network transmission. A high packet loss rate may result in incomplete data or the need for retransmission, affecting 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.

[0048] Among them, end-to-end testing tools are software or hardware devices used to simulate user behavior and connection scenarios, which can generate real network traffic and evaluate its impact on network devices.

[0049] Among them, user behavior and connection scenarios refer to the actual user operations and application scenarios simulated in network testing, such as browsing the web, watching videos, making voice calls, etc. It can simulate multiple users accessing the same website at the same time, or simulate a large number of concurrent connections for video streaming.

[0050] Among them, the network traffic generator is a tool used to generate network traffic of different types and sizes for testing under different network conditions.

[0051] Among them, the network analyzer is a device or software used to monitor and analyze network traffic, which can provide detailed network performance indicators such as throughput, latency, packet loss rate, bit error rate, etc.

[0052] Among them, monitoring tools are tools used to monitor network status and device operation in real time, and can collect information such as network load, CPU usage, and memory usage.

[0053] Exemplarily, use end-to-end testing tools to simulate a variety of user behaviors and connection scenarios, such as: simulating 100 users accessing a video streaming website at the same time; simulating 50 concurrent voice calls. Use network traffic generators to generate different types of network traffic, including: a large number of small data packets (simulating instant messaging applications) and a small number of large data packets (simulating file transfers). Through a pre-configured network analyzer, obtain the following data: throughput, recording the amount of data transmitted per second; latency data, measuring the time required for each data packet from sending to receiving; packet loss rate, counting the number of data packets lost during transmission; bit error rate, checking whether there are transmission errors in the data packet. Obtain network load data through pre-configured monitoring tools: record the number of active connections and 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.

[0054] For example, see Figure 3 , Figure 3 A schematic diagram of a test environment provided by an embodiment of the present invention. Figure 3 In the example, a switch simulation environment is constructed, which includes five network environments, which are the five network test conditions constructed in the above manner. After data is input into the five network test conditions, performance indicators are output, which are the above-mentioned operating status data.

[0055] In this embodiment, by simulating various user behaviors and connection scenarios, we ensure 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 variety of traffic patterns are generated through network traffic generators to simulate various situations that may occur in actual networks, such as burst traffic, peak hours, etc.

[0056] In one embodiment of the present application, the multiple network test conditions include: preset traffic transmission test conditions, preset delay requirement test conditions, and concurrent connection test conditions.

[0057] The preset traffic transmission test conditions refer to network traffic transmission tests conducted under specific bandwidth and data packet size, with the purpose of evaluating the switch's processing capabilities under different data volumes and types. For example: high throughput test simulates the transmission of a large number of small data packets (such as instant messaging messages) or large data packets (such as video streams) to evaluate the switch's maximum throughput; burst traffic test simulates a sudden increase in data traffic in a short period of time to evaluate the switch's ability to cope with emergencies.

[0058] Among them, the preset delay requirement test conditions refer to setting specific maximum delay requirements to test whether the switch can meet the low delay requirements under these conditions. Low delay is crucial for real-time applications (such as online games and video conferencing). For example: low delay test, set the maximum delay to no more than 5ms, simulate application scenarios that are sensitive to delay, such as real-time voice calls or video conferencing, to verify whether the switch can meet the low delay requirements; dynamic delay test, by changing the network load and traffic pattern, observe the delay changes of the switch under different conditions, and evaluate its stability and response speed.

[0059] Among them, the concurrent connection test condition refers to establishing multiple network connections and transmitting data at the same time 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 processing a large number of concurrent requests. For example: the high-concurrency connection test simulates 1,000 or even more concurrent connections, each of which transmits data to evaluate the processing capacity and stability of the switch under high load; the mixed traffic concurrency test simultaneously performs multiple types of network traffic (such as video streaming, file downloads, instant messaging, etc.) to evaluate the comprehensive performance of the switch in complex application scenarios.

[0060] For example, in order to ensure that 5G Ethernet switches have high performance in complex and changeable network environments, it is necessary to simulate complex and changeable network environments as much as possible during the performance test of 5G Ethernet switches, that is, configure relevant ports on the switch and ensure that all devices (such as test servers, terminal devices, traffic generators, etc.) are connected to these ports; then simulate different network environments and traffic patterns by setting network parameters; use network traffic generators to simulate different types of network traffic; simulate various actual scenarios (such as large traffic transmission, low latency requirements, high concurrent connections, etc.), and perform load tests on the switches.

[0061] In this embodiment, by simulating network traffic of different types and scales, the performance of the switch in various practical applications can be comprehensively evaluated. For example, a high throughput test can verify the performance of the switch in a large data transmission scenario, while a burst traffic test can reveal its ability to cope with emergencies. Special tests are performed for delay-sensitive application scenarios to ensure that the switch can provide stable low-latency services in these key applications. This is crucial to ensuring user experience, especially in real-time communication and interactive applications. A high-concurrency environment is simulated to evaluate the performance of the switch when processing a large number of concurrent requests. This helps to discover potential bottlenecks and optimization points, ensuring 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 angles (such as throughput, latency, concurrent processing capability, etc.). This multi-dimensional evaluation method can better reflect the actual performance of the device than a single-dimensional test. By setting different network conditions and load modes, various dynamic changes that may occur in the actual network environment are simulated, thereby more realistically reflecting the performance of the switch in a complex environment.

[0062] In one embodiment of the present application, after obtaining the operating status data of the target 5G Ethernet switch under multiple network test conditions, it also includes: Determine a maximum throughput according to the throughput, and use the maximum throughput as the bandwidth; A test time period corresponding to a same bandwidth in the multiple network test conditions is obtained, where the test time period corresponding to the same bandwidth is used to determine the data processing time and the data transmission time.

[0063] For example, in the switch performance test process, network bandwidth usually 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 has a lower data delay to meet the performance requirements of the 5G Ethernet switch. In the performance test of the 5G Ethernet switch, it is necessary to simulate a variety of complex and changeable network environments, and then test and analyze the performance of the switch multiple times. In each test process, the maximum throughput of the switch is measured by a traffic generator, and the data is recorded as U; then, in all test processes, the test time period with the same data throughput is marked as the subsequent analysis object. By comparing the data transmission delay under the same bandwidth conditions, the responsiveness, processing power and stability of the 5G Ethernet switch and the network in the actual operation process can be reflected, which has a certain data support strength for the performance test of the switch.

[0064] In one embodiment of the present application, determining the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions includes: Obtaining the size of a transmitted data packet during a single test corresponding to the same bandwidth under each of the network test conditions; Comparing the size of the data packet with the bandwidth to determine the data processing time; Obtaining a first time node at which the target 5G Ethernet switch receives the data packet and a second time node at which 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; The first time node and the second time node are compared to determine the data transmission time.

[0065] In network communications, data is divided into fixed-size or variable-size units for transmission, which 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, a small data packet, such as an instant messaging message, may only be tens to hundreds of bytes; a large data packet, such as a video stream or file transfer, may reach thousands of bytes or even larger.

[0066] For example, data transmission delay refers to the time required for data to be transmitted from the source to the destination, usually in milliseconds (ms). The smaller the delay, the faster the network response of the switch when processing data. In a single test of a 5G Ethernet switch, the size of a single data packet during data transmission is obtained, denoted as G; the time node when the 5G Ethernet switch obtains the data is recorded, denoted as t; then the time when the data packet is forwarded to the data receiving end is recorded as .

[0067] Exemplarily, the data transmission delay rate may be expressed as: ; in, 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; It represents the size of the nth data packet; U represents the network bandwidth during the test; The first time point at which the target 5G Ethernet switch receives a data packet; The second time node for forwarding the data packet to the target 5G Ethernet switch.

[0068] in, Represents the data processing time, including the time for analyzing the data packet, searching the address table, determining the forwarding port, etc. The longer the data processing time, the greater the processing delay of the data packet; Indicates data transmission time; That is, it represents the data transmission delay rate of all data packets during the test. The larger the data transmission delay rate, the higher the delay of the switch for data transmission under the jth network test condition, that is, The bigger.

[0069] In this embodiment, by accurately calculating the processing time and transmission time of the data packet, the performance of each link of the switch in the data transmission process can be analyzed in detail. This helps to identify whether the processing link or the transmission link causes the performance bottleneck. According to the specific values ​​of the processing time and the transmission time, targeted optimization can be performed. 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, the network topology or link quality may need to be improved. 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 actual performance of the switch in actual application scenarios. By comparing the processing time and transmission time of different time periods, the responsiveness of the switch in sudden situations (such as a sudden increase in traffic) can be evaluated to ensure that it can still maintain efficient operation under high load conditions. By setting a unified bandwidth benchmark and test time period, the test process can be standardized, the impact of human factors on the test results can be reduced, and the reliability and repeatability of the test can be improved. Testing under the same bandwidth conditions simplifies subsequent data analysis. Researchers can directly compare performance indicators in different time periods to quickly discover potential problems and optimization points.

[0070] In one embodiment of the present application, if multiple tests are performed under each of the network test conditions, the average 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 attenuation function corresponding to the target 5G Ethernet switch.

[0071] For example, if there are multiple tests in the Ethernet performance test process under the same network environment conditions to improve the test accuracy, the average value of the data transmission delay rate in all the test processes is recorded as , which is the target data transmission delay rate.

[0072] 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 actual performance of the switch. The results of multiple tests are more stable and consistent, which enhances the credibility of the test results and provides a solid foundation for subsequent performance evaluation and optimization.

[0073] In one embodiment of the present application, determining the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions includes: Screening the data transmission delay rates corresponding to the network test conditions, and determining time periods in which the average values ​​of the data transmission delay rates in the network test conditions are the same; Extracting the measured values ​​of network topology, network load, and link quality in the time period when the average value of the data transmission delay rate in each of the network test conditions is the same, and using the measured values ​​of the network topology, network load, and link quality as the multiple network environment parameters; The network environment parameter under the network test condition is compared with the same network environment parameter in any other network test condition, and the change prominence is determined based on the comparison result.

[0074] Among them, by analyzing the data transmission delay rate 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. Assuming that in a test cycle, the average values ​​of data transmission delay rate in certain time periods (such as 0-5 minutes and 10-15 minutes) are relatively close (for example, both are 3.8ms), then these time periods can be regarded as time periods with the same average delay rate.

[0075] Among them, the network environment parameters (such as network topology, network load, link quality) under a certain network test condition are compared with the corresponding parameters under other conditions, the change range is calculated, and the change prominence is determined according to the change range. Assuming that under network test condition A, the network load is 500 Mbps, and under condition B, the network load is 200 Mbps, the change prominence of the network load is large, indicating that the parameter has significant changes under different conditions.

[0076] Exemplarily, the data transmission delay rates corresponding to all network test conditions are screened, and the time periods with the same average value of the data transmission delay rate in the network test conditions are divided and marked. Then the network environment parameters that affect the data transmission delay are divided into: network topology, network load, link quality, etc., and the above network environment parameters are used as the main target objects. In the network topology, the physical path length of the data packet transmission is used to represent it, which is recorded as l; then the network load is represented by the number of users sending data at different nodes in the test time period, and all the data sent in the test time period with the same data delay are fitted to obtain a fitting curve, and the fluctuation variance of the fitting curve is recorded as T; the link quality is represented by the fluctuation value of the signal monitoring curve of the wireless link during the test process. In a large-scale network environment, the longer the path, the greater the data transmission delay; and when multiple users or applications in the network send a large amount of data at the same time, network congestion may occur, which will cause data packets to be queued, lost or retransmitted, thereby increasing the delay; when the link quality is poor, the errors in the transmission will increase, and the data transmission delay will also increase.

[0077] Exemplarily, the expression of change prominence may be: ; in, is the change prominence corresponding to the rth network environment parameter in the jth network test condition; L represents the measured value of the rth network environment parameter under the jth network test condition, assuming that there are V+j network test conditions in total; Represents the measured value of the same network environment parameter in the xth network test condition except for the jth network test condition.

[0078] in, It means that under different network test conditions, in the test time period with the same data transmission delay, the prominence of the change of the rth network environment parameter under the test condition compared with other test conditions; under the same data transmission delay condition, the greater the prominence of the change of the rth network environment parameter in the jth network test condition compared with the network environment parameters of this type in other stages, that is, this type of parameter is more closely related to the change of data transmission delay.

[0079] 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, thereby providing a reliable performance evaluation benchmark. This method can effectively reduce random fluctuations and noise interference during the test process 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, the impact of these parameters on network performance can be fully evaluated, and key factors and potential bottlenecks can be identified. By calculating the prominence of changes, the magnitude of changes in network environmental parameters and their impact on data transmission delays can be quantitatively analyzed to help discover potential unstable factors.

[0080] In one embodiment of the present application, based on the change prominence, analyzing the promotion effect of the changes of the multiple network environment parameters on the data transmission delay to obtain the promotion probability corresponding to each of the network environment parameters includes: Determining a flow data curve corresponding to the network test condition according to the operating status data; According to the flow data curve, determining the time point when the flow data suddenly changes; Determine the traffic mutation degree according to the measurement value corresponding to the time node at which the traffic data mutation occurs and the measurement value corresponding to the node before the time node at which the traffic data mutation occurs; The promotion probability corresponding to each of the network environment parameters is determined by combining the change prominence and the traffic mutation degree.

[0081] The traffic data curve refers to a chart of the data transmission rate recorded over time during the network test. It reflects the changing 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 formed by these data points is drawn.

[0082] The time point at which traffic data suddenly changes refers to the time point at which a significant change occurs on the network traffic data curve. These sudden changes may indicate burst traffic, link failures, or other abnormal conditions in the network. Assume that in a test cycle, the traffic data curve suddenly increases from 200 Mbps to 500 Mbps at the 10th minute. The 10th minute is the time point at which traffic data suddenly changes.

[0083] For example, since the prominence of changes in network environment parameters may not be able to well express the promoting effect of such environment parameters on data delay, and different network environment conditions have different traffic patterns, the impact of traffic patterns on delay performance can be combined to improve the credibility of the promoting effect of such parameters on data transmission delay. Figure 4 , Figure 4A flow data curve diagram provided by an embodiment of the present invention is used to simulate the flow pattern during the test by using an end-to-end test tool to obtain the following information: Figure 4 The flow data curve in the test time period under the j-th test condition shown in the figure; then calculate a set of slope values ​​between two adjacent data points in the flow data curve, and then divide all the slope values ​​into positive and negative values, where a positive value indicates that the flow data is increasing; a negative value indicates that the flow data is decreasing; and mark all the slope values ​​that are positive; then multiply each set of slope values ​​by the flow value represented by the next data point in the slope value, and record the product as H; traverse all the products and locate the time node in the largest set of products, and use the time node as the time node when the flow data suddenly changes; record the flow value at the node as R; and record the average value of all flow values ​​before the node as D.

[0084] Exemplarily, the promotion probability can be expressed as: ; in, is the promotion probability corresponding to the rth network environment parameter in the jth network test condition; is the change prominence corresponding to the rth network environment parameter in the jth network test condition; It indicates the traffic mutation degree in the switch under the test conditions. The larger the traffic mutation degree, the more sudden the increase in network traffic during the test period. Burst traffic may cause network congestion and delay fluctuations.

[0085] in, The larger the value is, the higher the probability that this type of network environment parameter will promote data transmission delay.

[0086] Different network environment parameters have different probabilities of promoting data transmission delay. For the performance test system of 5G Ethernet switches, different degrees of promotion help understand the real reasons behind data delay. By constructing a switch performance attenuation function, we can more comprehensively interpret the operating status and performance of the switch under different network environment conditions.

[0087] In this embodiment, by drawing the flow data curve and determining the mutation time node, it is possible to accurately identify the burst flow or abnormal situation in the network, and help locate the root cause of the problem. By calculating the flow mutation degree and the prominence of the change, the change range of the network environment parameters and their impact on the data transmission delay can be quantitatively analyzed, providing more detailed and accurate performance analysis results. By analyzing the flow mutation and the change of environmental parameters, it is possible to better simulate the various dynamic changes that may occur in actual application scenarios, ensuring that the switch can still maintain efficient operation in a complex environment. By identifying and quantifying the changes in environmental parameters, it can help the switch better deal with emergencies and abnormal events, and improve the robustness and fault tolerance of the system.

[0088] In one embodiment of the present application, the performance attenuation function corresponding to the target 5G Ethernet switch is constructed 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, including: According to the promotion probability corresponding to each of the network environment parameters, construct a promotion probability change curve of the same network environment parameter in the multiple network test conditions; Constructing a data transmission delay rate variation curve of the plurality of network test conditions according to the data transmission delay rate corresponding to each of the network test conditions; Analyzing the change relationship between the promotion probability change curve and the data transmission delay rate change curve, and determining 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; The performance attenuation rate of the target 5G Ethernet switch during the test is represented by the weight values ​​and measurement values ​​corresponding to each of the network environment parameters to construct a performance attenuation function corresponding to the target 5G Ethernet switch.

[0089] Among them, the promotion probability change curve is a graph showing the change trend of these parameters under different test conditions according to the promotion probability corresponding to each network environment parameter. This curve reflects the change of the contribution of each network environment parameter to data transmission delay as the test conditions change.

[0090] The data transmission delay rate change curve is a graph showing the change trend of these delay rates under different test conditions based on the data transmission delay rates corresponding to each network test condition. This curve reflects the data transmission delay performance of the switch under different test conditions.

[0091] 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 degradation is determined, which helps to quantify the importance of each parameter.

[0092] For example, see Figure 5 , 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, Figure 5 The continuous line segments in are data transmission delay rate curves, that is, data transmission delay rate variation curves in this embodiment; Figure 5 The discontinuous line segments in are the network environment parameter promotion rate change curves, which are the promotion probability change curves in this embodiment. In the process of testing the performance of 5G Ethernet switches, the performance of switches under different test environment conditions is interpreted through the changeable and complex simulation requirements of the test network environment, and then the switch performance attenuation function under different network environment conditions during the test is generated through more comprehensive data. The values ​​of a class of network environment parameters under a class of test environment conditions, such as the length of the physical path for data transmission, the fluctuation value of the data volume, etc.; then fit them according to the order of the test, and then get Figure 5 The probability curve of the promotion of transmission delay by a type of network environment parameters under different test environment conditions in the test is recorded as W; in the same way, the average data transmission delay Q under the simulated different test environment conditions is fitted according to the test order, and then the following is obtained: Figure 5 The data transmission delay rate change curve in the entire test process is denoted as Y.

[0093] Exemplarily, the weight value corresponding to the network environment parameter may be expressed as follows: ; in, is the weight value corresponding to the rth type of network environment parameter; The relationship between the promotion probability change curve of different network environments and the data transmission delay rate change curve is shown. The smaller the value of , the stronger the correlation of data changes, that is, the greater the weight value of this type of network environment parameter in the process of constructing the performance attenuation function, that is, The bigger; It is obtained through mean square error calculation. During the mean square error calculation process, the vertical coordinates of the two curves need to be normalized or standardized, and then the calculation is performed after the dimensions are unified. Represents a preset adjustment parameter. In order 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 specific circumstances.

[0094] Finally, the 5G Ethernet switch performance attenuation function is constructed: ;in Indicates the weight value of network environment parameters; It represents the actual measured value or curve fluctuation value of the network environment parameter during the test; y represents the performance attenuation rate during the test. By constructing a performance attenuation function during the 5G Ethernet switch test, the weight value and the fluctuation value of the network environment parameter can accurately reflect the impact of different network environments on the switch performance. According to the output results 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 are based on static network environments for performance testing, resulting in test results that cannot accurately reflect the performance of the switch in complex and changing environments.

[0095] In this embodiment, by constructing a promotion probability change curve and a 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 that has 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 changes that may occur in actual application scenarios can be better simulated to ensure that the switch can still maintain efficient operation in a complex environment. By identifying and quantifying changes in environmental parameters, the switch can be helped to better respond to emergencies and abnormal events, and improve the robustness and fault tolerance of the system.

[0096] Figure 6 A schematic diagram of the structure of a 5G Ethernet switch test system provided by an embodiment of the present invention. The system can be applied to Figure 1 The system can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the system is applied.

[0097] like Figure 6 As shown, the exemplary 5G Ethernet switch test system includes: The data acquisition module 601 is used to obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; The data transmission delay rate determination module 602 is used 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 delay rate corresponding to each of the network test conditions according to the data processing time and data transmission time; The promotion probability determination module 603 is used to determine the change prominence corresponding to the 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 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; The function construction module 604 is used 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, wherein the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

[0098] In this exemplary 5G Ethernet switch test system, by simulating a variety of network test conditions (such as different bandwidth, load, 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 of actual applications as much as possible. By determining the data processing time and data transmission time through the running status data, and then calculating the data transmission delay rate, it can not only identify the main source of delay (processing or transmission), but also quantify the specific degree of delay, reflecting the actual performance of the switch under different conditions, not just the theoretical best or worst case. By analyzing the changes in multiple network environment parameters, various fluctuations and abnormal situations that may occur in the actual network environment can be more realistically simulated. By calculating the probability of each network environment parameter promoting data transmission delay, it is possible to quantitatively understand which factors have the greatest impact on delay, helping to identify potential bottlenecks or optimization points. Combining the impact of changes in data transmission delay rate and network environment parameters, a performance decay function is constructed, which 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 under different network environments that may be encountered in the future, providing a basis for subsequent optimization and adjustment.

[0099] It should be noted that the 5G Ethernet switch test system provided in the above embodiment and the 5G Ethernet switch test method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual applications, the 5G Ethernet switch test system provided in the above embodiment 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 is not limited here.

[0100] It should be noted that the sequence of the above embodiments of the present invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0101] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A 5G Ethernet switch testing method, characterized in that: The method comprises: Obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; Determine, according to the running status data, data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions, and determine, according to the data processing time and data transmission time, a data transmission delay rate corresponding to each of the network test conditions; Determine, according to the operation status data, the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions, and based on the change prominence, analyze the promotion effect of the changes of the plurality of network environment parameters on the data transmission delay, and obtain the promotion probability corresponding to each of the network environment parameters; 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, a performance attenuation function corresponding to the target 5G Ethernet switch is constructed, and the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

2. The 5G Ethernet switch testing method according to claim 1, characterized in that: The operating status data includes throughput, delay data, packet loss rate, bit error rate, and network load. The operating status data of the target 5G Ethernet switch under multiple network test conditions is obtained, including: 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 throughput, delay data, packet loss rate, and bit error rate under the multiple network test conditions through a pre-configured network analyzer; The network load under the multiple network test conditions is obtained through a pre-configured monitoring tool.

3. The 5G Ethernet switch testing method according to claim 1, characterized in that: The multiple network test conditions include: preset traffic transmission test conditions, preset delay requirement test conditions, and concurrent connection test conditions.

4. The 5G Ethernet switch testing method according to claim 2, characterized in that: After obtaining the operating status data of the target 5G Ethernet switch under multiple network test conditions, the method further includes: Determine a maximum throughput according to the throughput, and use the maximum throughput as the bandwidth; A test time period corresponding to a same bandwidth in the multiple network test conditions is obtained, where the test time period corresponding to the same bandwidth is used to determine the data processing time and the data transmission time.

5. The 5G Ethernet switch testing method according to claim 1, wherein: Determining the data processing time and data transmission time corresponding to the same bandwidth in the multiple network test conditions includes: Obtaining the size of a transmitted data packet during a single test corresponding to the same bandwidth under each of the network test conditions; Comparing the size of the data packet with the bandwidth to determine the data processing time; Obtaining a first time node at which the target 5G Ethernet switch receives the data packet and a second time node at which 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; The first time node and the second time node are compared to determine the data transmission time.

6. The 5G Ethernet switch testing method according to claim 1, wherein: If multiple tests are performed under each of the network test conditions, the average 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 attenuation function corresponding to the target 5G Ethernet switch.

7. The 5G Ethernet switch testing method according to claim 1, characterized in that: Determining the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions includes: Screening the data transmission delay rates corresponding to the network test conditions, and determining time periods in which the average values ​​of the data transmission delay rates in the network test conditions are the same; Extracting the measured values ​​of network topology, network load, and link quality in the time period when the average value of the data transmission delay rate in each of the network test conditions is the same, and using the measured values ​​of the network topology, network load, and link quality as the multiple network environment parameters; The network environment parameter under the network test condition is compared with the same network environment parameter in any other network test condition, and the change prominence is determined based on the comparison result.

8. The 5G Ethernet switch testing method according to claim 1, wherein: The step of analyzing the promotion effect of the changes of the plurality of network environment parameters on the data transmission delay based on the change prominence, and obtaining the promotion probability corresponding to each of the network environment parameters, includes: Determining a flow data curve corresponding to the network test condition according to the operating status data; According to the flow data curve, determining the time point when the flow data suddenly changes; Determine the traffic mutation degree according to the measurement value corresponding to the time node at which the traffic data mutation occurs and the measurement value corresponding to the node before the time node at which the traffic data mutation occurs; The promotion probability corresponding to each of the network environment parameters is determined by combining the change prominence and the traffic mutation degree.

9. The 5G Ethernet switch testing method according to claim 1, characterized in that: The step of constructing 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 includes: According to the promotion probability corresponding to each of the network environment parameters, constructing a promotion probability change curve of the same network environment parameter in the multiple network test conditions; According to the data transmission delay rate corresponding to each of the network test conditions, constructing a data transmission delay rate variation curve of the plurality of network test conditions; Analyzing the change relationship between the promotion probability change curve and the data transmission delay rate change curve, and determining 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; The performance attenuation rate of the target 5G Ethernet switch during the test is represented by the weight values ​​and measurement values ​​corresponding to each of the network environment parameters to construct a performance attenuation function corresponding to the target 5G Ethernet switch.

10. A 5G Ethernet switch test system, characterized in that: The system comprises: A data acquisition module, used to obtain the operating status data of the target 5G Ethernet switch under multiple network test conditions; a data transmission delay rate determination module, configured to determine, according to the operation status data, data processing time and data transmission time corresponding to the same bandwidth in the plurality of network test conditions, and determine, according to the data processing time and data transmission time, a data transmission delay rate corresponding to each of the network test conditions; a promotion probability determination module, configured to determine, according to the operation status data, the change prominence corresponding to the plurality of network environment parameters under each of the network test conditions, and based on the change prominence, analyze the promotion effect of the changes in the plurality of network environment parameters on the data transmission delay, and obtain the promotion probability corresponding to each of the network environment parameters; A function construction module is used 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, wherein the performance attenuation function is used to indicate the performance characteristics of the target 5G Ethernet switch during the test.

Citation Information

Patent Citations

  • Handheld switch message transmission delay test device and test method

    CN106027334A

  • Remote management method and system of wireless router

    CN117560701A

  • Switch reliability test method and system

    CN118573608A

  • Method and tool device for testing communication port of equipment

    CN118631657A

  • Holographic media transmission congestion prediction system based on programmable network

    CN119172318A

Cited By

  • Performance test method and device for Ethernet switch, and medium

    CN121056360A