Quality detection method, system and device for network card link and medium

By scoring the structural parameters and signal transmission test results of OCP network card links, the quality score is calculated, which solves the problem of lack of unified standards in the prior art to evaluate network card link quality, and realizes the sorting of multiple link quality and the selection of optimal links.

CN119697065AActive Publication Date: 2025-03-25INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202412000404.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-03-25
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

The existing technology lacks unified standards to evaluate the signal quality of OCP network card links, which makes it impossible to sort the quality of multiple OCP network card links and cannot select the link with the best quality.

Method used

By obtaining the structural parameters of the network card link (such as the number of connectors, number of cables and length) for scoring, combining the signal transmission test results between the central processor and the network card for scoring, the quality score of each network card link is calculated according to the preset method.

Benefits of technology

A unified quantitative evaluation of the signal quality of multiple network card links is realized, and the quality of multiple links can be sorted according to the quality score, thereby selecting the link with the best quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697065A_ABST
    Figure CN119697065A_ABST
Patent Text Reader

Abstract

The invention discloses a quality detection method, system and device for a network card link and a medium, relates to the field of signal transmission, and solves the problem that no unified standard is provided for evaluating the quality of the network card link. Scoring the network card link structure according to the number of connectors between the central processing unit and the network card and the number and size of cables to obtain a first score; performing a signal transmission test on the central processing unit and the network card to obtain a second score; and obtaining a quality score of each network card link according to the first score and the second score. The number of the connectors and the number and length of the cables are related to signal attenuation and interference, the number of the connectors and the number and length of the cables are incorporated into a scoring system, and the advantages and disadvantages of different links in structure can be quantitatively evaluated; according to the method, the actual performance of the network card link is reflected more comprehensively in combination with the signal transmission test result, unified quantitative evaluation can be carried out on the signal quality of the multiple network card links, and then the quality of the multiple links can be sorted according to the quality score, so that the link with the optimal quality is selected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal transmission, and in particular to a quality detection method, system, device and medium for a network card link. Background Art

[0002] As a high-performance network interface card designed for data centers, the OCP (Open Compute Project) network card aims to promote the standardization and interoperability of data center hardware through open standards and modular design, thereby reducing costs and improving efficiency. With its standardized design, high performance, flexibility, management and energy saving, the OCP network card has become an important part of the network infrastructure of modern data centers. It not only improves network performance and reliability, but also simplifies deployment and maintenance, and reduces the total cost of ownership. The communication protocol between the OCP network card and the central processing unit (Central Processing Unit) is PCIe (Peripheral Component Interconnect Express), which is a high-performance, low-latency computer expansion bus standard widely used in various computing devices. Its high-speed transmission, low latency, hot-swap and hot-plug, flexibility and power management make it an indispensable part of modern computing systems. With the continuous improvement of PCIe speed, the signal quality requirements for OCP network cards are also getting higher and higher.

[0003] However, there is a problem in the current design of OCP network card links in servers: although more and more OCP network card links have been designed, each link is currently measured separately to determine whether its quality is qualified. There is a lack of unified standards to evaluate the signal quality of OCP network card links, which makes it impossible to rank the quality of multiple OCP network card links, and thus it is impossible to select the link with the best quality from multiple OCP network card links. Summary of the invention

[0004] The purpose of the present invention is to provide a quality detection method, system, device and medium for a network card link, which can uniformly quantify the signal quality of multiple network card links, and then rank the qualities of multiple links according to the quality scores, so as to select the link with the best quality.

[0005] In a first aspect, the present application provides a method for detecting the quality of a network card link, comprising:

[0006] For each of the network card links, obtain structural parameters of the network card link, score the structural parameters, and obtain a first score; the structural parameters include the number of connectors, the number of cables, and the length of the cables in the network card link; the network card link is a connection link structure between the network card and the central processing unit;

[0007] Performing a signal transmission test between the central processing unit and the network card to obtain a test result, and scoring the test result to obtain a second score;

[0008] The quality score of each network card link is obtained by calculating according to the first score and the second score in a preset manner.

[0009] Optionally, before scoring the structural parameter to obtain the first score, the method further includes:

[0010] According to the structural parameters of the network card link and the first preset level classification method, obtaining the structural level corresponding to the structural parameters of each network card link;

[0011] Scoring the test result to obtain the second score also includes:

[0012] According to the test result of the network card link and the second preset level classification method, a test level corresponding to the test result of each network card link is obtained; the test level includes several types of not reaching the standard test value, reaching the standard test value, and reaching the standard test value of a preset multiple, and the preset multiple is a value greater than 1 and less than 1.5;

[0013] Scoring the structural parameters to obtain a first score includes:

[0014] Determining a first score corresponding to the structural level according to the structural parameter of each of the network card links;

[0015] Scoring the test result to obtain a second score includes:

[0016] According to the test level corresponding to the test result of each of the network card links, a second score corresponding to the test level is determined.

[0017] Optionally, before determining the first score corresponding to the structural level according to the structural parameter of each network card link, the method further includes:

[0018] Eliminate network card links of a preset structural level from all the network card links; the number of connectors in the network card links of the preset structural level is greater than a first preset number and / or the number of cables is greater than a second preset number and / or the length of the cables is greater than a preset length;

[0019] Before determining a second score corresponding to the test level according to the test result corresponding to each of the network card links, the method further includes:

