CN117221187A - Communication equipment throughput simulation test system - Google Patents

Communication equipment throughput simulation test system Download PDF

Info

Publication number
CN117221187A
CN117221187A CN202311286636.2A CN202311286636A CN117221187A CN 117221187 A CN117221187 A CN 117221187A CN 202311286636 A CN202311286636 A CN 202311286636A CN 117221187 A CN117221187 A CN 117221187A
Authority
CN
China
Prior art keywords
test
throughput
network
simulation
communication equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311286636.2A
Other languages
Chinese (zh)
Inventor
乔治.汤姆斯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Science And Motion Control System Suzhou Co ltd
Original Assignee
Science And Motion Control System Suzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Science And Motion Control System Suzhou Co ltd filed Critical Science And Motion Control System Suzhou Co ltd
Priority to CN202311286636.2A priority Critical patent/CN117221187A/en
Publication of CN117221187A publication Critical patent/CN117221187A/en
Pending legal-status Critical Current

Links

Abstract

The application relates to a throughput simulation test system of communication equipment, which comprises a test program, a test controller, a test network service and a test equipment interface; the test equipment interface is used for communicating and interacting with the communication equipment and supporting various communication protocols and data formats; the test program is used for generating a plurality of virtual routers, and the virtual routers are used for isolating independent routing tables, network equipment interfaces and IP protocol stacks on the communication equipment operating system and realizing data forwarding through the communication equipment operating system; the test controller is internally provided with a routing engine which is used for obtaining parameters of the current test simulation network from the test network service and calculating throughput according to the obtained parameters of the current test simulation network. The application solves the problems that the traditional throughput test method needs to put in a large amount of manpower, material resources and financial resources, and is unfavorable for large-scale test and low-cost test.

Description

