Automatic test system and method for metropolitan area network access equipment
Through an automated testing system for metropolitan area network access equipment, the simulated network topology and parameter configuration are used to realize automated testing of metropolitan area network access equipment, solving the problem of the equipment lacking effective testing methods, and improving testing efficiency and accuracy.
Patent Information
- Application Number
- CN202411915655.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-28
AI Technical Summary
Metropolitan area network access devices lack test methods for IPv6 function support, IPv4/IPv6 dual-stack network compatibility, and IPv6 network address allocation method consistency, and lack the simulation capabilities of related network topology, making it difficult to effectively test and verify the functions and performance of these devices.
It provides an automated testing system for metropolitan area network access equipment, including a controller, a main testing module, an auxiliary testing module and a device under test. The controller constructs the simulation network topology and configures the simulation network parameters according to the test requirements. The main test module performs automated testing in the simulation network, and the auxiliary test module assists in completing the test.
It realizes automated testing of metropolitan area network access devices, can effectively verify the device's IPv6 protocol support level, dual-stack network compatibility, and network address allocation method consistency, and simulates various network topology, improving testing efficiency and accuracy.
Smart Images

Figure CN119728411A_ABST
Abstract
Description
Technical Field
[0001] The disclosed embodiments relate to the field of automatic testing technology, and in particular, to an automatic testing system and method for metropolitan area network access equipment. Background Art
[0002] With the development and progress of communication technology, the number of Internet Protocol version 6 (IPv6) users in the entire network has exploded. However, fixed home networks will gradually become a bottleneck restricting the development of IPv6. Compared with mobile network users, fixed-line broadband home users have access methods that involve network terminal devices such as home gateways and home routers. These devices have differences in their own support for IPv6, applicability to home networking, and network address allocation methods. Each of these links will determine whether users can ultimately use the IPv6 network. It can be seen that the home network, as the "last mile" of network access, has become an important link in determining the scale of IPv6 users and traffic.
[0003] When accessing the MAN, there is a lack of testing methods for IPv6 function support, Internet Protocol version 4 (IPv4) / IPv6 dual-stack network compatibility, and consistency of IPv6 network address allocation. On the other hand, MAN access devices rely heavily on the existing network access environment for function and performance testing, and lack the ability to simulate related network topologies. Summary of the invention
[0004] The embodiments of the present disclosure provide an automated testing system and method for metropolitan area network access equipment, thereby realizing automated testing of the access equipment.
[0005] In a first aspect, an automated testing system for metropolitan area network access equipment is provided, comprising: a controller, a main testing module, an auxiliary testing module and a device under test;
[0006] The controller is used to determine a target test scheme according to the test requirements of the device under test, and to construct a simulation network topology and configure simulation network parameters based on the target test scheme; and to send the simulation network topology to the main test module, and to send the configuration simulation network parameters to the auxiliary test module;
[0007] The main test module is used to perform an automated test on the device under test in the simulated network according to the simulated network topology; and transmit the automated test result to the controller;
[0008] The auxiliary test module is used to configure the simulated network based on the configured simulated network parameters to assist the main test module in completing the automated test of the device under test.
[0009] In a second aspect, an automated testing method for metropolitan area network access equipment is provided, which is applied to an automated testing system for metropolitan area network access equipment; the automated testing system for metropolitan area network access equipment comprises a controller, a main testing module, an auxiliary testing module and a device under test; the method comprises:
[0010] The controller determines a target test scheme according to the test requirements of the device under test, constructs a simulation network topology and configures simulation network parameters based on the target test scheme; and sends a test task to the main test module and the auxiliary test module; the test requirements include test purpose, test steps and / or test environment;
[0011] The main test module performs automated testing according to the simulated network topology; and transmits automated testing results to the controller;
[0012] The auxiliary test module configures the simulated network based on the configured simulated network parameters to assist the main test module in completing the automated test of the device under test.
[0013] The disclosed embodiment discloses an automated testing system and method for metropolitan area network access equipment, including: a controller, a main test module, an auxiliary test module and a device under test; the controller is used to determine a target test scheme according to the test requirements of the device under test, and to construct a simulated network topology and configure simulated network parameters based on the target test scheme; and to send the simulated network topology to the main test module, and to send the configured simulated network parameters to the auxiliary test module; the main test module is used to perform automated testing on the device under test in a simulated network according to the simulated network topology; and to transmit the automated testing results to the controller; the auxiliary test module is used to configure a simulated network based on the configured simulated network parameters to assist the main test module in completing the automated testing of the device under test. The system provided in this embodiment can construct a simulated network topology, and perform automated testing on the device under test according to the constructed simulated network topology, thereby realizing automated testing of metropolitan area network access equipment.
[0014] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the embodiments of the present disclosure. Other features of the embodiments of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 It is a structural block diagram of an automated testing system for metropolitan area network access equipment provided by the first embodiment of the present disclosure;
[0017] Figure 2 It is a schematic diagram of an automated testing system for metropolitan area network access equipment provided by the first embodiment of the present disclosure;
[0018] Figure 3 This is a flow chart of an automated testing method for metropolitan area network access equipment provided in Embodiment 2 of the present disclosure. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the solutions of the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only embodiments of a part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the embodiments of the present disclosure.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure 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 disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0021] Embodiment 1
[0022] Figure 1 A structural block diagram of an automated testing system for metropolitan area network access equipment provided in the first embodiment of the present disclosure, such as Figure 1As shown, the automated test system 10 for metropolitan area network access equipment includes: a controller 101, a main test module 102, an auxiliary test module 103 and a device under test 104;
[0023] The controller 101 is used to determine a target test scheme according to the test requirements of the device under test 104, and to construct a simulation network topology structure and configure simulation network parameters based on the target test scheme; and to send the simulation network topology structure to the main test module 102, and to send the configured simulation network parameters to the auxiliary test module 103;
[0024] The main test module 102 is used to perform an automated test on the device under test 104 in the simulated network according to the simulated network topology; and transmit the automated test result to the controller;
[0025] The auxiliary test module 103 is used to configure the simulated network based on the configured simulated network parameters to assist the main test module 102 in completing the automated test of the device under test 104 .
[0026] The controller 101 is connected to the main test module 102, the auxiliary test module 103 and the device under test 104 respectively via Ethernet;
[0027] The main test module 102 is connected to the auxiliary test module 103 via Ethernet;
[0028] The main test module 102 is connected to the device under test 104 via Ethernet or a wireless network;
[0029] The auxiliary test module 103 is connected to the device under test 104 via Ethernet.
[0030] Among them, the controller 101 is used to determine the target test scheme according to the test requirements of the device under test 104, and construct a simulation network topology structure and configure simulation network parameters based on the target test scheme; and send the simulation network topology structure to the main test module 102, and send the configured simulation network parameters to the auxiliary test module 103.
[0031] In this embodiment, the device under test 104 may be a device accessing a metropolitan area network. Exemplarily, the device under test 104 may be a home router, a home gateway and / or an enterprise gateway, etc. The controller 101 may determine a target test scheme according to the test requirements of the device under test. The test requirements may include information such as the test purpose, test steps and / or test environment; the target test scheme may be a scheme generated internally by the controller 101. The controller 101 may construct a simulated network topology structure and configure simulated network parameters according to the target test scheme, and send the simulated network topology structure to the main test module 102, and send the configured simulated network parameters to the auxiliary test module 103.
[0032] The main test module 102 is used to perform an automated test on the device under test 104 in the simulated network according to the simulated network topology; and transmit the automated test result to the controller;
[0033] Specifically, the main test module 102 may receive the simulation topology and perform an automated test on the device under test 104 in the simulation network, wherein the simulation network may be a simulation network environment constructed by the auxiliary test module 103. After the automated test is completed, the automated test result is transmitted to the controller 101.
[0034] The auxiliary test module 103 is used to configure the simulated network based on the configured simulated network parameters to assist the main test module 102 in completing the automated test of the device under test 104 .
[0035] Specifically, the auxiliary test module 103 may receive configuration simulation network parameters, and configure the simulation network according to the configuration simulation network parameters, so as to assist the main test module 102 in completing the automated test of the device under test 104 .
[0036] The present embodiment provides an automated testing system for metropolitan area network access equipment, including: a controller, a main test module, an auxiliary test module and a device under test; the controller is used to determine a target test scheme according to the test requirements of the device under test, and to construct a simulated network topology structure and configure simulated network parameters based on the target test scheme; and to send the simulated network topology structure to the main test module, and to send the configured simulated network parameters to the auxiliary test module; the main test module is used to perform automated testing on the device under test in a simulated network according to the simulated network topology structure; and to transmit the automated testing results to the controller; the auxiliary test module is used to configure a simulated network based on the configured simulated network parameters, so as to assist the main test module in completing the automated testing of the device under test, thereby realizing automated testing of metropolitan area network access equipment.
[0037] As an optional implementation of this embodiment, the controller 101 is further configured to:
[0038] 1) Obtaining the automated test results and generating a test report according to the automated test results;
[0039] Specifically, after receiving the automated test result, the controller 101 may generate a test report according to the automated test result.
[0040] 2) Displaying the automated test results and the test report.
[0041] Specifically, the controller 101 may also display the automated test results and the test report.
[0042] As an optional implementation of this embodiment, the main test module 102 may also include a client simulation unit, a server simulation unit and a verification calculation unit;
[0043] 1) The client simulation unit is used to determine the client based on the simulated network topology structure; and initiate a service request.
[0044] Specifically, the client simulation unit may determine the client according to the client information in the simulated network topology structure, and the client may be a simulated personal computer (PC) client and / or a mobile client, etc.
[0045] Continuing with the above description, the client simulation unit may also initiate a service request.
[0046] 2) The server simulation unit is used to determine the server based on the simulated network topology structure, and respond to the service request by simulating the function of the server to achieve interaction with the client.
[0047] Specifically, the server simulation unit can determine the server based on the simulated network topology structure, and the server can be a simulated Point-to-Point Protocol over Ethernet Server (PPPoE) server, a Dynamic Host Configuration Protocol Server (DHCP) server, a Domain Name System (DNS) server, a Post Office Protocol version 3 Server (POP3) server and / or a Simple Mail Transfer Protocol Server (SMTP) server, etc.
[0048] Continuing with the above description, after the server is determined, the server simulation unit can simulate the function of the server to respond to the service request to achieve interaction with the client.
[0049] 3) The verification calculation unit is used to record the interaction data generated during the interaction process between the server and the client, and obtain an automated test result based on the interaction data; and transmit the automated test result to the controller 101.
[0050] In this embodiment, the verification calculation unit may record the interaction data generated during the interaction between the server and the client. Exemplarily, the interaction data may include the number of transactions, the number of requests, the transmission delay, the forwarding capability, the IP address of the device under test 104, the relevant protocols of the device under test 104 and / or the compatibility of the device under test 104. If the server is a DHCP server, the interaction data between the DHCP server and the DUT includes DHCP request and response messages.
[0051] It can be known that the verification calculation unit can obtain the automatic test result according to the interaction data; and transmit the automatic test result to the controller 101.
[0052] As an optional implementation of this embodiment, the automated test result includes a performance indicator and a verification report; and obtaining the automated test result according to the interaction data includes:
[0053] 1) determining a performance indicator according to the interaction data;
[0054] In this embodiment, performance indicators may be determined according to the interaction data. Exemplarily, the performance indicators may include service success rate, service delay and / or forwarding capability, etc.
[0055] 2) Verifying the preset function of the device under test 104 according to the interaction data to obtain a verification report; and transmitting the verification report and the interaction data to the controller 101 .
[0056] Specifically, the preset functions of the device under test 104 can also be verified based on the interaction data. The preset functions may be functions that can be implemented by the device under test 104. Exemplarily, the preset functions may be dual-stack network address allocation verification, IPv6 protocol consistency verification, network compatibility function verification, protocol consistency and / or compatibility assessment, etc.
[0057] Following the above description, after the verification is completed, a verification report can be obtained, and the verification report and the interaction data are transmitted to the controller 101.
[0058] As an optional implementation of this embodiment, the interaction data includes: network address allocation data; the preset function includes dual-stack network address allocation verification;
[0059] The verifying the preset function of the device under test 104 according to the interaction data includes:
[0060] 1) Using the preset address information to determine whether the dual stack network address allocation data is correct;
[0061] Specifically, the preset address information may be pre-set address information. When the preset function includes dual-stack network address allocation verification, the preset address information may include: correct IPv4 and IPv6 address information.
[0062] Continuing with the above description, it is possible to determine whether the dual stack network address allocation data is correct based on the preset address information, wherein the dual stack network address allocation data may be an allocated network address. It can be understood as determining whether the network interface of the device under test 104 is correctly configured with IPv4 and IPv6 addresses, and it can also be determined whether the network interface of the device under test 104 is correctly configured with information such as a subnet mask and a default gateway.
[0063] 2) when the dual-stack network address allocation data is correct, confirm whether the actual configuration address of the client is the same as the dual-stack network address allocation data, so as to verify the dual-stack network address allocation of the device under test;
[0064] Specifically, if the dual-stack network address allocation data is correct, confirm whether the actual configuration address of the client is the same as the dual-stack network address allocation data, that is, check whether the network interface of the device under test 104 is correctly configured with IPv4 and IPv6 addresses, and confirm whether the device under test 104 can access network resources through these addresses. In this way, the dual-stack network address allocation of the device under test 104 is verified.
[0065] Optionally, the interaction data further includes: message data; the preset function further includes protocol consistency verification;
[0066] The verifying the preset function of the device under test 104 according to the interaction data includes:
[0067] Determine whether the message data is correct based on a preset standard protocol to perform protocol consistency verification on the device under test 104;
[0068] In this embodiment, the preset standard protocol may be a pre-set format and / or structure of a standard protocol, such as the standard structure of the IPv6 protocol. All message data exchanged between the client and the server, such as IPv6 messages, are recorded, and the message data is checked to see whether it complies with the preset standard protocol, such as the standard structure of the IPv6 protocol.
[0069] Optionally, the interaction data further includes: communication data; the preset function further includes compatibility verification;
[0070] The verifying the preset function of the device under test 104 according to the interaction data includes:
[0071] 1) determining whether the communication data is correct based on preset standard communication data;
[0072] In this embodiment, the communication data may be the communication data generated interactively between the client and the server, such as the communication data may include successful and failed service requests. Whether the communication data is correct may be determined based on preset standard communication data, which includes the format and content of standard data packets.
[0073] 2) when the communication data is correct, evaluating the interaction process between the server and the client based on the communication data to obtain an evaluation result;
[0074] Specifically, when the communication data is correct, the interaction process between the server and the client can be evaluated based on the communication data to obtain an evaluation result; the evaluation result may include checking whether the client can communicate with server devices from different manufacturers, or checking whether the server can process requests from clients from different manufacturers.
[0075] 3) Verifying the compatibility of the device under test 104 according to the evaluation result.
[0076] Specifically, the compatibility of the device under test 104 can be verified according to the evaluation result. For example, if the evaluation result shows that the client can communicate with servers of multiple manufacturers and the server can process requests from clients of different manufacturers, it can be considered that the compatibility of the device under test 104 is good.
[0077] Figure 2 A schematic diagram of an automated testing system for metropolitan area network access equipment provided in this embodiment, such as Figure 2 As shown, the controller connects the main test module, auxiliary test module and device under test (DUT) through the Ethernet interface. The main test module: connects to the auxiliary test module through the Ethernet interface, and connects to the DUT through the Ethernet interface or WIFI (wireless) interface; the auxiliary test module: connects to the DUT through the Ethernet interface. The function operation logic of each module is as follows:
[0078] (1) Controller: manages and configures the main test module, auxiliary test modules and DUT, including but not limited to test topology simulation, network address configuration, test result display, test report generation, etc.
[0079] (2) Main test module: including server simulation unit, verification calculation unit, and client simulation unit;
[0080] Server simulation unit: including but not limited to simulation of PPPoE server, DHCP server, DNS server, POP3 server, SMTP server, etc.;
[0081] Client simulation unit: including but not limited to simulation PC client, mobile client, etc.
[0082] Verification of computing unit: Calculation verification is performed through the test traffic of the client simulation unit and the server simulation unit. The calculation content includes but is not limited to performance indicators such as service success rate, service delay, and forwarding capability. The verification content includes but is not limited to dual-stack network address allocation function, IPv6 protocol consistency, network compatibility function, etc.
[0083] (3) Auxiliary test module: cooperates with the main test module to simulate the network environment, configure network address parameters, and respond to several network protocol requests of the DUT.
[0084] The beneficial effects of this technical solution include:
[0085] Automatically verify the IPv6 protocol support level of metropolitan area network access equipment and generate test reports; automatically create network topology simulations for various typical metropolitan area network access networks; be able to simulate various types of terminals (including but not limited to Windows, Linux, IOS, Android, etc.) in both wired and wireless networks; dynamically determine the compatibility of the DUT when it fails to obtain a valid Dynamic Host Configuration Protocol Prefix Delegation (DHCP-PD) prefix.
[0086] Embodiment 2
[0087] Figure 3 A flowchart of an automated testing method for metropolitan area network access equipment provided in Embodiment 2 of the present disclosure, the method is applied to an automated testing system for metropolitan area network access equipment; the automated testing system for metropolitan area network access equipment comprises a controller, a main testing module, an auxiliary testing module and a device under test; the method comprises:
[0088] S210. The controller determines the target test plan according to the test requirements of the device under test, builds the simulation network topology and configures the simulation network parameters based on the target test plan; and sends the test task to the main test module and the auxiliary test module; the test requirements include the test purpose, test steps and / or test environment.
[0089] In this embodiment, the device under test may be a device connected to a metropolitan area network. For example, the device under test may be a home router, a home gateway and / or an enterprise gateway. The controller may determine a target test scheme according to the test requirements of the device under test. The test requirements may include information such as the test purpose, test steps and / or test environment. The target test scheme may be a scheme generated inside the controller. The controller may construct a simulated network topology and configure simulated network parameters according to the target test scheme, and send the simulated network topology to the main test module, and send the configured simulated network parameters to the auxiliary test module.
[0090] S220, the main test module performs an automated test according to the simulated network topology; and transmits the automated test result to the controller.
[0091] Specifically, the main test module can receive the simulation topology structure and perform automated testing on the device under test in the simulated network; wherein the simulated network can be a simulated network environment constructed by the auxiliary test module. After the automated test is completed, the automated test result is transmitted to the controller.
[0092] S230. The auxiliary test module configures the simulation network based on the configuration simulation network parameters to assist the main test module in completing the automated test of the device under test.
[0093] Specifically, the auxiliary test module may receive configuration simulation network parameters, and configure the simulation network according to the configuration simulation network parameters, so as to assist the main test module in completing the automated test of the device under test.
[0094] The present embodiment provides an automated testing method for metropolitan area network access equipment, including: a controller determines a target test scheme according to the test requirements of the device under test, builds a simulated network topology and configures simulated network parameters based on the target test scheme; and sends test tasks to a main test module and an auxiliary test module; the test requirements include test objectives, test steps and / or test environment; the main test module performs automated testing according to the simulated network topology; and transmits the automated testing results to the controller; the auxiliary test module configures the simulated network based on the configured simulated network parameters to assist the main test module in completing the automated testing of the device under test, thereby realizing automated testing of the device under test.
[0095] As an optional implementation of this embodiment, the automated testing method for metropolitan area network access equipment provided in this embodiment further includes:
[0096] 1) The controller obtains the automated test results and generates a test report according to the automated test results;
[0097] Specifically, after receiving the automated test results, the controller may generate a test report according to the automated test results.
[0098] 2) The controller displays the automated test results and the test report.
[0099] Specifically, the controller may also display the automated test results and the test report.
[0100] As an optional implementation of this embodiment, the main test module includes a client simulation unit, a server simulation unit and a verification calculation unit;
[0101] The method further comprises:
[0102] 1) determining the client based on the simulated network topology through the client simulation unit; and initiating a service request;
[0103] Specifically, the client simulation unit may determine the client according to the client information in the simulation network topology structure.
[0104] 2) The server simulation unit determines a server based on the simulated network topology, and responds to the service request by simulating the function of the server to achieve interaction with the client.
[0105] Specifically, the server simulation unit may determine a server based on the simulated network topology structure, and the server may be a simulated PPPoE server, a DHCP server, a DNS server, a POP3 server and / or an SMTP server, etc.
[0106] Continuing with the above description, after the server is determined, the server simulation unit can simulate the function of the server to respond to the service request to achieve interaction with the client.
[0107] 3) The verification calculation unit is used to record the interaction data generated during the interaction process between the server and the client, and obtain the automatic test result according to the interaction data; and transmit the automatic test result to the controller.
[0108] In this embodiment, the verification calculation unit may record the interaction data generated during the interaction between the server and the client. Exemplarily, the interaction data may include the number of transactions, the number of requests, the transmission delay, the forwarding capability, the IP address of the device under test 104, the relevant protocols of the device under test 104 and / or the compatibility of the device under test 104. If the server is a DHCP server, the interaction data between the DHCP server and the DUT includes DHCP request and response messages.
[0109] It can be known that the verification calculation unit can obtain the automatic test result according to the interaction data; and transmit the automatic test result to the controller.
[0110] Optionally, the interaction data includes: network address allocation data; the preset function includes dual-stack network address allocation verification;
[0111] The verifying the preset function of the device under test according to the interaction data includes:
[0112] 1) Use the preset address information to determine whether the dual stack network address allocation data is correct.
[0113] Specifically, the preset address information may be pre-set address information. When the preset function includes dual-stack network address allocation verification, the preset address information may include: correct IPv4 and IPv6 address information.
[0114] Continuing with the above description, it is possible to determine whether the dual stack network address allocation data is correct based on the preset address information, wherein the dual stack network address allocation data may be an allocated network address. It can be understood as determining whether the network interface of the device under test is correctly configured with IPv4 and IPv6 addresses, and whether the network interface of the device under test is correctly configured with information such as a subnet mask and a default gateway.
[0115] 2) when the dual-stack network address allocation data is correct, confirm whether the actual configuration address of the client is the same as the dual-stack network address allocation data, so as to verify the dual-stack network address allocation of the device under test;
[0116] Specifically, when the dual-stack network address allocation data is correct, it is confirmed whether the actual configuration address of the client is the same as the dual-stack network address allocation data, thereby realizing verification of the dual-stack network address allocation of the device under test.
[0117] Optionally, the interaction data further includes: message data; the preset function further includes protocol consistency verification;
[0118] The verifying the preset function of the device under test according to the interaction data includes:
[0119] Determine whether the message data is correct based on a preset standard protocol to perform protocol consistency verification on the device under test.
[0120] In this embodiment, the preset standard protocol may be a pre-set format and / or structure of a standard protocol, such as the standard structure of the IPv6 protocol. All message data exchanged between the client and the server are recorded, and the message data is checked to see whether it complies with the preset standard protocol, such as the standard structure of the IPv6 protocol.
[0121] Optionally, the interaction data further includes: communication data; the preset function further includes compatibility verification;
[0122] The verifying the preset function of the device under test according to the interaction data includes:
[0123] 1) determining whether the communication data is correct based on preset standard communication data;
[0124] In this embodiment, the communication data may be the communication data generated interactively between the client and the server, such as the communication data may include successful and failed service requests. Whether the communication data is correct may be determined based on preset standard communication data, which includes the format and content of standard data packets.
[0125] 2) when the communication data is correct, evaluating the interaction process between the server and the client based on the communication data to obtain an evaluation result;
[0126] Specifically, when the communication data is correct, the interaction process between the server and the client can be evaluated based on the communication data to obtain an evaluation result; the evaluation result may include checking whether the client can communicate with server devices from different manufacturers, or checking whether the server can process requests from clients from different manufacturers.
[0127] 3) Verifying the compatibility of the device under test according to the evaluation results.
[0128] Specifically, the compatibility of the device under test can be verified according to the evaluation result. For example, if the client can communicate with servers of multiple manufacturers in the evaluation result and the server can process requests from clients of different manufacturers, it can be considered that the compatibility of the device under test is good.
[0129] The present application provides a testing method for IPv6 wireless LAN devices, which can be applied to the IPv4 / IPv6 function and performance testing of wireless LAN devices with address allocation capabilities, such as home wireless routers, home smart gateways, and small and medium-sized enterprise gateways. The method includes: automatically creating different IPv6 network test topologies for different types of wireless LAN devices; automatically simulating network services; automatically simulating client devices such as PCs and mobile phones; automatically constructing and sending test verification traffic; automatically calculating and providing test conclusions and reports, etc. The controller module provides users with functions such as test plan calling, creating network simulation topology, configuring network parameters, displaying test results, and test reports; the main test module includes a server simulation unit, an IPv6 client simulation unit, and a verification calculation unit; the auxiliary test module includes assisting in the creation of network simulation topology, cooperating to complete the assignment of dual-stack network addresses, etc., to achieve automated testing of the device under test.
Claims
1. An automated testing system for metropolitan area network access equipment, characterized in that: include: Controller, main test module, auxiliary test module and device under test; The controller is used to determine a target test scheme according to the test requirements of the device under test, and to construct a simulation network topology and configure simulation network parameters based on the target test scheme; and sending the simulated network topology structure to the main test module, and sending the configured simulated network parameters to the auxiliary test module; The main test module is used to perform automated testing on the device under test in the simulated network according to the simulated network topology; and transmitting the automated test results to the controller; The auxiliary test module is used to configure the simulated network based on the configured simulated network parameters to assist the main test module in completing the automated test of the device under test.
2. The system according to claim 1, characterized in that The controller is also used for: Obtain the automated test results, and generate a test report based on the automated test results; The automated test results and the test report are displayed.
3. The system according to claim 1, characterized in that The main test module includes a client simulation unit, a server simulation unit and a verification calculation unit; The client simulation unit is used to determine the client based on the simulated network topology; And initiate a business request; The server simulation unit is used to determine the server based on the simulated network topology structure, and respond to the service request by simulating the function of the server to achieve interaction with the client; The verification calculation unit is used to record the interaction data generated during the interaction between the server and the client, and obtain the automated test result according to the interaction data; And transmit the automated test result to the controller.
4. The system according to claim 3, characterized in that The automated test results include performance indicators and verification reports; the automated test results obtained according to the interactive data include: determining a performance indicator based on the interaction data; The preset function of the device under test is verified according to the interaction data to obtain a verification report; and the verification report and the performance data are transmitted to the controller.
5. The system according to claim 4, characterized in that The interactive data includes: network address allocation data; the preset function includes dual-stack network address allocation verification; The verifying the preset function of the device under test according to the interaction data includes: Determine whether the dual stack network address allocation data is correct using the preset address information; If the dual-stack network address allocation data is correct, confirm whether the actual configuration address of the client is the same as the dual-stack network address allocation data, so as to verify the dual-stack network address allocation of the device under test; The interactive data also includes: message data; the preset function also includes protocol consistency verification; The verifying the preset function of the device under test according to the interaction data includes: Determining whether the message data is correct based on a preset standard protocol to perform protocol consistency verification on the device under test; The interaction data also includes: communication data; the preset function also includes compatibility verification; The verifying the preset function of the device under test according to the interaction data includes: Determining whether the communication data is correct based on preset standard communication data; When the communication data is correct, evaluating the interaction process between the server and the client based on the communication data to obtain an evaluation result; The compatibility of the device under test is verified according to the evaluation result.
6. The system according to claim 1, characterized in that The controller is respectively connected to the main test module, the auxiliary test module and the device under test via Ethernet; The main test module is connected to the auxiliary test module via Ethernet; The main test module is connected to the device under test via Ethernet or a wireless network; The auxiliary test module is connected to the device under test via Ethernet.
7. An automated testing method for metropolitan area network access equipment, characterized in that: Applicable to the automated testing system for metropolitan area network access equipment; The automated test system for metropolitan area network access equipment includes a controller, a main test module, an auxiliary test module and a device under test; the method includes: The controller determines a target test scheme according to the test requirements of the device under test, constructs a simulation network topology and configures simulation network parameters based on the target test scheme; and sends a test task to the main test module and the auxiliary test module; the test requirements include test purpose, test steps and / or test environment; The main test module performs automated testing according to the simulated network topology; and transmits automated testing results to the controller; The auxiliary test module configures the simulated network based on the configured simulated network parameters to assist the main test module in completing the automated test of the device under test.
8. The method according to claim 7, characterized in that The method further comprises: The controller obtains the automated test result and generates a test report according to the automated test result; The controller displays the automated test result and the test report.
9. The method according to claim 7, characterized in that: The main test module includes a client simulation unit, a server simulation unit and a verification calculation unit; The method further comprises: Determine the client based on the simulated network topology structure through the client simulation unit; and receive the test task and initiate a service request; The server simulation unit determines a server based on the simulated network topology, and responds to the service request by simulating the function of the server to achieve interaction with the client; The verification calculation unit is used to record the interaction data generated during the interaction process between the server and the client, and obtain the automatic test result according to the interaction data; and transmit the automatic test result to the controller.
10. The method according to claim 9, characterized in that The interactive data includes: network address allocation data; the preset function includes dual-stack network address allocation verification; The verifying the preset function of the device under test according to the interaction data includes: Determine whether the dual stack network address allocation data is correct using the preset address information; If the dual-stack network address allocation data is correct, confirm whether the actual configuration address of the client is the same as the dual-stack network address allocation data, so as to verify the dual-stack network address allocation of the device under test; The interactive data also includes: message data; the preset function also includes protocol consistency verification; The verifying the preset function of the device under test according to the interaction data includes: Determining whether the message data is correct based on a preset standard protocol to perform protocol consistency verification on the device under test; The interaction data also includes: communication data; the preset function also includes compatibility verification; The verifying the preset function of the device under test according to the interaction data includes: Determining whether the communication data is correct based on preset standard communication data; When the communication data is correct, evaluating the interaction process between the server and the client based on the communication data to obtain an evaluation result; The compatibility of the device under test is verified according to the evaluation result.
Citation Information
Patent Citations
End-to-end QoS performance verification method and system for heterogeneous network based on OPNET
CN107070677A
Network performance test method and device based on simulation software and computer equipment
CN114553752A
5G industrial control network system automatic security test method and system, and storage medium
CN115333787A