[0020] The network card links with a preset test level are eliminated from all the network card links; the preset test level is a level that does not reach the level corresponding to the standard test value.

[0021] Optionally, performing a signal transmission test between the central processing unit and the network card to obtain a test result includes:

[0022] Performing shutdown and startup tests on the network card in sequence to obtain a first test result;

[0023] Perform a second test of shutting down, powering off, powering on, and booting up the network card in sequence to obtain a second test result;

[0024] The test results include at least the first test result and the second test result.

[0025] Optionally, also include:

[0026] assigning a first weight to the first test result, and assigning a second weight to the second test result;

[0027] A restart test score of the network card link is obtained according to the first weight and the first test result, the second weight and the second test result.

[0028] Optionally, performing a signal transmission test between the central processing unit and the network card to obtain a test result includes:

[0029] Sending an original signal and an original data packet from the central processor, and acquiring a test signal and a test data packet received by the network card; the original signal corresponds to the test signal, and the original data packet corresponds to the test data packet;

[0030] Obtaining the test result according to the signal parameters of the test signal and the data packet parameters of the test data packet;

[0031] The signal parameters are parameters used to characterize signal quality, and the data packet parameters are parameters used to characterize data transmission performance.

[0032] Optionally, calculating according to a preset method according to the first score and the second score to obtain a quality score of each network card link includes:

[0033] Determine a first impact factor corresponding to the first score and a second impact factor corresponding to the second score;

[0034] A quality score of each of the network card links is determined according to the first impact factor, the first score, the second impact factor, and the second score.

[0035] In a second aspect, the present application provides a network card link quality detection system, including:

[0036] A first scoring unit is configured to obtain, for each of the network card links, structural parameters of the network card link, score the structural parameters, and obtain a first score; the structural parameters include the number of connectors, the number of cables, and the length of the cables in the network card link; the network card link is a connection link structure between the network card and a central processing unit;

[0037] A second scoring unit is used to perform a signal transmission test between the central processing unit and the network card to obtain a test result, and score the test result to obtain a second score;

[0038] The quality evaluation unit is used to calculate according to the first score and the second score in a preset manner to obtain a quality score of each of the network card links.

[0039] In a third aspect, the present application provides a network card link quality detection device, including:

[0040] Memory for storing computer programs;

[0041] The processor is used to implement the steps of the network card link quality detection method as described above when executing a computer program.

[0042] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the network card link quality detection method as described above are implemented.

[0043] The present application provides a quality detection method, system, device and medium for a network card link, which relates to the field of signal transmission and solves the problem of no unified standard for evaluating the quality of a network card link. The network card link structure is scored according to the number of connectors, the number and size of cables between the central processing unit and the network card to obtain a first score; a signal transmission test is performed on the central processing unit and the network card to obtain a second score; and a quality score for each network card link is obtained according to the first score and the second score. The number of connectors, the number and length of cables are related to signal attenuation and interference. Incorporating the number of connectors, the number and length of cables into the scoring system can quantitatively evaluate the structural advantages and disadvantages of different links; combined with the signal transmission test results, the actual performance of the network card link can be more comprehensively reflected, and the signal quality of multiple network card links can be uniformly quantitatively evaluated, and then the quality of multiple links can be ranked according to the quality score, so as to select the link with the best quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. 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.

[0045] Figure 1 A flow chart of a quality detection method for a network card link provided by the present invention;

[0046] Figure 2 A schematic diagram of impedance change of a connector provided by the present invention;

[0047] Figure 3 A schematic diagram of impedance change of a cable provided by the present invention;

[0048] Figure 4 A schematic diagram of a first network card link provided by the present invention;

[0049] Figure 5 A schematic diagram of a second network card link provided by the present invention;

[0050] Figure 6 A schematic diagram of a third network card link provided by the present invention;

[0051] Figure 7 A flowchart of a network card link screening provided by the present invention;

[0052] Figure 8 The present invention provides a schematic diagram of a network card link quality detection system. DETAILED DESCRIPTION

[0053] The core of the present invention is to provide a quality detection method, system, device and medium for a network card link, which can uniformly quantify the signal quality of multiple network card links, and then rank the quality of multiple links according to the quality score, so as to select the link with the best quality.

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 creative work are within the scope of protection of the present invention.

[0055] First, as Figure 1As shown, the present application provides a method for detecting the quality of a network card link, comprising:

[0056] S11: for each network card link, obtaining structural parameters of the network card link, scoring the structural parameters to obtain a first score; the structural parameters include the number of connectors, the number of cables, and the length of the cables in the network card link; the network card link is a connection link structure between the network card and the central processing unit;

[0057] In this step, we first obtain the key structural parameters of each NIC link structure. The core of this step is to quantitatively evaluate the physical configuration of the NIC link. The NIC link refers to the connection architecture between the NIC and the central processing unit (CPU), which usually involves connectors, cables and their corresponding configurations.

[0058] like Figure 2 It can be seen that the impedance fluctuation at the connector is large. The number of connectors refers to the total number of connectors in the network card link. The number of connectors directly affects the stability and reliability of signal transmission. Too many connectors may introduce additional signal loss, interference, or poor physical contact. Therefore, the number of connectors has a significant impact on the quality of the network card link.