Communication equipment throughput simulation test system
Technical Field
The application relates to the technical field of throughput test, in particular to a throughput simulation test system of communication equipment.
Background
In a communication network, throughput refers to the rate at which the network transmits data, typically measured in bits per second (Bps) or bytes (Bps) of data. Throughput test is one of the important test methods for the performance of communication networks and communication equipment, and can help identify and eliminate communication bottlenecks and improve network performance and stability.
Conventional throughput testing methods require the use of specialized test equipment and physical connections to the device under test. The method has the advantages of high testing precision, stable testing process and the like, but a large amount of manpower, material resources and financial resources are required to be input, and the method is unfavorable for large-scale testing and low-cost testing.
In order to solve the problems that new technologies, new protocols and new architectures are required to be evaluated and verified in the development process of the Internet, the network simulation technology has gained more and more attention in the field of network evaluation and verification by virtue of the advantages of high fidelity, high controllability, large scale and the like, and becomes an important support for network research.
Disclosure of Invention
To achieve the above and other advantages and in accordance with the purpose of the present application, a communication device throughput simulation test system includes a test program, a test controller, a test network service, and a test device interface; wherein,
the test equipment interface is used for communicating and interacting with the communication equipment and supporting various communication protocols and data formats;
the test program is used for generating a plurality of virtual routers, and the virtual routers are used for isolating independent routing tables, network equipment interfaces and IP protocol stacks on a communication equipment operating system and realizing data forwarding through the communication equipment operating system;
the routing engine is used for obtaining parameters of the current test simulation network from the test network service, and calculating throughput through the obtained parameters of the current test simulation network.
Further, the parameters of the current test simulation network comprise average access user number, average user operation time, investigation time length, request number sent by each virtual user and test time.
Further, calculating the throughput by obtaining the parameters of the current test simulation network comprises calculating the average concurrent user number by means of average access user number, average user operation time and investigation time length; calculating a concurrent user peak value through the calculated average concurrent user number; the throughput is calculated by the calculated peak value of concurrent users, the number of requests sent by each virtual user and the time taken for testing.
Further, if the throughput calculated by the routing engine reaches the performance bottleneck of the communication equipment, the routing engine draws a test simulation network topology through the obtained parameters of the current test simulation network, calculates an optimal routing path, sends the calculated optimal routing path to the virtual router through the test network service in the form of dynamic routing information, obtains the parameters of the current test simulation network from the test network service, calculates the throughput through the obtained parameters of the current test simulation network, and if the calculated throughput does not reach the performance bottleneck of the communication equipment, constructs a physical network topology according to the butt joint relation between the virtual router and the physical router, and sends the dynamic routing information to the physical network topology; and if the calculated throughput reaches the performance bottleneck of the communication equipment, adjusting the dynamic routing information.
Further, the routing engine draws the test simulation network topology through the obtained parameters of the current test simulation network, and the method specifically comprises the steps of obtaining all port information and virtual router information in the current network through a network service client; the port information comprises an ID of a port, an ID of a virtual router to which the port information belongs, a network ID of the port and an IP address of the port, wherein the virtual router information is the virtual router ID;
establishing a corresponding relation between the port and the virtual router by comparing the virtual router ID of the port with the virtual router ID of the virtual router;
creating a topological graph, adding all virtual routers into the topological graph as points, if two virtual routers have the same direct connection network ID, indicating that a direct connection link exists between the two virtual routers, and adding the link into the topological graph as an edge.
Further, the routing engine calculates an optimal routing path, and the calculated optimal routing path is issued to the virtual router in a dynamic routing information form through the test network service, specifically comprises inputting a test simulation network topology into a dynamic routing network model to obtain dynamic routing information;
the construction of the dynamic routing network model comprises the following steps:
obtaining a test simulation network topology in a training set;
and training the neural network model by taking the test simulation network topology as input and the dynamic routing information as output to obtain a trained dynamic routing network model.
Further, the parameters of the current test simulation network further comprise a service flow information table.
Further, a throughput optimization module is arranged in the test controller, and the throughput optimization module is used for optimizing the throughput of the service flow according to the service flow information table.
Further, the throughput optimization module is configured to optimize the throughput of the service flow according to the service flow information table, specifically includes the throughput optimization module obtaining a throughput time sequence of the service flow from the service flow information table, and if the current sequence is generated completely, generating an end sequence mark, inserting a new sequence after the end sequence mark of the current sequence.
Further, the test controller is further provided with a graphical interface for displaying throughput simulation test results and configuring test parameters in response to a user request.
Compared with the prior art, the application has the beneficial effects that:
the application provides a throughput simulation test system of communication equipment, which solves the problems that a large amount of manpower, material resources and financial resources are required to be input in the traditional throughput test method, and the large-scale test and the low-cost test are not facilitated. According to the application, the centralized routing engine is arranged through the test controller, the distributed virtual router is generated through the test program, the virtual router can be rapidly deployed into the communication equipment by using the test program, the high efficiency of data forwarding of the virtual router can be realized, and the requirement of a large-scale simulation network is met.
The application calculates the throughput by calculating the concurrent user number, can reflect the pressure applied to the communication equipment end in the unit time of the client, can timely find and solve the problem, improves the accuracy and reliability of the test, and reduces the test cost and difficulty.
When the throughput reaches the performance bottleneck of the communication equipment, the routing engine set by the test controller starts the state routing information for the virtual router, and the virtual router and the physical router are in butt joint, so that the virtual router and the physical router can mutually learn the network topology through a dynamic routing protocol, and the throughput performance of the communication equipment is obviously improved.
When the test controller measures the throughput of the network service flow, continuous batch processing is used to optimize the throughput of the service flow, so that the throughput is improved.
The foregoing description is only an overview of the present application, and is intended to provide a better understanding of the present application, as it is embodied in the following description, with reference to the preferred embodiments of the present application and the accompanying drawings. Specific embodiments of the present application are given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a schematic diagram of a throughput simulation test system of a communication device in embodiment 1;
FIG. 2 is a schematic diagram of the test procedure of example 1;
FIG. 3 is a schematic diagram of a test controller according to example 1;
fig. 4 is a flow chart of the throughput calculation of embodiment 1;
fig. 5 is a flow chart of throughput control of the communication device according to embodiment 1;
fig. 6 is a flow chart of the test simulation network topology drawing of embodiment 1.
Detailed Description
The present application will be further described with reference to the accompanying drawings and detailed description, wherein it is to be understood that, on the premise of no conflict, the following embodiments or technical features may be arbitrarily combined to form new embodiments.
Example 1
A communication equipment throughput simulation test system, as shown in figure 1, figure 2 and figure 3, comprises a test program, a test controller, a test network service and a test equipment interface; wherein,
the test equipment interface is used for communicating and interacting with the communication equipment and supporting various communication protocols and data formats; in this embodiment, the test device interface is a card slot type plug interface, and when the communication device needs to perform throughput performance test, the test device interface is plugged into the interface corresponding to the communication device.
The test program is used for generating a plurality of virtual routers, and the virtual routers are used for isolating independent routing tables, network equipment interfaces and IP protocol stacks on the communication equipment operating system and realizing data forwarding through the communication equipment operating system; the virtual routers are distributed in the communication equipment operating system, and the communication equipment operating system forwards data, so that the high efficiency of forwarding the data by the virtual routers can be realized, and the requirement of a large-scale simulation network is met.
The test controller is internally provided with a routing engine which is used for obtaining parameters of the current test simulation network from the test network service and calculating throughput according to the obtained parameters of the current test simulation network. Specifically, parameters of the current test simulation network include an average access user number AU, an average user operation time AT, a survey time length I T, a request number UR sent by each virtual user, and a time TT used for testing.
As shown in fig. 4, the above calculation of the throughput by obtaining the parameters of the current test simulation network includes calculating the average concurrent user number by means of average access user number, average user operation time and investigation time length, and the calculation formula is as follows:
AC=AU*AT/I T
calculating a concurrent user peak PC through the calculated average concurrent user number AC, wherein the calculation formula is as follows:
PC=AC+3*√AC
calculating throughput through the calculated peak value PC of the concurrent users, the number UR of requests sent by each virtual user and the time TT used for testing, wherein the calculation formula is as follows:
T=PC*UR/TT。
as shown in fig. 5, if the throughput calculated by the routing engine reaches the performance bottleneck of the communication device, the throughput of the communication device needs to be improved. The routing engine draws a test simulation network topology through the obtained parameters of the current test simulation network, calculates an optimal routing path, sends the calculated optimal routing path to the virtual router through the test network service in the form of dynamic routing information, obtains the parameters of the current test simulation network from the test network service, calculates throughput through the obtained parameters of the current test simulation network, and if the calculated throughput does not reach the performance bottleneck of the communication equipment, the throughput is proved to be effective, the physical network topology is built according to the butting relation between the virtual router and the physical router, and the dynamic routing information is sent to the physical network topology; if the calculated throughput reaches the performance bottleneck of the communication device, it is indicated that the throughput improvement is not effective, and the dynamic routing information needs to be adjusted again, for example: and adding weight information on the basis of the test simulation network topology, and then taking the adjusted test simulation network topology as the input of a neural network model to obtain corresponding dynamic routing information.
As shown in fig. 6, the routing engine draws the test simulation network topology by using the obtained parameters of the current test simulation network, which specifically includes obtaining all port information and virtual router information in the current network by using the network service client; the port information comprises an ID of the port, an ID of a virtual router to which the port belongs, a network ID, and an IP address of the port, and the virtual router information is the virtual router ID;
establishing a corresponding relation between the port and the virtual router by comparing the virtual router ID of the port with the virtual router ID of the virtual router;
creating a topological graph, adding all virtual routers into the topological graph as points, if two virtual routers have the same direct connection network ID, indicating that a direct connection link exists between the two virtual routers, and adding the link into the topological graph as an edge.
The routing engine calculates an optimal routing path, and sends the calculated optimal routing path to the virtual router in the form of dynamic routing information through the test network service, wherein the method specifically comprises the steps of inputting the test simulation network topology into a dynamic routing network model to obtain dynamic routing information; the construction of the dynamic routing network model comprises the following steps:
the test simulation network topology in the training set is obtained, a plurality of test simulation network topologies can be manufactured through simulating the application scene of reality, and the historical actual network topology can also be obtained according to the historical record.
And training the neural network model by taking the test simulation network topology as input and dynamic routing information as output to obtain a trained dynamic routing network model. For example: the BP neural network can be selected as a basic neural network model to perform initial construction of the dynamic routing network model, and the initial constructed dynamic routing network model is trained and optimized through data in a training set to obtain an optimal dynamic routing network model.
In one embodiment, the parameters of the current test emulation network further comprise a traffic flow information table. As shown in fig. 3, a throughput optimization module is disposed in the test controller, and the throughput optimization module is configured to optimize the throughput of the traffic flow according to the traffic flow information table. Specifically, the throughput optimization module acquires the throughput time sequence of the service flow from the service flow information table, if the current sequence finishes generating and generates an end sequence mark, a new sequence is inserted after the end sequence mark of the current sequence, and the throughput time sequence of a new service flow is started without waiting for all the throughput time sequences to finish, so that the throughput of the service flow is optimized by using continuous batch processing, and the throughput is improved.
As shown in fig. 3, the test controller is further provided with a graphical interface for displaying the throughput simulation test results and configuring the test parameters in response to a user request.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
The foregoing is illustrative of the embodiments of the present disclosure and is not to be construed as limiting the scope of the one or more embodiments of the present disclosure. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of one or more embodiments of the present disclosure, are intended to be included within the scope of the claims of one or more embodiments of the present disclosure.

