Network card test method, device, equipment and medium

By automatically controlling the firmware and driver of the network card in network card testing, the problem of ignoring firmware and relying on manual operations in the existing technology is solved, and comprehensive and accurate testing of the stability of the network card lifting and downgrade is achieved, and testing efficiency and accuracy are improved.

CN119922103APending Publication Date: 2025-05-02NETTRIX INFORMATION IND CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311434473.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the prior art, the network card testing solution only lifts and downgrades the driver of the network card, ignores the firmware of the network card, and cannot comprehensively and accurately test the lifting and downgrade stability of the network card. It also depends on the manual operation of the tester, and the test efficiency is relatively low and the test accuracy cannot be guaranteed.

Method used

The test component automatically controls the firmware and driver of the server's network card to perform preset times lifting and downgrading operations, obtains the firmware and driver's lifting and downgrading detection data, and determines whether there will be abnormalities in the server's network card during the upgrade and downgrading process.

Benefits of technology

It realizes comprehensive and accurate testing of the upgrade stability of network cards set up in the server, improving the testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922103A_ABST
    Figure CN119922103A_ABST
Patent Text Reader

Abstract

The invention discloses a network card testing method and device, equipment and a medium. The method comprises the following steps: acquiring network card test information of a tested server; respectively controlling firmware and a driver of a network card of the tested server to carry out upgrading and degrading operations for a preset number of times according to the network card test information through the test component, and obtaining upgrading and degrading detection data of the firmware and the driver; and determining a test result of the network card of the tested server according to the upgrading and degrading detection data of the firmware and the driver. According to the embodiment of the invention, the firmware and the driver of the network card of the server can be automatically controlled to carry out upgrading and downgrading operation for preset times, the upgrading and downgrading detection data of the firmware and the driver can be obtained, the upgrading and downgrading stability of the network card arranged in the server can be comprehensively and accurately tested, and the testing efficiency and the testing accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a network card testing method, device, equipment and medium. Background Art

[0002] A network card is usually installed in a server. The network card is an important device for the server to connect to the external network. During the use of the network card, the driver and firmware of the network card will be upgraded or downgraded according to business needs. If an abnormality occurs during the upgrade or downgrade process of the network card, it may affect the network stability of the server. To ensure the network stability of the server, it is necessary to test the upgrade and downgrade stability of the network card installed in the server during the server development stage.

[0003] In the related art, the network card test scheme is usually: the tester manually upgrades and downgrades the network card driver to determine whether the network card will have abnormalities during the upgrade and downgrade process. The network card test scheme in the related art only upgrades and downgrades the network card driver, ignoring the network card firmware, and cannot comprehensively and accurately test the upgrade and downgrade stability of the network card. Moreover, it relies on the manual operation of the tester, and the test efficiency is relatively low, and the test accuracy cannot be guaranteed. Summary of the invention

[0004] The present invention provides a network card testing method, device, equipment and medium to solve the problem that the network card testing scheme in the related art only performs upgrade and downgrade processing on the driver of the network card, ignores the firmware of the network card, cannot comprehensively and accurately test the upgrade and downgrade stability of the network card, and relies on the manual operation of the tester, resulting in low test efficiency and unguaranteed test accuracy.

[0005] According to one aspect of the present invention, a network card testing method is provided, comprising:

[0006] Get the network card test information of the server under test;

[0007] By means of the test component, the firmware and the driver of the network card of the tested server are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information, and upgrade and downgrade detection data of the firmware and the driver are obtained;

[0008] The test result of the network card of the tested server is determined according to the upgrade and downgrade detection data of the firmware and the driver.

[0009] The technical solution of the embodiment of the present invention can automatically control the firmware and driver of the server's network card to perform a preset number of upgrade and downgrade operations based on the test component, obtain the firmware and driver upgrade and downgrade detection data, and determine whether the server's network card will have abnormalities during the upgrade and downgrade processes, thereby comprehensively and accurately testing the upgrade and downgrade stability of the network card set in the server, thereby improving the test efficiency and test accuracy.

[0010] Optionally, the test component includes a firmware test component and a driver test component;

[0011] The method comprises: controlling the firmware and the driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and obtaining upgrade and downgrade detection data of the firmware and the driver, including:

[0012] The firmware test component performs the following operations:

[0013] Determining an initial firmware version and an expected firmware version of the firmware according to the network card test information;

[0014] Upgrading the firmware version from the initial firmware version to the expected firmware version, and after the upgrade is successful, performing an IP address connectivity test on the tested server to obtain an upgrade test result;

[0015] Downgrading the version of the firmware from the expected firmware version to the initial firmware version, and after the downgrade is successful, performing an IP address connectivity test on the tested server to obtain a downgrade test result;

[0016] Determine the upgrade detection result and the downgrade detection result as the upgrade and downgrade detection data of the firmware this time, add 1 to the upgrade and downgrade times of the firmware, and detect whether the upgrade and downgrade times is equal to the preset times;

[0017] If the number of upgrades and downgrades is equal to the preset number, it is determined that the test of the firmware is completed;

[0018] If the number of upgrades and downgrades is less than the preset number, the operation of upgrading the firmware version from the initial firmware version to the expected firmware version is returned to.

[0019] The technical solution of the embodiment of the present invention can automatically control the firmware of the network card of the tested server to perform a preset number of upgrade and downgrade operations based on the firmware test component and the network card test information, and obtain the firmware upgrade and downgrade detection data, so as to facilitate the determination of whether the network card of the tested server will have an abnormality during the firmware upgrade process or the firmware downgrade process.

[0020] Optionally, upgrading the version of the firmware from the initial firmware version to the expected firmware version includes:

[0021] Send a firmware upgrade instruction to the server under test; wherein the firmware upgrade instruction is used to instruct the server under test to upgrade the version of the firmware from the initial firmware version to the expected firmware version, and feedback firmware upgrade success prompt information or firmware upgrade failure prompt information.

[0022] The technical solution of the embodiment of the present invention can automatically upgrade the version of the firmware of the network card of the tested server from the initial firmware version to the expected firmware version based on the firmware upgrade instruction, thereby performing an upgrade operation on the firmware of the network card of the tested server, making it easy to determine whether the network card of the tested server will have an abnormality during the firmware upgrade process.

[0023] Optionally, after the firmware version is upgraded from the initial firmware version to the expected firmware version, the method further includes:

[0024] If a firmware upgrade failure prompt message is received, the test is stopped and a first warning message is output;

[0025] If the upgrade detection result is disconnection, the test is stopped and a second alarm message is output.

[0026] The technical solution of the embodiment of the present invention can stop testing and output alarm information after detecting that an abnormality occurs in the network card during the firmware upgrade process, thereby automatically interrupting the abnormal firmware upgrade process and staying at the abnormal firmware upgrade stage. Through the alarm information, the user is promptly prompted to locate the problem and handle the exception according to the abnormal firmware upgrade stage.

[0027] Optionally, the test component controls the firmware and the driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information, and obtains upgrade and downgrade detection data of the firmware and the driver, including:

[0028] The following operations are performed by the drive test component:

[0029] Determining an initial driver version and an expected driver version of the driver according to the network card test information;

[0030] Upgrading the driver version from the initial driver version to the expected driver version, and after the upgrade is successful, performing an IP address connectivity test on the tested server to obtain an upgrade test result;

[0031] Downgrading the driver version from the expected driver version to the initial driver version, and after the downgrading is successful, performing an IP address connectivity test on the tested server to obtain a downgrade test result;

[0032] Determine the upgrade detection result and the downgrade detection result as the upgrade and downgrade detection data of the driver this time, add 1 to the upgrade and downgrade times of the driver, and detect whether the upgrade and downgrade times is equal to the preset times;

[0033] If the number of upgrades and downgrades is equal to the preset number, it is determined that the test of the drive is completed;

[0034] If the number of upgrades and downgrades is less than the preset number, the operation of upgrading the driver version from the initial driver version to the expected driver version is returned to.

[0035] The technical solution of the embodiment of the present invention can automatically control the driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations based on the driver test component and the network card test information, and obtain the driver upgrade and downgrade detection data, so as to facilitate the determination of whether the network card of the tested server will have an abnormality during the driver upgrade process or the driver downgrade process.