[0059] like Figure 3 It shows the impedance fluctuation of the cable. Impedance discontinuity will cause reflection, and reflection will cause signal fluctuation. Vr represents the reflected voltage, Vi represents the incident voltage, Z1 and Z2 represent the instantaneous impedance of the two transmission lines respectively. Represents the reflection coefficient. According to the formula Vr / Vi=(Z2-Z1) / ( Z2+Z1)= It can be inferred that the more drastic the impedance change, the worse the signal quality, and thus it can be inferred that the topology containing connectors should be worse than the topology without connectors, and the topology containing cables should be worse than the topology without cables.

[0060] The number of cables refers to the number of cables used to connect various devices (such as between a network card and a CPU). Too many cables may complicate the layout and increase the difficulty of line management. At the same time, too many cables may cause problems such as signal interference or crosstalk, affecting the transmission quality of the signal. The length of the cable determines the distance of signal transmission. Long cables may cause signal attenuation or delay, especially in the case of high-speed data transmission. Cables that are too long will have a negative impact on signal quality. Therefore, the cable length must be properly controlled to ensure that while meeting the connection requirements, transmission delays and signal losses caused by too long cables are avoided.

[0061] These structural parameters reflect the design quality of the network card link and its performance potential in the actual use environment. After obtaining these parameters, each parameter is scored. The scoring criteria may be set according to actual needs. For example, a reasonable range is set based on the number of connectors. If the range is exceeded, the score may be lower. There are also corresponding scoring criteria for the number and length of cables. If a certain threshold is exceeded, it will be considered a factor affecting the link quality.

[0062] S12: performing a signal transmission test between the central processing unit and the network card, obtaining a test result, and scoring the test result to obtain a second score;

[0063] In this step, the core task is to conduct actual testing of the signal transmission between the network card and the central processing unit (CPU) to evaluate the performance of the network link in a real operating environment. Specifically, it is first necessary to evaluate the quality and efficiency of data transmission between the network card and the CPU through actual signal transmission testing. This process involves sending the signal from the central processing unit to the network card, and monitoring key parameters such as signal integrity, transmission speed, delay, packet loss rate, etc. in real time during the transmission process to ensure that the signal can run stably under the predetermined transmission protocol and rate. Through this test, potential signal attenuation, interference, transmission delay or packet loss problems can be discovered, which may have a negative impact on the overall performance of the system.

[0064] The specific testing process may include but is not limited to: transmission speed test, to evaluate whether the data transmission rate from the CPU to the network card meets the design requirements; delay test, to detect the delay in the data transmission process, especially in high-speed data exchange, too much delay will affect the system response time and real-time performance; packet loss rate test, to evaluate whether the data packet is lost during the transmission process, serious packet loss will lead to data integrity problems, thus affecting the reliability and efficiency of the system; and signal integrity test, to check whether the signal is distorted or erroneous during the transmission process, to ensure that the data can reach the target device without error. During the test process, the transmission process is usually monitored by some standardized test tools and equipment, and compared according to the predetermined standards and requirements to obtain a specific test result.

[0065] The test results will eventually be converted into a second score, which reflects the quality performance during the actual signal transmission process. If the test results show that the signal transmission meets the preset standards, the score is high, otherwise, the score is low. This second score can accurately reflect the performance of the network card link in actual applications. As an important part of the network card link quality score, it constitutes a comprehensive evaluation of the network card link quality together with the structural parameter score (first score).

[0066] S13: Calculate the first score and the second score in a preset manner to obtain a quality score for each network card link.

[0067] In this step, the quality score of the network card link is carried out by comprehensively evaluating the structural parameter score (first score) and the signal transmission test score (second score). The core principle of this process is to combine the quality of structural design with the actual operating performance to form a comprehensive scoring system.

[0068] First, the first score represents the quality of the physical structure design of the network card link. This score is based on parameters such as the number of connectors in the network card link, the number of cables, and the length of the cables to measure the rationality and optimization of the link design. A good design can reduce the loss and interference of signal transmission and ensure network stability and efficiency. The second score is obtained through the evaluation of the actual signal transmission test. It reflects the signal transmission quality between the network card and the CPU in actual operation, including factors such as transmission speed, delay, and packet loss rate. Therefore, the second score mainly measures the performance of the link in an actual working environment.

[0069] In this step, the two scores need to be integrated according to a preset method (which may be weighted, summed, or other mathematical models). For example, the structural parameter score (first score) may account for a certain proportion of the total score, and the signal transmission test score (second score) may account for another proportion. Combining the results of the two, a more comprehensive NIC link quality score can be obtained. This quality score provides a quantitative basis for evaluating the overall quality of the NIC link. By comprehensively considering the design optimization (structural score) and actual performance (test score), this quality score can accurately reflect the reliability, stability, and performance level of the NIC link in the real environment, thereby helping engineers or users to determine whether the NIC link meets the design requirements or whether there may be room for improvement in actual applications.

[0070] As an optional embodiment: according to the quality scores of all network card links, the quality scores of all network card links can be compared to select the link with the highest score as the optimal network card link. The specific method is to sort the comprehensive quality score of each network card link (derived from the structural parameter score and the signal transmission test score), and the network card link with the highest score is the optimal link. Usually, the score will take into account the comprehensive performance of each link in multiple dimensions such as design rationality and transmission performance. Therefore, the link with the highest score represents the design solution with the best balance and the best performance in these dimensions. In addition, according to specific needs or application scenarios, scoring thresholds or weights can be set to further refine the selection criteria to ensure that the optimal network card link can meet the performance requirements and stability requirements of the system to the greatest extent.

[0071] As an optional embodiment, before scoring the structural parameters to obtain the first score, the method further includes:

[0072] According to the structural parameters of the network card link and the first preset level classification method, a structural level corresponding to the structural parameters of each network card link is obtained;

[0073] The test results are scored, before the second score is given, and also include:

[0074] According to the test result of the network card link and the second preset level classification method, the test level corresponding to the test result of each network card link is obtained; the test level includes several types of test values ​​that do not reach the standard test value, reach the standard test value, and reach the standard test value of a preset multiple, and the preset multiple is a value greater than 1 and less than 1.5;

[0075] Structural parameters were scored to obtain a first score, including:

[0076] Determining a first score corresponding to the structural level according to the structural parameter of each network card link;

[0077] The test results are scored to obtain a second score, including:

[0078] According to the test level corresponding to the test result of each network card link, a second score corresponding to the test level is determined.

[0079] In this embodiment, the scoring process for the network card link quality is further refined, and the scoring is made more systematic and objective through the division of structure level and test level.

[0080] For the structural parameters of the network card link, firstly, a structural level is assigned to each network card link according to the structural characteristics of the network card link (such as the number of connectors, the number of cables, the length of cables, etc.) through the first preset level classification method. This structural level reflects the rationality and degree of optimization of the network card link design, and the standards are usually set according to the actual application requirements, for example, the reasonable range of the number of connectors, the number of cables and the length. If some parameters exceed the preset range, they are rated as a lower level, otherwise they may get a higher level. The purpose of this process is to quantify and grade the structural characteristics of each network card link so that they can be scored according to the quality of the structural design.

[0081] Next, before scoring the test results, the test results of each network card link are assigned to a test level using a second preset level division method based on the test results of the network card link (such as signal transmission speed, delay, packet loss rate, etc.). Test levels usually include multiple levels, such as: "did not reach the standard test value", "reached the standard test value" and "reached the preset multiple of the standard test value". Among them, the preset multiple is a value greater than 1 and less than 1.5, indicating that the test result can reach a certain multiple of the standard test value. For example, if the standard test value is a certain transmission rate, reaching 1.2 times or 1.3 times the standard test value can be regarded as a good level. In this way, the network card link can be assigned to different test levels according to the quality of the test results, so as to accurately evaluate the actual performance.

[0082] Then, when scoring the structural parameters, the corresponding first score is determined according to the structural level of each network card link. The level of the structural level directly determines the level of the score. The higher the structural level, the more reasonable the design of the network card link, and the higher the first score obtained. Similarly, when scoring the test results, the second score is determined according to the test level of each network card link. The higher the test level, the better the actual signal transmission performance, and the higher the second score obtained in the end.

[0083] Through this hierarchical scoring method, both the structural design and the actual performance test are quantified and linked to the corresponding grades and scores, ensuring that the NIC link quality score is more objective and comprehensive, and helps optimize the selection and application of NIC links. Ultimately, the comprehensive evaluation of the first score and the second score provides an accurate and operational basis for the quality score of each NIC link.

[0084] As an optional embodiment, before determining the first score corresponding to the structural level according to the structural parameter of each network card link, the method further includes:

[0085] Eliminating network card links of a preset structural level from all network card links; the number of connectors in the network card links of the preset structural level is greater than a first preset number and / or the number of cables is greater than a second preset number and / or the length of the cables is greater than a preset length;

[0086] Before determining the second score corresponding to the test level according to the test result corresponding to each network card link, the method further includes:

[0087] Network card links of a preset test level are eliminated from all network card links; the preset test level is a level corresponding to a test value that does not reach a standard.

[0088] In this embodiment, the quality scoring process of the network card link introduces a screening mechanism for structural parameters and test results, making the scoring process more accurate and having the ability to exclude links that do not meet the standards.

[0089] Specifically, before determining the structural level of each network card link and calculating the first score, those link structures that do not meet the requirements are eliminated from all network card links according to preset standards. Specifically, the preset structural level refers to the excess range of certain link structure parameters, such as the number of connectors, the number of cables, and the length of the cables. If these parameters of a network card link exceed the preset threshold (such as the number of connectors is greater than a first preset number, the number of cables is greater than a second preset number, or the cable length is greater than the preset length), the network card link will be eliminated and cannot participate in the subsequent scoring calculation. The purpose of this is to filter out those network card links that are significantly unreasonable in structural design, to prevent them from affecting the quality assessment of the entire system, and to ensure that the scoring results can better reflect the high-quality network card links.

[0090] Next, before determining the second score based on the test results of each NIC link, a similar screening mechanism is used to eliminate those links whose test results do not meet the standards from all NIC links. The preset test level is mainly for the performance of the NIC link during signal transmission, such as transmission speed, delay, packet loss rate, etc. If the test result of a NIC link fails to meet the standard test value (for example, the transmission speed is lower than the predetermined standard), the NIC link will be classified as "unqualified" and will be eliminated from the range of further scoring. This means that only those NIC links whose signal transmission performance meets the standard or exceeds a preset multiple (such as the test result is greater than 1.2 times or 1.3 times the standard value) will be considered for the final quality score calculation.

[0091] Through this two-stage screening mechanism, those links that are obviously unqualified in design or performance can be effectively eliminated from a large number of network card links, thereby preventing these unqualified links from affecting the final quality evaluation results. This not only ensures the fairness and accuracy of the scoring, but also ensures that the scoring system can focus on and highlight those network card links that have excellent structural design and actual performance, thereby improving the stability and performance of the overall system.

[0092] As an optional embodiment, a signal transmission test is performed between the central processing unit and the network card to obtain a test result, including:

[0093] Performing shutdown and startup tests on the network card in sequence to obtain a first test result;

[0094] The second test of shutting down, powering off, powering on, and booting up the network card is performed in sequence to obtain a second test result;

[0095] The test results include at least a first test result and a second test result.

[0096] In this embodiment, the signal transmission test is designed to comprehensively evaluate the signal transmission performance and stability of the network card under different operating conditions through a multi-stage test process. Specifically, the test process may include but is not limited to two main stages: a first test and a second test, each of which verifies the signal transmission capability of the network card and its response to power supply changes by simulating different power management and startup processes.

[0097] First, in the first test phase, a simple "power off" and "power on" test (also known as a DC restart test) is performed on the network card. The core purpose of this test is to verify whether the signal transmission is stable during the normal power on and off process of the network card. After shutting down, when it is turned on again, the network card needs to be reinitialized and restored to normal working state. By measuring the signal transmission delay, packet loss rate, data rate and other parameters in this process, it can be understood whether the network card can still maintain stable signal transmission quality after the power state changes.

[0098] Next, the second test phase involves four steps: "shutdown", "power off", "power on", and "start up" (also known as AC restart test). This series of operations simulates more stringent power state changes and tests the performance of the network card during a complete power outage and re-powering. In particular, the "power off" and "power on" operations simulate the situation of unstable power supply or power restoration after system power outage, which is crucial to the recovery ability of the network card and the system, signal stability, and reliability of network connection. By testing this process, it is possible to more comprehensively evaluate whether the network card can successfully recover after a complete power outage, and ensure that the signal transmission quality is not affected after power is restored.

[0099] Finally, the test results include at least the first test result and the second test result. The combination of these two test results can provide a comprehensive performance of the network card under normal power on / off operations and extreme power state changes. This multi-stage test can effectively discover potential problems such as power instability or signal recovery, and provide a more accurate basis for the quality assessment of the network card link.

[0100] As an optional embodiment, it also includes:

[0101] assigning a first weight to the first test result and assigning a second weight to the second test result;

[0102] A restart test score of the network card link is obtained according to the first weight and the first test result, the second weight and the second test result.

[0103] In this embodiment, the calculation process of the restart test score is further refined by assigning different weights to different test results to ensure that the score can reflect the importance of each test stage and its actual impact on the network card link quality.

[0104] Specifically, the weights of the first test result and the second test result in the score can be 60% and 40% respectively, which means that when evaluating the restart performance of the network card link, the first test stage (power off, power on) is relatively considered more critical because it reflects the stability and reliability of signal transmission during the regular startup process of the network card, while the second test stage (power off, power off, power on, power on) mainly tests the recovery ability of the network card after unstable power supply or complete power failure.

[0105] The first test result directly affects the reliability of the NIC link in the actual environment. If the NIC performs well in this test phase, that is, it can quickly recover and stably transmit signals after shutdown, then it can get a higher score, indicating that it has higher stability. The second test result can more comprehensively simulate power fluctuations or power outage recovery scenarios. Although the weight of this test phase is lower than the first test, it is still very important because it reflects the performance of the NIC in the face of power failure or system restart, and determines whether the NIC can recover normally and maintain signal quality in an unstable power environment.

[0106] Finally, the restart test score is calculated by combining the first test result and the second test result with their respective weights. Specifically, the calculation formula can be: restart test score = (first test result × 60%) + (second test result × 40%). This scoring method weights the impact of the two test results and ensures the combined impact of the test results in the two operating environments on the final score. This weighted approach can more accurately reflect the performance of the network card link in actual use, especially the stability and reliability in an environment with frequent power on and off or power fluctuations.

[0107] As an optional embodiment, a signal transmission test is performed between the central processing unit and the network card to obtain a test result, including:

[0108] Sending an original signal and an original data packet from a central processing unit, and acquiring a test signal and a test data packet received by a network card; the original signal corresponds to the test signal, and the original data packet corresponds to the test data packet;

[0109] Obtaining a test result according to a signal parameter of the test signal and a data packet parameter of the test data packet;

[0110] Signal parameters are parameters used to characterize signal quality, and data packet parameters are parameters used to characterize data transmission performance.

[0111] In this embodiment, the principle of signal transmission testing can be but not limited to adopting two testing methods: margin testing and iperf testing, and combining signal parameters and data packet parameters to obtain accurate test results through comprehensive evaluation of signal quality and data transmission performance.

[0112] Specifically, in the margin test, the central processing unit (CPU) sends the original signal to the network card. This signal is usually used to test the signal quality of the network link. By comparing the original signal sent with the signal received by the network card, the attenuation, distortion or interference of the signal during the transmission process can be evaluated. Signal parameters are key indicators used to describe signal quality, which usually include signal strength, noise level, signal-to-interference ratio (SNR), bit error rate (BER), etc. These parameters reflect the reliability and clarity of the signal during transmission, thereby providing effective information about the quality of the signal received by the network card.