Claims (10)

1. A communication equipment throughput simulation test system is characterized in that: the system comprises a test program, a test controller, a test network service and a test equipment interface; wherein,
the test equipment interface is used for communicating and interacting with the communication equipment and supporting various communication protocols and data formats;
the test program is used for generating a plurality of virtual routers, and the virtual routers are used for isolating independent routing tables, network equipment interfaces and IP protocol stacks on a communication equipment operating system and realizing data forwarding through the communication equipment operating system;
the routing engine is used for obtaining parameters of the current test simulation network from the test network service, and calculating throughput through the obtained parameters of the current test simulation network.
2. A communication device throughput simulation test system according to claim 1, wherein: the parameters of the current test simulation network comprise average access user number, average user operation time, investigation time length, request number sent by each virtual user and test time.
3. A communication device throughput simulation test system according to claim 2, wherein: calculating the throughput by obtaining the parameters of the current test simulation network comprises calculating the average concurrent user number by the average access user number, the average user operation time and the investigation time length; calculating a concurrent user peak value through the calculated average concurrent user number; the throughput is calculated by the calculated peak value of concurrent users, the number of requests sent by each virtual user and the time taken for testing.
4. A communication device throughput simulation test system according to claim 1 or 3, wherein: if the throughput calculated by the routing engine reaches the performance bottleneck of the communication equipment, the routing engine draws a test simulation network topology through the obtained parameters of the current test simulation network, calculates an optimal routing path, transmits the calculated optimal routing path to the virtual router in the form of dynamic routing information through the test network service, obtains the parameters of the current test simulation network from the test network service, calculates the throughput through the obtained parameters of the current test simulation network, and if the calculated throughput does not reach the performance bottleneck of the communication equipment, constructs a physical network topology according to the butting relation between the virtual router and the physical router, and transmits the dynamic routing information to the physical network topology; and if the calculated throughput reaches the performance bottleneck of the communication equipment, adjusting the dynamic routing information.
5. The communication device throughput simulation test system of claim 4, wherein: the routing engine draws the test simulation network topology through the obtained parameters of the current test simulation network, and specifically comprises the steps of obtaining all port information and virtual router information in the current network through a network service client; the port information comprises an ID of a port, an ID of a virtual router to which the port information belongs, a network ID of the port and an IP address of the port, wherein the virtual router information is the virtual router ID;
establishing a corresponding relation between the port and the virtual router by comparing the virtual router ID of the port with the virtual router ID of the virtual router;
creating a topological graph, adding all virtual routers into the topological graph as points, if two virtual routers have the same direct connection network ID, indicating that a direct connection link exists between the two virtual routers, and adding the link into the topological graph as an edge.
6. The communication device throughput simulation test system of claim 4, wherein: the routing engine calculates an optimal routing path, and the calculated optimal routing path is issued to the virtual router in the form of dynamic routing information through the test network service, specifically comprises the steps of inputting a test simulation network topology into a dynamic routing network model to obtain dynamic routing information;
the construction of the dynamic routing network model comprises the following steps:
obtaining a test simulation network topology in a training set;
and training the neural network model by taking the test simulation network topology as input and the dynamic routing information as output to obtain a trained dynamic routing network model.
7. A communication device throughput simulation test system according to claim 2, wherein: the parameters of the current test simulation network also comprise a service flow information table.
8. The communication device throughput simulation test system of claim 7, wherein: and a throughput optimization module is arranged in the test controller and is used for optimizing the throughput of the service flow according to the service flow information table.
9. The communication device throughput simulation test system of claim 8, wherein: the throughput optimization module is used for optimizing the throughput of the service flow according to the service flow information table, and specifically comprises the step that the throughput optimization module acquires the throughput time sequence of the service flow from the service flow information table, and if the current sequence is generated completely, an ending sequence mark is generated, a new sequence is inserted after the ending sequence mark of the current sequence.
10. A communication device throughput simulation test system according to claim 1, wherein: the test controller is also provided with a graphical interface for displaying throughput simulation test results and configuring test parameters in response to a user request.
CN202311286636.2A 2023-10-07 2023-10-07 Communication equipment throughput simulation test system Pending CN117221187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311286636.2A CN117221187A (en) 2023-10-07 2023-10-07 Communication equipment throughput simulation test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311286636.2A CN117221187A (en) 2023-10-07 2023-10-07 Communication equipment throughput simulation test system

