CN113608940A - Production test method, system and device of intelligent network card and readable storage medium - Google Patents
Production test method, system and device of intelligent network card and readable storage medium Download PDFInfo
- Publication number
- CN113608940A CN113608940A CN202110738516.6A CN202110738516A CN113608940A CN 113608940 A CN113608940 A CN 113608940A CN 202110738516 A CN202110738516 A CN 202110738516A CN 113608940 A CN113608940 A CN 113608940A
- Authority
- CN
- China
- Prior art keywords
- network card
- intelligent network
- soc
- firmware
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 77
- 238000003860 storage Methods 0.000 title claims abstract description 47
- 238000010998 test method Methods 0.000 title claims abstract description 17
- 238000012360 testing method Methods 0.000 claims abstract description 78
- 238000003745 diagnosis Methods 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000009434 installation Methods 0.000 claims abstract description 21
- 238000002360 preparation method Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000009530 blood pressure measurement Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000012212 insulator Substances 0.000 description 1
- 238000004377 microelectronic Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention provides a production test method, a system, a device and a readable storage medium of an intelligent network card, wherein the method comprises the following steps: loading a diagnostic program of the intelligent network card to the SOC system, and starting the SOC system; the SOC automatically downloads the required firmware into corresponding storage equipment according to a preset firmware installation script, and then carries out cold reset on the intelligent network card to load and run each firmware; the SOC carries out fault diagnosis by running a preset fault diagnosis program and uploads a fault diagnosis log to a log server for storage. The invention initiates the upgrade test content of the intelligent network card through the SOC system, and realizes the automation of the production and test of the intelligent network card.
Description
Technical Field
The invention relates to the technical field of network card testing, in particular to a production testing method, a system and a device of an intelligent network card and a readable storage medium.
Background
In the cloud computing environment, the intelligent network card plays an important role in the computing power release of the server CPU. As the intelligent network card is popularized in the server field, the demand of the intelligent network card is increasing. At present, intelligent network card architectures adopted by mainstream internet manufacturers tend to be consistent, namely, the hardware unloading of a network data packet is realized by adopting the customized logic of the FPGA, and services such as a Host side management layer and the like are sunk to a network card SOC by matching with a general processor.
The intelligent network card has the characteristics of high integration level and close coupling among all devices. In the production process of the intelligent network card, programs need to be burned for each component, and meanwhile, in order to improve the reliability of the intelligent network card, each device and a hardware link need to be fully tested in the production process.
Currently, when an intelligent network card performs program burning, different devices adopt different burning devices and burning methods, which can cause the problems of low production efficiency, difficult management and control of a production line and the like; the existing production line diagnostic program cannot be used for pressure measurement of devices hung below an FPGA, a BMC and the like. Therefore, how to improve the production efficiency of the intelligent network card, detect the defective original device as early as possible, and fully verify the reliability of the hardware link is an urgent problem to be solved.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method, a system, a device and a readable storage medium for testing the production of an intelligent network card, which initiate the upgrade test content of the intelligent network card through an SOC system, so as to achieve the automation of the production and test of the intelligent network card.
In order to achieve the purpose, the invention is realized by the following technical scheme: a production test method of an intelligent network card comprises the following steps:
loading a diagnostic program of the intelligent network card to the SOC system, and starting the SOC system;
the SOC automatically downloads the required firmware into corresponding storage equipment according to a preset firmware installation script, and then carries out cold reset on the intelligent network card to load and run each firmware;
the SOC carries out fault diagnosis by running a preset fault diagnosis program and uploads a fault diagnosis log to a log server for storage.
Further, the loading the diagnostic program of the intelligent network card to the SOC system and starting the SOC system specifically includes:
after the intelligent network card is assembled, starting the SOC system in a PXE mode, and configuring a first starting item of the BIOS of the intelligent network card as PXE starting;
loading a diagnostic program of the intelligent network card to the SOC system;
all the required services after starting are deployed on the PXE server.
Further, the SOC system automatically downloads the required firmware to the corresponding storage device according to the preset firmware installation script, and then performs cold reset on the intelligent network card, so that each firmware can be loaded and run, specifically including:
after the SOC system is started, automatically running a preset installation script, and sequentially searching for required preset firmware from a remote tftp server;
and burning the preset firmware through the SOC system.
Further, the preset fault diagnosis program includes:
the system comprises a firmware version detection program, a function detection program of each SOC module, a SOC down-hanging device pressure test program, an FPGA down-hanging device pressure test program and a network transceiving statistical program.
Further, the preset firmware includes: FPGA firmware, BMC firmware and CPLD firmware.
Further, the running conditions of the FPGA lower-hanging device test program are as follows: connecting the FPGA with the SOC system through a PCIe bus; when the IP core is instantiated, the FPGA exposes an interface to a PCIe user space, and the SOC system calls the interface to initiate a test; the firmware version detection program, the function detection program of each module of the SOC, the stress test program of the SOC lower-hanging device and the network transceiving statistical program are all initiated by the SOC system.
Further, the method for producing and testing the intelligent network card further comprises the following steps:
and determining a test result of fault diagnosis, and outputting failure information if the test fails.
Correspondingly, the invention also discloses a production test system of the intelligent network card, which comprises the following components:
the loading starting unit is used for loading the diagnostic program of the intelligent network card to the SOC system and starting the SOC system; the system comprises a preparation unit, a storage unit and an intelligent network card, wherein the preparation unit is used for controlling the SOC system to automatically download required firmware into corresponding storage equipment according to a preset firmware installation script, and then cold resetting is carried out on the intelligent network card so that each firmware can be loaded and operated; and the fault diagnosis unit is used for controlling the SOC to carry out fault diagnosis by running a preset fault diagnosis program and uploading the fault diagnosis log to the log server for storage.
Further, the load starting unit is specifically configured to:
after the intelligent network card is assembled, the intelligent network card is loaded onto the SOC system, the SOC system is started in a PXE mode, and all services required after starting are deployed on a PXE server;
and configuring a first starting item of the BIOS of the intelligent network card as PXE starting.
Further, the preparation unit is further configured to:
after the SOC system is started, automatically running a preset installation script, and sequentially searching for required preset firmware from a remote tftp server;
and burning the preset firmware through the SOC system.
Correspondingly, the invention discloses a production testing device of an intelligent network card, which comprises:
the memory is used for storing a production test program of the intelligent network card;
and the processor is used for realizing the steps of the production test method of the intelligent network card when executing the production test program of the intelligent network card.
Correspondingly, the invention discloses a readable storage medium, wherein a production test program of the intelligent network card is stored on the readable storage medium, and the steps of the production test method of the intelligent network card are realized when the production test program of the intelligent network card is executed by a processor.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a production test method, a system, a device and a readable storage medium of an intelligent network card, which can put all upgrading and test contents on an SOC system, realize the production automation of the intelligent network card to the maximum extent, and carry out pressure test on devices hung under the FPGA by exposing an interface of the SOC through the FPGA, thereby improving the reliability of the devices and the reliability of a hardware link, and further improving the stability of the intelligent network card.
Therefore, the invention can improve the production efficiency of the intelligent network card and detect the original defect device as early as possible. Compared with the prior art, the invention has outstanding substantive characteristics and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the method of the present invention;
fig. 2 is a system block diagram of the present invention.
In the figure, 1 is a loading starting unit; 2 is a preparation unit; 3 is a fault diagnosis unit; and 4, an alarm unit.
Detailed Description
The core of the invention is to provide a production test method of an intelligent network card, in the prior art, when the intelligent network card carries out program burning, different devices adopt different burning devices and burning methods, which can bring the problems of low production efficiency, difficult management and control of a production line and the like; the existing production line diagnostic program cannot be used for pressure measurement of devices hung below an FPGA, a BMC and the like.
The production test method of the intelligent network card provided by the invention comprises the steps of firstly, loading a diagnostic program of the intelligent network card to the SOC system, and starting the SOC system. Then, the SOC automatically downloads the required firmware into the corresponding storage equipment according to the preset firmware installation script, and then carries out cold reset on the intelligent network card, so that each firmware can be loaded and operated. And finally, the SOC carries out fault diagnosis by running a preset fault diagnosis program and uploads a fault diagnosis log to a log server for storage. Therefore, the invention can put all upgrading and testing contents on the SOC system to be carried out, realizes the automation of the production of the intelligent network card to the maximum degree, and exposes the FPGA to the SOC interface to carry out the pressure test on the device hung under the FPGA, thereby improving the reliability of the device and the reliability of the hardware link and further improving the stability of the intelligent network card.
In the present invention, the smart network card refers to a smart server adapter or a smart network card (SmartNIC), and its main function is to improve the server performance in the cloud and the private data center by offloading network processing workload and tasks from the CPU of the server. Currently, the intelligent network card is designed in one of three forms:
1. the multi-core intelligent network card is based on an ASIC (application specific integrated circuit) comprising a plurality of CPU (central processing unit) cores.
2. An intelligent network card based on a Field Programmable Gate Array (FPGA).
An FPGA enhanced intelligent network card which combines a hardware programmable FPGA with an ASIC network controller.
The SOC System, i.e., System-on-a-chip, used in the present invention refers to a technology for grouping all or part of necessary electronic circuits by integrating a complete System on a single chip. A complete system generally includes a Central Processing Unit (CPU), a memory, and peripheral circuits. SoC is developed in parallel with other technologies, such as Silicon On Insulator (SOI), which can provide enhanced clock frequencies, thereby reducing the power consumption of the microchip.
System-on-chip technology is commonly applied to small, increasingly complex consumer electronic devices. For example, a system-on-chip of a sound detection device is a device that provides all users with audio reception, analog-to-digital converter (ADC), microprocessor, necessary memory, and input-output logic control on a single chip. The system-on-chip is also applicable to single-chip wireless products, such as bluetooth devices, supporting single-chip WLAN and cellular phone solutions. Systems on chip are the primary solution to replace integrated circuits due to unprecedented high-efficiency integration performance. SoC has become an inevitable trend in current microelectronic chip development.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
as shown in fig. 1, the embodiment provides a method for producing and testing an intelligent network card, which includes the following steps:
s1: and loading the diagnostic program of the intelligent network card to the SOC system, and starting the SOC system.
The method specifically comprises the following steps: after the intelligent network card is assembled, starting the SOC system in a PXE mode, and configuring a first starting item of the BIOS of the intelligent network card as PXE starting; loading a diagnostic program of the intelligent network card to the SOC system; all the required services after starting are deployed on the PXE server.
S2: the SOC automatically downloads the required firmware to the corresponding storage equipment according to the preset firmware installation script, and then carries out cold reset on the intelligent network card, so that each firmware can be loaded and run.
After the SOC system is started, automatically running a preset installation script, and sequentially searching for required preset firmware from a remote tftp server; and burning the preset firmware through the SOC system.
Wherein, predetermine the firmware and include: FPGA firmware, BMC firmware and CPLD firmware.
S3: the SOC carries out fault diagnosis by running a preset fault diagnosis program and uploads a fault diagnosis log to a log server for storage.
Wherein, the preset fault diagnosis program comprises: the system comprises a firmware version detection program, a function detection program of each SOC module, a SOC down-hanging device pressure test program, an FPGA down-hanging device pressure test program and a network transceiving statistical program.
The running conditions of the FPGA lower-hanging device test program are as follows: connecting the FPGA with the SOC system through a PCIe bus; when the IP core is instantiated, the FPGA exposes an interface to a PCIe user space, and the SOC system calls the interface to initiate a test; the firmware version detection program, the function detection program of each module of the SOC, the stress test program of the SOC lower-hanging device and the network transceiving statistical program are all initiated by the SOC system.
S4: and determining a test result of fault diagnosis, and outputting failure information if the test fails.
Through the step, if the test fails, failure information is timely output, and production personnel are prompted to process the failure information.
The embodiment provides a production test method of an intelligent network card, which can put all upgrading and test contents on an SOC system to be carried out, so that the automation of the production of the intelligent network card is realized to the maximum degree, and the FPGA is exposed to an interface of the SOC to carry out pressure test on devices hung under the FPGA, so that the reliability of the devices and the reliability of a hardware link are improved, and the stability of the intelligent network card is further improved.
Example two:
the embodiment provides a production test method of an intelligent network card, which comprises the following steps:
the method comprises the following steps: putting the assembled network card on a production line debugging tool, starting the network card, automatically removing the network card from the PXE server to search a system mirror image, and loading the mirror image into a memory;
step two: the SOC automatically downloads the required firmware into corresponding storage equipment according to the firmware installation script, and then carries out cold reset on the network card to load and run each firmware;
step three: and running a fault diagnosis program, and uploading the log to a log server for storage. If the test fails, failure information is output in time, and production personnel is prompted to process the failure information.
The embodiment provides a production test method of an intelligent network card, which can put all upgrading and test contents on an SOC system to be carried out, so that the automation of the production of the intelligent network card is realized to the maximum degree, and the FPGA is exposed to an interface of the SOC to carry out pressure test on devices hung under the FPGA, so that the reliability of the devices and the reliability of a hardware link are improved, and the stability of the intelligent network card is further improved.
Example three:
the embodiment provides a production test method of an intelligent network card, which comprises the following steps:
1. and starting the SOC system. After the intelligent network card is assembled, the SOC system is started in a PXE mode, all services required after starting are deployed on a PXE server, and a first starting item of the BIOS of the network card is configured to be started by the PXE.
2. And automatically upgrading the firmware. After the SOC system is started, the installation script is automatically operated, required firmware such as FPGA firmware, BMC firmware and CPLD firmware is sequentially searched from the remote tftp server, and the required firmware is sequentially downloaded to the corresponding storage device. The firmware needs to be designed with a burning method in the early stage, so that the SOC can be automatically burnt, the dependence on a burner is reduced, and the manual participation is reduced.
3. The fault diagnosis program is run. The fault diagnosis program comprises firmware version detection, function detection of each module of the SOC system, pressure test of devices hung under the FPGA, network transceiving statistics and the like. When the FPGA is required to be instantiated by an IP core, an interface is exposed to a PCIe user space, and the SOC system initiates testing. The fault diagnosis method can enable all test items to be initiated by the SOC.
4. And finally, storing the test result in the log, and uploading the test result to a log server for storage after all tests are finished.
The embodiment provides a production test method of an intelligent network card, which can put all upgrading and test contents on an SOC system to be carried out, so that the automation of the production of the intelligent network card is realized to the maximum degree, and the FPGA is exposed to an interface of the SOC to carry out pressure test on devices hung under the FPGA, so that the reliability of the devices and the reliability of a hardware link are improved, and the stability of the intelligent network card is further improved.
Example four:
based on the first embodiment, as shown in fig. 2, the present invention further discloses a production test system for an intelligent network card, which includes: the method comprises the steps of loading a starting unit 1, a preparation unit 2, a fault diagnosis unit 3 and an alarm unit 4.
And the loading starting unit 1 is used for loading the diagnostic program of the intelligent network card to the SOC system and starting the SOC system. The load starting unit 1 is specifically configured to: after the intelligent network card is assembled, the intelligent network card is loaded onto the SOC system, the SOC system is started in a PXE mode, and all services required after starting are deployed on a PXE server; and configuring a first starting item of the BIOS of the intelligent network card as PXE starting.
And the preparation unit 2 is used for controlling the SOC system to automatically download the required firmware into the corresponding storage equipment according to the preset firmware installation script, and then carrying out cold reset on the intelligent network card to load and run each firmware. The preparation unit 2 is also configured to: after the SOC system is started, automatically running a preset installation script, and sequentially searching for required preset firmware from a remote tftp server;
and burning the preset firmware through the SOC system.
And the fault diagnosis unit 3 is used for controlling the SOC to carry out fault diagnosis by running a preset fault diagnosis program and uploading the fault diagnosis log to the log server for storage.
And the alarm unit 4 is used for determining the test result of the fault diagnosis and outputting failure information if the test fails.
The embodiment provides a production test system of intelligent network card, can all upgrade, test content all put SOC system go on, and the automation of intelligent network card production is realized to the maximize degree to expose to SOC's interface through FPGA, press the device that hangs down to FPGA and survey, improve the reliability of high device and the reliability of hardware link, thereby further improve the stability of intelligent network card.
Example five:
this embodiment also discloses a production test system of intelligent network card, includes: the device comprises a loading starting unit, a preparation unit, a fault diagnosis unit and an alarm unit.
And the loading starting unit is used for loading the diagnostic program of the intelligent network card to the SOC system and starting the SOC system. The loading starting unit comprises a deployment module and a configuration module. The deployment module is used for loading the intelligent network card onto the SOC after the intelligent network card is assembled, starting the SOC in a PXE mode, and deploying all required services on the PXE server after starting. And the configuration module is used for configuring the first starting item of the BIOS of the intelligent network card into PXE starting.
And the preparation unit is used for controlling the SOC system to automatically download the required firmware into the corresponding storage equipment according to the preset firmware installation script, and then carrying out cold reset on the intelligent network card so as to load and run each firmware. The preparation unit comprises a file configuration module and a burning module. And the file configuration module is used for automatically running a preset installation script after the SOC system is started, and sequentially searching for required preset firmware from the remote tftp server. The burning module is used for burning the preset firmware through the SOC system.
And the fault diagnosis unit is used for controlling the SOC to carry out fault diagnosis by running a preset fault diagnosis program and uploading the fault diagnosis log to the log server for storage.
And the alarm unit is used for determining the test result of the fault diagnosis and outputting failure information if the test fails.
The embodiment provides a production test system of intelligent network card, can all upgrade, test content all put SOC system go on, and the automation of intelligent network card production is realized to the maximize degree to expose to SOC's interface through FPGA, press the device that hangs down to FPGA and survey, improve the reliability of high device and the reliability of hardware link, thereby further improve the stability of intelligent network card.
Example six:
the embodiment discloses a production testing device of an intelligent network card, which comprises a processor and a memory; when the processor executes the production test program of the intelligent network card stored in the memory, the following steps are realized:
1. and starting the SOC system. After the intelligent network card is assembled, the SOC system is started in a PXE mode, all services required after starting are deployed on a PXE server, and a first starting item of the BIOS of the network card is configured to be started by the PXE.
2. And automatically upgrading the firmware. After the SOC system is started, the installation script is automatically operated, required firmware such as FPGA firmware, BMC firmware and CPLD firmware is sequentially searched from the remote tftp server, and the required firmware is sequentially downloaded to the corresponding storage device.
3. The fault diagnosis program is run. The fault diagnosis program comprises firmware version detection, function detection of each module of the SOC system, pressure test of devices hung under the FPGA, network transceiving statistics and the like. When the FPGA is required to be instantiated by an IP core, an interface is exposed to a PCIe user space, and the SOC system initiates testing.
4. And finally, storing the test result in the log, and uploading the test result to a log server for storage after all tests are finished.
Further, the apparatus for producing and testing an intelligent network card in this embodiment may further include:
and the input interface is used for acquiring a production test program of the intelligent network card imported from the outside, storing the acquired production test program of the intelligent network card into the memory, and also used for acquiring various instructions and parameters transmitted by external terminal equipment and transmitting the instructions and parameters to the processor, so that the processor can perform corresponding processing by utilizing the instructions and the parameters. In this embodiment, the input interface may specifically include, but is not limited to, a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, and the like.
And the output interface is used for outputting various data generated by the processor to the terminal equipment connected with the output interface, so that other terminal equipment connected with the output interface can acquire various data generated by the processor. In this embodiment, the output interface may specifically include, but is not limited to, a USB interface, a serial interface, and the like.
And the communication unit is used for establishing remote communication connection between the production testing device of the intelligent network card and the external server so that the production testing device of the intelligent network card can mount the mirror image file into the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on a wireless communication technology or a wired communication technology.
And the keyboard is used for acquiring various parameter data or instructions input by a user through real-time key cap knocking.
And the display is used for displaying relevant information in the short circuit positioning process of the power supply line of the running server in real time.
The mouse can be used for assisting a user in inputting data and simplifying the operation of the user.
The embodiment provides a production testing device of intelligent network card, can all upgrade, test content all put the SOC system go on, and the automation of intelligent network card production is realized to the maximize degree to expose for SOC's interface through FPGA, press the device that hangs down to FPGA and survey, improve the reliability of high device and the reliability of hardware link, thereby further improve intelligent network card's stability.
Example seven:
the present embodiments also disclose a readable storage medium, where the readable storage medium includes Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known in the art. The readable storage medium stores a production test program of the intelligent network card, and the production test of the intelligent network card realizes the following steps when being executed by the processor:
1. and starting the SOC system. After the intelligent network card is assembled, the SOC system is started in a PXE mode, all services required after starting are deployed on a PXE server, and a first starting item of the BIOS of the network card is configured to be started by the PXE.
2. And automatically upgrading the firmware. After the SOC system is started, the installation script is automatically operated, required firmware such as FPGA firmware, BMC firmware and CPLD firmware is sequentially searched from the remote tftp server, and the required firmware is sequentially downloaded to the corresponding storage device.
3. The fault diagnosis program is run. The fault diagnosis program comprises firmware version detection, function detection of each module of the SOC system, pressure test of devices hung under the FPGA, network transceiving statistics and the like. When the FPGA is required to be instantiated by an IP core, an interface is exposed to a PCIe user space, and the SOC system initiates testing.
4. And finally, storing the test result in the log, and uploading the test result to a log server for storage after all tests are finished.
The embodiment provides a readable storage medium, which can put all upgrading and testing contents on an SOC system, realize automation of intelligent network card production to the maximum extent, expose an interface of the SOC through an FPGA, perform pressure testing on a device hung under the FPGA, and improve reliability of the device and reliability of a hardware link, thereby further improving stability of the intelligent network card.
In summary, the present invention initiates the upgrade test content of the intelligent network card through the SOC system, thereby realizing the automation of the production and test of the intelligent network card.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The method disclosed by the embodiment corresponds to the system disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
Similarly, each processing unit in the embodiments of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units are integrated into one functional module.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method, system, device and readable storage medium for producing and testing the intelligent network card provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Claims (10)
1. A production test method of an intelligent network card is characterized by comprising the following steps:
loading a diagnostic program of the intelligent network card to the SOC system, and starting the SOC system;
the SOC automatically downloads the required firmware into corresponding storage equipment according to a preset firmware installation script, and then carries out cold reset on the intelligent network card to load and run each firmware;
the SOC carries out fault diagnosis by running a preset fault diagnosis program and uploads a fault diagnosis log to a log server for storage.
2. The method for producing and testing the intelligent network card according to claim 1, wherein the step of loading the diagnostic program of the intelligent network card to the SOC system and starting the SOC system specifically comprises:
after the intelligent network card is assembled, starting the SOC system in a PXE mode, and configuring a first starting item of the BIOS of the intelligent network card as PXE starting;
loading a diagnostic program of the intelligent network card to the SOC system;
all the required services after starting are deployed on the PXE server.
3. The method for producing and testing the intelligent network card according to claim 1, wherein the SOC system automatically downloads the required firmware to the corresponding storage device according to a preset firmware installation script, and then performs cold reset on the intelligent network card, so that each firmware is loaded and run, further comprising:
after the SOC system is started, automatically running a preset installation script, and sequentially searching for required preset firmware from a remote tftp server;
and burning the preset firmware through the SOC system.
4. The method for producing and testing the intelligent network card according to claim 1, wherein the preset fault diagnosis program comprises:
the system comprises a firmware version detection program, a function detection program of each SOC module, a SOC down-hanging device pressure test program, an FPGA down-hanging device pressure test program and a network transceiving statistical program.
5. The method for testing production of the intelligent network card according to claim 3, wherein the preset firmware comprises: FPGA firmware, BMC firmware and CPLD firmware.
6. The production test method of the intelligent network card according to claim 4, wherein the running conditions of the FPGA under-hanging device test program are as follows: connecting the FPGA with the SOC system through a PCIe bus; when the IP core is instantiated, the FPGA exposes an interface to a PCIe user space, and the SOC system calls the interface to initiate a test; the firmware version detection program, the function detection program of each module of the SOC, the stress test program of the SOC lower-hanging device and the network transceiving statistical program are all initiated by the SOC system.
7. The method for producing and testing the intelligent network card according to claim 1, further comprising:
and determining a test result of fault diagnosis, and outputting failure information if the test fails.
8. A production test system of intelligent network card, characterized by comprising:
the loading starting unit is used for loading the diagnostic program of the intelligent network card to the SOC system and starting the SOC system;
the system comprises a preparation unit, a storage unit and an intelligent network card, wherein the preparation unit is used for controlling the SOC system to automatically download required firmware into corresponding storage equipment according to a preset firmware installation script, and then cold resetting is carried out on the intelligent network card so that each firmware can be loaded and operated;
and the fault diagnosis unit is used for controlling the SOC to carry out fault diagnosis by running a preset fault diagnosis program and uploading the fault diagnosis log to the log server for storage.
9. The utility model provides a production testing arrangement of intelligent network card which characterized in that includes:
the memory is used for storing a production test program of the intelligent network card;
a processor for implementing the steps of the method for manufacturing and testing an intelligent network card according to any one of claims 1 to 7 when executing the manufacturing and testing program of the intelligent network card.
10. A readable storage medium, characterized by: the readable storage medium stores a production test program of the intelligent network card, and the production test program of the intelligent network card realizes the steps of the production test method of the intelligent network card according to any one of claims 1 to 7 when being executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110738516.6A CN113608940B (en) | 2021-06-30 | 2021-06-30 | Production test method, system and device of intelligent network card and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110738516.6A CN113608940B (en) | 2021-06-30 | 2021-06-30 | Production test method, system and device of intelligent network card and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113608940A true CN113608940A (en) | 2021-11-05 |
CN113608940B CN113608940B (en) | 2023-08-25 |
Family
ID=78337040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110738516.6A Active CN113608940B (en) | 2021-06-30 | 2021-06-30 | Production test method, system and device of intelligent network card and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113608940B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI793639B (en) * | 2021-06-16 | 2023-02-21 | 英業達股份有限公司 | Bios control system for smart network interface controller and a bios control method for smart network interface controller |
CN116962241A (en) * | 2023-09-20 | 2023-10-27 | 四川华鲲振宇智能科技有限责任公司 | System, method, equipment and medium for intelligent network card detection |
CN117149291A (en) * | 2023-10-16 | 2023-12-01 | 深圳市联瑞电子有限公司 | BIOS control system and method of intelligent network card |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108287773A (en) * | 2018-01-17 | 2018-07-17 | 郑州云海信息技术有限公司 | A kind of general board diagnostic method and device based on PXE |
CN111522559A (en) * | 2020-04-17 | 2020-08-11 | 苏州浪潮智能科技有限公司 | Intelligent network card firmware refreshing method and device and computer readable storage medium |
-
2021
- 2021-06-30 CN CN202110738516.6A patent/CN113608940B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108287773A (en) * | 2018-01-17 | 2018-07-17 | 郑州云海信息技术有限公司 | A kind of general board diagnostic method and device based on PXE |
CN111522559A (en) * | 2020-04-17 | 2020-08-11 | 苏州浪潮智能科技有限公司 | Intelligent network card firmware refreshing method and device and computer readable storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI793639B (en) * | 2021-06-16 | 2023-02-21 | 英業達股份有限公司 | Bios control system for smart network interface controller and a bios control method for smart network interface controller |
CN116962241A (en) * | 2023-09-20 | 2023-10-27 | 四川华鲲振宇智能科技有限责任公司 | System, method, equipment and medium for intelligent network card detection |
CN117149291A (en) * | 2023-10-16 | 2023-12-01 | 深圳市联瑞电子有限公司 | BIOS control system and method of intelligent network card |
Also Published As
Publication number | Publication date |
---|---|
CN113608940B (en) | 2023-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113608940B (en) | Production test method, system and device of intelligent network card and readable storage medium | |
US9684578B2 (en) | Embedded universal serial bus (USB) debug (EUD) for multi-interfaced debugging in electronic systems | |
CN109582525A (en) | Test code verification method, verifying device, equipment and storage medium | |
CN109274807B (en) | Test method, device and system | |
CN110554938B (en) | BIOS (basic input output System) testing method, system, terminal and storage medium based on script set | |
CN108141658A (en) | Production line PCB serial programmings and test method and system | |
CN113254284B (en) | Chip testing method, device, apparatus, storage medium and program product | |
CN109828920A (en) | A kind of log analysis method, device and computer readable storage medium | |
US7500147B2 (en) | Test system and method | |
CN115061885A (en) | Complete machine aging automatic test method and device, electronic equipment and storage medium | |
CN115598495A (en) | Chip test configuration generation method, test method and device and electronic equipment | |
CN112067978A (en) | FPGA screening test system and method based on FPGA | |
CN102478623B (en) | Testing method of a unit to be tested | |
CN111475353B (en) | Method and system for detecting NVDIMM memory of production line | |
CN112782560A (en) | Chip testing method, device, storage medium and equipment | |
CN113657068A (en) | SOC simulation verification and SOC simulation verification equipment verification environment construction method | |
CN113495817A (en) | Power consumption testing method and device, server and storage medium | |
CN112667498A (en) | Server building method and device, computer equipment and readable storage medium | |
CN114490226A (en) | Prototype verification method and device for FPGA chip, computer equipment and medium | |
CN117453472B (en) | Single board testing method, single board testing cabinet and computer readable storage medium | |
CN109450682B (en) | IB network card communication configuration method and device, terminal and storage medium | |
CN211528548U (en) | Miniaturized satellite universal test platform based on system on chip | |
CN114461458A (en) | Server memory test method, system, terminal and storage medium | |
CN112231158A (en) | Method and device for testing floating-point operation performance of multi-card GPGPU cluster | |
CN111858198A (en) | Multi-scheme memory plugging test method, system, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |