A method, device and equipment for testing routing performance
By conducting multiple business tests on the target route, performance indicators at the user dimension, device dimension and network dimension are obtained, thereby realizing a multi-dimensional evaluation of the dynamic route recovery performance and solving the problem of single and imperfect evaluation indicators in the existing technology. Ensures the comprehensiveness and validity of the assessment.
Patent Information
- Application Number
- CN202010712484.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-22
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-07-22
AI Technical Summary
The evaluation indicators of dynamic routing recovery performance testing methods in the existing technology are single and imperfect, and cannot effectively evaluate recovery performance, especially when more than thousands of batch services are deployed, comprehensive performance evaluation cannot be performed.
Use at least two services to test the target route, obtain test data, and determine the performance indicators of the user dimension, device dimension, and network dimension based on the data, including the maximum time for service recovery, path calculation accuracy, total batch service recovery time, etc., to achieve multiple Dimensional performance evaluation.
Through multi-dimensional evaluation, a more comprehensive and diversified evaluation of dynamic routing recovery performance is achieved, which solves the problem of single and imperfect evaluation indicators in the existing technology, and can effectively evaluate recovery performance.
Smart Images

Figure CN113973328B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a routing performance testing method, device and testing equipment. Background Art
[0002] Sliced Packet Network (SPN) is an end-to-end hierarchical switching network based on multi-layer convergence. It is a transmission network with the attributes of flexible service scheduling, high reliability, low latency, high-precision clock, easy operation and maintenance, and strict QOS (quality of service) guarantee. Sliced Packet Network (SPN) has become one of the mainstream technologies for the new generation of 5G bearer.
[0003] Sliced Packet Network (SPN) provides connection-oriented service carrying capability by introducing SR-TP (Segment Routing Transport Profile-Traffic Engineering) tunnel technology at the packet layer, providing high-quality, easy-to-operate and maintain transmission services for point-to-point or point-to-multipoint connection 5G services.
[0004] In order to improve the reliability of the 5G bearer network, in addition to supporting the 1:1 APS (Automatic Protection Switch) end-to-end protection function based on SR-TP, the Sliced Packet Network (SPN) also provides SR-TP-based dynamic routing recovery capabilities. In the case of APS end-to-end protection failure or multi-point failure without an effective protection path, the SR-TP dynamic routing recovery function can achieve the maximum recovery of services and provide a highly reliable 5G bearer network. Therefore, the SR-TP dynamic routing recovery function has become one of the necessary functions for operator network deployment. The SR-TP dynamic routing recovery function needs to be evaluated in the test. In actual network deployment, an objective, comprehensive and effective performance test evaluation method plays an important role in the network design, equipment selection and deployment of the 5G bearer network.
[0005] Specifically, Figure 1 As shown in the figure, the conventional dynamic routing evaluation method adopts distributed service configuration, such as NE (network element) 1 to NE5~NE8 in the figure. By interrupting the link on the public path, each service source and sink node detects the link abnormality and triggers the tunnel to recalculate the route, and sends the new route calculated according to different route calculation strategies to the source and sink node of each service. After the new route configuration data takes effect, the service is restored. By recording the damage time of each service, the performance of dynamic routing recovery is evaluated.
[0006] However, the current conventional dynamic routing evaluation indicators and methods have the following deficiencies:
[0007] (1) Conventional evaluation indicators and methods focus more on the verification of the SR-TP dynamic routing recovery routing calculation strategy function, and the evaluation indicators only reflect the recovery performance of a single service. In actual deployment networks, SR-TP dynamic routing recovery needs to meet the performance evaluation of more than thousands of batch services, and conventional evaluation indicators and methods cannot be effectively evaluated.
[0008] (2) Conventional evaluation indicators and methods only evaluate the SR-TP dynamic routing recovery performance from the service damage dimension. The evaluation indicators are relatively single and cannot comprehensively evaluate the SR-TP dynamic routing recovery capability.
[0009] (3) The controller's concurrent processing capability is one of the important factors affecting the SR-TP dynamic routing recovery performance. Conventional evaluation indicators and methods lack the measurement indicators and evaluation method analysis of the controller's concurrent processing capability.
[0010] As can be seen from the above, the evaluation indicators (parameters) of the existing dynamic routing recovery performance test method are relatively single and imperfect, and cannot effectively evaluate the recovery performance. Summary of the invention
[0011] The purpose of the present invention is to provide a routing performance testing method, device and testing equipment to solve the problem that the evaluation indicators (parameters) of the dynamic routing recovery performance testing method in the prior art are relatively single and imperfect and cannot effectively evaluate the recovery performance.
[0012] In order to solve the above technical problems, an embodiment of the present invention provides a routing performance testing method, including:
[0013] Using at least two services to test the target route to obtain test data;
[0014] According to the test data, test parameter information is obtained;
[0015] Determining the performance of the target route according to the test parameter information;
[0016] The test parameter information includes at least one of user dimension parameter information, device dimension parameter information and network dimension device information;
[0017] The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information;
[0018] The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information;
[0019] The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
[0020] Optionally, the service recovery related information is the total number of service recovery; or,
[0021] The service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy.
[0022] Optionally, obtaining test parameter information according to the test data includes:
[0023] Acquiring periodic information formed by the test data;
[0024] Determining the number of data peaks or data troughs according to the periodicity information;
[0025] According to the said quantity, the total number of business recovery is obtained;
[0026] The service recovery related information is service recovery concurrent information or service recovery comprehensive concurrent information;
[0027] The total number of business recovery is the total number of concurrent business recovery or the total number of comprehensive concurrent business recovery;
[0028] The test data is first test data corresponding to business recovery concurrency or second test data corresponding to business recovery comprehensive concurrency.
[0029] Optionally, the adopting at least two services to test the target route to obtain test data includes:
[0030] At least two services are used to test the target route using a preset algorithm strategy and a preset path calculation factor to obtain test data under a preset fault scenario.
[0031] Optionally, obtaining test parameter information according to the test data includes:
[0032] According to the test data, path calculation accuracy information in a scenario where the preset algorithm strategy and the preset path calculation factor are combined is obtained.
[0033] Optionally, the adopting at least two services to test the target route to obtain test data includes:
[0034] Using at least two services with the same source but different destinations to test the target route, to obtain first test data;
[0035] The obtaining of test parameter information according to the test data includes:
[0036] According to the first test data, at least one of the user dimension parameter information, the network dimension device information and the device dimension parameter information is obtained;
[0037] The service recovery related information is service recovery concurrent information.
[0038] Optionally, the adopting at least two services to test the target route to obtain test data includes:
[0039] Using at least two services with the same source and destination to test the target route, to obtain second test data;
[0040] The obtaining of test parameter information according to the test data includes:
[0041] According to the second test data, obtaining the service recovery related information in the device dimension parameter information;
[0042] The business recovery related information is business recovery comprehensive concurrent information.
[0043] The embodiment of the present invention further provides a routing performance testing device, including:
[0044] A first processing module, used to test the target route using at least two services to obtain test data;
[0045] A second processing module, used to obtain test parameter information according to the test data;
[0046] A third processing module, configured to determine the performance of the target route according to the test parameter information;
[0047] The test parameter information includes at least one of user dimension parameter information, device dimension parameter information and network dimension device information;
[0048] The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information;
[0049] The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information;
[0050] The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
[0051] Optionally, the service recovery related information is the total number of service recovery; or,
[0052] The service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy.
[0053] Optionally, the second processing module includes:
[0054] A first acquisition submodule, used for acquiring periodic information formed by the test data;
[0055] A first determination submodule, configured to determine the number of data peaks or data troughs according to the periodicity information;
[0056] A first processing submodule, configured to obtain a total number of service recovery operations according to the number;
[0057] The service recovery related information is service recovery concurrent information or service recovery comprehensive concurrent information;
[0058] The total number of business recovery is the total number of concurrent business recovery or the total number of comprehensive concurrent business recovery;
[0059] The test data is first test data corresponding to business recovery concurrency or second test data corresponding to business recovery comprehensive concurrency.
[0060] Optionally, the first processing module includes:
[0061] The second processing submodule is used to adopt at least two services, use a preset algorithm strategy and a preset path calculation factor, test the target route, and obtain test data under a preset fault scenario.
[0062] Optionally, the second processing module includes:
[0063] The third processing submodule is used to obtain the path calculation accuracy information in the scenario of the combination of the preset algorithm strategy and the preset path calculation factor according to the test data.
[0064] Optionally, the first processing module includes:
[0065] A fourth processing submodule is used to test the target route using at least two services with the same source but different destinations to obtain first test data;
[0066] The second processing module comprises:
[0067] a fifth processing submodule, configured to obtain at least one of the user dimension parameter information, the network dimension device information, and the device dimension parameter information according to the first test data;
[0068] The service recovery related information is service recovery concurrent information.
[0069] Optionally, the first processing module includes:
[0070] A sixth processing submodule, configured to test the target route using at least two services with the same source and destination to obtain second test data;
[0071] The second processing module comprises:
[0072] A seventh processing submodule, configured to obtain service recovery related information in the device dimension parameter information according to the second test data;
[0073] The business recovery related information is business recovery comprehensive concurrent information.
[0074] The present invention provides a test device, including: a processor and a transceiver;
[0075] The processor is used to use the transceiver to test the target route using at least two services to obtain test data;
[0076] According to the test data, test parameter information is obtained;
[0077] Determining the performance of the target route according to the test parameter information;
[0078] The test parameter information includes at least one of user dimension parameter information, device dimension parameter information and network dimension device information;
[0079] The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information;
[0080] The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information;
[0081] The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
[0082] Optionally, the service recovery related information is the total number of service recovery; or,
[0083] The service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy.
[0084] Optionally, the processor is specifically configured to:
[0085] Acquiring periodic information formed by the test data;
[0086] Determining the number of data peaks or data troughs according to the periodicity information;
[0087] According to the said quantity, the total number of business recovery is obtained;
[0088] The service recovery related information is service recovery concurrent information or service recovery comprehensive concurrent information;
[0089] The total number of business recovery is the total number of concurrent business recovery or the total number of comprehensive concurrent business recovery;
[0090] The test data is first test data corresponding to business recovery concurrency or second test data corresponding to business recovery comprehensive concurrency.
[0091] Optionally, the processor is specifically configured to:
[0092] At least two services are used to test the target route using a preset algorithm strategy and a preset path calculation factor to obtain test data under a preset fault scenario.
[0093] Optionally, the processor is specifically configured to:
[0094] According to the test data, path calculation accuracy information in a scenario where the preset algorithm strategy and the preset path calculation factor are combined is obtained.
[0095] Optionally, the processor is specifically configured to:
[0096] Using at least two services with the same source but different destinations to test the target route, to obtain first test data;
[0097] Obtaining at least one of the user dimension parameter information, the network dimension device information, and the device dimension parameter information according to the first test data;
[0098] The service recovery related information is service recovery concurrent information.
[0099] Optionally, the processor is specifically configured to:
[0100] Using at least two services with the same source and destination to test the target route, to obtain second test data;
[0101] Obtaining service recovery related information in the device dimension parameter information according to the second test data;
[0102] The business recovery related information is business recovery comprehensive concurrent information.
[0103] An embodiment of the present invention further provides a testing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned routing performance testing method is implemented.
[0104] The embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the steps in the above-mentioned routing performance testing method are implemented.
[0105] The beneficial effects of the above technical solution of the present invention are as follows:
[0106] In the above scheme, the routing performance testing method tests the target route by using at least two services to obtain test data; obtains test parameter information according to the test data; determines the performance of the target route according to the test parameter information; wherein the test parameter information includes: at least one of user dimension parameter information, device dimension parameter information and network dimension device information; the user dimension parameter information includes: at least one of service recovery maximum time information and service recovery average time information; the device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information; the network dimension device information includes: at least one of batch service recovery total time information and batch service recovery speed information; it can realize performance evaluation under the deployment of more than thousands of batch services, as well as comprehensive evaluation of routing recovery performance in multiple dimensions, ensuring that the evaluation indicators are diversified, more complete, and can effectively evaluate the recovery performance; it well solves the problem that the evaluation indicators (parameters) of the dynamic routing recovery performance testing method in the prior art are relatively single, imperfect, and cannot effectively evaluate the recovery performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0107] Figure 1 A schematic diagram of a conventional dynamic routing recovery evaluation method in the prior art;
[0108] Figure 2 A schematic diagram of a method for testing routing performance according to an embodiment of the present invention;
[0109] Figure 3 A schematic diagram of an implementation architecture of a routing performance testing method according to an embodiment of the present invention;
[0110] Figure 4 A schematic diagram of a specific application flow of the routing performance testing method according to an embodiment of the present invention;
[0111] Figure 5 A schematic diagram of batch service recovery time distribution according to an embodiment of the present invention;
[0112] Figure 6 A schematic diagram of the structure of a routing performance testing device according to an embodiment of the present invention;
[0113] Figure 7 Schematic diagram of the structure of the test equipment according to the embodiment of the present invention. DETAILED DESCRIPTION
[0114] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0115] The present invention aims to solve the problem that the evaluation index (parameter) of the dynamic routing recovery performance test method in the prior art is relatively single, imperfect, and cannot effectively evaluate the recovery performance, and provides a routing performance test method, such as Figure 2 As shown, including:
[0116] Step 21: Use at least two services to test the target route to obtain test data;
[0117] Step 22: Obtain test parameter information according to the test data;
[0118] Step 23: Determine the performance of the target route according to the test parameter information;
[0119] The test parameter information includes at least one of user dimension parameter information, device dimension parameter information and network dimension device information;
[0120] The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information;
[0121] The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information;
[0122] The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
[0123] The routing performance testing method provided by the embodiment of the present invention tests the target route by using at least two services to obtain test data; obtains test parameter information according to the test data; determines the performance of the target route according to the test parameter information; wherein the test parameter information includes: at least one of user dimension parameter information, device dimension parameter information and network dimension device information; the user dimension parameter information includes: at least one of service recovery maximum time information and service recovery average time information; the device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information; the network dimension device information includes: at least one of batch service recovery total time information and batch service recovery speed information; it can realize performance evaluation under the deployment of more than thousands of batch services, as well as comprehensive evaluation of routing recovery performance in multiple dimensions, ensuring that the evaluation indicators are diversified, more complete, and can effectively evaluate the recovery performance; it well solves the problem that the evaluation indicators (parameters) of the dynamic routing recovery performance testing method in the prior art are relatively single, imperfect, and cannot effectively evaluate the recovery performance.
[0124] The service recovery related information is the total number of service recovery; or the service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy.
[0125] Specifically, the test parameter information is obtained based on the test data, including: obtaining periodic information formed by the test data; determining the number of data peaks or data troughs based on the periodic information; obtaining the total number of business recovery based on the number; wherein the business recovery related information is business recovery concurrent information or business recovery comprehensive concurrent information; the total number of business recovery is the total number of business recovery concurrency or the total number of business recovery comprehensive concurrency; the test data is the first test data corresponding to the business recovery concurrency or the second test data corresponding to the business recovery comprehensive concurrency.
[0126] In an embodiment of the present invention, the use of at least two services to test the target route to obtain test data includes: using at least two services, using a preset algorithm strategy and a preset path calculation factor, to test the target route to obtain test data under a preset fault scenario.
[0127] Correspondingly, obtaining test parameter information according to the test data includes: obtaining path calculation accuracy information in a combination scenario of the preset algorithm strategy and the preset path calculation factor according to the test data.
[0128] It can also be understood that this solution obtains the path calculation accuracy under different fault scenarios and different combinations of path calculation factors.
[0129] In an embodiment of the present invention, the use of at least two services to test the target route to obtain test data includes: using at least two services with the same source but different destinations to test the target route to obtain first test data; obtaining test parameter information based on the test data includes: obtaining at least one of the user dimension parameter information, the network dimension device information and the device dimension parameter information based on the first test data; wherein the service recovery related information is service recovery concurrency information.
[0130] Specifically, the method of using at least two services to test the target route to obtain test data includes: using at least two services with the same source and destination to test the target route to obtain second test data; obtaining test parameter information based on the test data includes: obtaining service recovery related information in the device dimension parameter information based on the second test data; wherein the service recovery related information is comprehensive concurrent information of service recovery.
[0131] The routing performance testing method provided by the embodiment of the present invention is further described below, with a test instrument being taken as an example of the testing device.
[0132] In response to the above technical problems, an embodiment of the present invention provides a routing performance testing method, wherein innovative evaluation indicators and testing methods are proposed for the SR-TP dynamic routing recovery performance in a slice packet network (SPN), so as to solve the network-level routing recovery performance evaluation for large-scale deployment scenarios.
[0133] Specifically, it can be understood that this solution proposes a comprehensive evaluation method for routing recovery performance from three dimensions: user, device, control system, and network (where the device and control system dimensions correspond to the above-mentioned device dimensions). This solution can be implemented using a test instrument, which can execute this solution and support corresponding data analysis.
[0134] Among them, the user dimension focuses on the reflection of user service perception indicators, including the maximum service recovery time (i.e. the above-mentioned maximum service recovery time information) and the average time (i.e. the above-mentioned average service recovery time information); the device (system) dimension focuses on the indicators of the recovery capability and coordination degree of SPN equipment and management and control systems, including the correctness of the recovery path (i.e. the above-mentioned path calculation accuracy information), the device (system) recovery concurrency number indicator (i.e. the above-mentioned service recovery related information, including at least one of the service recovery concurrency information and the service recovery comprehensive concurrency information); the network dimension reflects the overall recovery capability of the network under batch deployment, including the batch service recovery speed (i.e. the above-mentioned batch service recovery speed information) and the total time for batch service recovery (i.e. the above-mentioned total time information for batch service recovery). The test method includes test technical solutions for these three aspects.
[0135] For details of the above evaluation indicators, please refer to Table 1 below:
[0136] Table 1 Definition of SR-TP dynamic routing recovery performance evaluation indicators
[0137]
[0138]
[0139] The solution provided by the embodiment of the present invention can be specifically implemented as a SR-TP dynamic routing recovery test method, which can be used Figure 3 The test configuration shown is implemented; the components and test environment of this method are described as follows (the test instrument takes a data network analyzer as an example):
[0140] a) NE1 and NE2 and the control system under test (i.e. Figure 3 The data network analyzer is connected to the centralized control system in the SPN, and the data network analyzer is connected to all SPN devices;
[0141] b) Configure L3VPN (Layer 3 Virtual Private Network) services through the management and control system to create VPN peer relationships between network elements;
[0142] c) Configure SR-TP tunnels to NE1 or NE2 on NE5 to NE12 respectively. There are N batches of SR-TP tunnels in the whole network. Do not configure APS protection or other escape protection.
[0143] d) Configure the tunnel path calculation strategy and recovery attribute parameters on the management and control system to calculate the path for it;
[0144] e) 5G L3VPN services are pre-configured on NE5~NE12 to NE1 and NE2, and are carried using pre-configured SR-TP tunnels. VPN is not configured with protection methods such as FRR (fast rerouting).
[0145] Specifically, the solution provided by the embodiment of the present invention mainly involves the following three parts:
[0146] (1) The first part, the implementation process of this test method can be specifically as follows Figure 4 As shown, including:
[0147] Step 41: Build a test network;
[0148] Step 42: configure the tunnel path calculation strategy and recovery attributes and other parameters, and proceed to step 43 and / or step 44;
[0149] Step 43: Configure N test services with the same source but different destinations;
[0150] Specifically, configure Figure 2N services with the same source but different destinations between NE5 to NE12 and NE1 and / or NE2;
[0151] Step 44: Configure N test services with the same source and destination;
[0152] Specifically, configure N services with the same source and destination between NE1 to NE5 respectively;
[0153] Step 45: Create a link failure between NE1-NE3 and NE2-NE4 to trigger service recovery;
[0154] Step 46: restore the links between NE1-NE3 and NE2-NE4, and record the damage time Ri of N services; proceed to step 47 and / or step 48;
[0155] Step 47: Calculate Tmax, Tavg, C1, S1 (obtained by the method (2) below), Tn and / or Sn indicators through the N service impairment times Ri;
[0156] Step 48: Calculate the indicator S2 (obtained by the following method (2)) through the N service impairment times Ri;
[0157] Specifically: (1) construct link faults between NE1-NE3 and NE2-NE4 by breaking optical fibers; restore links between NE1-NE3 and NE2-NE4; calculate Tmax, Tavg, C1, S1, Tn and / or Sn indicators;
[0158] (2) Create a link fault between NE1 and NE3 by cutting the optical fiber; restore the link fault between NE1 and NE3; and calculate the S2 index.
[0159] (2) Part II: Testing methods for device and control system dimension indicators (i.e. the above-mentioned path calculation accuracy information and business recovery related information)
[0160] The factors that affect the performance of SR-TP dynamic routing recovery in Sliced Packet Networks (SPNs) mainly include the equipment's fault perception capability, IGP (Internal Gateway Protocol) fault notification capability, BGP-LS (Border Gateway Protocol-LinkState) topology collection and update capability, the controller's centralized routing capability, the management and control system's tunnel configuration delivery, and the equipment's configuration response and execution capability. Among them, the controller's concurrent processing capability, the management and control system's tunnel configuration delivery, and the equipment's configuration response and execution capability will directly affect the centralized routing and configuration effectiveness time, and ultimately lead to different degrees of service damage. If the management and control system and equipment completely adopt serial processing for batch SR-TP tunnel recovery, the damage to different services will show a linear growth trend. If multi-process and multi-threaded parallel processing is adopted for N SR-TP tunnels, the damage time of different services will be as follows: Figure 5 Distribution trend: As shown in the figure, the damage time of nearly 200 services presents an obvious periodic pattern. Nearly 200 services are basically divided into 19 groups (the number of peaks or troughs in the figure). The 19 groups of services are processed in parallel, and the 10 services in the group are processed in serial.
[0161] Therefore, this solution proposes that the SR-TP tunnel recovery concurrency number S (i.e., S1 or S2 mentioned above) can be basically obtained through this graphical analysis method as the number of peaks or troughs in the graph. This solution can be applied to the implementation of instrumentation. For tunnels that have completed path calculation, they can only be considered as valid path calculation results after they meet the path calculation strategy. Therefore, the final concurrency number also needs to consider the recovery correctness index, multiplied by C, that is, the final concurrent process number calculation method is S×C (i.e., S1×C1 or S2×C2 mentioned above).
[0162] Specifically, the batch service recovery time distribution graph can be formed by taking the N tested service numbers as the horizontal axis and the recovery time of each service as the vertical axis. The number of peaks or troughs that appear regularly in the graph can be analyzed to obtain the concurrent number of batch service recovery.
[0163] The concurrent performance of SR-TP dynamic routing recovery is correlated with the configuration model of the network and service being tested. Generally, the more dispersed the source and destination nodes of the service are, the less each device needs to process. Therefore, the concurrency requirements for device processing will be reduced, and the test results mainly reflect the concurrency capabilities of the management and control system. If the services are all from the same source and destination, both the device and the management and control system need to process multiple recovery services at the same time, which puts certain requirements on the concurrency and coordination capabilities of the device and the management and control system. Therefore, this solution proposes to divide the concurrency index into the SR-TP dynamic routing service recovery concurrency index (S1×C1) and the SR-TP dynamic routing service recovery comprehensive concurrency index (S2×C2).
[0164] The SR-TP dynamic routing service recovery concurrency index adopts N distributed services with the same source but different destinations to verify the concurrency characteristics of the management and control system. The SR-TP dynamic routing service recovery comprehensive concurrency index adopts N centralized services with the same source and destination to verify the comprehensive concurrency characteristics of the management and control system and equipment coordination.
[0165] (3) Part 3: SR-TP dynamic routing recovery correctness indicator (i.e., C above):
[0166] Evaluate the routing strategies and factors supported by the controller (i.e. the above-mentioned control system). The routing factors include active / standby separation, bidirectional co-path, bandwidth, latency, etc. The routing strategies include COST (cost, loss) minimum priority and latency minimum priority.
[0167] Verify the correctness of the calculated paths under different fault scenarios and different combinations of calculation factors (i.e., C under different scenarios). That is, obtain multiple Cs with different calculation factors, such as: obtain C with the minimum delay calculation strategy, obtain C with the minimum hop count calculation, etc.
[0168] As can be seen from the above, the solution provided by the embodiment of the present invention mainly involves:
[0169] 1. Comprehensive evaluation of SR-TP dynamic routing recovery performance is conducted using three dimensions: user, device (system), and network.
[0170] 2. Proposed 7 key evaluation indicators in 3 dimensions: Maximum service recovery time Tmax(ms)=MAX(Ri) and average time for user dimension The correctness C of the recovery path in the device (system) dimension, the device (system) recovery concurrency indicators S1×C1 and S2×C1; the batch business recovery speed Sn (pieces / S) = N / Tn and the total time for batch business recovery Tn in the network dimension.
[0171] 3. Use two types of service configuration and networking models: same-source same-destination and same-source different-destination, to evaluate the concurrent recovery of management and control system services and the concurrent recovery of equipment management and control comprehensive services. The SR-TP dynamic routing service recovery concurrency index uses N distributed services with the same source but different destinations to verify the concurrent characteristics of the management and control system; the SR-TP dynamic routing service recovery comprehensive concurrency index uses N centralized services with the same source and destination to verify the comprehensive concurrent characteristics of the management and control system and equipment coordination; thus comprehensively evaluating the concurrency characteristics.
[0172] 4. Through the graphical analysis of batch service recovery time, combined with the weighting of the correctness index (i.e., C above), the test method of the batch service recovery concurrency index is obtained; by using the N tested service numbers as the horizontal axis and the recovery time of each service as the vertical axis, a batch service recovery time distribution chart is formed. The number of peaks or troughs that appear regularly in the analysis chart can be used to obtain the concurrency number of batch service recovery.
[0173] In summary, this solution proposes multi-dimensional and comprehensive SR-TP dynamic routing recovery performance evaluation indicators and testing methods for users, devices (systems) and networks through new indicators of recovery efficiency, concurrency and correctness; through new testing methods, the defects of existing rerouting evaluation methods are solved, including the problem of being unable to effectively evaluate scalability and concurrency indicators.
[0174] The embodiment of the present invention also provides a routing performance testing device, such as Figure 6 As shown, including:
[0175] A first processing module 61 is used to test the target route using at least two services to obtain test data;
[0176] A second processing module 62, used to obtain test parameter information according to the test data;
[0177] A third processing module 63, configured to determine the performance of the target route according to the test parameter information;
[0178] The test parameter information includes at least one of user dimension parameter information, device dimension parameter information and network dimension device information;
[0179] The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information;
[0180] The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information;
[0181] The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
[0182] The routing performance testing device provided by the embodiment of the present invention tests the target routing by using at least two services to obtain test data; obtains test parameter information according to the test data; determines the performance of the target routing according to the test parameter information; wherein the test parameter information includes: at least one of user dimension parameter information, device dimension parameter information and network dimension device information; the user dimension parameter information includes: at least one of service recovery maximum time information and service recovery average time information; the device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information; the network dimension device information includes: at least one of batch service recovery total time information and batch service recovery speed information; it can realize performance evaluation under the deployment of more than thousands of batch services, as well as comprehensive evaluation of routing recovery performance in multiple dimensions, ensuring that the evaluation indicators are diversified, more complete, and can effectively evaluate the recovery performance; it well solves the problem that the evaluation indicators (parameters) of the dynamic routing recovery performance testing method in the prior art are relatively single, imperfect, and cannot effectively evaluate the recovery performance.
[0183] The service recovery related information is the total number of service recovery; or the service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy.
[0184] Specifically, the second processing module includes: a first acquisition submodule, used to acquire the periodic information formed by the test data; a first determination submodule, used to determine the number of data peaks or data troughs according to the periodic information; a first processing submodule, used to obtain the total number of business recovery according to the number; wherein the business recovery related information is business recovery concurrent information or business recovery comprehensive concurrent information; the total number of business recovery is the total number of business recovery concurrency or the total number of business recovery comprehensive concurrency; the test data is the first test data corresponding to the business recovery concurrency or the second test data corresponding to the business recovery comprehensive concurrency.
[0185] In the embodiment of the present invention, the first processing module includes: a second processing submodule, which is used to adopt at least two services, use a preset algorithm strategy and a preset path calculation factor, test the target route, and obtain test data under a preset fault scenario.
[0186] Correspondingly, the second processing module includes: a third processing submodule, which is used to obtain the path calculation accuracy information in the scenario of the combination of the preset algorithm strategy and the preset path calculation factor according to the test data.
[0187] In an embodiment of the present invention, the first processing module includes: a fourth processing sub-module, used to test the target route using at least two services with the same source but different destinations to obtain first test data; the second processing module includes: a fifth processing sub-module, used to obtain at least one of the user dimension parameter information, the network dimension device information and the device dimension parameter information based on the first test data; wherein the service recovery related information is service recovery concurrency information.
[0188] Specifically, the first processing module includes: a sixth processing sub-module, used to test the target route using at least two services with the same source and destination to obtain second test data; the second processing module includes: a seventh processing sub-module, used to obtain the service recovery related information in the device dimension parameter information based on the second test data; wherein the service recovery related information is comprehensive concurrent information of service recovery.
[0189] Among them, the implementation embodiments of the above-mentioned routing performance testing method are all applicable to the embodiments of the routing performance testing device and can achieve the same technical effects.
[0190] The embodiment of the present invention also provides a testing device, such as Figure 7 As shown, it includes: a processor 71 and a transceiver 72;
[0191] The processor 71 is used to use the transceiver 72 to test the target route using at least two services to obtain test data;
[0192] According to the test data, test parameter information is obtained;
[0193] Determining the performance of the target route according to the test parameter information;
[0194] The test parameter information includes at least one of user dimension parameter information, device dimension parameter information and network dimension device information;
[0195] The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information;
[0196] The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information;
[0197] The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
[0198] The test device provided in the embodiment of the present invention tests the target route by using at least two services to obtain test data; obtains test parameter information according to the test data; determines the performance of the target route according to the test parameter information; wherein the test parameter information includes: at least one of user dimension parameter information, device dimension parameter information and network dimension device information; the user dimension parameter information includes: at least one of service recovery maximum time information and service recovery average time information; the device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information, and the service recovery related information includes at least one of service recovery concurrency information and service recovery comprehensive concurrency information; the network dimension device information includes: at least one of batch service recovery total time information and batch service recovery speed information; it can realize performance evaluation under the deployment of more than thousands of batch services, as well as comprehensive evaluation of routing recovery performance in multiple dimensions, ensuring that the evaluation indicators are diversified, more complete, and can effectively evaluate the recovery performance; it well solves the problem that the evaluation indicators (parameters) of the dynamic routing recovery performance testing method in the prior art are relatively single, imperfect, and cannot effectively evaluate the recovery performance.
[0199] The service recovery related information is the total number of service recovery; or the service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy.
[0200] Specifically, the processor is used to: obtain periodic information formed by the test data; determine the number of data peaks or data troughs based on the periodic information; obtain the total number of business recovery based on the number; wherein the business recovery related information is business recovery concurrent information or business recovery comprehensive concurrent information; the total number of business recovery is the total number of business recovery concurrency or the total number of business recovery comprehensive concurrency; the test data is the first test data corresponding to the business recovery concurrency or the second test data corresponding to the business recovery comprehensive concurrency.
[0201] In the embodiment of the present invention, the processor is specifically used to: adopt at least two services, use a preset algorithm strategy and a preset path calculation factor, test the target route, and obtain test data under a preset fault scenario.
[0202] Correspondingly, the processor is specifically used to: obtain, according to the test data, path calculation accuracy information in a scenario where the preset algorithm strategy and the preset path calculation factor are combined.
[0203] In an embodiment of the present invention, the processor is specifically used to: use at least two services with the same source but different destinations to test the target route to obtain first test data; based on the first test data, obtain at least one of the user dimension parameter information, the network dimension device information and the device dimension parameter information; wherein the service recovery related information is service recovery concurrency information.
[0204] Specifically, the processor is used to: test the target route using at least two services with the same source and destination to obtain second test data; obtain service recovery related information in the device dimension parameter information based on the second test data; wherein the service recovery related information is comprehensive concurrent information of service recovery.
[0205] Among them, the implementation embodiments of the above-mentioned routing performance testing method are all applicable to the embodiments of the testing device and can achieve the same technical effects.
[0206] An embodiment of the present invention further provides a testing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned routing performance testing method is implemented.
[0207] Among them, the implementation embodiments of the above-mentioned routing performance testing method are all applicable to the embodiments of the testing device and can achieve the same technical effects.
[0208] The embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the steps in the above-mentioned routing performance testing method are implemented.
[0209] Among them, the implementation embodiments of the above-mentioned routing performance testing method are all applicable to the embodiments of the readable storage medium and can achieve the same technical effect.
[0210] It should be noted that many functional components described in this specification are referred to as modules / sub-modules in order to more particularly emphasize the independence of their implementation methods.
[0211] In the embodiment of the present invention, module / submodule can be implemented with software so that it can be performed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of this module.
[0212] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.
[0213] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
[0214] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A routing performance testing method, characterized in that: include: Using at least two services to test the target route to obtain test data; According to the test data, test parameter information is obtained; Determining the performance of the target route according to the test parameter information; The test parameter information includes: user dimension parameter information, device dimension parameter information and network dimension device information; The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information; The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information; the service recovery related information is the total number of service recovery; or the service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy; wherein the total number of service recovery includes at least one of the total number of service recovery concurrency or the total number of service recovery comprehensive concurrency; The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
2. The routing performance testing method according to claim 1, characterized in that: The obtaining of test parameter information according to the test data includes: Acquiring periodic information formed by the test data; Determining the number of data peaks or data troughs according to the periodicity information; According to the said quantity, the total number of business recovery is obtained; The service recovery related information is service recovery concurrent information or service recovery comprehensive concurrent information; The total number of business recovery is the total number of concurrent business recovery or the total number of comprehensive concurrent business recovery; The test data is first test data corresponding to business recovery concurrency or second test data corresponding to business recovery comprehensive concurrency.
3. The routing performance testing method according to claim 1, characterized in that: The step of testing the target route using at least two services to obtain test data includes: At least two services are used to test the target route using a preset algorithm strategy and a preset path calculation factor to obtain test data under a preset fault scenario.
4. The method for testing routing performance according to claim 3, characterized in that: The obtaining of test parameter information according to the test data includes: According to the test data, path calculation accuracy information in a scenario where the preset algorithm strategy and the preset path calculation factor are combined is obtained.
5. The method for testing routing performance according to claim 1, characterized in that: The step of testing the target route using at least two services to obtain test data includes: Using at least two services with the same source but different destinations to test the target route, to obtain first test data; The obtaining of test parameter information according to the test data includes: According to the first test data, at least one of the user dimension parameter information, the network dimension device information and the device dimension parameter information is obtained; The service recovery related information is service recovery concurrent information.
6. The method for testing routing performance according to claim 1, characterized in that: The step of testing the target route using at least two services to obtain test data includes: Using at least two services with the same source and destination to test the target route, to obtain second test data; The obtaining of test parameter information according to the test data includes: According to the second test data, obtaining the service recovery related information in the device dimension parameter information; The business recovery related information is business recovery comprehensive concurrent information.
7. A routing performance testing device, characterized in that: include: A first processing module, used to test the target route using at least two services to obtain test data; A second processing module, used to obtain test parameter information according to the test data; A third processing module, configured to determine the performance of the target route according to the test parameter information; The test parameter information includes: user dimension parameter information, device dimension parameter information and network dimension device information; The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information; The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information; the service recovery related information is the total number of service recovery; or the service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy; wherein the total number of service recovery includes at least one of the total number of service recovery concurrency or the total number of service recovery comprehensive concurrency; The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
8. The routing performance testing device according to claim 7, characterized in that: The second processing module comprises: A first acquisition submodule, used for acquiring periodic information formed by the test data; A first determination submodule, configured to determine the number of data peaks or data troughs according to the periodicity information; A first processing submodule, configured to obtain a total number of service recovery operations according to the number; The service recovery related information is service recovery concurrent information or service recovery comprehensive concurrent information; The total number of business recovery is the total number of concurrent business recovery or the total number of comprehensive concurrent business recovery; The test data is first test data corresponding to business recovery concurrency or second test data corresponding to business recovery comprehensive concurrency.
9. The routing performance testing device according to claim 7, characterized in that: The first processing module comprises: The second processing submodule is used to adopt at least two services, use a preset algorithm strategy and a preset path calculation factor, test the target route, and obtain test data under a preset fault scenario.
10. The routing performance testing device according to claim 9, characterized in that: The second processing module comprises: The third processing submodule is used to obtain the path calculation accuracy information in the scenario of the combination of the preset algorithm strategy and the preset path calculation factor according to the test data.
11. The routing performance testing device according to claim 7, characterized in that: The first processing module comprises: A fourth processing submodule is used to test the target route using at least two services with the same source but different destinations to obtain first test data; The second processing module comprises: a fifth processing submodule, configured to obtain at least one of the user dimension parameter information, the network dimension device information, and the device dimension parameter information according to the first test data; The service recovery related information is service recovery concurrent information.
12. The routing performance testing device according to claim 7, characterized in that: The first processing module comprises: A sixth processing submodule, configured to test the target route using at least two services with the same source and destination to obtain second test data; The second processing module comprises: A seventh processing submodule, configured to obtain service recovery related information in the device dimension parameter information according to the second test data; The business recovery related information is business recovery comprehensive concurrent information.
13. A testing device, characterized in that: include: processor and transceiver; The processor is used to use the transceiver to test the target route using at least two services to obtain test data; According to the test data, test parameter information is obtained; Determining the performance of the target route according to the test parameter information; The test parameter information includes: user dimension parameter information, device dimension parameter information and network dimension device information; The user dimension parameter information includes: at least one of the maximum service recovery time information and the average service recovery time information; The device dimension parameter information includes: at least one of path calculation accuracy information and service recovery related information; the service recovery related information is the total number of service recovery; or the service recovery related information is the product of the total number of service recovery and the corresponding path calculation accuracy; wherein the total number of service recovery includes at least one of the total number of service recovery concurrency or the total number of service recovery comprehensive concurrency; The network dimension device information includes: at least one of total time information for batch business recovery and batch business recovery speed information.
14. A test device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the routing performance testing method according to any one of claims 1 to 6 is implemented.
15. A readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the routing performance testing method as described in any one of claims 1 to 6 are implemented.
