Ethernet equipment delay test method and device based on real-time simulation and medium
The dynamic detection structure is constructed through real-time simulation technology, which solves the problems of low testing efficiency, low accuracy and incomplete parameter coverage in the existing network delay testing methods, and realizes efficient and accurate delay testing of Ethernet equipment.
Patent Information
- Application Number
- CN202411101847.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-15
AI Technical Summary
The existing full-physical network delay testing methods have problems such as low testing efficiency, low accuracy, few test samples and incomplete coverage of extreme operating conditions, resulting in inaccurate and comprehensive test results.
Using the delay testing method of Ethernet equipment based on real-time simulation, we can obtain target test condition data, build a dynamic simulation structure, and use real-time simulation services to execute the test process, supervise signal timestamps, calculate network delay data, and realize dynamic detection of full parameter coverage .
It improves the accuracy and comprehensiveness of delayed testing of Ethernet equipment, reduces the difficulty of testing and resource consumption, and provides a complete test process with high efficiency, massive samples, and extreme operating conditions.
Smart Images

Figure CN118972286A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of test verification technology, and in particular to a method, device and medium for testing Ethernet device delay based on real-time simulation. Background Art
[0002] In network communication, data needs to pass through different network device transmission nodes to complete the transmission from the sender to the receiver. In this transmission process, corresponding communication delay will occur. Ethernet delay test performs delay test by measuring the data time difference between the sender and the receiver of the device under test.
[0003] The existing full-physical network delay test requires a lot of time and resources because it requires the actual construction of the network environment and testing. Due to the complexity and uncertainty of the network environment, the test results may be affected by many factors, resulting in inaccurate test results. Since the full-physical network delay test requires actual network equipment and connections, the test samples are usually small, which may lead to insufficient representativeness of the test results and fail to fully reflect the delay performance of the network. In addition, the coverage of extreme operating parameters of the full-physical network delay test is usually incomplete. Due to the limitations of the test environment, it may not be possible to cover all possible operating parameters, resulting in incomplete test results.
[0004] Therefore, the existing full-physical network delay testing method has problems such as low testing efficiency, low testing accuracy, few test samples, and incomplete coverage of extreme operating condition parameters. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide an Ethernet device delay test method, device, electronic device and storage medium based on real-time simulation, which can improve the performance of delay testing of network equipment by applying semi-physical simulation to delay testing of network communications.
[0006] To solve the above technical problems, one embodiment of the present invention provides an Ethernet device delay testing method based on real-time simulation, the method comprising:
[0007] Obtain target test condition data;
[0008] Using the pre-built test control service, according to the target test condition data, the simulation model in the pre-built real-time simulation service is connected to the Ethernet structure and parameter configuration is performed to obtain a dynamic simulation structure;
[0009] Utilizing the real-time simulation service, executing the test process between the dynamic simulation structure and the Ethernet device to be tested, and monitoring the start time node of the test signal in the test process to obtain a start timestamp and an end timestamp;
[0010] The difference between the start timestamp and the end timestamp is calculated to obtain network delay data.
[0011] Another embodiment of the present invention further provides an Ethernet device delay test device based on real-time simulation, the device comprising:
[0012] A data retrieval module is used to obtain target test condition data;
[0013] A simulation signal source construction module is used to use the pre-built test control service to perform Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service according to the target test condition data to obtain a dynamic simulation structure;
[0014] A test module, used to use the real-time simulation service to execute a test process between the dynamic simulation structure and the Ethernet device to be tested, and to monitor the start time node of the test signal in the test process to obtain a start timestamp and an end timestamp;
[0015] The test data recording module is used to calculate the difference between the start timestamp and the end timestamp to obtain network delay data.
[0016] Other embodiments of the present invention also provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned Ethernet device delay testing method based on real-time simulation.
[0017] Other embodiments of the present invention further provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the above-mentioned Ethernet device delay testing method based on real-time simulation.
[0018] In the implementation manner of the present invention, by simulating the Ethernet structure signal transmission source, dynamic detection with full parameter coverage is achieved, thereby solving the problems of small number of test samples, incomplete coverage of extreme operating condition parameters, and difficulty in monitoring the test process.
[0019] In addition, the obtaining of target test condition data includes:
[0020] Obtain a set of test cases for the entire business process corresponding to the application scenario of the Ethernet device to be tested;
[0021] Generate random parameters to configure the test case set to obtain a parameter coverage test case set;
[0022] According to the preset test frequency, a test case that does not participate in the test process is randomly extracted from the parameter coverage test case set to obtain target test condition data.
[0023] In addition, before performing Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service, the method further includes:
[0024] Using the model development management service in the test management service, select the simulation target according to the pre-built business scenario;
[0025] According to the simulation target, network topology information is collected, and a network model is constructed according to the network topology information using a network simulation tool;
[0026] The network model is configured according to the traffic pattern corresponding to the business scenario and the simulation parameters corresponding to the simulation target to obtain a simulation model.
[0027] In addition, after obtaining the network delay data, the method further includes:
[0028] Saving the network delay data to the experimental data management service in the experiment control service;
[0029] Using the experimental data management service to clean the delayed network data to obtain clean data;
[0030] Performing data visualization operation on the clean data to obtain a delay data distribution graph, and calculating the clean data according to a preset statistical algorithm to obtain secondary data;
[0031] The clean data and the secondary data are analyzed based on the preset type of test data to obtain the Ethernet device test result.
[0032] In addition, the test management and control service includes a model development management service and an experiment management service, and the model development management service and the experiment management service have a human-computer interaction service.
[0033] In addition, the use of the real-time simulation service to perform a test process between the dynamic simulation structure and the Ethernet device to be tested includes:
[0034] Utilizing the real-time simulation service, executing the dynamic simulation structure to obtain a test signal;
[0035] The test signal is forwarded to the Ethernet device to be tested by using a pre-built Ethernet switch, and the response test signal fed back by the Ethernet device to be tested is sent to the real-time simulation service to obtain a test response result.
[0036] In addition, the test management and control service and the real-time simulation service are interconnected through a network cable accessed through a network port; the real-time simulation service and the Ethernet device to be tested are connected through an Ethernet switch; the real-time simulation service and the Ethernet switch, and the Ethernet device to be tested and the Ethernet switch are all connected through network cables.
[0037] In the embodiment of the present invention, the target test condition data is first selected, and the target test condition data is a set test case. Through the practical test case, the service can execute the target process, so as to understand whether the Ethernet to be tested can execute the target process well; the present invention realizes the construction of a dynamic simulation structure that can execute the target process through the test control service. The dynamic simulation structure is based on the pre-built simulation model and can adapt to different target test condition data, thereby realizing the start signal emission with full parameter coverage, and there is no need to build a real Ethernet device that responds, which greatly reduces the difficulty of testing and the difficulty of building target test condition data, thereby providing an efficient and efficient test process with a large number of samples and complete coverage of extreme working condition parameters. Therefore, the present invention provides an Ethernet device delay test method, device, electronic device and storage medium based on real-time simulation, which can improve the test accuracy and comprehensiveness of Ethernet devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] One or more embodiments of the present invention are exemplarily described by the images in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0039] Figure 1 is a flow chart of a method for testing Ethernet device delay based on real-time simulation according to an embodiment of the present invention;
[0040] Figure 2 An overall structural diagram of an Ethernet device delay testing method based on real-time simulation provided by an embodiment of the present invention;
[0041] Figure 3 is a structural schematic diagram of an Ethernet device delay testing device based on real-time simulation according to another embodiment of the present invention;
[0042] Figure 4 is a schematic structural diagram of an electronic device provided according to another embodiment of the present invention. DETAILED DESCRIPTION
[0043] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation mode of the present embodiment should not constitute any limitation, and the various embodiments can be combined and referenced with each other without contradiction.
[0044] One embodiment of the present invention relates to a method for testing Ethernet device delay based on real-time simulation. The existing full-physical network delay test requires the actual construction of a network environment and testing, which consumes a lot of time and resources; due to the complexity and uncertainty of the network environment, the test results may be affected by many factors, resulting in inaccurate test results; because the full-physical network delay test requires actual network equipment and connections, the test samples are usually small, which may lead to insufficient representativeness of the test results and inability to fully reflect the delay performance of the network. In addition, the coverage of extreme operating parameters of the full-physical network delay test is usually incomplete. Due to the limitations of the test environment, it may not be possible to cover all possible operating parameters, resulting in incomplete test results.
[0045] To solve the above problems, refer to Figure 1 As shown, the Ethernet device delay testing method based on real-time simulation provided by the embodiment of the present invention includes:
[0046] S1. Obtain target test condition data.
[0047] In the embodiment of the present invention, the target test condition data is a test case, including a business scenario, a business process, a data parameter type, etc.
[0048] In detail, in an embodiment of the present invention, obtaining target test condition data includes:
[0049] Obtain a set of test cases for the entire business process corresponding to the application scenario of the Ethernet device to be tested;
[0050] Generate random parameters to configure the test case set to obtain a parameter coverage test case set;
[0051] According to the preset test frequency, a test case that does not participate in the test process is randomly extracted from the parameter coverage test case set to obtain target test condition data.
[0052] Specifically, in the embodiments of the present invention, the business scenarios and requirements are first clarified. For example, the internal office network of the enterprise needs to support data transmission and communication between multiple departments, and at the same time requires the network to be stable, with low latency and sufficient bandwidth. Then, according to the business scenarios, test cases are designed, including network topology, device configuration, traffic mode, etc. For example, a network topology including multiple switches, routers and terminal devices is designed, and the communication requirements between different departments are set. Then, according to the designed test cases, test data is generated, including device configuration information, traffic data, communication requirements, etc. Among them, network simulation tools or automatically generated data scripts can be used to generate test data; finally, the generated test data is used to simulate business processes, including operations such as communication, data transmission, and service requests between devices. Scenarios such as data interaction, file transfer, and video conferencing between different departments can be simulated. Finally, the successful test cases are sorted out to obtain a parameter coverage test case set. When testing is required, the target test condition data can be obtained by simply calling according to the time frequency.
[0053] The embodiment of the present invention obtains a large number of test cases according to the above process, thereby providing a basis for subsequent comprehensive detection of Ethernet devices.
[0054] In addition, the present invention can also introduce randomness in the process of designing test cases, for example, randomly generating communication needs of different departments, traffic changes in different time periods, etc., to simulate the uncertainty and changes in the real network environment, so as to more comprehensively evaluate the performance and reliability of real-time simulation services.
[0055] S2. Using the pre-built test control service, according to the target test condition data, perform Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service to obtain a dynamic simulation structure.
[0056] In the embodiment of the present invention, reference Figure 2 The overall structure of this test scheme is shown in FIG. The experimental control system (service) includes a model development management host (service) and an experimental management host (service), wherein the experimental management host (service) is mainly used for test management, data management, comprehensive control and display, test case design and management, etc. The model development management host (service) is mainly used for model development, simulation management and operation, simulation parameter adjustment, etc. The experimental control system (service) and the real-time simulation system (service) exchange data via Ethernet.
[0057] Furthermore, in an embodiment of the present invention, before performing Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service, the method further includes:
[0058] Using the model development management service in the test management service, select the simulation target according to the pre-built business scenario;
[0059] According to the simulation target, network topology information is collected, and a network model is constructed according to the network topology information using a network simulation tool;
[0060] The network model is configured according to the traffic pattern corresponding to the business scenario and the simulation parameters corresponding to the simulation target to obtain a simulation model.
[0061] Specifically, first of all, it is necessary to clarify the simulation objectives, including the performance indicators to be evaluated, network topology, traffic patterns, etc., and determine the network components and parameters that need to be modeled according to the simulation objectives; then collect network topology information, including network devices, connection methods, bandwidth, latency and other parameters, and build a simulation model based on these actual network topologies. For example, network simulation tools such as NS-3 and OPNET can be used to build a network model, which includes components such as network devices, links, routers, switches, and set their parameters.
[0062] Then, the traffic pattern can be defined according to the actual network traffic data, or a randomly generated traffic pattern can be used. Finally, the simulation parameters are set, including simulation time, simulation rate, event trigger conditions, etc., to obtain a simulation model. The present invention sets parameters according to the simulation objectives and actual conditions to ensure the accuracy and reliability of the simulation results.
[0063] refer to Figure 2 As shown, the real-time simulation system (service) in the present invention is composed of a real-time simulation machine and a simulation model, and has high-performance real-time simulation capabilities, which are used to run the simulation model during the test and perform real-time control on the real physical devices participating in the test; the simulation model is used to control the network delay solution. The data interaction between the simulation model and the real physical device (the Ethernet device to be tested) is run on the real-time simulation system, thereby ensuring the dynamic type of the delay test data.
[0064] The embodiment of the present invention utilizes a virtual simulation model as the control input of the Ethernet device under test, and can dynamically and real-time adjust the network communication status of the device under test. When changing parameters, it is relatively easy to achieve full coverage of detection parameters, and provide a simulated Ethernet network with a changeable network structure for the execution of massive and complex target test condition data in S1.
[0065] Furthermore, the model development management service and the experiment management service have a human-computer interaction service. In the embodiment of the present invention, the experiment process can be accurately, efficiently and dynamically monitored and controlled through the human-computer interaction service. In addition, the human-computer interaction service can configure the online adjustment function, and the online network parameters can be conveniently modified without interrupting the simulation, and the simulation results can be fed back synchronously in real time.
[0066] S3. Utilize the real-time simulation service to execute the test process between the dynamic simulation structure and the Ethernet device to be tested, and monitor the start time node of the test signal in the test process to obtain a start timestamp and an end timestamp.
[0067] In detail, in the embodiment of the present invention, the use of the real-time simulation service to perform a test process between the dynamic simulation structure and the Ethernet device to be tested includes:
[0068] Utilizing the real-time simulation service, executing the dynamic simulation structure to obtain a test signal;
[0069] The test signal is forwarded to the Ethernet device to be tested by using a pre-built Ethernet switch, and the response test signal fed back by the Ethernet device to be tested is sent to the real-time simulation service to obtain a test response result.
[0070] Specifically, according to Figure 2 As shown, the dynamic simulation structure in the embodiment of the present invention and the Ethernet device to be tested realize data transmission through an Ethernet switch. The Ethernet switch is a platform for data interaction of network devices, which connects the networked devices through network ports and cables, and supports the transmission and interaction of network data and clock data.
[0071] The present invention is connected Figure 2 When the overall structure is formed, the test management and control system (service) and the real-time simulation system (service) are connected to the network cable through the network port, supporting the transmission and interaction of simulation data, device data and clock data; the real-time simulation system (service) and the Ethernet switch are connected through a network cable, supporting the interactive transmission of various network data, wherein the real-time simulation machine sends the starting clock of the device communication to the Ethernet switch, and also receives the end clock of the device communication sent by the Ethernet switch; and the Ethernet device to be tested and the Ethernet switch are also connected through a network cable, supporting the sending and receiving of Ethernet device data, especially clock data.
[0072] In the embodiment of the present invention, the starting time node of the test signal in the test process is monitored to obtain a starting timestamp and an ending timestamp.
[0073] S4. Calculate the difference between the start timestamp and the end timestamp to obtain network delay data.
[0074] In the embodiment of the present invention, the network delay data can be obtained by calculating the difference between the start timestamp and the end timestamp, thereby completing a test process. However, a single network delay data may be accidental, and the present invention can obtain all network delay data of each target test condition data within a time period for analysis.
[0075] In detail, after obtaining the network delay data, the method further includes:
[0076] Saving the network delay data to the experimental data management service in the experiment control service;
[0077] Using the experimental data management service to clean the delayed network data to obtain clean data;
[0078] Performing data visualization operation on the clean data to obtain a delay data distribution graph, and calculating the clean data according to a preset statistical algorithm to obtain secondary data;
[0079] The clean data and the secondary data are analyzed based on the preset type of test data to obtain the Ethernet device test result.
[0080] The present invention first cleans the collected network delay data, including removing duplicate data, processing missing data, correcting erroneous data, etc., to ensure the accuracy and completeness of the data. Then the network delay data is visualized and displayed using charts, graphs, etc., so as to understand the data more intuitively. Commonly used visualization tools include Matplotlib, Seaborn, Tableau, etc. Then, a preset statistical algorithm is used for statistical analysis, such as calculating statistical indicators of the data, such as mean, median, standard deviation, maximum, minimum, etc., to understand the distribution and characteristics of the data. Finally, the test data analysis of the preset type (analyzing the delay type of the network) is performed, including transmission delay, processing delay, queuing delay, etc., to evaluate the response speed and performance of the network, and obtain the Ethernet device test results.
[0081] The embodiment of the present invention executes the above steps S1 to S4, and can adjust the network working conditions to full load or overload status in real time through the virtual simulation system according to the needs of the network environment. At the same time, the network status or faults can be monitored in the virtual environment, which greatly reduces the risk of equipment failure or crash caused by a fully real equipment testing environment.
[0082] In addition, the testing method adopted in the present invention also has scalability and flexible configuration capabilities. On the one hand, it can increase the number of devices included in the network, and on the other hand, it can use simulation models to replace real devices in the network, so as to realize the functional and signal interconnection between various test platforms or simulation models in a virtual-real way. By switching the model / physical object of the real network device, a more extensive, closer to the real network environment, and more deeply verified multi-device joint function / control hardware-in-the-loop test can be achieved, thereby improving the quality and efficiency of network equipment feature development.
[0083] In the embodiment of the present invention, the target test condition data is first selected, and the target test condition data is a set test case. Through the practical test case, the service can execute the target process, so as to understand whether the Ethernet to be tested can execute the target process well; the present invention realizes the construction of a dynamic simulation structure that can execute the target process through the test control service. The dynamic simulation structure is based on the pre-built simulation model, which can adapt to different target test condition data, thereby realizing the start signal emission with full parameter coverage, and there is no need to build a real Ethernet device that responds, which greatly reduces the difficulty of testing and the difficulty of building target test condition data, thereby providing an efficient and efficient test process with a large number of samples and complete coverage of extreme working condition parameters. Therefore, the present invention provides an Ethernet device delay test method based on real-time simulation, which can improve the test accuracy and comprehensiveness of Ethernet devices.
[0084] The above is a basic process. In actual applications, different methods and techniques may be used depending on the specific situation.
[0085] The steps of the above method are divided only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0086] Another embodiment of the present invention relates to an Ethernet device delay test device based on real-time simulation. Figure 3 As shown, the Ethernet device delay test device based on real-time simulation includes: a data retrieval module 201, used to obtain target test condition data;
[0087] The simulation signal source construction module 202 is used to use the pre-built test control service to perform Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service according to the target test condition data to obtain a dynamic simulation structure;
[0088] The test module 203 is used to use the real-time simulation service to execute the test process between the dynamic simulation structure and the Ethernet device to be tested, and monitor the start time node of the test signal in the test process to obtain a start timestamp and an end timestamp;
[0089] The test data recording module 204 is used to calculate the difference between the start timestamp and the end timestamp to obtain network delay data.
[0090] It is not difficult to find that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above method embodiment.
[0091] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this embodiment, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this embodiment, but this does not mean that there are no other units in this embodiment.
[0092] Another embodiment of the present invention relates to an electronic device, such as Figure 4 As shown, it includes at least one processor 301; and a memory 302 that is communicatively connected to the at least one processor; wherein the memory 302 stores instructions that can be executed by the at least one processor 301, and the instructions are executed by the at least one processor 301 so that the at least one processor 301 can execute the Ethernet device delay test method based on real-time simulation as described above.
[0093] The memory 302 and the processor 301 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 301 and the memory 302 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 301 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 301.
[0094] The processor 301 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 302 can be used to store data used by the processor 301 when performing operations.
[0095] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0096] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0097] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present embodiment, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present embodiment.
Claims
1. A method for testing Ethernet device delay based on real-time simulation, characterized in that: The method comprises: Obtain target test condition data; Using the pre-built test control service, according to the target test condition data, the simulation model in the pre-built real-time simulation service is connected to the Ethernet structure and parameter configuration is performed to obtain a dynamic simulation structure; Utilizing the real-time simulation service, executing the test process between the dynamic simulation structure and the Ethernet device to be tested, and monitoring the start time node of the test signal in the test process to obtain a start timestamp and an end timestamp; The difference between the start timestamp and the end timestamp is calculated to obtain network delay data.
2. The Ethernet device delay testing method based on real-time simulation according to claim 1 is characterized in that: The obtaining of target test condition data comprises: Obtain a set of test cases for the entire business process corresponding to the application scenario of the Ethernet device to be tested; Generate random parameters to configure the test case set to obtain a parameter coverage test case set; According to the preset test frequency, a test case that does not participate in the test process is randomly extracted from the parameter coverage test case set to obtain target test condition data.
3. The Ethernet device delay testing method based on real-time simulation according to claim 1 is characterized in that: Before performing Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service, the method further includes: Using the model development management service in the test management service, select the simulation target according to the pre-built business scenario; According to the simulation target, network topology information is collected, and a network model is constructed according to the network topology information using a network simulation tool; The network model is configured according to the traffic pattern corresponding to the business scenario and the simulation parameters corresponding to the simulation target to obtain a simulation model.
4. The Ethernet device delay testing method based on real-time simulation according to claim 1 is characterized in that: After obtaining the network delay data, the method further includes: Saving the network delay data to the experimental data management service in the experiment control service; Using the experimental data management service to clean the delayed network data to obtain clean data; Performing data visualization operation on the clean data to obtain a delay data distribution graph, and calculating the clean data according to a preset statistical algorithm to obtain secondary data; The clean data and the secondary data are analyzed based on the preset type of test data to obtain the Ethernet device test result.
5. The Ethernet device delay testing method based on real-time simulation according to claim 1 is characterized in that: The test management and control service includes a model development management service and an experiment management service, and the model development management service and the experiment management service have a human-computer interaction service.
6. The Ethernet device delay testing method based on real-time simulation according to claim 1 is characterized in that: The method of using the real-time simulation service to perform a test process between the dynamic simulation structure and the Ethernet device to be tested includes: Utilizing the real-time simulation service, executing the dynamic simulation structure to obtain a test signal; The test signal is forwarded to the Ethernet device to be tested by using a pre-built Ethernet switch, and the response test signal fed back by the Ethernet device to be tested is sent to the real-time simulation service to obtain a test response result.
7. The Ethernet device delay testing method based on real-time simulation according to claim 1 is characterized in that: The test control service and the real-time simulation service are connected to each other through a network cable accessed through a network port; the real-time simulation service and the Ethernet device to be tested are connected through an Ethernet switch; the real-time simulation service and the Ethernet switch, and the Ethernet device to be tested and the Ethernet switch are all connected through network cables.
8. An Ethernet device delay test device based on real-time simulation, characterized in that: The device comprises: A data retrieval module is used to obtain target test condition data; A simulation signal source construction module is used to use the pre-built test control service to perform Ethernet structure connection and parameter configuration operations on the simulation model in the pre-built real-time simulation service according to the target test condition data to obtain a dynamic simulation structure; A test module, used to use the real-time simulation service to execute a test process between the dynamic simulation structure and the Ethernet device to be tested, and to monitor the start time node of the test signal in the test process to obtain a start timestamp and an end timestamp; The test data recording module is used to calculate the difference between the start timestamp and the end timestamp to obtain network delay data.
9. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the Ethernet device delay testing method based on real-time simulation as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the Ethernet device delay testing method based on real-time simulation described in any one of claims 1 to 7 is implemented.
