Automatic testing method for testing network connectivity of NAS (Network Attached Storage) equipment
By separating the main process and rendering process in the NAS device network connectivity test, using the Telnet client to record historical performance data, and analyzing and correcting the test results, the problem of client performance impact is solved and a more accurate NAS device network connectivity assessment is achieved.
Patent Information
- Application Number
- CN202510775099.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-09-05
AI Technical Summary
Traditional NAS device network connectivity testing methods are affected by client performance, resulting in low test data reliability and affecting the accuracy of evaluation results.
By separating the main process and rendering process, using the Telnet client to establish a communication connection with the NAS device, recording historical performance data, analyzing connection stability, and generating a test report based on the corrected data, providing detailed test logs and statistical data.
Improved the accuracy and reliability of NAS device network connectivity testing, ensured the accuracy and reliability of evaluation results, and optimized the testing method.
Smart Images

Figure CN120602378A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of NAS devices, and in particular to an automated testing method for testing network connectivity of NAS devices. Background Art
[0002] A NAS device is a device specifically used for data storage and sharing. It connects to computers or other devices through a network to provide users with a centralized data storage solution. With the increasing demand for data storage, NAS devices are becoming more and more widely used in home and enterprise environments.
[0003] Since the network connectivity of NAS devices directly affects the data access efficiency and device stability, in order to ensure that the network connectivity of NAS devices meets the requirements, the network connectivity of NAS devices needs to be tested before use. The common automated testing method is generally to prepare a test client and install the test tool software. Then, based on the test tool software, the network port of the NAS device is scanned to confirm whether the required service port is open and accessible. After the connection is completed, the network connectivity between the NAS device and the test client can be tested through the Ping command. Finally, the data collected during the automated test, such as latency, packet loss rate, bandwidth, response time, and network throughput, are analyzed to evaluate whether the network connectivity of the NAS device meets expectations.
[0004] Traditional NAS device network connectivity testing operations evaluate whether the network connectivity of NAS devices meets expectations based on data collected during the automated testing process. Since the network connectivity testing operations of NAS devices are based on test clients, the performance data of NAS devices will be affected by the client performance. If the client performance is poor, it will cause large errors in the data collected during the automated testing process, resulting in low reliability of the collected NAS device performance data, thereby affecting the accuracy of the NAS device network connectivity evaluation results. Summary of the Invention
[0005] The purpose of the present invention is to provide an automated testing method for testing the network connectivity of NAS devices to solve the following technical problems:
[0006] How to optimize the testing method of NAS device network connectivity.
[0007] The purpose of the present invention can be achieved through the following technical solutions:
[0008] An automated testing method for testing network connectivity of a NAS device, the method comprising:
[0009] S1: Start the test system through the desktop software, separate the main process and the rendering process, and initialize the Telnet client in the main process to establish a communication connection with the NAS device;
[0010] S2: Send a connection request to the target NAS device through the Telnet client, receive the response information from the NAS device, and record the connection establishment status;
[0011] S3: The data collection module records the historical performance data of the Telnet client and analyzes the stability of the Telnet client during the process of establishing a network connection based on the data;
[0012] S4: Sending predefined test instructions to the NAS device through the Telnet client, and recording the test result data of the NAS device based on the response information of the NAS device;
[0013] S5: storing detailed data of the NAS device test results in a local database, and correcting them in combination with the Telnet client stability analysis data, then analyzing the connection performance of the NAS device based on the corrected data, and finally generating a test report;
[0014] S6: Provides a user interface through the rendering process to display the test process and results, provides users with detailed test logs and statistical data that can be viewed, and exports test reports.
[0015] Furthermore, the test result data of the NAS device recorded in S4 includes delay, packet loss rate, bandwidth, response time and network throughput.
[0016] Furthermore, the analysis process in S3 includes:
[0017] The client data transmission rate change curve γ(t) is established by using the historical performance data of the Telnet client recorded by the data acquisition module;
[0018] And through the formula Calculate and obtain the aging coefficient ω of the Telnet client's network card chip;
[0019] Where t1 is the start time of the Telnet client's historical usage, t2 is the end time of the Telnet client's historical usage, i is a data collection at a fixed time interval during the Telnet client's historical usage, n is the total number of data collections during the Telnet client's historical usage, qd i is the signal strength during the i-th data collection in the historical use of the Telnet client, For all qd iThe average value of θ is the number of network connection interruptions during the historical use of the Telnet client, a is any network connection interruption during the historical use of the Telnet client, sc a is the duration of the ath network connection interruption during the history of Telnet client usage, θ b is the standard value of θ.
[0020] Furthermore, the analysis process in S3 also includes:
[0021] By formula Calculate the performance impact coefficient r of the Telnet client;
[0022] Among them, nc is the remaining available memory resources of the Telnet client, nc y is the preset memory resource requirement, nc b is the standard value of nc, cl is the processor utilization of the Telnet client, y is the preset processor utilization, s is a data collection at a fixed time interval during the test, w is the total number of data collections during the test, dx s is the local disk read and write speed of the Telnet client during the sth data collection in the test process, For all dx s The average value of μ1 and μ2 are proportional coefficients, which are set based on empirical fitting.
[0023] Furthermore, the analysis process in S3 also includes:
[0024] By comparing the performance impact coefficient r of the Telnet client with the preset performance impact coefficient threshold r 01 Make a comparison;
[0025] If r≥r 01 , judge that during the test of NAS device, the performance of the Telnet client connected to it is abnormal, which will affect the test results of NAS device;
[0026] If r <r 01 , determine that during the test of the NAS device, there is no abnormality in the performance of the connected Telnet client, which will not affect the test results of the NAS device.
[0027] Furthermore, the analysis process in S5 includes:
[0028] Assigning a value to the performance impact coefficient r of the Telnet client to generate a client performance impact value that is between 1 and 1.2 and increases as the performance impact coefficient r of the Telnet client increases;
[0029] The performance impact value of the client corresponding to the performance impact coefficient r of the Telnet client is defined as f(r).
[0030] Furthermore, the analysis process in S5 further includes:
[0031] By formula Calculate the connection performance impact coefficient p of the NAS device;
[0032] Among them, pin s is the delay of the NAS device during the sth data collection during the test. For all pins s The average value of pin y is the preset delay, db is the packet loss rate of the NAS device during the test, db y is the preset packet loss rate, dk is the bandwidth utilization of the NAS device during the test, and dk y is the preset bandwidth utilization, sys is the average response time of all operations of the NAS device during the test, and xys y is the preset average response time, tt is the network throughput of the NAS device during the test, and tt y is the preset network throughput, x1, x2, x3, x4 and x5 are weight coefficients set according to empirical fitting, and x1+x2+x3+x4+x5=1.
[0033] Furthermore, the analysis process in S5 further includes:
[0034] By comparing the connection performance impact coefficient p of the NAS device with the preset connection performance impact coefficient threshold p 01 Make a comparison;
[0035] If p≥p 01 , judge that the connection performance of the NAS device meets expectations during the network connectivity test, which means that the test result of the network connectivity of the NAS device is qualified;
[0036] If p <p 01 , it is judged that the connection performance of the NAS device does not meet expectations during the network connectivity test, which means that the test result of the network connectivity of the NAS device is unqualified and needs to be optimized.
[0037] Beneficial effects of the present invention:
[0038] (1) The present invention first records the historical performance data of the Telnet client and analyzes the stability of the Telnet client in the process of establishing a network connection based on the data, so as to analyze the performance of the Telnet client in the connectivity test process. Then, by combining the data to correct the detailed data of the NAS device test results in the test results, the NAS device test data can be optimized to make the data closer to the true value. Finally, based on the optimized test data, the connection performance of the NAS device can be accurately analyzed, thereby improving the accuracy of the evaluation results of the network connectivity of the NAS device and realizing the optimization of the network connectivity test method of the NAS device.
[0039] (2) The present invention compares the performance impact coefficient r of the Telnet client with the preset performance impact coefficient threshold r 01 By comparing, this comparison method can accurately determine whether there are any abnormalities in the performance of the NAS device in the connected Telnet client during the test. Since the performance data of the NAS device will be affected by the client performance, based on the judgment result, it is possible to further analyze whether it will affect the test results of the NAS device, thereby deciding whether the test data of the NAS device network connectivity needs to be corrected to ensure the reliability of the test data of the NAS device network connectivity.
[0040] (3) The present invention compares the connection performance impact coefficient p of the NAS device with the preset connection performance impact coefficient threshold p 01 Through this comparison method, since the data is high-quality data obtained after correction based on the client's performance impact value f(r), the data has high accuracy. Based on this data, it is possible to make an accurate and reliable judgment on whether the connection performance of the NAS device meets expectations during the network connectivity test, thereby realizing the test of the network connectivity of the NAS device, further realizing the optimization of the network connectivity test method of the NAS device, and improving the accuracy of the evaluation results of the network connectivity of the NAS device. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention will be further described below with reference to the accompanying drawings.
[0042] Figure 1 The present invention is a flowchart of an automated testing method for testing network connectivity of a NAS device. DETAILED DESCRIPTION
[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.
[0044] See also Figure 1 As shown, in one embodiment, the present application provides an automated testing method for testing network connectivity of a NAS device, the method comprising:
[0045] S1: Start the test system through the desktop software, separate the main process and the rendering process, and initialize the Telnet client in the main process to establish a communication connection with the NAS device;
[0046] S2: Send a connection request to the target NAS device through the Telnet client, receive the response information from the NAS device, and record the connection establishment status;
[0047] S3: The data collection module records the historical performance data of the Telnet client and analyzes the stability of the Telnet client during the process of establishing a network connection based on the data;
[0048] S4: Sending predefined test instructions to the NAS device through the Telnet client, and recording the test result data of the NAS device based on the response information of the NAS device;
[0049] S5: storing detailed data of the NAS device test results in a local database, and correcting them in combination with the Telnet client stability analysis data, then analyzing the connection performance of the NAS device based on the corrected data, and finally generating a test report;
[0050] S6: Provides a user interface through the rendering process to display the test process and results, provides users with detailed test logs and statistical data that can be viewed, and exports test reports;
[0051] Through the above technical solution, this example provides an automated testing method for testing the network connectivity of NAS devices. First, the test system is started through the desktop software to realize the separation of the main process and the rendering process, and the Telnet client is initialized in the main process to establish a communication connection with the NAS device. Then, a connection request is sent to the target NAS device through the Telnet client, and the response information of the NAS device is received, and the connection establishment status is recorded. The historical performance data of the Telnet client is recorded through the data acquisition module, and the stability of the Telnet client in the process of establishing the network connection is analyzed based on the data. Then, a predefined test command is sent to the NAS device through the Telnet client, and based on the response information of the NAS device, the test result data of the NAS device is recorded, and the detailed data of the NAS device test result in the test result is stored in the local database, and is corrected in combination with the Telnet client stability analysis data. Then, the connection performance of the NAS device is analyzed based on the corrected data, and finally a test report is generated. Finally, a user interface can be provided through the rendering process to display the test process and results, provide users with detailed test logs and statistical data that can be viewed, and export the test report.
[0052] With such an arrangement, when conducting a connectivity test on a NAS device, by first recording the historical performance data of the Telnet client and analyzing the stability of the Telnet client during the process of establishing a network connection based on the data, the performance of the Telnet client during the connectivity test can be analyzed. Then, by combining the data with the detailed data of the NAS device test results in the test results, the NAS device test data can be optimized to make the data closer to the actual value. Finally, based on the optimized test data, the connection performance of the NAS device can be accurately analyzed, thereby improving the accuracy of the evaluation results of the network connectivity of the NAS device and optimizing the network connectivity testing method of the NAS device.
[0053] The generated test report contains detailed data and analysis results of each test indicator.
[0054] The test result data of the NAS device recorded in S4 includes delay, packet loss rate, bandwidth, response time and network throughput;
[0055] Through the above technical solution, this example provides test result data for NAS devices, including latency, packet loss rate, bandwidth, response time, and network throughput. This data can reflect whether the network connectivity of the NAS device is qualified and is the main factor affecting the network connectivity evaluation of the NAS device. Therefore, by evaluating the network connectivity of the NAS device based on this data, an accurate and reliable evaluation of the network connectivity of the NAS device can be made.
[0056] The analysis process in S3 includes:
[0057] The client data transmission rate change curve γ(t) is established by using the historical performance data of the Telnet client recorded by the data acquisition module;
[0058] And through the formula Calculate and obtain the aging coefficient ω of the Telnet client's network card chip;
[0059] Where t1 is the start time of the Telnet client's historical usage, t2 is the end time of the Telnet client's historical usage, i is a data collection at a fixed time interval during the Telnet client's historical usage, n is the total number of data collections during the Telnet client's historical usage, qd i is the signal strength during the i-th data collection in the historical use of the Telnet client, For all qd i The average value of θ is the number of network connection interruptions during the historical use of the Telnet client, a is any network connection interruption during the historical use of the Telnet client, sc a is the duration of the ath network connection interruption during the history of Telnet client usage, θ b is the standard value of θ, which can be selected and set based on the allowable error in empirical data;
[0060] Through the above technical solution, this example provides the Telnet client's network card chip aging coefficient ω, which can be calculated by the formula Calculated, where the formula The change in data transmission rate during the historical use of the Telnet client can be calculated using the formula: The fluctuation value of the signal strength during the historical use of the Telnet client can be calculated. Therefore, it can be seen that when the absolute value of the change in the data transmission rate during the historical use of the Telnet client and the fluctuation value of the signal strength during the historical use of the client are larger, the number of network connection interruptions during the historical use of the Telnet client is more and the duration of the a-th network connection interruption is longer, then the aging coefficient ω of the network card chip of the Telnet client is larger. Conversely, when the absolute value of the change in the data transmission rate during the historical use of the Telnet client and the fluctuation value of the signal strength during the historical use of the client are smaller, the number of network connection interruptions during the historical use of the Telnet client is fewer and the duration of the a-th network connection interruption is shorter, then the aging coefficient ω of the network card chip of the Telnet client is smaller.
[0061] Specifically, as the network card chip ages, the electrical performance of its internal transistors and circuits will decline, resulting in a gradual decrease in the data transmission rate. On this basis, the higher the absolute value of the data transmission rate change during the historical use of the Telnet client, the lower the data transmission rate is, indicating that the network card chip is aging. The greater the fluctuation value of the signal strength during the historical use of the client, the looseness or wear of the network card is indicated. Finally, the more network connection interruptions occur during the historical use of the Telnet client, the intermittent connection interruptions are caused by the aging of the network card chip. Therefore, based on the above parameters, the aging of the network card chip of the Telnet client can be analyzed. Since the aging of the network card chip of the Telnet client will affect its performance and indirectly affect the test data during the network connectivity test of the NAS device, by calculating this data, additional data support can be provided for the subsequent performance analysis of the Telnet client and the accuracy of the subsequent NAS device network connectivity test data correction results can be improved.
[0062] The analysis process in S3 also includes:
[0063] By formula Calculate the performance impact coefficient r of the Telnet client;
[0064] Among them, nc is the remaining available memory resources of the Telnet client, nc y is the preset memory resource requirement, nc b is the standard value of nc, which can be set based on the allowable error in empirical data. cl is the processor utilization of the Telnet client. y is the preset processor utilization, s is a data collection at a fixed time interval during the test, w is the total number of data collections during the test, dx s is the local disk read and write speed of the Telnet client during the sth data collection in the test process, For all dx s The average value of , μ1 and μ2 are proportional coefficients, which are set according to empirical fitting;
[0065] Through the above technical solution, this example provides the performance impact coefficient r of the Telnet client, which can be calculated by the formula Calculated, where the formula The fluctuation value of the local disk read and write speed of the Telnet client during the test can be calculated. Obviously, when the remaining available memory resources of the Telnet client are less, and the fluctuation value of the local disk read and write speed of the Telnet client and the aging coefficient ω of the Telnet client's network card chip during the test are larger, then the performance impact coefficient r of the Telnet client will be larger. Conversely, when the remaining available memory resources of the Telnet client are more, and the fluctuation value of the local disk read and write speed of the Telnet client and the aging coefficient ω of the Telnet client's network card chip during the test are smaller, then the performance impact coefficient r of the Telnet client will be smaller.
[0066] Through this calculation method, the performance of the Telnet client during the test process can be analyzed based on the size of the Telnet client's performance impact coefficient r, and whether the performance of the Telnet client during the test process will affect the test results of the NAS device can be further analyzed. In this way, a decision can be made as to whether the test data of the NAS device network connectivity needs to be corrected. If the decision is made that corrections are needed, data support can be provided to ensure the accuracy of the correction results.
[0067] The analysis process in S3 also includes:
[0068] By comparing the performance impact coefficient r of the Telnet client with the preset performance impact coefficient threshold r 01 Make a comparison;
[0069] If r≥r 01 , judge that during the test of NAS device, the performance of the Telnet client connected to it is abnormal, which will affect the test results of NAS device;
[0070] If r <r 01 , determine that during the test of the NAS device, the performance of the connected Telnet client is normal and will not affect the test results of the NAS device;
[0071] Through the above technical solution, this embodiment compares the performance impact coefficient r of the Telnet client with the preset performance impact coefficient threshold r 01 Through this comparison, we can accurately judge whether there are any abnormalities in the performance of the NAS device in the Telnet client during the test. Since the performance data of the NAS device will be affected by the performance of the client, based on the judgment result, we can further analyze whether it will affect the test results of the NAS device, so as to decide whether to correct the test data of the NAS device network connectivity, and ensure the reliability of the test data of the NAS device network connectivity;
[0072] It should be noted that the preset performance impact coefficient threshold r 01 The settings can be fitted based on a large amount of experimental data.
[0073] The analysis process in S5 includes:
[0074] Assigning a value to the performance impact coefficient r of the Telnet client to generate a client performance impact value that is between 1 and 1.2 and increases as the performance impact coefficient r of the Telnet client increases;
[0075] The performance impact value of the client corresponding to the performance impact coefficient r of the Telnet client is defined as f(r);
[0076] Through the above technical solution, this example provides a process for assigning a value to the performance impact coefficient r of the Telnet client;
[0077] As an embodiment, the value standard of the client performance impact value f(r) is as follows:
[0078]
[0079] It should be noted that as the performance impact coefficient r of the Telnet client increases, the corresponding client performance impact value f(r) will increase synchronously, and this data is obtained based on a large amount of historical data output by the deep learning model.
[0080] The analysis process in S5 further includes:
[0081] By formula Calculate the connection performance impact coefficient p of the NAS device;
[0082] Among them, pin s is the delay of the NAS device during the sth data collection during the test. For all pins s The average value of pin y is the preset delay, db is the packet loss rate of the NAS device during the test, db y is the preset packet loss rate, dk is the bandwidth utilization of the NAS device during the test, and dk y is the preset bandwidth utilization, xys is the average response time of all operations of the NAS device during the test, and xys y is the preset average response time, tt is the network throughput of the NAS device during the test, and tt y is the preset network throughput, x1, x2, x3, x4, and x5 are weight coefficients set based on empirical fitting, and x1+x2+x3+x4+x5=1;
[0083] Through the above technical solution, this example provides the connection performance impact coefficient p of the NAS device, which can be calculated by the formula:
[0084] Calculation shows that, obviously, when the delay of the NAS device during the s-th data collection during the test is higher, the packet loss rate of the NAS device during the test is higher, the average response time of all operations of the NAS device during the test is longer, and the bandwidth utilization and network throughput of the NAS device during the test are lower, then the connection performance impact coefficient p of the NAS device will be larger, which means that the network connection performance of the NAS device is poor. Conversely, when the delay of the NAS device during the s-th data collection during the test is lower, the packet loss rate of the NAS device during the test is lower, the average response time of all operations of the NAS device during the test is shorter, and the bandwidth utilization and network throughput of the NAS device during the test are higher, then the connection performance impact coefficient p of the NAS device will be smaller, which means that the network connection performance of the NAS device is better.
[0085] Specifically, when the delay of the NAS device during the sth data collection during the test is higher, it means that there is a delay problem in the network connection of the NAS device, and the higher the packet loss rate of the NAS device during the test is, it means that there is a packet loss problem in the network connection. The longer the average response time of all operations of the NAS device during the test is, it means that there is a problem with the network connection or system performance of the NAS device. The lower the bandwidth utilization of the NAS device during the test is, it means that there is a bandwidth bottleneck in the network connection. Finally, when the network throughput of the device during the test is lower, it means that there is a problem with the network connection or device performance. Therefore, through this calculation method, after the client-based performance impact value f(r) is corrected, it can be reflected based on the test data of the NAS device during the test whether the network connectivity of the NAS device meets expectations.
[0086] The analysis process in S5 further includes:
[0087] By comparing the connection performance impact coefficient p of the NAS device with the preset connection performance impact coefficient threshold p 01 Make a comparison;
[0088] If p≥p 01 , judge that the connection performance of the NAS device meets expectations during the network connectivity test, which means that the test result of the network connectivity of the NAS device is qualified;
[0089] If p <p 01 , it is judged that the connection performance of the NAS device does not meet expectations during the network connectivity test, which means that the test result of the network connectivity of the NAS device is unqualified and needs to be optimized;
[0090] Through the above technical solution, this example compares the connection performance impact coefficient p of the NAS device with the preset connection performance impact coefficient threshold p 01 Through this comparison method, since the data is high-quality data obtained after correction based on the client's performance impact value f(r), the data has high accuracy. Based on this data, it is possible to make an accurate and reliable judgment on whether the connection performance of the NAS device meets expectations during the network connectivity test, thereby realizing the test of the network connectivity of the NAS device, further realizing the optimization of the network connectivity test method of the NAS device, and improving the accuracy of the evaluation results of the network connectivity of the NAS device;
[0091] It should be noted that the connection performance impact coefficient threshold p 01 The settings can be fitted based on a large amount of experimental data.
[0092] The above is a detailed description of an embodiment of the present invention. However, the content described is only a preferred embodiment of the present invention and should not be considered to limit the scope of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. An automated testing method for testing network connectivity of NAS devices, characterized in that: The method comprises: S1: Start the test system through the desktop software, separate the main process and the rendering process, and initialize the Telnet client in the main process to establish a communication connection with the NAS device; S2: Send a connection request to the target NAS device through the Telnet client, receive the response information from the NAS device, and record the connection establishment status; S3: The data collection module records the historical performance data of the Telnet client and analyzes the stability of the Telnet client during the process of establishing a network connection based on the data; S4: Sending predefined test instructions to the NAS device through the Telnet client, and recording the test result data of the NAS device based on the response information of the NAS device; S5: storing detailed data of the NAS device test results in a local database, and correcting them in combination with the Telnet client stability analysis data, then analyzing the connection performance of the NAS device based on the corrected data, and finally generating a test report; S6: Provides a user interface through the rendering process to display the test process and results, provides users with detailed test logs and statistical data that can be viewed, and exports test reports.
2. The automated testing method for testing network connectivity of a NAS device according to claim 1, wherein: The test result data of the NAS device recorded in S4 includes delay, packet loss rate, bandwidth, response time and network throughput.
3. The automated testing method for testing network connectivity of a NAS device according to claim 1, wherein: The analysis process in S3 includes: The client data transmission rate change curve γ(t) is established by using the historical performance data of the Telnet client recorded by the data acquisition module; And through the formula Calculate and obtain the aging coefficient ω of the Telnet client's network card chip; Where t1 is the start time of the Telnet client's historical usage, t2 is the end time of the Telnet client's historical usage, i is a data collection at a fixed time interval during the Telnet client's historical usage, n is the total number of data collections during the Telnet client's historical usage, qd i is the signal strength during the i-th data collection in the historical use of the Telnet client, For all qd i The average value of θ is the number of network connection interruptions during the historical use of the Telnet client, a is any network connection interruption during the historical use of the Telnet client, sc a is the duration of the ath network connection interruption during the history of Telnet client usage, θ b is the standard value of θ.
4. The automated testing method for testing network connectivity of a NAS device according to claim 3, wherein: The analysis process in S3 also includes: By formula Calculate the performance impact coefficient r of the Telnet client; Among them, nc is the remaining available memory resources of the Telnet client, nc y is the preset memory resource requirement, nc b is the standard value of nc, cl is the processor utilization of the Telnet client, y is the preset processor utilization, s is a data collection at a fixed time interval during the test, w is the total number of data collections during the test, dx s is the local disk read and write speed of the Telnet client during the sth data collection in the test process, For all dx s The average value of μ1 and μ2 are proportional coefficients, which are set based on empirical fitting.
5. The automated testing method for testing network connectivity of a NAS device according to claim 4, wherein: The analysis process in S3 also includes: By comparing the performance impact coefficient r of the Telnet client with the preset performance impact coefficient threshold r 01 Make a comparison; If r≥r 01 , judge that during the test of NAS device, the performance of the Telnet client connected to it is abnormal, which will affect the test results of NAS device; If r <r 01 , determine that during the test of the NAS device, there is no abnormality in the performance of the connected Telnet client, which will not affect the test results of the NAS device.
6. The automated testing method for testing network connectivity of a NAS device according to claim 5, wherein: The analysis process in S5 includes: Assigning a value to the performance impact coefficient r of the Telnet client to generate a client performance impact value that is between 1 and 1.2 and increases as the performance impact coefficient r of the Telnet client increases; The performance impact value of the client corresponding to the performance impact coefficient r of the Telnet client is defined as f(r).
7. The automated testing method for testing network connectivity of a NAS device according to claim 6, wherein: The analysis process in S5 further includes: By formula Calculate the connection performance impact coefficient p of the NAS device; Among them, pin s is the delay of the NAS device during the sth data collection during the test. For all pins s The average value, pni y is the preset delay, db is the packet loss rate of the NAS device during the test, db y is the preset packet loss rate, dk is the bandwidth utilization of the NAS device during the test, and dk y is the preset bandwidth utilization, xys is the average response time of all operations of the NAS device during the test, and xys y is the preset average response time, tt is the network throughput of the NAS device during the test, and tt y is the preset network throughput, x1, x2, x3, x4 and x5 are weight coefficients set according to empirical fitting, and x1+x2+x3+x4+x5=1.
8. The automated testing method for testing network connectivity of a NAS device according to claim 7, wherein: The analysis process in S5 further includes: By comparing the connection performance impact coefficient p of the NAS device with the preset connection performance impact coefficient threshold p 01 Make a comparison; If p≥p 01 , judge that the connection performance of the NAS device meets expectations during the network connectivity test, which means that the test result of the network connectivity of the NAS device is qualified; If p <p 01 , it is judged that the connection performance of the NAS device does not meet expectations during the network connectivity test, which means that the test result of the network connectivity of the NAS device is unqualified and needs to be optimized.