[0036] Optionally, upgrading the driver version from the initial driver version to the expected driver version includes:

[0037] Send a driver upgrade instruction to the server under test; wherein the driver upgrade instruction is used to instruct the server under test to upgrade the version of the driver from the initial driver version to the expected driver version, and feedback a driver upgrade success prompt message or a driver upgrade failure prompt message.

[0038] The technical solution of the embodiment of the present invention can automatically upgrade the driver version of the network card of the tested server from the initial driver version to the expected driver version based on the driver upgrade instruction, thereby upgrading the driver of the network card of the tested server, making it easier to determine whether the network card of the tested server will have an abnormality during the driver upgrade process.

[0039] Optionally, obtain the network card test information of the server under test, including:

[0040] After receiving the network card test request corresponding to the server under test, the network card test information of the server under test is obtained from the server under test through an information acquisition script.

[0041] The technical solution of the embodiment of the present invention can automatically obtain the network card test information of the server under test based on the information acquisition script, thereby controlling the firmware and driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information of the server under test, and determining whether the network card of the server under test will have abnormalities during the upgrade and downgrade processes.

[0042] According to another aspect of the present invention, a network card testing device is provided, comprising:

[0043] An information acquisition module is used to obtain the network card test information of the server under test;

[0044] A test module, used to control the firmware and driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through a test component, and obtain upgrade and downgrade detection data of the firmware and the driver;

[0045] The result determination module is used to determine the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and the driver.

[0046] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0047] at least one processor;

[0048] and a memory connected in network communication with the at least one processor;

[0049] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the network card testing method described in any embodiment of the present invention.

[0050] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the network card testing method described in any embodiment of the present invention when executed.

[0051] The technical solution of the embodiment of the present invention obtains the network card test information of the tested server; then, through the test component, controls the firmware and driver of the network card of the tested server to perform the upgrade and downgrade operations for a preset number of times according to the network card test information, and obtains the upgrade and downgrade detection data of the firmware and driver; and determines the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and driver, thereby solving the problem that the network card test scheme in the related art only performs upgrade and downgrade processing on the driver of the network card, ignores the firmware of the network card, cannot comprehensively and accurately test the upgrade and downgrade stability of the network card, and relies on the manual operation of the tester, so that the test efficiency is relatively low and the test accuracy cannot be guaranteed. Based on the test component, the firmware and driver of the network card of the server can be automatically controlled to perform the upgrade and downgrade operations for a preset number of times, obtain the upgrade and downgrade detection data of the firmware and driver, and determine whether the network card of the server will be abnormal during the upgrade process and the downgrade process, so as to comprehensively and accurately test the upgrade and downgrade stability of the network card set in the server, thereby improving the test efficiency and the test accuracy.

[0052] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0054] Figure 1 The present invention provides a flowchart of a network card testing method according to the first embodiment of the present invention.

[0055] Figure 2 The present invention provides a flowchart of a network card testing method according to the second embodiment of the present invention.

[0056] Figure 3 This is a flow chart of a network card testing method provided in Embodiment 3 of the present invention.

[0057] Figure 4 A schematic diagram of the structure of a network card testing device provided in Embodiment 4 of the present invention.

[0058] Figure 5 A schematic diagram of the structure of an electronic device for implementing the network card testing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0060] It should be noted that the terms "target", "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprise", "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0061] Embodiment 1

[0062] Figure 1 A flowchart of a network card testing method provided in the first embodiment of the present invention. This embodiment can be applied to the case where a network card installed in a server is tested to determine whether the stability of upgrading and downgrading of the network card installed in the server is qualified. The method can be executed by a network card testing device, which can be implemented in the form of hardware and / or software, and the network card testing device can be configured in an electronic device. The electronic device is used to test the network card installed in the server to determine whether the stability of upgrading and downgrading of the network card installed in the server is qualified. Figure 1 As shown, the method includes:

[0063] Step 101: Obtain network card test information of the server under test.

[0064] Optionally, the server under test is a server whose network card needs to be tested. The network card of the server under test is a network card set in the server under test. The firmware of the network card is a program running in the network card to implement the functions of the network card. The driver of the network card is the driver program of the network card. In order to improve the functions of the firmware and driver of the network card, new versions of firmware and driver will be continuously developed. During the use of the network card, the version of the firmware of the network card can be upgraded to a new version or downgraded to an old version according to business needs, and the version of the driver of the network card can be upgraded to a new version or downgraded to an old version according to business needs.

[0065] Optionally, the network card test information of the tested server may include the initial firmware version and expected firmware version of the firmware of the network card of the tested server, and the initial driver version and expected driver version of the driver of the network card of the tested server. The initial firmware version of the firmware is the version of the firmware before the test process starts. The expected firmware version of the firmware is the new version that the firmware can be upgraded to during the test process. The initial driver version of the driver is the version of the driver before the test process starts. The expected driver version of the driver is the new version that the driver can be upgraded to during the test process. The network card test information of the tested server may be stored in a local database of the tested server.

[0066] Optionally, obtaining the network card test information of the server under test includes: after receiving a network card test request corresponding to the server under test, obtaining the network card test information of the server under test from the server under test through an information acquisition script.

[0067] Therefore, based on the information acquisition script, the network card test information of the server under test can be automatically obtained, and then according to the network card test information of the server under test, the firmware and driver of the network card of the server under test can be controlled to perform a preset number of upgrade and downgrade operations to determine whether the network card of the server under test will have abnormalities during the upgrade and downgrade processes.

[0068] Optionally, the network card test request corresponding to the server under test is a request for requesting to test the network card of the server under test to determine whether the network card of the server under test will be abnormal during the upgrade process and the downgrade process. The target user sends the network card test request corresponding to the server under test to the electronic device through the terminal device. The target user may be a technician responsible for managing the server under test. After receiving the network card test request corresponding to the server under test, the electronic device obtains the network card test information of the server under test from the server under test through the information acquisition script. The information acquisition script is a script that can be used to obtain the network card test information of the server under test from the server under test after running. The information acquisition script is set in the electronic device. When the information acquisition script is run, it will perform the operation of obtaining the network card test information of the server under test from the server under test. The electronic device runs the information acquisition script, thereby obtaining the network card test information of the server under test from the server under test through the information acquisition script.

[0069] Step 102: Using the test component, the firmware and driver of the network card of the tested server are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information, and upgrade and downgrade detection data of the firmware and the driver are obtained.

[0070] Optionally, the test component includes a firmware test component and a driver test component.

[0071] In a specific example, the firmware and driver of the network card of the server under test are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and the upgrade and downgrade detection data of the firmware and the driver are obtained, including: first, through the firmware test component, according to the network card test information, the firmware of the network card of the server under test is controlled to perform a preset number of upgrade and downgrade operations, and the upgrade and downgrade detection data of the firmware is obtained. Then, through the driver test component, according to the network card test information, the driver of the network card of the server under test is controlled to perform a preset number of upgrade and downgrade operations, and the upgrade and downgrade detection data of the driver is obtained.

[0072] In another specific example, the firmware and driver of the network card of the server under test are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and the upgrade and downgrade detection data of the firmware and the driver are obtained, including: first, through the driver test component, according to the network card test information, the driver of the network card of the server under test is controlled to perform a preset number of upgrade and downgrade operations, and the upgrade and downgrade detection data of the driver is obtained. Then, through the firmware test component, according to the network card test information, the firmware of the network card of the server under test is controlled to perform a preset number of upgrade and downgrade operations, and the upgrade and downgrade detection data of the firmware is obtained.

[0073] Optionally, the firmware testing component is a component provided in the electronic device for controlling the firmware of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information of the server under test, and obtaining firmware upgrade and downgrade detection data.

[0074] Optionally, the test component includes a firmware test component and a driver test component; through the test component, the firmware and driver of the network card of the server under test are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information, and the upgrade and downgrade detection data of the firmware and the driver are obtained, including: performing the following operations through the firmware test component: determining the initial firmware version and the expected firmware version of the firmware according to the network card test information; upgrading the firmware version from the initial firmware version to the expected firmware version, and after the upgrade is successful, performing an IP address connectivity test on the server under test to obtain an upgrade detection result; The version of the firmware is downgraded from the expected firmware version to the initial firmware version. After the downgrade is successful, an IP address connectivity test is performed on the server under test to obtain a downgrade test result; the upgrade test result and the downgrade test result are determined as the firmware upgrade and downgrade test data for this time, the number of upgrades and downgrades of the firmware is increased by 1, and it is detected whether the number of upgrades and downgrades is equal to the preset number; if the number of upgrades and downgrades is equal to the preset number, it is determined that the firmware test is completed; if the number of upgrades and downgrades is less than the preset number, the operation of upgrading the firmware from the initial firmware version to the expected firmware version is returned to be executed.

[0075] Therefore, based on the firmware test components and network card test information, the firmware of the network card of the tested server can be automatically controlled to perform a preset number of upgrade and downgrade operations, and the firmware upgrade and downgrade detection data can be obtained to facilitate determining whether the network card of the tested server will have abnormalities during the firmware upgrade process or firmware downgrade process.

[0076] Optionally, determining the initial firmware version and the expected firmware version of the firmware according to the network card test information includes: extracting the initial firmware version and the expected firmware version of the firmware from the network card test information.

[0077] Optionally, upgrading the version of the firmware from the initial firmware version to the expected firmware version includes: sending a firmware upgrade instruction to the server under test; wherein the firmware upgrade instruction is used to instruct the server under test to upgrade the version of the firmware from the initial firmware version to the expected firmware version, and to feedback a firmware upgrade success prompt message or a firmware upgrade failure prompt message.

[0078] Therefore, based on the firmware upgrade instruction, the firmware version of the network card of the tested server can be automatically upgraded from the initial firmware version to the expected firmware version, thereby upgrading the firmware of the network card of the tested server, making it easy to determine whether the network card of the tested server will have any abnormalities during the firmware upgrade process.

[0079] Optionally, the firmware upgrade instruction is an instruction for instructing the server under test to upgrade the version of the firmware of the network card of the server under test from the initial firmware version to the expected firmware version, and to feedback a firmware upgrade success prompt message or a firmware upgrade failure prompt message. The firmware upgrade success prompt message is used to prompt that the firmware upgrade is successful and the firmware version has been upgraded from the initial firmware version to the expected firmware version. The firmware upgrade failure prompt message is used to prompt that the firmware upgrade has failed and the firmware version cannot be upgraded from the initial firmware version to the expected firmware version.

[0080] Optionally, after receiving the firmware upgrade instruction, the server under test upgrades the version of the firmware of the network card of the server under test from the initial firmware version to the expected firmware version through the firmware upgrade script. The firmware upgrade script is a script that can be used to upgrade the version of the firmware of the network card of the server under test from the initial firmware version to the expected firmware version after running. The firmware upgrade script is set in the server under test. When the firmware upgrade script is run, it will perform the operation of upgrading the version of the firmware of the network card of the server under test from the initial firmware version to the expected firmware version. The server under test runs the firmware upgrade script, thereby upgrading the version of the firmware of the network card of the server under test from the initial firmware version to the expected firmware version through the firmware upgrade script.

[0081] Optionally, after the firmware upgrade script is finished running, the server under test detects whether the version of the firmware of the network card of the server under test is the expected firmware version. If it is detected that the version of the firmware of the network card of the server under test is the expected firmware version, it indicates that the firmware upgrade is successful, and the firmware version has been upgraded from the initial firmware version to the expected firmware version, then the firmware upgrade success prompt information is fed back to the firmware test component. The firmware test component can determine that the upgrade is successful after receiving the upgrade success prompt information. If it is detected that the version of the firmware of the network card of the server under test is not the expected firmware version, it indicates that the firmware upgrade has failed, and the firmware version cannot be upgraded from the initial firmware version to the expected firmware version, then the firmware upgrade failure prompt information is fed back to the firmware test component. The firmware test component can determine that the upgrade has failed after receiving the firmware upgrade failure prompt information.

[0082] Optionally, the electronic device establishes a network communication connection with the server under test in advance based on the Internet Protocol (IP) address of the server under test and a preset network communication protocol. The preset network communication protocol is a pre-set network communication protocol. Performing IP address connectivity detection on the server under test refers to detecting whether the network communication connection established based on the IP address of the server under test is connected. Normally, if there is no abnormality in the network card of the server under test, the network communication connection established based on the IP address of the server under test is connected. If there is an abnormality in the network card of the server under test, the network communication connection established based on the IP address of the server under test is not connected.

[0083] Optionally, the upgrade detection result is a connectivity detection result of an IP address connectivity detection on the tested server after the firmware version is upgraded from the initial firmware version to the expected firmware version. The upgrade detection result is connected or not connected. If the upgrade detection result is connected, it indicates that after the firmware version is upgraded from the initial firmware version to the expected firmware version, the network communication connection established based on the IP address of the tested server is connected, and the network card of the tested server has no abnormality during this firmware upgrade process. If the upgrade detection result is not connected, it indicates that after the firmware version is upgraded from the initial firmware version to the expected firmware version, the network communication connection established based on the IP address of the tested server is not connected, and the network card of the tested server has an abnormality during this firmware upgrade process.

[0084] Optionally, an IP address connectivity check is performed on the server under test to obtain an upgrade detection result, including: sending a preset detection message to the server under test; determining whether a detection response message returned by the server under test is received within a preset time period; if so, determining that the upgrade detection result is connected; if not, determining that the upgrade detection result is disconnected.

[0085] Optionally, the preset detection message is a message sent to the server under test during the connectivity detection process. The detection response message is a response message that the server under test needs to return after receiving the preset detection message. The electronic device sends the preset detection message to the server under test, and then determines whether the detection response message returned by the server under test is received within a preset time. If the electronic device receives the detection response message returned by the server under test within the preset time, it indicates that the network communication connection established based on the IP address of the server under test is connected, and the network card of the server under test has no abnormality during this firmware upgrade process, then the upgrade detection result is determined to be connected. If the electronic device does not receive the detection response message returned by the server under test within the preset time, it indicates that the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has an abnormality during this firmware upgrade process, then the upgrade detection result is determined to be disconnected. The preset time can be set according to business needs. Exemplarily, the preset time is 10 minutes.

[0086] Optionally, downgrading the version of the firmware from the expected firmware version to the initial firmware version includes: sending a firmware downgrade instruction to the server under test; wherein the firmware downgrade instruction is used to instruct the server under test to downgrade the version of the firmware from the expected firmware version to the initial firmware version, and to feedback a firmware downgrade success prompt message or a firmware downgrade failure prompt message.

[0087] Therefore, based on the firmware downgrade instruction, the firmware version of the network card of the tested server can be automatically downgraded from the expected firmware version to the initial firmware version, thereby downgrading the firmware of the network card of the tested server, which is convenient for determining whether the network card of the tested server will have an abnormality during the firmware downgrade process.

[0088] Optionally, the firmware downgrade instruction is an instruction for instructing the server under test to downgrade the version of the firmware of the network card of the server under test from the expected firmware version to the initial firmware version, and to feedback a firmware downgrade success prompt message or a firmware downgrade failure prompt message. The firmware downgrade success prompt message is information used to prompt that the firmware downgrade is successful and the firmware version has been downgraded from the expected firmware version to the initial firmware version. The firmware downgrade failure prompt message is information used to prompt that the firmware downgrade has failed and the firmware version cannot be downgraded from the expected firmware version to the initial firmware version.

[0089] Optionally, after receiving the firmware downgrade instruction, the server under test downgrades the version of the firmware of the network card of the server under test from the expected firmware version to the initial firmware version through the firmware downgrade script. The firmware downgrade script is a script that can be used to downgrade the version of the firmware of the network card of the server under test from the expected firmware version to the initial firmware version after running. The firmware downgrade script is set in the server under test. When the firmware downgrade script is run, it will perform the operation of downgrading the version of the firmware of the network card of the server under test from the expected firmware version to the initial firmware version. The server under test runs the firmware downgrade script, thereby downgrading the version of the firmware of the network card of the server under test from the expected firmware version to the initial firmware version through the firmware downgrade script.

[0090] Optionally, after the firmware downgrade script is finished running, the server under test detects whether the version of the firmware of the network card of the server under test is the initial firmware version. If it is detected that the version of the firmware of the network card of the server under test is the initial firmware version, it indicates that the firmware downgrade is successful, and the firmware version has been downgraded from the expected firmware version to the initial firmware version, then the firmware downgrade success prompt information is fed back to the firmware test component. The firmware test component can determine that the downgrade is successful after receiving the downgrade success prompt information. If it is detected that the version of the firmware of the network card of the server under test is not the initial firmware version, it indicates that the firmware downgrade has failed, and the firmware version cannot be downgraded from the expected firmware version to the initial firmware version, then the firmware downgrade failure prompt information is fed back to the firmware test component. The firmware test component can determine that the downgrade has failed after receiving the firmware downgrade failure prompt information.

[0091] Optionally, the downgrade detection result is a connectivity detection result of an IP address connectivity detection on the tested server after the firmware version is downgraded from the expected firmware version to the initial firmware version. The downgrade detection result is connected or not connected. If the downgrade detection result is connected, it indicates that after the firmware version is downgraded from the expected firmware version to the initial firmware version, the network communication connection established based on the IP address of the tested server is connected, and the network card of the tested server has no abnormality during this firmware downgrade process. If the downgrade detection result is not connected, it indicates that after the firmware version is downgraded from the expected firmware version to the initial firmware version, the network communication connection established based on the IP address of the tested server is not connected, and the network card of the tested server has an abnormality during this firmware downgrade process.

[0092] Optionally, an IP address connectivity check is performed on the server under test to obtain a downgrade detection result, including: sending a preset detection message to the server under test; determining whether a detection response message returned by the server under test is received within a preset time period; if so, determining that the downgrade detection result is connected; if not, determining that the downgrade detection result is disconnected.

[0093] Optionally, the electronic device sends a preset detection message to the server under test, and then determines whether a detection response message returned by the server under test is received within a preset time length. If the electronic device receives the detection response message returned by the server under test within the preset time length, it indicates that the network communication connection established based on the IP address of the server under test is connected, and the network card of the server under test has not been abnormal during the firmware downgrade process, then the downgrade detection result is determined to be connected. If the electronic device does not receive the detection response message returned by the server under test within the preset time length, it indicates that the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has been abnormal during the firmware downgrade process, then the downgrade detection result is determined to be disconnected.

[0094] Optionally, the preset number of times can be set according to business requirements. Exemplarily, the preset number of times is 20 times.

[0095] Optionally, the firmware upgrade and downgrade operation means that the firmware version is first upgraded from the initial firmware version to the expected firmware version, and then downgraded from the expected firmware version to the initial firmware version. The number of firmware upgrade and downgrade operations is the number of times the firmware is upgraded and downgraded during this test, that is, the firmware version is first upgraded from the initial firmware version to the expected firmware version, and then downgraded from the expected firmware version to the initial firmware version. In the initial state, the number of firmware upgrade and downgrade operations is 0.

[0096] Optionally, the number of upgrades and downgrades of the firmware is increased by 1, and it is detected whether the number of upgrades and downgrades is equal to a preset number. If the number of upgrades and downgrades is equal to the preset number, it indicates that the number of upgrade and downgrade operations performed on the firmware of the network card of the tested server has reached the preset number, and the firmware of the network card of the tested server has performed the preset number of upgrade and downgrade operations, and then it is determined that the test of the firmware is completed. If the number of upgrades and downgrades is less than the preset number, it indicates that the number of upgrade and downgrade operations performed on the firmware of the network card of the tested server has not reached the preset number, and the upgrade and downgrade operations need to be continued, then the operation of upgrading the version of the firmware from the initial firmware version to the expected firmware version is returned to be executed.

[0097] Optionally, after upgrading the firmware version from the initial firmware version to the expected firmware version, it also includes: if a firmware upgrade failure prompt message is received, stopping the test and outputting a first alarm message; if the upgrade detection result is disconnected, stopping the test and outputting a second alarm message.

[0098] Therefore, after detecting that an abnormality occurs in the network card during the firmware upgrade process, the test can be stopped and an alarm message can be output, thereby automatically interrupting the abnormal firmware upgrade process and staying at the abnormal firmware upgrade stage. Through the alarm message, the user can be promptly prompted to locate the problem and handle the exception according to the abnormal firmware upgrade stage.

[0099] Optionally, the first alarm information is information used to prompt that the firmware upgrade of the network card of the server under test has failed. Outputting the first alarm information includes: sending the first alarm information to the terminal device of the target user. The second alarm information is information used to prompt that after the firmware version is upgraded from the initial firmware version to the expected firmware version, the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has an abnormality during this firmware upgrade process. Outputting the second alarm information includes: sending the second alarm information to the terminal device of the target user. The terminal device of the target user is the terminal device used by the target user.

[0100] Optionally, after downgrading the firmware version from the expected firmware version to the initial firmware version, it also includes: if a firmware downgrade failure prompt message is received, stopping the test and outputting a third alarm message; if the downgrade detection result is disconnection, stopping the test and outputting a fourth alarm message.

[0101] Therefore, after detecting that an abnormality occurs in the network card during the firmware downgrade process, the test can be stopped and an alarm message can be output, thereby automatically interrupting the abnormal firmware downgrade process and staying at the abnormal firmware downgrade stage. Through the alarm message, the user can be promptly prompted to locate the problem and handle the exception according to the abnormal firmware downgrade stage.

[0102] Optionally, the third alarm information is information used to prompt that the firmware downgrade of the network card of the server under test has failed. Outputting the third alarm information includes: sending the third alarm information to the terminal device of the target user. The fourth alarm information is information used to prompt that after the firmware version is downgraded from the expected firmware version to the initial firmware version, the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has an abnormality during this firmware downgrade process. Outputting the fourth alarm information includes: sending the fourth alarm information to the terminal device of the target user.

[0103] Optionally, the driver test component is a component provided in the electronic device for controlling the driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information of the server under test, and obtaining the upgrade and downgrade detection data of the driver.

[0104] Optionally, the firmware and driver of the network card of the tested server are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and the upgrade and downgrade detection data of the firmware and the driver are obtained, including: performing the following operations through the driver test component: determining an initial driver version and an expected driver version of the driver according to the network card test information; upgrading the driver version from the initial driver version to the expected driver version, and after the upgrade is successful, performing an IP address connectivity test on the tested server to obtain an upgrade detection result; upgrading the driver version from the expected driver version to the expected driver version; and The desired driver version is downgraded to the initial driver version. After the downgrade is successful, an IP address connectivity test is performed on the tested server to obtain a downgrade test result; the upgrade test result and the downgrade test result are determined as the upgrade and downgrade test data of the driver this time, the upgrade and downgrade times of the driver are increased by 1, and it is detected whether the upgrade and downgrade times are equal to a preset number; if the upgrade and downgrade times are equal to the preset number, it is determined that the test of the driver is completed; if the upgrade and downgrade times are less than the preset number, it is returned to execute the operation of upgrading the driver version from the initial driver version to the expected driver version.

[0105] Therefore, based on the driver test component and the network card test information, the driver of the network card of the tested server can be automatically controlled to perform a preset number of upgrade and downgrade operations, and the driver upgrade and downgrade detection data can be obtained, so as to determine whether the network card of the tested server will have abnormalities during the driver upgrade process or the driver downgrade process.

[0106] Optionally, determining the initial driver version and the expected driver version of the driver according to the network card test information includes: extracting the initial driver version and the expected driver version of the driver from the network card test information.

[0107] Optionally, upgrading the driver version from the initial driver version to the expected driver version includes: sending a driver upgrade instruction to the server under test; wherein the driver upgrade instruction is used to instruct the server under test to upgrade the driver version from the initial driver version to the expected driver version, and to feedback a driver upgrade success prompt message or a driver upgrade failure prompt message.

[0108] Therefore, based on the driver upgrade instruction, the driver version of the network card of the tested server can be automatically upgraded from the initial driver version to the expected driver version, thereby upgrading the driver of the network card of the tested server, making it easier to determine whether the network card of the tested server will have any abnormalities during the driver upgrade process.

[0109] Optionally, the driver upgrade instruction is an instruction for instructing the server under test to upgrade the version of the driver of the network card of the server under test from the initial driver version to the expected driver version, and to feedback a driver upgrade success prompt message or a driver upgrade failure prompt message. The driver upgrade success prompt message is used to prompt that the driver upgrade is successful and the driver version has been upgraded from the initial driver version to the expected driver version. The driver upgrade failure prompt message is used to prompt that the driver upgrade failed and the driver version could not be upgraded from the initial driver version to the expected driver version.

[0110] Optionally, after receiving the driver upgrade instruction, the server under test upgrades the version of the driver of the network card of the server under test from the initial driver version to the expected driver version through the driver upgrade script. The driver upgrade script is a script that can be used to upgrade the version of the driver of the network card of the server under test from the initial driver version to the expected driver version after running. The driver upgrade script is set in the server under test. When the driver upgrade script is run, it will perform the operation of upgrading the version of the driver of the network card of the server under test from the initial driver version to the expected driver version. The server under test runs the driver upgrade script, thereby upgrading the version of the driver of the network card of the server under test from the initial driver version to the expected driver version through the driver upgrade script.

[0111] Optionally, after the driver upgrade script is finished running, the server under test detects whether the version of the driver of the network card of the server under test is the expected driver version. If it is detected that the version of the driver of the network card of the server under test is the expected driver version, it indicates that the driver upgrade is successful, and the driver version has been upgraded from the initial driver version to the expected driver version, then the driver upgrade success prompt information is fed back to the driver test component. The driver test component can determine that the upgrade is successful after receiving the upgrade success prompt information. If it is detected that the version of the driver of the network card of the server under test is not the expected driver version, it indicates that the driver upgrade has failed, and the driver version cannot be upgraded from the initial driver version to the expected driver version, then the driver upgrade failure prompt information is fed back to the driver test component. The driver test component can determine that the upgrade has failed after receiving the driver upgrade failure prompt information.

[0112] Optionally, the upgrade detection result is a connectivity detection result of an IP address connectivity detection on the tested server after the driver version is upgraded from the initial driver version to the expected driver version. The upgrade detection result is connected or disconnected. If the upgrade detection result is connected, it indicates that after the driver version is upgraded from the initial driver version to the expected driver version, the network communication connection established based on the IP address of the tested server is connected, and the network card of the tested server has no abnormality during this driver upgrade process. If the upgrade detection result is disconnected, it indicates that after the driver version is upgraded from the initial driver version to the expected driver version, the network communication connection established based on the IP address of the tested server is not connected, and the network card of the tested server has an abnormality during this driver upgrade process.

[0113] Optionally, an IP address connectivity check is performed on the server under test to obtain an upgrade detection result, including: sending a preset detection message to the server under test; determining whether a detection response message returned by the server under test is received within a preset time period; if so, determining that the upgrade detection result is connected; if not, determining that the upgrade detection result is disconnected.

[0114] Optionally, the electronic device sends a preset detection message to the server under test, and then determines whether a detection response message returned by the server under test is received within a preset time length. If the electronic device receives the detection response message returned by the server under test within the preset time length, it indicates that the network communication connection established based on the IP address of the server under test is connected, and the network card of the server under test has not been abnormal during the current driver upgrade process, then the upgrade detection result is determined to be connected. If the electronic device does not receive the detection response message returned by the server under test within the preset time length, it indicates that the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has been abnormal during the current driver upgrade process, then the upgrade detection result is determined to be disconnected.

[0115] Optionally, downgrading the driver version from the expected driver version to the initial driver version includes: sending a driver downgrade instruction to the server under test; wherein the driver downgrade instruction is used to instruct the server under test to downgrade the driver version from the expected driver version to the initial driver version, and to feedback a driver downgrade success prompt message or a driver downgrade failure prompt message.

[0116] Therefore, based on the driver downgrade instruction, the driver version of the network card of the tested server can be automatically downgraded from the expected driver version to the initial driver version, thereby downgrading the driver of the network card of the tested server, which is convenient for determining whether the network card of the tested server will have an abnormality during the driver downgrade process.

[0117] Optionally, the driver downgrade instruction is an instruction for instructing the server under test to downgrade the version of the driver of the network card of the server under test from the expected driver version to the initial driver version, and to feedback a driver downgrade success prompt message or a driver downgrade failure prompt message. The driver downgrade success prompt message is used to prompt that the driver downgrade is successful and the driver version has been downgraded from the expected driver version to the initial driver version. The driver downgrade failure prompt message is used to prompt that the driver downgrade failed and the driver version cannot be downgraded from the expected driver version to the initial driver version.

[0118] Optionally, after receiving the driver downgrade instruction, the tested server downgrades the version of the driver of the network card of the tested server from the expected driver version to the initial driver version through the driver downgrade script. The driver downgrade script is a script that can be used to downgrade the version of the driver of the network card of the tested server from the expected driver version to the initial driver version after running. The driver downgrade script is set in the tested server. When the driver downgrade script is run, it will perform the operation of downgrading the version of the driver of the network card of the tested server from the expected driver version to the initial driver version. The tested server runs the driver downgrade script, thereby downgrading the version of the driver of the network card of the tested server from the expected driver version to the initial driver version through the driver downgrade script.

[0119] Optionally, after the driver downgrade script runs to the end, the server under test detects whether the version of the driver of the network card of the server under test is the initial driver version. If it is detected that the version of the driver of the network card of the server under test is the initial driver version, it indicates that the driver downgrade is successful, and the driver version has been downgraded from the expected driver version to the initial driver version, then the driver downgrade success prompt information is fed back to the driver test component. The driver test component can determine that the downgrade is successful after receiving the downgrade success prompt information. If it is detected that the version of the driver of the network card of the server under test is not the initial driver version, it indicates that the driver downgrade fails, and the driver version cannot be downgraded from the expected driver version to the initial driver version, then the driver downgrade failure prompt information is fed back to the driver test component. The driver test component can determine that the downgrade fails after receiving the driver downgrade failure prompt information.

[0120] Optionally, the downgrade detection result is a connectivity detection result of an IP address connectivity detection on the tested server after the driver version is downgraded from the expected driver version to the initial driver version. The downgrade detection result is connected or disconnected. The downgrade detection result is connected, indicating that after the driver version is downgraded from the expected driver version to the initial driver version, the network communication connection established based on the IP address of the tested server is connected, and the network card of the tested server has no abnormality during this driver downgrade process. The downgrade detection result is disconnected, indicating that after the driver version is downgraded from the expected driver version to the initial driver version, the network communication connection established based on the IP address of the tested server is not connected, and the network card of the tested server has an abnormality during this driver downgrade process.

[0121] Optionally, an IP address connectivity check is performed on the server under test to obtain a downgrade detection result, including: sending a preset detection message to the server under test; determining whether a detection response message returned by the server under test is received within a preset time period; if so, determining that the downgrade detection result is connected; if not, determining that the downgrade detection result is disconnected.

[0122] Optionally, the electronic device sends a preset detection message to the server under test, and then determines whether a detection response message returned by the server under test is received within a preset time length. If the electronic device receives the detection response message returned by the server under test within the preset time length, it indicates that the network communication connection established based on the IP address of the server under test is connected, and the network card of the server under test has no abnormality during the current driver downgrade process, then the downgrade detection result is determined to be connected. If the electronic device does not receive the detection response message returned by the server under test within the preset time length, it indicates that the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has an abnormality during the current driver downgrade process, then the downgrade detection result is determined to be disconnected.

[0123] Optionally, the driver upgrade and downgrade operation means that the driver version is first upgraded from the initial driver version to the expected driver version, and then downgraded from the expected driver version to the initial driver version. The number of driver upgrades and downgrades is the number of times the driver performs upgrade and downgrade operations during this test, that is, the driver version is first upgraded from the initial driver version to the expected driver version, and then downgraded from the expected driver version to the initial driver version. In the initial state, the number of driver upgrades and downgrades is 0.

[0124] Optionally, the number of upgrades and downgrades of the driver is increased by 1, and it is detected whether the number of upgrades and downgrades is equal to a preset number. If the number of upgrades and downgrades is equal to the preset number, it indicates that the number of upgrade and downgrade operations performed by the driver of the network card of the tested server has reached the preset number, and the driver of the network card of the tested server has performed the preset number of upgrade and downgrade operations, and then it is determined that the test of the driver is completed. If the number of upgrades and downgrades is less than the preset number, it indicates that the number of upgrade and downgrade operations performed by the driver of the network card of the tested server has not reached the preset number, and the upgrade and downgrade operations need to be continued, then the operation of upgrading the version of the driver from the initial driver version to the expected driver version is returned.

[0125] Optionally, after upgrading the driver version from the initial driver version to the expected driver version, it also includes: if a driver upgrade failure prompt message is received, stopping the test and outputting a fifth alarm message; if the upgrade detection result is disconnected, stopping the test and outputting a sixth alarm message.

[0126] Therefore, after detecting that an abnormality occurs in the network card during the driver upgrade process, the test can be stopped and an alarm message can be output, thereby automatically interrupting the abnormal driver upgrade process and staying at the abnormal driver upgrade stage. Through the alarm message, the user can be promptly prompted to locate the problem and handle the exception according to the abnormal driver upgrade stage.

[0127] Optionally, the fifth alarm information is information used to prompt that the driver upgrade of the network card of the server under test has failed. Outputting the fifth alarm information includes: sending the fifth alarm information to the terminal device of the target user. The sixth alarm information is information used to prompt that after the driver version is upgraded from the initial driver version to the expected driver version, the network communication connection established based on the IP address of the server under test is not connected, and the network card of the server under test has an abnormality during this driver upgrade process. Outputting the sixth alarm information includes: sending the sixth alarm information to the terminal device of the target user. The terminal device of the target user is the terminal device used by the target user.

[0128] Optionally, after downgrading the driver version from the expected driver version to the initial driver version, it also includes: if a driver downgrade failure prompt message is received, stopping the test and outputting the seventh alarm message; if the downgrade detection result is disconnection, stopping the test and outputting the eighth alarm message.

[0129] Therefore, after detecting that an abnormality occurs in the driver degradation process of the network card, the test can be stopped and an alarm message can be output, thereby automatically interrupting the abnormal driver degradation process and staying at the abnormal driver degradation stage. Through the alarm message, the user can be promptly prompted to locate the problem and handle the exception according to the abnormal driver degradation stage.

[0130] Optionally, the seventh alarm information is information used to prompt that the driver downgrade of the network card of the tested server has failed. Outputting the seventh alarm information includes: sending the seventh alarm information to the terminal device of the target user. The eighth alarm information is information used to prompt that after the driver version is downgraded from the expected driver version to the initial driver version, the network communication connection established based on the IP address of the tested server is not connected, and the network card of the tested server has an abnormality during this driver downgrade process. Outputting the eighth alarm information includes: sending the eighth alarm information to the terminal device of the target user.

[0131] Step 103: Determine the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and the driver.

[0132] Optionally, the test result of the network card of the tested server is qualified or unqualified. If the test result of the network card of the tested server is qualified, it indicates that there is no abnormality in the upgrade process and downgrade process of the network card of the tested server, and the upgrade and downgrade stability of the network card set in the tested server is qualified. If the test result of the network card of the tested server is unqualified, it indicates that there is an abnormality in the upgrade process or downgrade process of the network card of the tested server, and the upgrade and downgrade stability of the network card set in the tested server is unqualified.

[0133] Optionally, if the upgrade and downgrade detection data of the firmware during a preset number of upgrades and downgrades are all connected, it indicates that each upgrade and downgrade of the firmware is successful, and after the upgrade and downgrade, the network communication connection established based on the IP address of the server under test is connected, and there is no abnormality in the network card, that is, there is no abnormality in the network card of the server under test during the firmware upgrade process and the firmware downgrade process.

[0134] Optionally, if the upgrade and downgrade detection data of the driver during a preset number of upgrades and downgrades are all connected, it indicates that each upgrade and downgrade of the driver is successful, and after the upgrade and downgrade, the network communication connection established based on the IP address of the server under test is connected, and there is no abnormality in the network card, that is, there is no abnormality in the network card of the server under test during the driver upgrade process and the driver downgrade process.

[0135] Optionally, the test result of the network card of the server under test is determined based on the upgrade and downgrade detection data of the firmware and the driver, including: if the upgrade and downgrade detection data of the firmware and the driver during a preset number of upgrade and downgrade processes are all connected, indicating that the network card of the server under test has no abnormalities in the firmware upgrade process, the firmware downgrade process, the driver upgrade process and the driver downgrade process, and the network card of the server under test has no abnormalities in the upgrade process and the downgrade process, and the upgrade and downgrade stability of the network card set in the server under test is qualified, then the test result of the network card of the server under test is determined to be qualified.

[0136] Optionally, in the process of controlling the firmware of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through the firmware testing component, and obtaining the firmware upgrade and downgrade detection data, if a firmware upgrade failure prompt message is received, indicating that an abnormality occurred in the firmware upgrade process of the network card of the tested server, that is, an abnormality occurred in the upgrade process of the network card of the tested server, and the upgrade and downgrade stability of the network card set in the tested server is unqualified, then the test result of the network card of the tested server is directly determined to be unqualified.

[0137] Optionally, in the process of controlling the firmware of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through the firmware testing component, and obtaining the firmware upgrade and downgrade detection data, if a firmware downgrade failure prompt message is received, indicating that an abnormality occurred in the firmware downgrade process of the network card of the tested server, that is, an abnormality occurred in the downgrade process of the network card of the tested server, and the upgrade and downgrade stability of the network card set in the tested server is unqualified, then the test result of the network card of the tested server is directly determined to be unqualified.

[0138] Optionally, in the process of controlling the firmware of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through the firmware testing component, and obtaining the firmware upgrade and downgrade detection data, if the upgrade detection result or the downgrade detection result is disconnected, it indicates that the network card of the tested server has an abnormality in the firmware upgrade process or the firmware downgrade process, that is, the network card of the tested server has an abnormality in the upgrade process or the downgrade process, and the upgrade and downgrade stability of the network card set in the tested server is unqualified, then the test result of the network card of the tested server is directly determined to be unqualified.

[0139] Optionally, in the process of controlling the driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through a driver test component, and obtaining the upgrade and downgrade detection data of the driver, if a driver upgrade failure prompt message is received, indicating that an abnormality occurred in the driver upgrade process of the network card of the tested server, that is, an abnormality occurred in the upgrade process of the network card of the tested server, and the upgrade and downgrade stability of the network card set in the tested server is unqualified, then the test result of the network card of the tested server is directly determined to be unqualified.

[0140] Optionally, in the process of controlling the driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through a driver test component, and obtaining the upgrade and downgrade detection data of the driver, if a driver downgrade failure prompt message is received, indicating that an abnormality occurred in the driver downgrade process of the network card of the tested server, that is, an abnormality occurred in the downgrade process of the network card of the tested server, and the upgrade and downgrade stability of the network card set in the tested server is unqualified, then the test result of the network card of the tested server is directly determined to be unqualified.

[0141] Optionally, in the process of controlling the driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through the driver test component, and obtaining the upgrade and downgrade detection data of the driver, if the upgrade detection result or the downgrade detection result is disconnected, it indicates that the network card of the tested server has an abnormality in the driver upgrade process or the driver downgrade process, that is, the network card of the tested server has an abnormality in the upgrade process or the downgrade process, and the upgrade and downgrade stability of the network card set in the tested server is unqualified, then the test result of the network card of the tested server is directly determined to be unqualified.

[0142] The technical solution of the embodiment of the present invention obtains the network card test information of the tested server; then, through the test component, controls the firmware and driver of the network card of the tested server to perform the upgrade and downgrade operations for a preset number of times according to the network card test information, and obtains the upgrade and downgrade detection data of the firmware and driver; and determines the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and driver, thereby solving the problem that the network card test scheme in the related art only performs upgrade and downgrade processing on the driver of the network card, ignores the firmware of the network card, cannot comprehensively and accurately test the upgrade and downgrade stability of the network card, and relies on the manual operation of the tester, so that the test efficiency is relatively low and the test accuracy cannot be guaranteed. Based on the test component, the firmware and driver of the network card of the server can be automatically controlled to perform the upgrade and downgrade operations for a preset number of times, obtain the upgrade and downgrade detection data of the firmware and driver, and determine whether the network card of the server will be abnormal during the upgrade process and the downgrade process, so as to comprehensively and accurately test the upgrade and downgrade stability of the network card set in the server, thereby improving the test efficiency and the test accuracy.

[0143] Embodiment 2

[0144] Figure 2 The flowchart of a network card testing method provided by the second embodiment of the present invention. The embodiment of the present invention can be combined with each optional solution in one or more of the above embodiments. Figure 2 As shown, the method includes:

[0145] Step 201: After receiving a network card test request corresponding to a server under test, obtain network card test information of the server under test from the server under test through an information acquisition script.

[0146] Step 202: Using a firmware test component, according to the network card test information, control the firmware of the network card of the tested server to perform a preset number of upgrade and downgrade operations, and obtain upgrade and downgrade detection data of the firmware.

[0147] Optionally, the firmware test component performs the following operations: determining an initial firmware version and an expected firmware version of the firmware based on the network card test information; upgrading the firmware version from the initial firmware version to the expected firmware version, and after the upgrade is successful, performing an IP address connectivity check on the server under test to obtain an upgrade detection result; downgrading the firmware version from the expected firmware version to the initial firmware version, and after the downgrade is successful, performing an IP address connectivity check on the server under test to obtain a downgrade detection result; determining the upgrade detection result and the downgrade detection result as the firmware upgrade and downgrade detection data for this time, adding 1 to the number of upgrade and downgrade times of the firmware, and detecting whether the number of upgrade and downgrade times is equal to a preset number; if the number of upgrade and downgrade times is equal to the preset number, determining that the firmware test is completed; if the number of upgrade and downgrade times is less than the preset number, returning to execute the operation of upgrading the firmware version from the initial firmware version to the expected firmware version.

[0148] Step 203: Control the driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations through the driver test component according to the network card test information, and obtain upgrade and downgrade detection data of the driver.

[0149] Optionally, the following operations are performed by the driver test component: determining an initial driver version and an expected driver version of the driver according to the network card test information; upgrading the driver version from the initial driver version to the expected driver version, and after the upgrade is successful, performing an IP address connectivity check on the server under test to obtain an upgrade detection result; downgrading the driver version from the expected driver version to the initial driver version, and after the downgrade is successful, performing an IP address connectivity check on the server under test to obtain a downgrade detection result; determining the upgrade detection result and the downgrade detection result as the upgrade and downgrade detection data of the driver this time, adding 1 to the number of upgrade and downgrade times of the driver, and detecting whether the number of upgrade and downgrade times is equal to a preset number; if the number of upgrade and downgrade times is equal to the preset number, determining that the driver test is completed; if the number of upgrade and downgrade times is less than the preset number, returning to execute the operation of upgrading the driver version from the initial driver version to the expected driver version.

[0150] Step 204: Determine the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and the driver.

[0151] The technical solution of the embodiment of the present invention can automatically obtain the network card test information of the server under test based on the information acquisition script, thereby controlling the firmware and driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information of the server under test, and determining whether the network card of the server under test will have abnormalities during the upgrade and downgrade processes.

[0152] Embodiment 3

[0153] Figure 3 A flowchart of a network card testing method provided in Embodiment 3 of the present invention includes the following steps:

[0154] Step 301: After receiving a network card test request corresponding to a server under test, obtain network card test information of the server under test from the server under test through an information acquisition script.

[0155] Step 302: Determine the initial firmware version and the expected firmware version of the firmware according to the network card test information through the firmware test component.

[0156] Step 303: The firmware version is upgraded from the initial firmware version to the expected firmware version through the firmware test component. After the upgrade is successful, an IP address connectivity test is performed on the tested server to obtain an upgrade test result.

[0157] Step 304: downgrade the firmware version from the expected firmware version to the initial firmware version through the firmware test component. After the downgrade is successful, perform an IP address connectivity test on the tested server to obtain a downgrade test result.

[0158] Step 305: Through the firmware test component, the upgrade detection result and the downgrade detection result are determined as the upgrade and downgrade detection data of the firmware this time, the number of firmware upgrades and downgrades is increased by 1, and it is detected whether the number of upgrades and downgrades is equal to the preset number: if the number of upgrades and downgrades is equal to the preset number, execute step 306; if the number of upgrades and downgrades is less than the preset number, return to execute step 303.

[0159] Step 306: Determine whether the firmware test is completed.

[0160] Step 307: Determine the initial driver version and the expected driver version of the driver according to the network card test information through the driver test component.

[0161] Step 308: The driver version is upgraded from the initial driver version to the expected driver version through the driver test component. After the upgrade is successful, the IP address connectivity test is performed on the tested server to obtain the upgrade test result.

[0162] Step 309: Downgrade the driver version from the expected driver version to the initial driver version through the driver test component. After the downgrade is successful, perform an IP address connectivity test on the tested server to obtain a downgrade test result.

[0163] Step 310: Through the driver test component, the upgrade detection result and the downgrade detection result are determined as the upgrade and downgrade detection data of the driver this time, the upgrade and downgrade times of the driver are increased by 1, and it is detected whether the upgrade and downgrade times are equal to the preset times: if the upgrade and downgrade times are equal to the preset times, execute step 311; if the upgrade and downgrade times are less than the preset times, return to execute step 308.

[0164] Step 311: Determine whether the driver test is completed.

[0165] Step 312: Determine the test result of the network card of the tested server according to the firmware and driver upgrade and downgrade detection data.

[0166] The technical solution of the embodiment of the present invention can automatically control the firmware of the server's network card to perform a preset number of upgrade and downgrade operations based on the firmware test component and the network card test information, obtain the firmware upgrade and downgrade detection data, and determine whether the server's network card will have an abnormality during the firmware upgrade process or the firmware downgrade process; can automatically control the driver of the server's network card to perform a preset number of upgrade and downgrade operations based on the driver test component and the network card test information, obtain the driver upgrade and downgrade detection data, and determine whether the server's network card will have an abnormality during the driver upgrade process or the driver downgrade process; and can comprehensively and accurately test the upgrade and downgrade stability of the network card set in the server, thereby improving the test efficiency and test accuracy.

[0167] Embodiment 4

[0168] Figure 4 This is a schematic diagram of the structure of a network card testing device provided by Embodiment 4 of the present invention. The device can be configured in an electronic device. Figure 4 As shown, the device includes: an information acquisition module 401, a testing module 402 and a result determination module 403.

[0169] Among them, the information acquisition module 401 is used to obtain the network card test information of the server under test; the test module 402 is used to control the firmware and driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and obtain the upgrade and downgrade detection data of the firmware and the driver; the result determination module 403 is used to determine the test result of the network card of the server under test according to the upgrade and downgrade detection data of the firmware and the driver.

[0170] The technical solution of the embodiment of the present invention obtains the network card test information of the tested server; then, through the test component, controls the firmware and driver of the network card of the tested server to perform the upgrade and downgrade operations for a preset number of times according to the network card test information, and obtains the upgrade and downgrade detection data of the firmware and driver; and determines the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and driver, thereby solving the problem that the network card test scheme in the related art only performs upgrade and downgrade processing on the driver of the network card, ignores the firmware of the network card, cannot comprehensively and accurately test the upgrade and downgrade stability of the network card, and relies on the manual operation of the tester, so that the test efficiency is relatively low and the test accuracy cannot be guaranteed. Based on the test component, the firmware and driver of the network card of the server can be automatically controlled to perform the upgrade and downgrade operations for a preset number of times, obtain the upgrade and downgrade detection data of the firmware and driver, and determine whether the network card of the server will be abnormal during the upgrade process and the downgrade process, so as to comprehensively and accurately test the upgrade and downgrade stability of the network card set in the server, thereby improving the test efficiency and the test accuracy.

[0171] In an optional implementation of an embodiment of the present invention, optionally, the test component includes a firmware test component and a driver test component; the test module 402 is specifically used to: perform the following operations through the firmware test component: determine the initial firmware version and the expected firmware version of the firmware according to the network card test information; upgrade the version of the firmware from the initial firmware version to the expected firmware version, and after the upgrade is successful, perform an IP address connectivity test on the server under test to obtain an upgrade test result; downgrade the version of the firmware from the expected firmware version to the initial firmware version, and after the downgrade is successful, perform an IP address connectivity test on the server under test to obtain a downgrade test result; determine the upgrade test result and the downgrade test result as the firmware upgrade and downgrade test data of this time, add 1 to the number of upgrade and downgrade times of the firmware, and detect whether the number of upgrade and downgrade times is equal to the preset number; if the number of upgrade and downgrade times is equal to the preset number, determine that the firmware test is completed; if the number of upgrade and downgrade times is less than the preset number, return to execute the operation of upgrading the firmware version from the initial firmware version to the expected firmware version.

