Method and device for realizing wired speed measurement through physical key
The wired speed measurement method started by physical buttons, by filtering historical data and big data parameters, combined with the automatic speed measurement function of Speedtest speed measurement website, the existing wired speed measurement methods are solved, and more efficient and accurate speed measurement results are achieved.
Patent Information
- Application Number
- CN202411473725.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing wired speed measurement methods are cumbersome and inefficient. Due to the incorrect network speed information, the speed measurement data is inaccurate.
Wired speed measurement is achieved through physical buttons. The following steps are taken: determine the test type, collect and filter the parameters with the most frequent use in historical data, search for the latest parameters in combination with big data, match and eliminate duplicate parameters, select the appropriate network card, start the Speedtest speed test website, perform automatic speed measurement and verify the results, select the corresponding network card according to the results, start the wired network card and load the configuration parameters, start the speed measurement and display the results in real time.
The speed test process is simplified, the testing efficiency and accuracy are improved, the network card selection is ensured, and the speed test result errors are avoided due to network card errors.
Smart Images

Figure CN119544568A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wired speed measurement, and in particular to a method and device for realizing wired speed measurement through physical buttons. Background Art
[0002] In today's era of rapid digital development, the Internet has become an indispensable part of people's lives and work. Whether it is the business operations of enterprises, data transmission of scientific research institutions, or personal entertainment and learning, higher and higher requirements are placed on the speed and stability of the network; However, the existing speed measurement method is too complicated, and it is necessary to open the wired network, configure the IP address, open the speed measurement software, select the speed measurement server, start the speed measurement, report the results and other steps. Each step requires manual operation by the installation and maintenance engineer. The process is complicated, discontinuous and inefficient. At the same time, when measuring the speed, the operator usually selects the speed measurement network card for speed measurement based on the known network speed information. When the known network speed information is wrong, it will affect the selection of the speed measurement network card, so that the obtained speed measurement data is also wrong. Therefore, a method and device for realizing wired speed measurement by physical buttons are proposed.
[0003] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention
[0004] In view of the problems in the related art, the present invention proposes a method and device for realizing wired speed measurement through physical buttons, so as to overcome the above-mentioned technical problems existing in the existing related art.
[0005] To this end, the specific technical solution adopted by the present invention is as follows: A method for realizing wired speed measurement by physical buttons, the method comprising the following steps: S1. Determine the test type, which includes connectivity test, performance test, and delay test; S2. Collect historical test data, select the most frequently used test parameters from the historical test data, and search for parameter settings related to such tests updated within one month through big data; S3, matching the setting parameters of the filtered historical data with the parameters of the big data search, eliminating the same parameters in the big data search, obtaining the most recently updated setting parameters, and outputting the most frequently used parameters of the historical data and the updated parameters at the same time for the operator to select. After the selection is completed, press the physical button to start the wired speed test; S4. Start the Speedtest website, test the broadband speed directly after the speed test is completed, and verify the broadband speed with the known broadband data. If the verification passes, select the corresponding configured network card. If the verification fails, perform the secondary speed test, and select the corresponding configured network card according to the secondary speed test result. S5, start the wired network card, check the running status of the wired network card, load the configuration parameters into the memory, and write them into the configuration file of the speed test software; S6, start the speed measurement module, receive and send data packets, send data packets to the configured server through the speed measurement unit, start the speed measurement process, and display the current rate and delay information in real time during the speed measurement process; S7. Collect and analyze test data, calculate key indicators such as average rate, maximum rate, and packet loss rate, and display the results on the screen. Finally, store the results in the database or system log for subsequent viewing and analysis.
[0006] As a preferred implementation, the collecting of historical test data, screening the most frequently used test parameters from the historical test data, and searching for parameter settings related to such tests updated within a month through big data include the following steps: S21. Use log files, databases, and test management tools as historical data sources and extract relevant test records from them, including test items, timestamps, and configuration parameters used; S22, organizing the extracted data into a unified format and storing it in a table form; S23. Check and clean the data, remove duplicates, null values, and data in irregular formats, use data analysis tools to count the parameters, calculate the frequency of use of each parameter in historical tests, and select the most frequently used parameter settings based on the statistical results. The specific formula is: ; Among them, F(P) is the calculated frequency, C P is the number of times parameter p appears in historical data, T P is the total number of occurrences of all parameters; S24. Utilize the big data platform and use keywords to locate relevant test parameter settings. When searching, add a time limit to obtain parameter settings updated within one month. S25. Arrange the selected new parameter settings in a format that is consistent with the historical data.
[0007] After the unified format, the new parameters can be analyzed on the same dimensions as the historical data. This allows us to more intuitively compare the performance of the new parameters with similar parameters in the historical data, and also facilitates subsequent comparative analysis.
[0008] As a preferred implementation, the setting parameters of the filtered historical data are matched with the parameters of the big data search, the same parameters in the big data search are eliminated, the most recently updated setting parameters are obtained, and the most frequently used parameters of the historical data are output simultaneously with the updated parameters for the operator to select. After the selection is completed, the physical button is pressed to start the wired speed test, including the following steps: S31, determining matching criteria, including parameter name, type and value; S32, matching the historical data parameters with the parameters of the big data search; S33, removing parameters that match historical data from the parameters searched by the big data, and retaining the most recently updated parameters that do not match; Eliminating parameters that match historical data from the parameters of big data search and retaining the unmatched recently updated parameters can avoid duplicate parameter settings.
[0009] S34, selecting the most frequently used parameter settings from the reserved parameters; S35, outputting the most frequently used parameters in the historical data and the parameters screened in the big data simultaneously for selection by the operator; S36, the operator presses a physical button to start wired speed measurement.
[0010] As a preferred implementation, the historical data parameters are matched with the parameters of the big data search, and the specific formula is: ; Where P h is the historical parameter, P u is the update parameter.
[0011] As a preferred implementation, the Speedtest speed test website is started, and the broadband speed is directly tested after the speed test is completed, and the broadband speed is verified with the known broadband data. If the verification passes, the corresponding configured network card is selected, and if the verification fails, the secondary speed test is performed, and the corresponding configured network card is selected according to the secondary speed test result. The specific steps are as follows: S41. Use the Speedtest official website to automatically test the speed. The test results include download speed, upload speed and latency. Use the Speedtest official website to perform a quick automatic speed test, which usually takes about 30 seconds to 1 minute. S42, recording the speed measurement data as the speed measurement data of this Ethernet; S43. Verify the obtained speed data with the known initial speed data. When the obtained speed data is within the range of the initial speed data, it indicates that the verification is passed and the corresponding network card is selected. When the obtained speed data is not within the range of the initial speed data, it indicates that the verification fails. Use the Speedtest official website to perform automatic speed test again, and use the speed result obtained for the second time to select the corresponding network card.
[0012] The known initial speed measurement data is the speed data of the Ethernet known before the speed measurement.
[0013] As a preferred implementation, the obtained speed data is verified with the known initial speed data. When the obtained speed data is within the range of the initial speed data, it indicates that the verification is passed and the corresponding network card is selected. When the obtained speed data is not within the range of the initial speed data, it indicates that the verification fails, and the Speedtest official website is used again to automatically test the speed, and the corresponding network card is selected using the speed result obtained twice, including the following steps: S431, the obtained speed data is A, and the known original speed data is B. When A∈B, it indicates that the verification is successful, and when A∉B, it indicates that the verification fails; S432. When the verification is successful, select the corresponding network card. When the network speed is lower than 100Mbps, select a 100M network card for a low-speed network. When the network speed is 100Mbps - 500Mbps, it is a medium network and a Gigabit network card is used. When the network speed is higher than 500Mbps, it is a high-speed network and a 2.5G network card is selected. S433. When the verification fails, a secondary speed test is performed, and the data of the secondary speed test is used as the speed data of the Ethernet. Finally, a corresponding network card is selected according to the data of the secondary speed test.
[0014] Different network cards have different speed levels. If the network card speed is low, it will limit the maximum transmission speed of the network. For example, in a Gigabit network environment, if you use a 100M network card to test the speed, the result will be lower than the actual network speed.
[0015] As a preferred implementation, the starting of the wired network card, checking the running status of the wired network card, and then loading the configuration parameters into the memory, and writing into the configuration file of the speed test software includes the following steps: S51, opening the network setting interface in the operating system to check the status of the wired network connection; S52, writing the pre-obtained parameter settings into the configuration file of the speed measurement software.
[0016] Starting and checking the running status of the wired network card can promptly discover possible faults or abnormalities in the network card, ensure that the network card is in normal working condition before testing, provide a stable hardware foundation for subsequent network testing, and avoid inaccurate test results or test interruptions due to network card problems.
[0017] As a preferred implementation, the starting speed measurement module, receiving and sending data packets, sending data packets to the configured server through the speed measurement unit, starting the speed measurement process, and being able to display the current rate and delay information in real time during the speed measurement process includes the following steps: S61, starting a speed measurement application program; S62: The speed measurement module sends a data packet to the configured server, records the sending time and data packet size, and receives a response data packet from the server, records the receiving time and data packet size. S63. Display the current download rate, upload rate and delay information through dynamic updating.
[0018] As a preferred implementation, the test data is collected and analyzed, key indicators such as average rate, maximum rate, and packet loss rate are calculated, and the results are displayed on the screen, and finally the results are stored in a database or system log for subsequent viewing and analysis, including the following steps: S71, calculating the transmission rate of all received valid data packets; S72, counting the number of lost packets and the total number of sent data packets; S73, the calculated data is displayed on the screen; Calculating key indicators such as average rate, maximum rate, and packet loss rate can provide a quantitative assessment of network performance.
[0019] S74. Construct the data record to be stored in a fixed format, including information such as timestamp, average rate, maximum rate, and packet loss rate.
[0020] A wired speed measurement device implemented by physical buttons, comprising a parameter configuration unit, a physical button unit, a speed measurement control unit, a speed measurement unit, a result reporting unit, and a data storage unit, wherein the parameter configuration unit, the speed measurement control unit, the speed measurement unit, and the result reporting unit are sequentially connected in communication, and the physical button unit, the speed measurement control unit, the speed measurement unit, and the result reporting unit are sequentially connected in communication; The parameter configuration unit is used to configure the parameters of the wired test; The physical key unit is used to identify the physical key instruction. When the physical key of the wired test is pressed, the wired test instruction is issued and the wired speed test is started; The speed measurement control unit is used to control the speed measurement. Before starting the speed measurement, the wired network card is turned on and the working parameters are written; The speed measurement unit is used for speed measurement, and after writing the configured default speed measurement server, the speed measurement is started; The result reporting unit is used to report the test results and display the test results; The data storage unit is used to store all data of the parameter configuration unit, the speed measurement control unit and the test unit during the test.
[0021] The beneficial effects of the present invention are: 1. The present invention collects historical data and filters the most frequently used parameters from the historical data, and searches for parameter settings related to such tests updated within one month from big data. This method fully combines past experience and the latest dynamic information, making the obtained test parameters more comprehensive. It not only utilizes reliable parameters that have been tested in practice in historical data, but also keeps up with the changing trends of current technological development and practical applications, thereby improving the accuracy and reliability of the test results.
[0022] 2. The present invention matches historical data parameters with parameters of big data search and eliminates identical data parameters in big data search, thereby reducing interference from duplicate data and improving data quality and accuracy.
[0023] 3. The present invention uses the Speedtest speed test website to verify the broadband speed and the known original data. When the verification is passed, a speed test network card of the corresponding level is used. When the verification fails, a secondary speed test is performed, and then a network card of the corresponding level is used for the secondary speed test. This can ensure that the speed test network card used is of the correct level, avoiding the possibility of incorrect speed test results due to incorrect use of the network card.
[0024] 4. The present invention sets the test parameters in advance before testing, which can effectively simplify the test process, and automatically search and filter the corresponding configuration parameters, so that the operator does not need to manually input and test the configuration parameters multiple times during the test. This not only makes the test efficiency more consistent, but also can improve the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 is a flow chart of a method for realizing wired speed measurement by physical buttons according to an embodiment of the present invention; Figure 2 It is a structural diagram of a wired speed measurement device implemented by physical buttons according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0028] According to an embodiment of the present invention, a method and device for implementing wired speed measurement through physical buttons are provided.
[0029] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1-Figure 2 As shown, according to the textile printing texture intelligent retrieval method based on texture features according to an embodiment of the present invention, the method comprises the following steps: S1. Determine the test type, which includes connectivity test, performance test, and delay test; S2. Collect historical test data, select the most frequently used test parameters from the historical test data, and search for parameter settings related to such tests updated within one month through big data; Furthermore, collecting historical test data, screening the most frequently used test parameters from the historical test data, and searching for parameter settings related to such tests updated within a month through big data include the following steps: S21. Use log files, databases, and test management tools as historical data sources and extract relevant test records from them, including test items, timestamps, and configuration parameters used; S22, organizing the extracted data into a unified format and storing it in a table form; S23. Check and clean the data, remove duplicates, null values, and data in irregular formats, use data analysis tools to count the parameters, calculate the frequency of use of each parameter in historical tests, and select the most frequently used parameter settings based on the statistical results. The specific formula is: ; Among them, F(P) is the calculated frequency, C P is the number of times parameter p appears in historical data, T P is the total number of occurrences of all parameters; S24. Utilize the big data platform and use keywords to locate relevant test parameter settings. When searching, add a time limit to obtain parameter settings updated within one month. S25. Arrange the selected new parameter settings in a format that is consistent with the historical data.
[0030] It should be noted that by searching historical data and filtering out the most frequently used setting parameters, the efficiency of the test can be improved, making the test more convenient. When configuring network devices, technicians can quickly complete the basic network configuration of new devices after knowing the most frequently used IP address allocation methods, gateway settings and other parameters. There is no need to repeatedly test different parameter combinations to find the best settings, saving a lot of time and effort. As technology and application scenarios continue to evolve and change, changes in network environment, business requirements, software versions and other factors may lead to continuous adjustments in the optimal test parameter settings. Obtaining parameter settings updated within one month can keep up with these changes and ensure that the parameters used are based on the latest conditions and practices, avoiding the use of outdated parameters that may lead to inaccurate or unrepresentative test results.
[0031] S3, matching the setting parameters of the filtered historical data with the parameters of the big data search, eliminating the same parameters in the big data search, obtaining the most recently updated setting parameters, and outputting the most frequently used parameters of the historical data and the updated parameters at the same time for the operator to select. After the selection is completed, press the physical button to start the wired speed test; Further, the setting parameters of the filtered historical data are matched with the parameters of the big data search, the same parameters in the big data search are eliminated, the most recently updated setting parameters are obtained, and the most frequently used parameters of the historical data are outputted together with the updated parameters for the operator to select. After the selection is completed, the physical button is pressed to start the wired speed test, which includes the following steps: S31, determining matching criteria, including parameter name, type and value; S32, matching the historical data parameters with the parameters of the big data search; S33, removing parameters that match historical data from the parameters searched by the big data, and retaining the most recently updated parameters that do not match; S34, selecting the most frequently used parameter settings from the reserved parameters; S35, outputting the most frequently used parameters in the historical data and the parameters screened in the big data simultaneously for selection by the operator; S36, the operator presses a physical button to start wired speed measurement.
[0032] It should be noted that by screening the best parameters in historical data and the updated parameters of the big data platform, a more comprehensive parameter configuration can be obtained, so that the obtained parameter configuration is not only highly empirical but also novel.
[0033] Furthermore, the historical data parameters are matched with the parameters of the big data search. The specific formula is: ; Where P h is the historical parameter, P u is the update parameter.
[0034] S4. Start the Speedtest website, test the broadband speed directly after the speed test is completed, and verify the broadband speed with the known broadband data. If the verification passes, select the corresponding configured network card. If the verification fails, perform the secondary speed test, and select the corresponding configured network card according to the secondary speed test result. Further, start the Speedtest speed test website, directly test the broadband speed after the speed test is completed, and verify the broadband speed with the known broadband data. If the verification passes, select the corresponding configured network card. If the verification fails, the secondary speed test is performed, and the corresponding configured network card is selected according to the secondary speed test results. The specific steps are as follows: S41. Use the Speedtest official website to automatically test the speed. The test results include download speed, upload speed and latency. Use the Speedtest official website to perform a quick automatic speed test, which usually takes about 30 seconds to 1 minute.
[0035] S42, recording the speed measurement data as the speed measurement data of this Ethernet; S43. Verify the obtained speed data with the known initial speed data. When the obtained speed data is within the range of the initial speed data, it indicates that the verification is passed and the corresponding network card is selected. When the obtained speed data is not within the range of the initial speed data, it indicates that the verification fails. Use the Speedtest official website to perform automatic speed test again, and use the speed result obtained for the second time to select the corresponding network card.
[0036] It should be noted that before conducting an actual speed test, you can use the Speedtest official website to conduct a simple speed test to obtain the speed data of the current network. Verifying this data with the known speed data can avoid errors in the known speed data that may affect the selection of the network card, and avoid using a low-level network card to test the speed of an advanced network and affect the final speed test results.
[0037] Further, the obtained speed data is verified with the known initial speed data. When the obtained speed data is within the range of the initial speed data, it indicates that the verification is passed and the corresponding network card is selected. When the obtained speed data is not within the range of the initial speed data, it indicates that the verification fails. The Speedtest official website is used again to automatically test the speed, and the corresponding network card is selected using the speed result obtained twice, including the following steps: S431, the obtained speed data is A, and the known original speed data is B. When A∈B, it indicates that the verification is successful, and when A∉B, it indicates that the verification fails; S432. When the verification is successful, select the corresponding network card. When the network speed is lower than 100Mbps, select a 100M network card for a low-speed network. When the network speed is 100Mbps - 500Mbps, it is a medium network and a Gigabit network card is used. When the network speed is higher than 500Mbps, it is a high-speed network and a 2.5G network card is selected. S433. When the verification fails, a secondary speed test is performed, and the data of the secondary speed test is used as the speed data of the Ethernet. Finally, a corresponding network card is selected according to the data of the secondary speed test.
[0038] It should be noted that when conducting network testing, the more advanced the network card, the better the speed test effect. Advanced network cards are expensive and have excess functions, which are not cost-effective for general network testing. In addition, advanced network cards may have specific requirements in terms of compatibility and applicability, and may not be perfectly compatible with all devices. Different network environments have different requirements for network cards. Therefore, choosing the corresponding network card according to the actual network speed can not only save cost-effectiveness, but also ensure that the performance of the network card is accurately matched with network requirements to avoid waste of resources. At the same time, it can also improve the accuracy and reliability of network testing and optimize network performance.
[0039] S5, start the wired network card, check the running status of the wired network card, load the configuration parameters into the memory, and write them into the configuration file of the speed test software; Furthermore, starting the wired network card, checking the running status of the wired network card, and then loading the configuration parameters into the memory, and writing into the configuration file of the speed test software includes the following steps: S51, opening the network setting interface in the operating system to check the status of the wired network connection; S52, writing the pre-obtained parameter settings into the configuration file of the speed measurement software.
[0040] S6, start the speed measurement module, receive and send data packets, send data packets to the configured server through the speed measurement unit, start the speed measurement process, and display the current rate and delay information in real time during the speed measurement process; Further, starting the speed measurement module, receiving and sending data packets, sending data packets to the configured server through the speed measurement unit, starting the speed measurement process, and being able to display the current rate and delay information in real time during the speed measurement process includes the following steps: S61, starting a speed measurement application program; S62: The speed measurement module sends a data packet to the configured server, records the sending time and data packet size, and receives a response data packet from the server, records the receiving time and data packet size. S63. Display the current download rate, upload rate and delay information through dynamic updating.
[0041] It should be noted that real-time display allows users to intuitively understand the performance status of the current network and keep abreast of the network's operation status at any time, so that they can promptly detect and take corresponding measures when network problems occur. At the same time, real-time displayed information provides users with accurate data basis, which helps users analyze network bottlenecks and adjust network configurations to achieve the goal of improving network performance.
[0042] S7. Collect and analyze test data, calculate key indicators such as average rate, maximum rate, and packet loss rate, and display the results on the screen. Finally, store the results in the database or system log for subsequent viewing and analysis.
[0043] Further, collecting test data and analyzing it, calculating key indicators such as average rate, maximum rate, and packet loss rate, and displaying the results on the screen, and finally storing the results in a database or system log for subsequent viewing and analysis includes the following steps: S71, calculating the transmission rate of all received valid data packets; S72, counting the number of lost packets and the total number of sent data packets; S73, the calculated data is displayed on the screen; S74, constructing data records to be stored in a fixed format, including information such as timestamp, average rate, maximum rate, and packet loss rate; It should be noted that the average rate reflects the overall transmission speed level of the network over a period of time, helping users understand the general performance of the network; the maximum rate shows the potential of the network in the best state and can be used to evaluate the peak performance of the network; the packet loss rate reflects the reliability of network transmission, and a high packet loss rate may mean that the network has stability problems; through these indicators, users can quickly understand the advantages and disadvantages of the network and provide a basis for further network optimization and decision-making.
[0044] A wired speed measurement device implemented by physical buttons, comprising a parameter configuration unit, a physical button unit, a speed measurement control unit, a speed measurement unit, a result reporting unit, and a data storage unit, wherein the parameter configuration unit, the speed measurement control unit, the speed measurement unit, and the result reporting unit are sequentially connected in communication, and the physical button unit, the speed measurement control unit, the speed measurement unit, and the result reporting unit are sequentially connected in communication; A parameter configuration unit, used to configure parameters of wired testing; The physical button unit is used to identify the physical button command. When the physical button of the wired test is pressed, the wired test command is issued and the wired speed test is started; The speed measurement control unit is used to control the speed measurement. Before starting the speed measurement, the wired network card is turned on and the working parameters are written; The speed test unit is used for speed test. After writing the configured default speed test server, the speed test is started. A result reporting unit, used to report the test results and display the test results; The data storage unit is used to store all the data of the parameter configuration unit, the speed control unit, and the test unit during the test.
[0045] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A wired speed measurement method using a physical button, characterized in that: The method comprises the following steps: S1. Determine the test type, which includes connectivity test, performance test, and delay test; S2. Collect historical test data, select the most frequently used test parameters from the historical test data, and search for parameter settings related to such tests updated within one month through big data; S3, matching the setting parameters of the filtered historical data with the parameters of the big data search, eliminating the same parameters in the big data search, obtaining the most recently updated setting parameters, and outputting the most frequently used parameters of the historical data and the updated parameters at the same time for the operator to select. After the selection is completed, press the physical button to start the wired speed test; S4. Start the Speedtest website, test the broadband speed directly after the speed test is completed, and verify the broadband speed with the known broadband data. If the verification passes, select the corresponding configured network card. If the verification fails, perform the secondary speed test, and select the corresponding configured network card according to the secondary speed test result. S5, start the wired network card, check the running status of the wired network card, load the configuration parameters into the memory, and write them into the configuration file of the speed test software; S6, start the speed measurement module, receive and send data packets, send data packets to the configured server through the speed measurement unit, start the speed measurement process, and display the current rate and delay information in real time during the speed measurement process; S7. Collect and analyze test data, calculate key indicators such as average rate, maximum rate, and packet loss rate, and display the results on the screen. Finally, store the results in the database or system log for subsequent viewing and analysis.
2. The method for realizing wired speed measurement by physical buttons according to claim 1, characterized in that: The collecting of historical test data, screening the most frequently used test parameters from the historical test data, and searching for parameter settings related to such tests updated within a month through big data include the following steps: S21. Use log files, databases, and test management tools as historical data sources and extract relevant test records from them, including test items, timestamps, and configuration parameters used; S22, organizing the extracted data into a unified format and storing it in a table form; S23. Check and clean the data, remove duplicates, null values, and data in irregular formats, use data analysis tools to count the parameters, calculate the frequency of use of each parameter in historical tests, and select the most frequently used parameter settings based on the statistical results. The specific formula is: ; Among them, F(P) is the calculated frequency, C P is the number of times parameter p appears in historical data, T P is the total number of occurrences of all parameters; S24. Utilize the big data platform and use keywords to locate relevant test parameter settings. When searching, add a time limit to obtain parameter settings updated within one month. S25. Arrange the selected new parameter settings in a format that is consistent with the historical data.
3. The method for realizing wired speed measurement by physical buttons according to claim 1, characterized in that: The setting parameters of the filtered historical data are matched with the parameters of the big data search, the same parameters in the big data search are eliminated, the most recently updated setting parameters are obtained, and the most frequently used parameters of the historical data are outputted together with the updated parameters for selection by the operator. After the selection is completed, the physical button is pressed to start the wired speed test, which includes the following steps: S31, determining matching criteria, including parameter name, type and value; S32, matching the historical data parameters with the parameters of the big data search; S33, removing parameters that match historical data from the parameters searched by the big data, and retaining the most recently updated parameters that do not match; S34, selecting the most frequently used parameter settings from the reserved parameters; S35, outputting the most frequently used parameters in the historical data and the parameters screened in the big data simultaneously for selection by the operator; S36, the operator presses a physical button to start wired speed measurement.
4. The method for realizing wired speed measurement by physical buttons according to claim 3, characterized in that: The specific formula for matching the historical data parameters with the parameters of the big data search is: ; Where P h is the historical parameter, P u is the update parameter.
5. The method for realizing wired speed measurement by physical buttons according to claim 1, characterized in that: The Speedtest website is started, and the broadband speed is directly tested after the speed test is completed, and the broadband speed is verified with the known broadband data. If the verification passes, the corresponding configured network card is selected, and if the verification fails, the secondary speed test is performed, and the corresponding configured network card is selected according to the secondary speed test result. The specific steps are as follows: S41. Use the Speedtest official website to automatically test the speed. The test results include download speed, upload speed and latency. S42, recording the speed measurement data as the speed measurement data of this Ethernet; S43. Verify the obtained speed data with the known initial speed data. When the obtained speed data is within the range of the initial speed data, it indicates that the verification is passed and the corresponding network card is selected. When the obtained speed data is not within the range of the initial speed data, it indicates that the verification fails. Use the Speedtest official website to perform automatic speed test again, and use the speed result obtained for the second time to select the corresponding network card.
6. The method for realizing wired speed measurement by physical buttons according to claim 5, characterized in that: The obtained speed data is verified with the known initial speed data. When the obtained speed data is within the range of the initial speed data, it indicates that the verification is passed and the corresponding network card is selected. When the obtained speed data is not within the range of the initial speed data, it indicates that the verification fails. The Speedtest official website is used again to automatically test the speed, and the corresponding network card is selected using the speed result obtained twice, which includes the following steps: S431, the obtained speed data is A, and the known original speed data is B. When A∈B, it indicates that the verification is successful, and when A∉B, it indicates that the verification fails; S432. When the verification is successful, select the corresponding network card. When the network speed is lower than 100Mbps, select a 100M network card for a low-speed network. When the network speed is 100Mbps - 500Mbps, it is a medium network and a Gigabit network card is used. When the network speed is higher than 500Mbps, it is a high-speed network and a 2.5G network card is selected. S433. When the verification fails, a secondary speed test is performed, and the data of the secondary speed test is used as the speed data of the Ethernet. Finally, a corresponding network card is selected according to the data of the secondary speed test.
7. The method for realizing wired speed measurement by physical buttons according to claim 1, characterized in that: The starting of the wired network card, checking the running status of the wired network card, and then loading the configuration parameters into the memory, and writing into the configuration file of the speed test software includes the following steps: S51, opening the network setting interface in the operating system to check the status of the wired network connection; S52, writing the pre-obtained parameter settings into the configuration file of the speed measurement software.
8. The method for realizing wired speed measurement by physical buttons according to claim 1, characterized in that: The starting speed measurement module, receiving and sending data packets, sending data packets to the configured server through the speed measurement unit, starting the speed measurement process, and being able to display the current rate and delay information in real time during the speed measurement process includes the following steps: S61, starting a speed measurement application program; S62: The speed measurement module sends a data packet to the configured server, records the sending time and data packet size, and receives a response data packet from the server, records the receiving time and data packet size. S63. Display the current download rate, upload rate and delay information through dynamic updating.
9. The method for realizing wired speed measurement by physical buttons according to claim 1, characterized in that: The process of collecting and analyzing test data, calculating key indicators such as average rate, maximum rate, and packet loss rate, and displaying the results on the screen, and finally storing the results in a database or system log for subsequent viewing and analysis includes the following steps: S71, calculating the transmission rate of all received valid data packets; S72, counting the number of lost packets and the total number of sent data packets; S73, the calculated data is displayed on the screen; S74. Construct the data record to be stored in a fixed format, including information such as timestamp, average rate, maximum rate, and packet loss rate.
10. A wired speed measurement device using a physical button, characterized in that: It includes a parameter configuration unit, a physical button unit, a speed measurement control unit, a speed measurement unit, a result reporting unit, and a data storage unit. The parameter configuration unit, the speed measurement control unit, the speed measurement unit, and the result reporting unit are sequentially connected in communication. The physical button unit, the speed measurement control unit, the speed measurement unit, and the result reporting unit are sequentially connected in communication; The parameter configuration unit is used to configure the parameters of the wired test; The physical key unit is used to identify the physical key instruction. When the physical key of the wired test is pressed, the wired test instruction is issued and the wired speed test is started; The speed measurement control unit is used to control the speed measurement. Before starting the speed measurement, the wired network card is turned on and the working parameters are written; The speed measurement unit is used for speed measurement, and after writing the configured default speed measurement server, the speed measurement is started; The result reporting unit is used to report the test results and display the test results; The data storage unit is used to store all data of the parameter configuration unit, the speed measurement control unit and the test unit during the test.
Citation Information
Patent Citations
Dynamic control method and device for network card power consumption and connection mode
CN101458556A
Channel selection method and device under multiple network cards, server and storage medium
CN116633999A
Network card power consumption adjusting method and device, network card, electronic equipment and storage medium
CN117729114A
Facilitating network configuration testing
US11165648B1
Method and system for generating sets of parameter values for test scenarios
US6795790B1