[0113] Secondly, the iperf test is a common method to evaluate network performance through data packet transmission. In this test, the CPU sends the original data packet, and the network card receives the data packet and returns it to the CPU. Data packet parameters are used to characterize data transmission performance, usually including indicators such as throughput (bandwidth), latency, and packet loss rate. Throughput measures the amount of data transmitted per unit time, latency reflects the time required for a data packet to be sent and received, and packet loss rate shows the proportion of data packets lost during transmission. These parameters help to judge the performance of the network card in actual data transmission, especially under high load and network congestion.

[0114] By combining these two test methods, the margin test is mainly used to evaluate signal quality, while the iperf test is used to evaluate data transmission performance. Ultimately, the test results can be comprehensively obtained based on the signal parameters of the test signal and the data packet parameters of the test data packet. These parameters together constitute a comprehensive evaluation of the network card performance, ensuring that the network card can stably and efficiently transmit data under different signal environments.

[0115] In short, through this dual testing method, the system can not only detect the signal quality of the network card, but also comprehensively evaluate its data transmission capabilities, thereby providing an accurate and multi-dimensional testing basis for the quality evaluation of the network card link.

[0116] As an optional embodiment, the quality score of each network card link is obtained by calculating according to the first score and the second score in a preset manner, including:

[0117] Determine a first impact factor corresponding to the first score and a second impact factor corresponding to the second score;

[0118] A quality score of each network card link is determined according to the first impact factor, the first score, the second impact factor, and the second score.

[0119] In this embodiment, the quality score of the network card link not only depends on the first score and the second score, but also introduces the concept of influencing factors to further refine the scoring process and ensure that the scoring result is more reasonable and operational.

[0120] Specifically, the scoring process first uses influencing factors to assign different weights or degrees of influence to different test dimensions (such as structural parameters and signal transmission test results). This allows the focus of scoring to be adjusted according to different actual needs, ultimately resulting in a comprehensive quality score.

[0121] The first score and the second score reflect the performance of the network card link in terms of structural parameter score and signal transmission test score, respectively. However, the first score and the second score alone may not fully reflect the actual quality of the network card link, because different network card links may have different influence levels in these two dimensions. In this case, the importance of each score is adjusted by assigning an influence factor to each score.

[0122] The first impact factor corresponds to the first score and is usually used to reflect the degree of influence of the structural parameters of the network card link (such as the number of connectors, the number of cables, the length of cables, etc.) on the overall quality of the network card. Optimization of structural design may greatly improve the stability and reliability of the network card, so the first impact factor is usually set based on the importance of these design factors. If the structural parameters of a network card link are relatively good, then its first impact factor may be higher, which will have a greater positive impact on the final quality score.

[0123] Similarly, the second impact factor corresponds to the second score and is mainly related to the signal transmission test results of the network card (such as margin test and iperf test results). The size of this impact factor reflects the impact of the test results on the quality of the network card link. The quality of signal transmission is directly related to the performance of the network card in the actual network environment, so the second impact factor may occupy a more important position in some scenarios, especially when the signal transmission quality is critical to system stability and performance.

[0124] Finally, the quality score of the network card link is obtained by comprehensive calculation of the first impact factor, the first score, the second impact factor and the second score. The calculation formula can be expressed as: quality score = (first impact factor × first score) + (second impact factor × second score). This weighted calculation method ensures that the impact of different dimensions can be adjusted according to the actual importance, thereby obtaining a more accurate quality score. By setting different impact factors, the scoring criteria can be flexibly adjusted according to different application scenarios or needs. For example, in scenarios with higher requirements for structural design, the first impact factor can be higher, while in scenarios with higher requirements for signal stability, the second impact factor can be relatively large.

[0125] In general, this scoring method based on impact factors makes the quality score of the network card link not just a simple sum of two scores, but an accurate score that comprehensively considers multiple factors, which helps to select the best network card link solution for different application scenarios.

[0126] In the present invention, a specific embodiment of the signal quality evaluation method of the network card link adopts a strategy of comprehensive evaluation of multi-dimensional factors, by introducing multiple influencing factors to score the signal quality of the network card link, and obtaining the final quality evaluation by weighted scoring. These influencing factors include link type (A, B, C), loss level, margin test result, iperf test result and restart test result, and each factor has a different impact on the final score.

[0127] First, the network card link (denoted as T1) is divided into three types: A link (such as Figure 4 As shown), B link (as shown Figure 5 as shown) and C link (as Figure 6 As shown in the figure, each link type has a different impact on signal quality, so different weights are set for them, recorded as A, B, and C. Based on experiments or system experience, these link types may have different signal quality impact factors, such as 60 for link A, 25 for link B, and 15 for link C. These weight values ​​are used to quantify the relative contribution of different link types to signal quality.

[0128] Next, loss (codenamed T2) is one of the key factors affecting signal quality and is divided into three levels: high (H), medium (M) and low (L), with different weights assigned to each level. The higher the loss level, the more severe the signal attenuation and the greater the impact on signal quality. The loss level is set based on system experience. For example, the M level is assigned a value of 40, the L level is assigned a value of 60, and the H level has a greater impact, which may result in poor network card signal quality, and therefore will have a greater negative impact on the final score.

[0129] Then, the Margin test (codenamed T3) and the iperf test (codenamed T4) are performed to evaluate the signal quality and data transmission performance of the network card. The results of the Margin test are divided into three levels (D, E, and F), corresponding to "does not meet spec (standard test value)", "110%*spec", and "120%*spec". Similarly, the results of the iperf test are divided into three levels (G, H, and I), corresponding to "does not meet spec", "110%*spec", and "120%*spec". Through these test results, the performance of the network card is further determined, and the grading of the test results provides more dimensions for the evaluation of signal quality.

[0130] In addition, the restart test (codenamed T5) includes DC restart and AC restart, with weights of 60% and 40% respectively. This is to ensure that the stability and signal quality of the network card can be fully evaluated under different restarts. The results of the restart test are also classified according to the deviation from the standard test value, divided into three levels: X, Y, and Z, corresponding to "does not meet spec", "110%*spec", and "120%*spec" respectively.

[0131] All these factors are combined to produce 243 possible combinations through complex permutations. On this basis, some combinations with poor performance (such as links with H and D levels) are eliminated, and those network card links with extremely poor signal quality (such as Figure 7 The remaining 216 sets of data enter the nested subroutine module (the calculation method of 216 is: [C(3,3)×C(3,3)×C(3,3)×C(3,3)×C(3,3)]- [C(3,3)×C(1,1)×C(1,1)×C(3,3)×C(3,3)]=3 5 -3 3 =216), and continue to perform more detailed level classification to ensure that the signal quality of each network card link can be accurately classified.

[0132] The nested subroutine module further weights and calculates the contribution of these factors to the quality of the network card through defined influencing factors (such as P1, P2, P3, P4, and P5). For example, P1 represents the impact of the link type, P2 represents the impact of the loss, P3 and P4 represent the impact of the margin test and the iperf test respectively, and P5 represents the impact of the restart test. The value of each factor is based on system experience or obtained through statistical analysis. In actual operation, P1, P2, P3, P4, and P5 (the weights of these influencing factors) can be set by system experience, or dynamically adjusted based on a large amount of data and statistical probability (the correction method can refer to the naive Bayes algorithm) to adapt to different application scenarios and data environments.

[0133] Finally, through the weighted formula, the system combines the weights of each factor with the scoring results to calculate the final quality score. This weighted calculation method ensures that the impact of each dimension can be flexibly adjusted according to actual needs, making the quality assessment of the network card link not only accurate, but also dynamically optimized according to different scenarios. The final quality score Grade = P1×T1×(3 / 3) + P2×T2×(2 / 3) + P3×T3×(2 / 3) + P4×T4×(3 / 3) + P5×T5×(3 / 3). Among them, T1-T5 are the corresponding values ​​above. P1-P5 are the corresponding influencing factors above, where 3 / 3 means that no grades that do not meet the requirements are eliminated in the corresponding item, and 2 / 3 means that one grade that does not meet the requirements is eliminated in the corresponding item.

[0134] In summary, the present invention uses a weighted scoring method to accurately evaluate each network card link through a scientific method by performing a multi-dimensional and comprehensive analysis of various factors involved in the network card link quality assessment. This method can accurately judge the signal quality of different link structures in a complex network environment, providing an effective basis for subsequent link optimization and performance improvement.

[0135] In a specific embodiment, P1, P2, P3, P4, and P5 are assigned values ​​of 1, 3, 3, 2, and 1, respectively.

[0136] For example, there are three OCP network card links to evaluate their signal quality, the first network card link is assumed to be X1 (A, H, F, I, Z), the second network card link is assumed to be X2 (C, L, F, I, Z), and the third network card link is assumed to be X3 (A, M, F, H, X). After screening, the signal quality of the X1 link is the worst.

[0137] Because H exists in X1, it is directly excluded from the poor quality category and does not participate in the calculation of the quality score.

[0138] According to the steps described above, enter each impact factor and calculate the score.

[0139] The quality score of X2 is: Grade = 1 × 15 × (3 / 3) + 3 × 60 × (2 / 3) + 3 × 55 × (2 / 3) + 2 × 50 × (3 / 3) + 1 × 50 × (3 / 3) = 395;

[0140] The quality score of X3 is: Grade = 1 × 60 × (3 / 3) + 3 × 40 × (2 / 3) + 3 × 55 × (2 / 3) + 2 × 40 × (3 / 3) + 1 × 10 × (3 / 3) = 340;

[0141] By comparing the signal qualities of the three links, it is concluded that the signal quality of the X2 link is the best, the signal quality of the X3 link is the second best, and the signal quality of the X1 link is the worst.

[0142] In summary, the present invention determines the OCP network card link with the best signal quality based on the results of margin test, iperf test, DC restart test and AC restart test combined with the algorithm formula.

[0143] Through the above method, the signal quality of different OCP links can be determined, and which link has the best signal quality can be determined.

[0144] Second, as Figure 8 As shown, the present application provides a network card link quality detection system, including:

[0145] The first scoring unit 21 is used to obtain structural parameters of the network card link for each network card link, score the structural parameters, and obtain a first score; the structural parameters include the number of connectors, the number of cables, and the length of the cables in the network card link; the network card link is a connection link structure between the network card and the central processing unit;

[0146] The second scoring unit 22 is used to perform a signal transmission test between the central processing unit and the network card, obtain a test result, and score the test result to obtain a second score;

[0147] The quality evaluation unit 23 is used to calculate according to the first score and the second score in a preset manner to obtain a quality score of each network card link.

[0148] For further introduction to the quality detection system for the network card link, please refer to the above embodiments, and this application will not go into details here.

[0149] In a third aspect, the present application provides a network card link quality detection device, including:

[0150] Memory for storing computer programs;

[0151] The processor is used to implement the steps of the above-mentioned network card link quality detection method when executing the computer program. For other introductions to the network card link quality detection device, please refer to the above-mentioned embodiments, and this application will not repeat them here.

[0152] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the quality detection method of the network card link as described above are implemented. For other introductions to the computer-readable storage medium, please refer to the above embodiments, and the present application will not repeat them here.

[0153] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned network card link quality detection method when executed by a processor. For other introductions to the computer program product, please refer to the above-mentioned embodiments, and the present application will not repeat them here.

[0154] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0155] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for detecting the quality of a network card link, characterized in that: include: For each of the network card links, obtaining a structural parameter of the network card link, and scoring the structural parameter to obtain a first score; The structural parameters include the number of connectors in the network card link, the number of cables, and the length of the cables; The network card link is a connection link structure between the network card and the central processing unit; Performing a signal transmission test between the central processing unit and the network card to obtain a test result, and scoring the test result to obtain a second score; The quality score of each network card link is obtained by calculating according to the first score and the second score in a preset manner.

2. The quality detection method of the network card link according to claim 1, characterized in that: Scoring the structural parameters, before obtaining the first score, further includes: According to the structural parameters of the network card link and the first preset level classification method, obtaining the structural level corresponding to the structural parameters of each network card link; Scoring the test result to obtain the second score also includes: According to the test result of the network card link and the second preset level classification method, a test level corresponding to the test result of each network card link is obtained; the test level includes several types of not reaching the standard test value, reaching the standard test value, and reaching the standard test value of a preset multiple, and the preset multiple is a value greater than 1 and less than 1.5; Scoring the structural parameters to obtain a first score includes: Determining a first score corresponding to the structural level according to the structural parameter of each of the network card links; Scoring the test result to obtain a second score includes: According to the test level corresponding to the test result of each of the network card links, a second score corresponding to the test level is determined.

3. The quality detection method of the network card link as claimed in claim 2, characterized in that: Before determining the first score corresponding to the structural level according to the structural parameter of each network card link, the method further includes: Eliminate network card links of a preset structural level from all the network card links; the number of connectors in the network card links of the preset structural level is greater than a first preset number and / or the number of cables is greater than a second preset number and / or the length of the cables is greater than a preset length; Before determining a second score corresponding to the test level according to the test result corresponding to each of the network card links, the method further includes: The network card links with a preset test level are eliminated from all the network card links; the preset test level is a level that does not reach the level corresponding to the standard test value.

4. The quality detection method of the network card link according to claim 1, characterized in that: Performing a signal transmission test between the central processing unit and the network card to obtain a test result includes: Performing shutdown and startup tests on the network card in sequence to obtain a first test result; Perform a second test of shutting down, powering off, powering on, and booting up the network card in sequence to obtain a second test result; The test results include at least the first test result and the second test result.

5. The quality detection method of the network card link as claimed in claim 4, characterized in that: Also includes: assigning a first weight to the first test result, and assigning a second weight to the second test result; A restart test score of the network card link is obtained according to the first weight and the first test result, the second weight and the second test result.

6. The quality detection method of the network card link according to claim 1, characterized in that: Performing a signal transmission test between the central processing unit and the network card to obtain a test result includes: Sending an original signal and an original data packet from the central processor, and acquiring a test signal and a test data packet received by the network card; the original signal corresponds to the test signal, and the original data packet corresponds to the test data packet; Obtaining the test result according to the signal parameters of the test signal and the data packet parameters of the test data packet; The signal parameters are parameters used to characterize signal quality, and the data packet parameters are parameters used to characterize data transmission performance.

7. The quality detection method of the network card link according to any one of claims 1 to 6, characterized in that: Calculating according to a preset method according to the first score and the second score to obtain a quality score of each network card link includes: Determine a first impact factor corresponding to the first score and a second impact factor corresponding to the second score; A quality score of each of the network card links is determined according to the first impact factor, the first score, the second impact factor, and the second score.

8. A quality detection system for a network card link, characterized in that: include: A first scoring unit is used to obtain, for each of the network card links, a structural parameter of the network card link, and score the structural parameter to obtain a first score; The structural parameters include the number of connectors in the network card link, the number of cables, and the length of the cables; The network card link is a connection link structure between the network card and the central processing unit; A second scoring unit is used to perform a signal transmission test between the central processing unit and the network card to obtain a test result, and score the test result to obtain a second score; The quality evaluation unit is used to calculate according to the first score and the second score in a preset manner to obtain a quality score of each of the network card links.

9. A quality detection device for a network card link, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the quality detection method of the network card link as described in any one of claims 1 to 7 when executing a computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for detecting the quality of a network card link according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Link detection method and device, electronic equipment and storage medium

    CN115801619A

  • Server operation regulation and control method and related components

    CN116634040A

  • Network card performance tuning method and device, electronic equipment and nonvolatile storage medium

    CN118316802A

  • Communication system, equipment server, communication terminal, and communication method

    JP2015119354A