[0172] In an optional implementation of an embodiment of the present invention, optionally, when performing the operation of upgrading the version of the firmware from the initial firmware version to the expected firmware version, the test module 402 is specifically used to: send a firmware upgrade instruction to the server under test; wherein the firmware upgrade instruction is used to instruct the server under test to upgrade the version of the firmware from the initial firmware version to the expected firmware version, and to feedback a firmware upgrade success prompt message or a firmware upgrade failure prompt message.

[0173] In an optional implementation of an embodiment of the present invention, optionally, the test module 402 is also used to: if a firmware upgrade failure prompt message is received, stop the test and output a first alarm message; if the upgrade detection result is disconnected, stop the test and output a second alarm message.

[0174] In an optional implementation of an embodiment of the present invention, optionally, the test module 402 is specifically used to: perform the following operations through the driver test component: determine the initial driver version and the expected driver version of the driver according to the network card test information; upgrade the driver version from the initial driver version to the expected driver version, and after the upgrade is successful, perform an IP address connectivity check on the server under test to obtain an upgrade test result; downgrade the driver version from the expected driver version to the initial driver version, and after the downgrade is successful, perform an IP address connectivity check on the server under test to obtain a downgrade test result; determine the upgrade test result and the downgrade test result as the upgrade and downgrade test data of the driver this time, add 1 to the number of upgrade and downgrade times of the driver, and detect whether the number of upgrade and downgrade times is equal to the preset number; if the number of upgrade and downgrade times is equal to the preset number, determine that the driver test is completed; if the number of upgrade and downgrade times is less than the preset number, return to execute the operation of upgrading the driver version from the initial driver version to the expected driver version.

[0175] In an optional implementation of an embodiment of the present invention, optionally, when executing the operation of upgrading the version of the driver from the initial driver version to the expected driver version, the test module 402 is specifically used to: send a driver upgrade instruction to the server under test; wherein the driver upgrade instruction is used to instruct the server under test to upgrade the version of the driver from the initial driver version to the expected driver version, and to feedback a driver upgrade success prompt message or a driver upgrade failure prompt message.

[0176] In an optional implementation of the embodiment of the present invention, optionally, the information acquisition module 401 is specifically used to: after receiving a network card test request corresponding to the server under test, obtain the network card test information of the server under test from the server under test through an information acquisition script.

[0177] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0178] The above-mentioned network card testing device can execute the network card testing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the network card testing method.

[0179] Embodiment 5

[0180] Figure 5 The structure diagram of the electronic device 10 that can be used to implement the network card testing method of the embodiment of the present invention is shown. The components, their connections and relationships, and their functions shown herein are only examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0181] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11 in network communication, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program built from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0182] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0183] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a network card testing method.

[0184] In some embodiments, the network card testing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is built into the RAM 13 and executed by the processor 11, one or more steps of the network card testing method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the network card testing method in any other appropriate manner (for example, by means of firmware).

[0185] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0186] The computer program for implementing the network card testing method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or the block diagram are implemented. The computer program can be executed completely on the machine, partially on the machine, as an independent software package, partially on the machine and partially on a remote machine, or completely on a remote machine or server.

[0187] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0188] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0189] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0190] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0191] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0192] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A network card testing method, characterized in that: include: Get the network card test information of the server under test; By means of the test component, the firmware and the driver of the network card of the tested server are respectively controlled to perform a preset number of upgrade and downgrade operations according to the network card test information, and upgrade and downgrade detection data of the firmware and the driver are obtained; The test result of the network card of the tested server is determined according to the upgrade and downgrade detection data of the firmware and the driver.

2. The network card testing method according to claim 1, characterized in that: The test components include a firmware test component and a driver test component; The method comprises: controlling the firmware and the driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and obtaining upgrade and downgrade detection data of the firmware and the driver, including: The firmware test component performs the following operations: Determining an initial firmware version and an expected firmware version of the firmware according to the network card test information; Upgrading the firmware version from the initial firmware version to the expected firmware version, and after the upgrade is successful, performing an IP address connectivity test on the tested server to obtain an upgrade test result; Downgrading the version of the firmware from the expected firmware version to the initial firmware version, and after the downgrade is successful, performing an IP address connectivity test on the tested server to obtain a downgrade test result; Determine the upgrade detection result and the downgrade detection result as the upgrade and downgrade detection data of the firmware this time, add 1 to the upgrade and downgrade times of the firmware, and detect whether the upgrade and downgrade times is equal to the preset times; If the number of upgrades and downgrades is equal to the preset number, it is determined that the test of the firmware is completed; If the number of upgrades and downgrades is less than the preset number, the operation of upgrading the firmware version from the initial firmware version to the expected firmware version is returned to.

3. The network card testing method according to claim 2, characterized in that: Upgrading the version of the firmware from the initial firmware version to the desired firmware version, comprising: Send a firmware upgrade instruction to the server under test; wherein the firmware upgrade instruction is used to instruct the server under test to upgrade the version of the firmware from the initial firmware version to the expected firmware version, and feedback firmware upgrade success prompt information or firmware upgrade failure prompt information.

4. The network card testing method according to claim 3, characterized in that: After the firmware version is upgraded from the initial firmware version to the desired firmware version, the method further includes: If a firmware upgrade failure prompt message is received, the test is stopped and a first warning message is output; If the upgrade detection result is disconnection, the test is stopped and a second alarm message is output.

5. The network card testing method according to claim 2, characterized in that: The method comprises: controlling the firmware and the driver of the network card of the server under test to perform a preset number of upgrade and downgrade operations according to the network card test information through the test component, and obtaining upgrade and downgrade detection data of the firmware and the driver, including: The following operations are performed by the drive test component: Determining an initial driver version and an expected driver version of the driver according to the network card test information; Upgrading the driver version from the initial driver version to the expected driver version, and after the upgrade is successful, performing an IP address connectivity test on the tested server to obtain an upgrade test result; Downgrading the driver version from the expected driver version to the initial driver version, and after the downgrading is successful, performing an IP address connectivity test on the tested server to obtain a downgrade test result; Determine the upgrade detection result and the downgrade detection result as the upgrade and downgrade detection data of the driver this time, add 1 to the upgrade and downgrade times of the driver, and detect whether the upgrade and downgrade times is equal to the preset times; If the number of upgrades and downgrades is equal to the preset number, it is determined that the test of the drive is completed; If the number of upgrades and downgrades is less than the preset number, the operation of upgrading the driver version from the initial driver version to the expected driver version is returned to.

6. The network card testing method according to claim 5, characterized in that: Upgrading the driver version from the initial driver version to the expected driver version includes: Send a driver upgrade instruction to the server under test; wherein the driver upgrade instruction is used to instruct the server under test to upgrade the version of the driver from the initial driver version to the expected driver version, and feedback a driver upgrade success prompt message or a driver upgrade failure prompt message.

7. The network card testing method according to claim 1, characterized in that: Get the network card test information of the server under test, including: After receiving the network card test request corresponding to the server under test, the network card test information of the server under test is obtained from the server under test through an information acquisition script.

8. A network card testing device, characterized in that: include: An information acquisition module is used to obtain the network card test information of the server under test; A test module, used to control the firmware and driver of the network card of the tested server to perform a preset number of upgrade and downgrade operations according to the network card test information through a test component, and obtain upgrade and downgrade detection data of the firmware and the driver; The result determination module is used to determine the test result of the network card of the tested server according to the upgrade and downgrade detection data of the firmware and the driver.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory connected in network communication with the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the network card testing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the network card testing method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Network card drive firmware stability test method and system, terminal and storage medium

    CN111078476A

  • Server network card interaction test method and system, terminal and storage medium

    CN111147331A

  • Network test method and device

    CN111262758A

  • Network card firmware upgrading and degrading test method and system, terminal and storage medium

    CN111694727A

  • Firmware upgrading and downgrading test method and device of intelligent network card and computer equipment

    CN115454814A