Publications (1)

Publication Number Publication Date
CN117221187A true CN117221187A (en) 2023-12-12

Family

ID=89035268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311286636.2A Pending CN117221187A (en) 2023-10-07 2023-10-07 Communication equipment throughput simulation test system

Country Status (1)

Country Link
CN (1) CN117221187A (en)

Similar Documents

Publication Publication Date Title
CN102710777B (en) Advertisement push-delivery method and system, as well as advertisement pusher
CN104184663B (en) Communication means and device based on software defined network and integrated identification network
CN107133161B (en) Method and device for generating client performance test script
CN109525461A (en) A kind of test method of the network equipment, device, equipment and storage medium
CN103326901B (en) A kind of power system broadband network performance test methods and system
CN111522727B (en) Simulation object test method, device and system
CN107800603A (en) Intranet user accesses the method and storage medium of headend equipment based on VPN
CN104079571A (en) Method and device for recognizing Android simulator
CN107547346A (en) A kind of message transmitting method and device
CN107820262A (en) Method for parameter configuration, apparatus and system
US20040127212A1 (en) Apparatus, system and method for network testing
CN107040429A (en) A kind of method of testing and system of port forwarding performance
CN107094091A (en) A kind of intelligent substation station level network configuration method of calibration and system
CN109039709A (en) A kind of mobile wireless network emulation and experiment porch based on virtualization
CN107291608A (en) The generation method of test script, subscription/register method of interface and device
CN113162816B (en) Testing method and testing system for OSPFv3 protocol of switch
CN106034049B (en) A kind of method and apparatus for simulating domain name registration office test macro
CN117221187A (en) Communication equipment throughput simulation test system
CN111935767B (en) Network simulation system
CN115242760B (en) SFU system and method based on WebRTC
CN108768849A (en) Message processing method and device
WO2023134312A1 (en) Content charging test method, management device, terminal device and storage medium
CN104168206B (en) Adapter gateway load balancing control method, device and system
CN112527453B (en) Virtualization information simulation system, method and computer-readable storage medium
CN108965059A (en) Router DNS forwarding performance test method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination